:root {
  --text: #333;
  --muted: #767676;
  --bg: #fff;
  --alt: #f6f6f6;
  --top: #f3f3f3;
  --line: #ececec;
  --dark: #1c1c1c;
  --orange: #f08a3c;
  --orange-2: #f5a24d;
  --teal: #2f6f80;
  --red: #e54d42;
  --blue: #4a90d9;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --max: 1320px;
  --font: "Satoshi", "DM Sans", Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.topbar { background: var(--top); font-size: 13px; color: #666; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.top-links a { margin-right: 18px; }
.top-right { display: flex; align-items: center; gap: 18px; }
.top-phone { display: inline-flex; align-items: center; gap: 6px; }
.expert { color: var(--muted); }

.head-main { padding: 18px 0; border-bottom: 1px solid var(--line); }
.head-main-inner { display: grid; grid-template-columns: max-content 1fr auto; align-items: center; gap: 28px; }
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
  min-width: max-content;
}
.logo img,
.logo img.brand-logo {
  height: 52px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  mix-blend-mode: normal;
}
.logo-fallback { display: none; align-items: center; gap: 10px; }
.logo-fallback strong { font-size: 28px; letter-spacing: -.02em; }
.logo-fallback small { display: block; font-size: 9px; letter-spacing: .12em; color: var(--muted); }

.search-form { display: flex; background: #f2f2f2; border-radius: 999px; overflow: hidden; }
.search-form input { flex: 1; border: 0; background: transparent; padding: 12px 18px; outline: none; }
.search-form button { border: 0; background: transparent; padding: 0 18px; cursor: pointer; }

.head-actions { display: flex; align-items: center; gap: 18px; }
.login-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  background: #111; color: #fff; border-radius: 999px;
  padding: 10px 16px 10px 14px; font-weight: 600; font-size: 14px;
}
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--red); color: #fff; width: 18px; height: 18px;
  border-radius: 50%; font-size: 11px; display: grid; place-items: center;
}

