:root {
  --bg: #0c0a09;
  --bg-warm: #1a1614;
  --fg: #f5f0eb;
  --fg-muted: #a89f95;
  --accent: #c9a96e;
  --accent-light: #e4d5b7;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero-inner {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 1.8rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-accent {
  position: absolute;
  top: 15%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── PHILOSOPHY ── */
.philosophy {
  padding: 8rem 2rem;
  background: var(--bg-warm);
  border-top: 1px solid rgba(201, 169, 110, 0.12);
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.philosophy-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.philosophy-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.35;
  color: var(--fg);
  margin-bottom: 2rem;
}

.philosophy-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 620px;
}

/* ── FEATURES ── */
.features {
  padding: 8rem 2rem;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.feature-card {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.feature-number {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── EDITORIAL ── */
.editorial {
  padding: 6rem 2rem;
  background: var(--bg-warm);
  border-top: 1px solid rgba(201, 169, 110, 0.12);
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}

.editorial-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.editorial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.4;
  color: var(--accent-light);
}

.editorial-attr {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}

.editorial-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* ── CLOSING ── */
.closing {
  padding: 10rem 2rem;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 2rem;
}

.closing-body {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* ── FOOTER ── */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.footer-brand {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-divider {
  width: 1px;
  height: 14px;
  background: rgba(201, 169, 110, 0.3);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .features-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .editorial-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .editorial-stats {
    align-items: center;
  }

  .philosophy {
    padding: 5rem 1.5rem;
  }

  .features {
    padding: 5rem 1.5rem;
  }

  .editorial {
    padding: 4rem 1.5rem;
  }

  .closing {
    padding: 6rem 1.5rem;
  }

  .hero-accent {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -20%;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-divider {
    display: none;
  }
}

/* ── HERO CTA ── */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.8rem;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-primary--spacing {
  margin-top: 2.5rem;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--fg-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(12, 10, 9, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-logo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.nav-logo:hover { opacity: 0.75; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  margin-left: 1rem;
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--fg); }

.nav-cta {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.45);
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  margin-left: auto;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* Push content below fixed nav */
body > section:first-of-type,
.catalog-main,
.product-main {
  padding-top: 60px;
}

/* ── CATALOG ── */
.catalog-main {
  min-height: 100vh;
}

.catalog-header {
  padding: 5rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.catalog-eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.catalog-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.catalog-sub {
  font-size: 1rem;
  color: var(--fg-muted);
}

/* ── FILTERS ── */
.catalog-filters {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  position: sticky;
  top: 60px;
  background: rgba(12, 10, 9, 0.95);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-pill {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  border: 1px solid rgba(201, 169, 110, 0.15);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  color: var(--accent);
  border-color: rgba(201, 169, 110, 0.4);
}

.filter-pill--active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(201, 169, 110, 0.06);
}

/* ── PRODUCT GRID ── */
.catalog-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}

.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-warm);
  margin-bottom: 1.2rem;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201,169,110,0.04), rgba(201,169,110,0.01));
}

.product-savings-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
}

.product-card-meta {
  margin-bottom: 0.3rem;
}

.product-brand {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.product-card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}

.product-card:hover .product-card-name {
  color: var(--accent-light);
}

.product-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
}

.product-retail {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 300;
}

.catalog-empty {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  color: var(--fg-muted);
  font-size: 1rem;
}

/* ── PRODUCT DETAIL ── */
.product-main {
  min-height: 100vh;
}

.product-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Gallery */
.gallery-primary {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-warm);
  margin-bottom: 0.8rem;
}

.gallery-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-placeholder {
  background: linear-gradient(135deg, rgba(201,169,110,0.05), rgba(201,169,110,0.01));
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
}

.thumb-btn {
  width: 70px;
  height: 90px;
  padding: 0;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.thumb-btn:hover { border-color: rgba(201, 169, 110, 0.4); }
.thumb-btn--active { border-color: var(--accent); }
.thumb-btn:not(.thumb-btn--active) img { opacity: 0.65; }

/* Product info panel */
.product-info {
  position: sticky;
  top: 80px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 1.8rem;
}

.product-breadcrumb a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-breadcrumb a:hover { color: var(--accent); }
.product-breadcrumb span { color: rgba(201,169,110,0.4); }

.product-info-brand {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.6rem;
}

.product-info-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.product-info-pricing {
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}

.product-info-price {
  display: block;
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.product-info-retail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-info-retail {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.product-savings-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 0.25rem 0.6rem;
}

.product-info-description {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}

/* Sizes */
.product-sizes {
  margin-bottom: 1.8rem;
  transition: outline 0.2s ease;
}

.product-sizes--error .product-sizes-label {
  color: #e07070;
}

.product-sizes-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.8rem;
  transition: color 0.2s ease;
}

.product-sizes-grid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-btn {
  min-width: 50px;
  padding: 0.55rem 0.8rem;
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: var(--fg-muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-btn:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.size-btn--active {
  border-color: var(--accent);
  background: rgba(201, 169, 110, 0.1);
  color: var(--accent);
}

/* Add to cart */
.add-to-cart-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--accent);
  border: none;
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-bottom: 1rem;
}

.add-to-cart-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.add-to-cart-btn--soldout {
  background: rgba(201, 169, 110, 0.15);
  color: var(--fg-muted);
  cursor: not-allowed;
}

.add-to-cart-btn--added {
  background: #5a8a6a;
}

.product-info-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: center;
  margin-bottom: 1.8rem;
}

/* Accordion */
.product-details-accordion {
  border-top: 1px solid rgba(201, 169, 110, 0.12);
}

.accordion-item {
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.accordion-trigger::-webkit-details-marker { display: none; }

.accordion-trigger::after {
  content: '+';
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

details[open] .accordion-trigger::after {
  transform: rotate(45deg);
}

details[open] .accordion-trigger {
  color: var(--fg);
}

.accordion-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  padding-bottom: 1rem;
}

/* ── 404 ── */
.not-found {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.not-found-code {
  font-family: var(--serif);
  font-size: 6rem;
  color: rgba(201, 169, 110, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.not-found-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  color: var(--fg);
  margin-bottom: 2rem;
}

.not-found-link {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.4);
  transition: border-color 0.2s ease;
}

.not-found-link:hover { border-color: var(--accent); }

/* ── SHOP RESPONSIVE ── */
@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-info {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }

  .catalog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 2rem 1rem 4rem;
  }

  .catalog-header {
    padding: 3rem 1rem 2rem;
  }

  .product-layout {
    padding: 2rem 1rem 4rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 1rem;
  }
}