:root {
  --bg: #070707;
  --surface: #111111;
  --soft: #171717;
  --line: rgba(255, 215, 110, 0.18);
  --text: #f5e7b2;
  --muted: #c7b98a;
  --gold-1: #7b5b12;
  --gold-2: #d9ad33;
  --gold-3: #f4de8b;
  --primary: #f0c75e;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(217,173,51,0.08), transparent 26%), var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
}
.card {
  background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(12,12,12,0.98));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.top-bar {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 0;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.98);
}
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
}
.brand-wrap {
  display: flex;
  align-items: center;
}
.site-logo {
  width: 140px;
  height: 96px;
  object-fit: contain;
  display: block;
}
.search-box input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #151515;
  color: var(--text);
}
.header-icons a {
  color: var(--muted);
  font-weight: 600;
}
.category-nav a,
.section-head h2,
.content-card-wide h2,
.details-column h1,
.variant-box h3,
.quantity-box h3,
.footer-top-grid h4,
.subscribe-box h4 {
  color: var(--text);
}
.cta-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 16px;
}
.big-btn {
  text-align: center;
  padding: 15px 14px;
  border-radius: 14px;
  color: white;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.big-btn.primary,
.big-btn.secondary {
  background: linear-gradient(135deg, #6a4b08 0%, var(--gold-2) 45%, #f3d57a 100%);
  border: 1px solid rgba(255, 225, 140, 0.35);
  box-shadow: 0 10px 30px rgba(217,173,51,0.22);
}
.category-nav-wrap {
  padding-bottom: 14px;
}
.category-nav {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 0 2px;
}
.category-nav a {
  font-weight: 700;
  color: #2d2d2d;
}
.main-layout {
  padding: 28px 0 40px;
}
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}
.main-image {
  overflow: hidden;
}
.main-image img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.thumb.active { border-color: #111; }
.thumb img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.badge {
  display: inline-block;
  margin-bottom: 10px;
  background: #eafaf1;
  color: #087443;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}
.details-column h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 10px;
}
.subtitle {
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.7;
}
.price-box,
.variant-box,
.quantity-box,
.action-box {
  padding: 18px;
  margin-bottom: 14px;
}
.price-box {
  display: grid;
  gap: 14px;
}
.price-label {
  color: var(--muted);
  font-size: 0.85rem;
}
.price {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 6px;
}
.promo-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 84px;
  border-radius: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #1b1407, #3b2a09, #8d6c1e);
  color: #fff3cb;
}
.variant-box h3,
.quantity-box h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.option-pills,
.color-dots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.pill.active {
  background: linear-gradient(135deg, #6a4b08, #d9ad33);
  color: #111;
  border-color: transparent;
}
.dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
}
.dot.active { border-color: #111; }
.dot.dark { background: #111827; }
.dot.blue { background: #2563eb; }
.dot.gold { background: #d4a100; }
.dot.silver { background: #cbd5e1; }
.qty-row {
  display: inline-grid;
  grid-template-columns: 44px 72px 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.qty-row button,
.qty-row input {
  border: 0;
  background: #fff;
  text-align: center;
  height: 46px;
}
.action-box {
  display: grid;
  gap: 12px;
}
.action-btn {
  text-align: center;
  padding: 15px;
  border-radius: 14px;
  font-weight: 800;
}
.action-btn.primary {
  background: linear-gradient(135deg, #2a1d05, #8f6a18);
  color: #fff5d3;
}
.action-btn.secondary {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #111;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.info-card {
  padding: 16px;
}
.info-card strong {
  display: block;
  margin-bottom: 6px;
}
.info-card span,
.content-card-wide p,
.mini-card p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}
.content-blocks,
.faq-section {
  margin-top: 34px;
}
.content-card-wide {
  padding: 24px;
}
.section-label,
.section-head p {
  color: #7c5c00;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}
.content-card-wide h2,
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 10px 0 12px;
}
.content-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.mini-card {
  padding: 18px;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #111111;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}
.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
  background: #0a0a0a;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  align-items: start;
}
.footer-top-grid h4,
.subscribe-box h4 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.footer-top-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}
.footer-feature-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 170px;
  background: #141414;
}
.footer-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.footer-bottom-area {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 44px;
  align-items: end;
}
.subscribe-box {
  flex: 1;
  max-width: 360px;
}
.subscribe-form {
  display: grid;
  grid-template-columns: 1fr 56px;
  border: 1px solid var(--line);
  background: #141414;
}
.subscribe-form input,
.subscribe-form button {
  border: 0;
  background: transparent;
  height: 52px;
}
.subscribe-form input {
  padding: 0 16px;
}
.subscribe-form button {
  cursor: pointer;
  font-size: 1.3rem;
}
.footer-meta {
  text-align: right;
}
.socials,
.payments {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 14px;
}
.socials a,
.payments span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141414;
  color: var(--text);
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 24px, 1220px);
  }
  .product-layout {
    grid-template-columns: 1fr 0.92fr;
    gap: 20px;
  }
  .site-logo {
    width: 124px;
    height: 84px;
  }
}

@media (max-width: 980px) {
  .product-layout,
  .content-grid-three,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .header-main {
    grid-template-columns: 1fr;
  }
  .search-box {
    order: 3;
  }
  .header-icons {
    justify-self: end;
  }
  .site-logo {
    width: 116px;
    height: 76px;
  }
  .main-layout {
    padding-top: 22px;
  }
  .details-column h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .footer-bottom-area {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    text-align: left;
  }
  .socials,
  .payments {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .cta-strip {
    grid-template-columns: 1fr;
  }
  .thumb-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-box,
  .variant-box,
  .quantity-box,
  .action-box,
  .content-card-wide,
  .mini-card,
  .faq-list details {
    border-radius: 16px;
  }
  .main-image img {
    aspect-ratio: 4 / 4.2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 18px, 1220px);
  }
  .top-bar {
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 9px 8px;
  }
  .header-main {
    gap: 10px;
    padding: 14px 0 10px;
    justify-items: center;
  }
  .brand-wrap {
    width: 100%;
    justify-content: center;
  }
  .site-logo {
    width: 180px;
    height: 110px;
    margin: 0 auto;
  }
  .header-icons {
    width: 100%;
    justify-self: center;
    display: flex;
    justify-content: center;
  }
  .search-box {
    width: 100%;
  }
  .search-box input {
    padding: 13px 15px;
    font-size: 0.95rem;
  }
  .big-btn {
    padding: 14px 12px;
    font-size: 0.95rem;
  }
  .category-nav {
    gap: 14px;
    font-size: 0.9rem;
  }
  .details-column h1 {
    font-size: 1.7rem;
  }
  .subtitle,
  .info-card span,
  .content-card-wide p,
  .mini-card p,
  .faq-list p {
    font-size: 0.95rem;
  }
  .thumb-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .qty-row {
    grid-template-columns: 42px 64px 42px;
  }
  .footer-top-grid {
    gap: 20px;
  }
  .subscribe-box {
    max-width: 100%;
    width: 100%;
  }
  .subscribe-form {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .thumb-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .main-image img {
    aspect-ratio: 1 / 1;
  }
  .price {
    font-size: 1.7rem;
  }
  .details-column h1 {
    font-size: 1.5rem;
  }
}