.nav-row { border-bottom: 1px solid var(--line); }
.nav-row-inner { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 16px; }
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; font-weight: 600; font-size: 14px; color: #444;
}
.main-nav a.active { color: var(--orange); }
.nav-ico {
  width: 18px; height: 18px; display: inline-block;
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM7.2 14h9.4c.8 0 1.5-.5 1.7-1.3L21 6H6.3L5.3 3H2v2h2.3l3.6 9.6-.9 1.7c-.4.8.2 1.7 1.1 1.7H19v-2H8.4l.8-1.6z'/></svg>") center/contain no-repeat;
}
.ico-home { mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/></svg>") center/contain no-repeat; }
.ship-badge { background: #5b8fd4; color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 12px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 36px; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #111; }

.hero {
  background: #050505;
  padding: 0;
  position: relative;
}
.hero-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: 360px;
}
.hero-slide { display: none; margin: 0; }
.hero-slide.on { display: block; }
.hero-slide img {
  width: 100%;
  height: min(78vh, 720px);
  object-fit: cover;
  object-position: center;
  background: #050505;
  display: block;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 28px;
  cursor: pointer; z-index: 2;
}
.hero-arrow:hover { background: rgba(255,255,255,.22); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
}
.hero-dots button.on { background: #e31c23; }

.values { padding: 48px 0 20px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.values h3 { letter-spacing: .08em; font-size: 15px; margin: 0 0 8px; }
.values p { color: var(--muted); margin: 0; }
.val-ico { width: 48px; height: 48px; margin: 0 auto 12px; border: 1.5px solid #ccc; border-radius: 50%; }

.cat-banners { padding: 20px 0 40px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card {
  min-height: 210px; border-radius: 14px; overflow: hidden;
  background: #1b1b1b center/cover no-repeat; position: relative;
  display: grid; place-items: center; color: #fff; text-align: center;
}
.cat-card::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.cat-card span { position: relative; z-index: 1; }
.cat-card strong { display: block; letter-spacing: .14em; font-size: 20px; }
.cat-card em { font-style: normal; font-size: 13px; opacity: .9; }

.bestsellers { padding: 20px 0 50px; }
.eyebrow { text-align: center; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; margin: 0 0 8px; }
.tab-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; font-weight: 600; }
.tab-row a.on, .tab-row a:hover { color: var(--orange); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.p-card h3 { font-size: 15px; margin: 10px 0 4px; font-weight: 600; line-height: 1.35; }
.p-cats { font-size: 12px; color: var(--muted); }
.p-cats a { margin-right: 6px; }
.p-price { margin-top: 6px; font-weight: 700; }
.p-price del { color: #aaa; font-weight: 500; margin-right: 6px; font-size: 13px; }
.p-price ins { text-decoration: none; }
.p-media { position: relative; background: #f4f4f4; border-radius: 8px; overflow: hidden; aspect-ratio: 7/8; }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.sale-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
}
.sale-badge.static { position: static; }
.p-hover {
  position: absolute; inset: auto 12px 12px; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(8px); transition: .2s;
}
.p-card:hover .p-hover { opacity: 1; transform: none; }
.hover-btn, .quick-view {
  background: #fff; text-align: center; padding: 8px; border-radius: 4px; font-size: 13px; font-weight: 600;
  border: 0; width: 100%; cursor: pointer; display: block;
}
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #ddd; display: inline-block; }

.promo-row { padding: 10px 0 50px; }
.promo-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; }
.promo { position: relative; overflow: hidden; border-radius: 6px; min-height: 320px; display: block; color: #fff; }
.promo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.promo-copy { position: relative; z-index: 1; padding: 28px; max-width: 280px; }
.promo-copy.light { color: #fff; }
.countdown { display: flex; gap: 10px; margin-top: 12px; }
.countdown span { background: rgba(255,255,255,.18); padding: 8px 10px; border-radius: 6px; text-align: center; font-size: 12px; }
.countdown b { display: block; font-size: 18px; }

.why { padding: 30px 0 60px; }
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.why h2 { margin: 0; letter-spacing: .04em; }
.subhead { color: var(--muted); letter-spacing: .12em; font-size: 12px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 24px 0; }
.why-list h4 { margin: 0 0 6px; font-size: 14px; letter-spacing: .06em; }
.why-list p { margin: 0; color: var(--muted); font-size: 14px; }
.why-cta { display: flex; gap: 12px; }
.why-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-photos img:first-child { grid-row: span 2; height: 100%; object-fit: cover; }
.why-photos img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; }

.btn-dark, .btn-orange, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 4px; font-weight: 700; letter-spacing: .06em; font-size: 13px;
  border: 1px solid transparent; cursor: pointer;
}
.btn-dark { background: #111; color: #fff; }
.btn-orange { background: var(--orange); color: #fff; border: 0; }
.btn-outline { background: transparent; border-color: #111; }

.reviews { background: var(--alt); padding: 50px 0; }
.reviews h2 { text-align: center; letter-spacing: .08em; }
.review-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review-track blockquote { background: #fff; margin: 0; padding: 20px; border-radius: 10px; box-shadow: var(--shadow); font-size: 14px; }
.review-track p { color: #555; }
.stars { color: #f5b301; letter-spacing: 2px; }
cite { color: var(--muted); font-style: normal; font-size: 13px; }

.facts { padding: 50px 0; text-align: center; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 20px 0 40px; }
.facts-grid strong { display: block; font-size: 36px; }
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.info-cards article { background: var(--alt); padding: 22px; border-radius: 10px; }
.info-cards a { color: var(--orange); font-weight: 700; font-size: 13px; }

.site-footer { margin-top: 20px; }
.footer-map { background: #1a1a1a center/cover; color: #fff; position: relative; }
.footer-map::before { content: ""; position: absolute; inset: 0; background: rgba(12,12,12,.78); }
.footer-map-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 50px 0; }
.footer-map h4 { margin: 0 0 8px; letter-spacing: .1em; font-size: 12px; color: #bbb; }
.footer-map h3 { margin: 0 0 10px; }
.footer-map p, .footer-map a { color: #ddd; font-size: 14px; }
.social { display: flex; gap: 8px; margin: 8px 0 16px; }
.social a { width: 32px; height: 32px; border: 1px solid #555; display: grid; place-items: center; border-radius: 50%; font-size: 11px; }
.sub-form { display: flex; gap: 8px; flex-wrap: wrap; }
.sub-form input { padding: 10px 12px; border: 0; border-radius: 4px; min-width: 160px; }

.footer-main { background: #111; color: #cfcfcf; padding: 48px 0; }
.footer-main-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-main h4 { color: #fff; margin: 0 0 12px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; }
.footer-main li { margin: 6px 0; }
.cols-2 { columns: 2; }
.footer-copy { background: #0c0c0c; color: #888; }
.footer-copy-inner { display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: 16px; }
.footer-logo img { height: 52px; width: auto; }
.footer-logo img.brand-logo { mix-blend-mode: normal; }
.gem-logo { margin-top: 12px; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: #111; color: #fff; cursor: pointer; display: none;
}
.flash-wrap { padding-top: 12px; }
.flash { padding: 12px 16px; border-radius: 6px; margin: 8px 0; }
.flash-success { background: #e8f6ec; color: #1b6b34; }
.flash-error { background: #fdecea; color: #a12622; }

.page-head { background: var(--alt); padding: 36px 0; text-align: center; }
.page-head.thin { padding: 16px 0; text-align: left; background: #fff; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0 0 6px; }
.crumbs { color: var(--muted); font-size: 14px; }

.shop-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding: 40px 0 60px; }
.shop-side ul { list-style: none; padding: 0; }
.shop-side li { margin: 8px 0; }
.shop-side span { color: var(--muted); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; }
.price-filter { display: flex; gap: 8px; margin: 8px 0; }
.price-filter input, select, .bill input, .bill textarea, .buy-box select, .buy-box input[type=number] {
  width: 100%; border: 1px solid #ddd; padding: 10px 12px; border-radius: 4px;
}
.pager { display: flex; gap: 8px; margin-top: 28px; }
.pager a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #ddd; }
.pager a.on { background: #111; color: #fff; }

.product-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding: 30px 0; }
.gallery-main { background: #f5f5f5; border-radius: 8px; }
.gallery-main img { width: 100%; max-height: 640px; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { border: 1px solid #eee; padding: 0; width: 72px; background: #fff; cursor: pointer; }
.thumbs img { height: 72px; object-fit: cover; }
.summary h1 { margin-top: 0; font-size: 28px; }
.p-price.big { font-size: 22px; margin: 10px 0; }
.short-desc { color: #555; }
.buy-box { margin: 18px 0; }
.qty-row { display: flex; gap: 10px; margin-top: 12px; }
.qty-row input { width: 80px; }
.meta { color: var(--muted); font-size: 14px; padding: 0; list-style: none; }
.related { padding: 20px 0 50px; }

.cart-page, .checkout-page, .auth-box, .about-page, .contact-page, .account-page, .thankyou { padding: 30px 0 60px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { border-bottom: 1px solid var(--line); padding: 14px 8px; text-align: left; }
.cart-prod { display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 72px; height: 72px; object-fit: cover; background: #f4f4f4; }
.cart-actions { display: flex; gap: 12px; margin: 18px 0; }
.cart-totals { max-width: 360px; margin-left: auto; background: var(--alt); padding: 20px; }
.cart-totals p, .order-box p { display: flex; justify-content: space-between; }
.grand { font-size: 18px; font-weight: 700; }
.empty-cart { text-align: center; padding: 40px; }
.linkish { background: none; border: 0; font-size: 22px; cursor: pointer; }

.checkout-grid, .contact-grid, .auth-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; }
.bill label, .form label { display: block; margin-bottom: 12px; font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-box, .auth-promo { background: var(--alt); padding: 24px; }
.pay { display: block; margin: 8px 0; }

.showroom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.showroom { border: 1px solid var(--line); padding: 18px; border-radius: 10px; }
.showroom h3 { margin: 0 0 8px; }
.tags span { display: inline-block; background: var(--alt); padding: 3px 8px; border-radius: 999px; font-size: 12px; margin-right: 6px; }
.showroom .phone { font-size: 20px; font-weight: 700; }
.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.inline { display: flex !important; align-items: center; gap: 8px; }

.signup-popup { width: min(380px, 92vw); background: #fff; border-radius: 12px; overflow: hidden; position: relative; }
.popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: none; place-items: center; z-index: 50; }
.popup-overlay.on { display: grid; }
.popup-photo { height: 220px; background: #d7c2a4 center/cover; }
.popup-body { background: var(--orange-2); color: #fff; padding: 24px; }
.popup-body input { width: 100%; margin: 10px 0; padding: 10px; border: 0; }
.popup-x { position: absolute; right: 8px; top: 8px; background: #fff; border: 0; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.cookie-bar {
  position: fixed; left: 16px; bottom: 16px; right: 16px; max-width: 520px;
  background: #111; color: #fff; padding: 16px; border-radius: 8px; z-index: 40;
  display: none; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px;
}
.cookie-bar.on { display: flex; }
.cookie-bar button { background: #fff; border: 0; padding: 8px 14px; cursor: pointer; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .head-main-inner, .why-grid, .promo-grid, .footer-map-grid, .footer-main-grid,
  .shop-wrap, .product-page, .checkout-grid, .contact-grid, .auth-box { grid-template-columns: 1fr; }
  .review-track, .info-cards, .facts-grid, .cat-grid, .values-grid, .showroom-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; flex-direction: column; width: 100%; }
  .main-nav.open { display: flex; }
  .ship-badge { display: none; }
  .product-grid, .product-grid.cols-3, .product-grid.cols-4,
  .review-track, .info-cards, .facts-grid, .cat-grid, .values-grid, .showroom-grid { grid-template-columns: 1fr; }
  .hero-slide img { height: 220px; object-fit: cover; }
  .hero-arrow { width: 36px; height: 36px; font-size: 22px; }
}
