/* ============================================================
   FURNOVA — Premium Design System v2
   Rich Color Palette · Glassmorphism · Gradients · Polish
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ══════════════════════════════════════════════════════════
   COLOR SYSTEM
   Primary:  Deep Espresso + Warm Gold
   Accent:   Sage Green + Terracotta
   Neutral:  Cream + Stone + Charcoal
   ══════════════════════════════════════════════════════════ */
:root {
  /* ── Core Palette ── */
  --cream:       #FAF7F2;
  --cream-deep:  #F2EDE3;
  --white:       #FFFFFF;
  --espresso:    #1C1712;
  --espresso-2:  #2A2118;
  --espresso-3:  #3D2E20;

  /* ── Gold Accent ── */
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-pale:   #F5E9CC;
  --gold-dark:   #806323;

  /* ── Sage Green ── */
  --sage:        #6B8068;
  --sage-light:  #A8BDA5;
  --sage-pale:   #E8F0E7;
  --sage-dark:   #4A5E47;

  /* ── Terracotta ── */
  --terra:       #C4714E;
  --terra-light: #E8A882;
  --terra-pale:  #FAE8DF;
  --terra-dark:  #8A4A2E;

  /* ── Neutrals ── */
  --stone:       #B8AFA4;
  --stone-light: #D8D2CC;
  --stone-pale:  #EDE9E4;
  --charcoal:    #2C2C2A;
  --grey-mid:    #706A63;
  --grey-light:  #E8E4DE;

  /* ── Special ── */
  --navy:        #1A2340;
  --navy-mid:    #2D3A5E;
  --burgundy:    #6B2D3E;
  --emerald:     #2D5A4A;

  /* ── Gradients ── */
  --grad-gold:      linear-gradient(135deg, #C9A84C 0%, #E8C97A 50%, #C9A84C 100%);
  --grad-espresso:  linear-gradient(135deg, #1C1712 0%, #3D2E20 100%);
  --grad-sage:      linear-gradient(135deg, #4A5E47 0%, #6B8068 100%);
  --grad-warm:      linear-gradient(135deg, #FAF7F2 0%, #F2EDE3 100%);
  --grad-hero:      linear-gradient(145deg, #1C1712 0%, #2A2118 35%, #1A2340 100%);
  --grad-card:      linear-gradient(180deg, transparent 0%, rgba(28,23,18,0.85) 100%);
  --grad-shimmer:   linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.15) 50%, transparent 100%);

  /* ── Typography ── */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Manrope', system-ui, sans-serif;

  /* ── Spacing ── */
  --nav-h:   84px;
  --radius:  6px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* ── Easing ── */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Shadows ── */
  --shadow-sm:  0 2px 8px rgba(28,23,18,0.08);
  --shadow-md:  0 8px 32px rgba(28,23,18,0.12);
  --shadow-lg:  0 20px 60px rgba(28,23,18,0.18);
  --shadow-xl:  0 32px 80px rgba(28,23,18,0.24);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.25);
  --shadow-glow: 0 0 40px rgba(201,168,76,0.15);
}

/* ── Base ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
.t-display {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.t-heading { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }
.t-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.t-body { font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.8; color: var(--grey-mid); }

/* ══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ══════════════════════════════════════════════════════════ */
.announcement-bar {
  background: var(--grad-espresso);
  color: var(--gold-light);
  text-align: center;
  padding: 11px 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  z-index: 200;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.announcement-bar a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.announcement-bar a:hover { border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out),
              top 0.4s var(--ease-out),
              backdrop-filter 0.45s;
}
.nav-wrap.has-announcement { top: 40px; }
.nav-wrap.has-announcement.scrolled { top: 0; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 3rem;
  max-width: 1680px;
  margin: 0 auto;
}
.nav-wrap.scrolled {
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(201,168,76,0.15), var(--shadow-sm);
}
.nav-wrap:not(.scrolled) {
  background: rgba(28,23,18,0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav-wrap:not(.scrolled) .nav-logo,
.nav-wrap:not(.scrolled) .nav-links a,
.nav-wrap:not(.scrolled) .nav-icon-btn { color: var(--cream); }
.nav-wrap:not(.scrolled) .hamburger span { background: var(--cream); }
.nav-wrap.scrolled .nav-logo,
.nav-wrap.scrolled .nav-links a,
.nav-wrap.scrolled .nav-icon-btn { color: var(--espresso); }
.nav-wrap.scrolled .hamburger span { background: var(--espresso); }

/* Logo */
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--espresso);
  display: flex;
  align-items: baseline;
  gap: 0;
  position: relative;
}
.nav-logo span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo::after {
  content: '®';
  font-size: 0.5rem;
  font-family: var(--font-sans);
  -webkit-text-fill-color: var(--gold);
  color: var(--gold);
  position: relative;
  top: -8px;
  margin-left: 2px;
  opacity: 0.7;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--grad-gold);
  transition: width 0.35s var(--ease-out);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  color: var(--charcoal);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.nav-icon-btn:hover { background: var(--gold-pale); color: var(--gold-dark); }
.nav-badge {
  position: absolute;
  top: 3px; right: 3px;
  background: var(--grad-gold);
  color: var(--espresso);
  font-size: 0.58rem;
  font-weight: 800;
  min-width: 17px; height: 17px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 1.5px solid var(--cream);
  transition: transform 0.25s var(--ease-back);
}
.nav-badge.bump { transform: scale(1.5); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--espresso);
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
  border-radius: 2px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border-top: 2px solid var(--gold-pale);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  z-index: 99;
}
.has-mega:hover .mega-menu,
.mega-menu:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}
.mega-col h4 {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold-pale);
}
.mega-col a {
  display: block;
  font-size: 0.86rem;
  color: var(--charcoal);
  padding: 0.28rem 0;
  transition: color 0.2s, padding-left 0.2s;
}
.mega-col a:hover { color: var(--gold-dark); padding-left: 0.4rem; }

/* Mobile Drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(28,23,18,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(380px, 92vw);
  height: 100%;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  overflow-y: auto;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 1px solid var(--gold-pale);
}
.mobile-drawer.open { pointer-events: all; }
.mobile-drawer.open .drawer-overlay { opacity: 1; }
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close { align-self: flex-end; margin-bottom: 1.5rem; }
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 300;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--grey-light);
  color: var(--espresso);
  transition: color 0.2s;
}
.drawer-link:hover { color: var(--gold-dark); }

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border-radius: 60px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-shimmer);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateX(100%); }
.btn:active { transform: scale(0.97); }

/* Gold Primary */
.btn-dark {
  background: var(--grad-espresso);
  color: var(--gold-light);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(28,23,18,0.3);
}
.btn-dark:hover {
  background: var(--espresso-3);
  box-shadow: var(--shadow-gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Gold Filled */
.btn-gold {
  background: var(--grad-gold);
  color: var(--espresso);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  font-weight: 800;
}
.btn-gold:hover {
  box-shadow: 0 12px 40px rgba(201,168,76,0.4);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn-outline:hover {
  background: var(--espresso);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Light/Cream */
.btn-light {
  background: var(--cream);
  color: var(--espresso);
  border-color: var(--cream);
}
.btn-light:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Ghost (on dark bg) */
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(201,168,76,0.5);
  color: var(--gold-light);
}

/* Sage */
.btn-sage {
  background: var(--grad-sage);
  color: var(--white);
  border-color: transparent;
}
.btn-sage:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-sm  { padding: 0.55rem 1.4rem; font-size: 0.66rem; }
.btn-lg  { padding: 1.1rem 3rem; font-size: 0.78rem; }
.btn-xl  { padding: 1.3rem 3.5rem; font-size: 0.82rem; }

/* ══════════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════════ */
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-xl { padding: 10rem 0; }
.container  { max-width: 1340px; margin: 0 auto; padding: 0 2.5rem; }
.container-wide { max-width: 1680px; margin: 0 auto; padding: 0 2.5rem; }

.section-header { margin-bottom: 4rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--espresso);
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-subtitle {
  font-size: 0.95rem;
  color: var(--grey-mid);
  max-width: 560px;
  margin-top: 1rem;
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-hero);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 3rem;
  max-width: 720px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  padding: 0.45rem 1.2rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 40px;
  backdrop-filter: blur(8px);
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--gold); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--gold); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.98;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}
.hero-title em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(250,247,242,0.65);
  max-width: 460px;
  line-height: 1.85;
  margin-bottom: 2.8rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
  color: rgba(250,247,242,0.4);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 44px;
  background: rgba(250,247,242,0.2);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop { 0% { top: -100%; } 100% { top: 100%; } }
.hero-hint {
  position: absolute;
  bottom: 2.5rem; right: 3rem;
  z-index: 10;
  color: rgba(250,247,242,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.8rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  cursor: pointer;
  border: 1px solid var(--grey-light);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-deep);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.product-card:hover .product-card-img img { transform: scale(1.07); }
.product-card-img-alt {
  position: absolute; inset: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.product-card:hover .product-card-img-alt { opacity: 1; }
.product-card-badge {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.32rem 0.85rem;
  border-radius: 40px;
  z-index: 2;
}
.product-card-badge.bestseller { background: var(--grad-espresso); color: var(--gold-light); }
.product-card-badge.new        { background: var(--grad-sage); color: var(--white); }
.product-card-badge.sale       { background: var(--terra); color: var(--white); }
.product-card-actions {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 2;
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.card-icon-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 1px solid rgba(201,168,76,0.2);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.card-icon-btn:hover, .card-icon-btn.active {
  background: var(--grad-espresso);
  color: var(--gold-light);
  transform: scale(1.1);
  border-color: transparent;
}
.product-card-body { padding: 1.4rem 1.4rem 1.6rem; }
.product-card-category {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.product-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.price-current { font-size: 1rem; font-weight: 700; color: var(--espresso); }
.product-card .price-current { display: inline-block; transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
.product-card:hover .price-current,
.product-card:focus-within .price-current { color: var(--gold-dark); transform: translateY(-1px); }
.price-original { font-size: 0.82rem; color: var(--stone); text-decoration: line-through; }
.product-card-colors { display: flex; gap: 6px; margin-top: 0.75rem; }
.color-dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.color-dot:hover, .color-dot.active {
  border-color: var(--gold);
  transform: scale(1.15);
}

/* ══════════════════════════════════════════════════════════
   QUICK VIEW MODAL
   ══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(28,23,18,0.7);
  backdrop-filter: blur(12px);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 960px; width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.45s var(--ease-back);
  box-shadow: var(--shadow-xl);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-img { overflow: hidden; background: var(--cream-deep); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 2.5rem; overflow-y: auto; position: relative; }
.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 38px; height: 38px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--charcoal);
  transition: background 0.2s, transform 0.2s;
  border: 1px solid var(--grey-light);
}
.modal-close:hover { background: var(--espresso); color: var(--gold-light); transform: rotate(90deg); }

/* ══════════════════════════════════════════════════════════
   FEATURED COLLECTIONS GRID
   ══════════════════════════════════════════════════════════ */
.collections-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 420px 300px;
  gap: 1.2rem;
}
.coll-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}
.coll-card:first-child { grid-row: 1 / 3; }
.coll-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.coll-card:hover img { transform: scale(1.06); }
.coll-card-overlay {
  position: absolute; inset: 0;
  background: var(--grad-card);
  display: flex; align-items: flex-end;
  padding: 2rem;
  transition: background 0.4s;
}
.coll-card:hover .coll-card-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(28,23,18,0.92) 100%);
}
.coll-card-info { color: var(--white); }
.coll-card-info small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.coll-card-info h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
}
.coll-card::after {
  content: '';
  position: absolute;
  bottom: 1.8rem; right: 1.8rem;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.coll-card:hover::after {
  background: rgba(201,168,76,0.2);
  transform: scale(1.1);
}

/* ══════════════════════════════════════════════════════════
   STATS ROW
   ══════════════════════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  background: var(--grad-espresso);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.testimonial-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.2rem; left: 1.8rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-pale);
  font-style: italic;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1.2rem;
}
.testimonial-stars span {
  color: var(--gold);
  font-size: 0.9rem;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--espresso);
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage-dark);
  letter-spacing: 0.06em;
}
.testimonial-author::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--grad-gold);
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════
   JOURNAL CARDS
   ══════════════════════════════════════════════════════════ */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.journal-card { cursor: pointer; }
.journal-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1.3rem;
  background: var(--cream-deep);
  position: relative;
}
.journal-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,23,18,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.journal-card:hover .journal-card-img::after { opacity: 1; }
.journal-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.journal-card:hover .journal-card-img img { transform: scale(1.05); }
.journal-card-cat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.journal-card-cat::before {
  content: '';
  width: 14px; height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}
.journal-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.3;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}
.journal-card:hover .journal-card-title { color: var(--gold-dark); }
.journal-card-excerpt { font-size: 0.87rem; color: var(--grey-mid); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════ */
.newsletter {
  background: var(--grad-espresso);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.newsletter h2 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.newsletter p { font-size: 0.92rem; color: rgba(250,247,242,0.6); margin-bottom: 2.2rem; }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 60px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.newsletter-form input {
  flex: 1;
  padding: 1rem 1.6rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(201,168,76,0.25);
  border-right: none;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  border-radius: 60px 0 0 60px;
  transition: border-color 0.3s, background 0.3s;
}
.newsletter-form input::placeholder { color: rgba(250,247,242,0.35); }
.newsletter-form input:focus {
  border-color: rgba(201,168,76,0.6);
  background: rgba(255,255,255,0.12);
}
.newsletter-form .btn {
  border-radius: 0 60px 60px 0;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 5.5rem 0 2.5rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  margin-bottom: 2rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(250,247,242,0.45);
  margin-top: 1rem;
  line-height: 1.8;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.footer-col a {
  display: block;
  font-size: 0.87rem;
  color: rgba(250,247,242,0.6);
  margin-bottom: 0.65rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover { color: var(--gold-light); padding-left: 0.3rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: rgba(250,247,242,0.25);
}
.footer-bottom a { color: rgba(250,247,242,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,247,242,0.5);
  font-size: 0.85rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.footer-social a:hover {
  background: var(--grad-gold);
  color: var(--espresso);
  border-color: transparent;
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.3rem; }
.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--grey-light);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--espresso);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-input.error, .form-select.error { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196,113,78,0.1); }
.form-error { display: block; font-size: 0.7rem; color: var(--terra); margin-top: 0.35rem; font-weight: 500; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ══════════════════════════════════════════════════════════
   SHOP LAYOUT
   ══════════════════════════════════════════════════════════ */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.filter-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--grey-light);
  box-shadow: var(--shadow-sm);
}
.filter-section { border-bottom: 1px solid var(--grey-light); padding-bottom: 1.2rem; margin-bottom: 1.2rem; }
.filter-section:last-child { border-bottom: none; }
.filter-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.filter-option {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.87rem; color: var(--grey-mid);
  margin-bottom: 0.5rem; cursor: pointer;
  transition: color 0.2s;
}
.filter-option input { accent-color: var(--gold-dark); }
.filter-option:hover { color: var(--espresso); }
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.8rem; flex-wrap: wrap; gap: 1rem;
}
.view-toggle { display: flex; gap: 0.35rem; }
.view-btn {
  width: 38px; height: 38px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-mid); cursor: pointer;
  transition: all 0.2s;
}
.view-btn.active { background: var(--grad-espresso); color: var(--gold-light); border-color: transparent; }
.view-btn:hover:not(.active) { border-color: var(--gold); color: var(--gold-dark); }

/* Price range */
.price-range { display: flex; flex-direction: column; gap: 0.7rem; }
.price-range input[type=range] { width: 100%; accent-color: var(--gold-dark); height: 4px; }
.price-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--grey-mid); }

/* ══════════════════════════════════════════════════════════
   ACCORDION
   ══════════════════════════════════════════════════════════ */
.accordion-item { border-bottom: 1px solid var(--grey-light); }
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 0;
  cursor: pointer;
  font-size: 0.95rem; font-weight: 600;
  color: var(--espresso);
  user-select: none;
  transition: color 0.2s;
}
.accordion-header:hover { color: var(--gold-dark); }
.accordion-header svg { flex-shrink: 0; transition: transform 0.35s var(--ease-out); }
.accordion-item.open .accordion-header { color: var(--gold-dark); }
.accordion-item.open .accordion-header svg { transform: rotate(180deg); }
.accordion-body { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease-out); }
.accordion-item.open .accordion-body { max-height: 800px; }
.accordion-content { padding-bottom: 1.3rem; font-size: 0.9rem; color: var(--grey-mid); line-height: 1.8; }

/* ══════════════════════════════════════════════════════════
   CART & WISHLIST
   ══════════════════════════════════════════════════════════ */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.5rem; padding: 1.8rem 0;
  border-bottom: 1px solid var(--grey-light);
  align-items: center;
}
.cart-item-img {
  aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-deep);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; color: var(--espresso); }
.cart-item-meta { font-size: 0.8rem; color: var(--grey-mid); margin-top: 0.3rem; }
.quantity-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--grey-light);
  border-radius: 40px; overflow: hidden;
}
.qty-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--charcoal);
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.qty-btn:hover { background: var(--gold-pale); color: var(--gold-dark); }
.qty-input {
  width: 44px; text-align: center;
  border: none; border-left: 1.5px solid var(--grey-light); border-right: 1.5px solid var(--grey-light);
  font-size: 0.88rem; font-family: var(--font-sans); color: var(--espresso);
  padding: 0; height: 34px; outline: none;
}
.order-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  border: 1px solid var(--grey-light);
  box-shadow: var(--shadow-sm);
}
.summary-line {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; padding: 0.7rem 0;
  color: var(--grey-mid);
  border-bottom: 1px solid var(--grey-light);
}
.summary-line.total {
  font-size: 1.05rem; font-weight: 700;
  color: var(--espresso); border-bottom: none;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   PRODUCT DETAIL
   ══════════════════════════════════════════════════════════ */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.product-gallery-main {
  aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-deep);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.gallery-thumb {
  aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius); background: var(--cream-deep);
  cursor: pointer; border: 2.5px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb:hover { transform: scale(0.97); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.swatch-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.7rem; }
.swatch {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.swatch:hover, .swatch.active {
  border-color: var(--gold);
  transform: scale(1.12);
  box-shadow: var(--shadow-gold);
}
.swatch-label {
  position: absolute;
  bottom: -1.6rem; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.6rem;
  color: var(--grey-mid);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.swatch:hover .swatch-label { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   STUDIO LAYOUT
   ══════════════════════════════════════════════════════════ */
.studio-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}
#studio-canvas { width: 100%; height: 100%; display: block; }
.studio-panel {
  background: var(--white);
  border-left: 1px solid var(--grey-light);
  overflow-y: auto;
  padding: 2.2rem;
}
.studio-section {
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--grey-light);
}
.studio-section:last-child { border-bottom: none; }
.studio-section-title {
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.studio-section-title::before {
  content: '';
  width: 16px; height: 1.5px;
  background: var(--grad-gold); border-radius: 2px;
}
.model-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.model-btn {
  padding: 0.65rem 0.4rem;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: 0.72rem; font-weight: 700;
  text-align: center; cursor: pointer;
  transition: all 0.25s var(--ease-out);
  color: var(--charcoal); background: transparent;
  letter-spacing: 0.06em;
}
.model-btn:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-pale); }
.model-btn.active {
  border-color: var(--gold-dark);
  background: var(--grad-espresso);
  color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

/* ══════════════════════════════════════════════════════════
   VISUALIZER
   ══════════════════════════════════════════════════════════ */
.visualizer-layout { display: grid; grid-template-columns: 1fr 320px; height: calc(100vh - var(--nav-h)); }
#room-canvas { width: 100%; height: 100%; display: block; }
.viz-panel { background: var(--white); border-left: 1px solid var(--grey-light); overflow-y: auto; padding: 1.8rem; }

/* ══════════════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 1000; display: flex; flex-direction: column; gap: 0.7rem;
  pointer-events: none;
}
.toast {
  background: var(--espresso-2);
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: 60px;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-xl);
  transform: translateX(calc(100% + 2.5rem));
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  pointer-events: all;
  display: flex; align-items: center; gap: 0.7rem;
  max-width: 320px;
  border: 1px solid rgba(201,168,76,0.2);
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { border-left: 3px solid var(--gold); border-radius: 60px; }
.toast.error { border-left: 3px solid var(--terra); }

/* ══════════════════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════════════════ */
.tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--grey-light);
  margin-bottom: 2rem;
}
.tab-btn {
  padding: 0.85rem 1.8rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--grey-mid);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font-sans);
}
.tab-btn:hover { color: var(--espresso); }
.tab-btn.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ══════════════════════════════════════════════════════════
   PAGE HEADER
   ══════════════════════════════════════════════════════════ */
.page-header {
  padding: 7rem 0 4rem;
  background: linear-gradient(180deg, var(--espresso) 0%, var(--espresso-3) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1;
  color: var(--cream);
  position: relative;
}
.page-header-title em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header-sub { font-size: 0.95rem; color: rgba(250,247,242,0.55); margin-top: 0.9rem; position: relative; }

/* ══════════════════════════════════════════════════════════
   COLLECTION HERO
   ══════════════════════════════════════════════════════════ */
.collection-hero {
  position: relative; height: 65vh; min-height: 420px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.collection-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,23,18,0.85) 0%, rgba(28,23,18,0.1) 55%, transparent 100%);
}
.collection-hero-content { position: relative; z-index: 2; color: var(--cream); padding: 4rem; }
.collection-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300; line-height: 1; margin-bottom: 0.8rem;
}
.collection-hero-content h1 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════
   CRAFT SECTION
   ══════════════════════════════════════════════════════════ */
.craft-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.craft-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.craft-sticky img { width: 100%; height: 100%; object-fit: cover; }
.craft-content { padding: 7rem 5rem; display: flex; flex-direction: column; justify-content: center; }
.craft-item { padding: 2.8rem 0; border-bottom: 1px solid var(--grey-light); }
.craft-item:last-child { border-bottom: none; }
.craft-num {
  font-family: var(--font-serif);
  font-size: 3.5rem; font-weight: 300;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 0.6rem;
  opacity: 0.5;
}
.craft-item h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 0.7rem; }
.craft-item p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.85; }

/* ══════════════════════════════════════════════════════════
   PARALLAX
   ══════════════════════════════════════════════════════════ */
.parallax-section { position: relative; overflow: hidden; height: 70vh; min-height: 420px; }
.parallax-img {
  position: absolute; inset: -20%;
  background-size: cover; background-position: center;
  will-change: transform;
}
.parallax-caption {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28,23,18,0.45);
}
.parallax-caption-inner { text-align: center; color: var(--white); }
.parallax-caption-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300; margin-bottom: 1.2rem;
}
.parallax-caption-inner h2 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════
   MISC COMPONENTS
   ══════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.74rem; color: rgba(250,247,242,0.5);
  padding: 1rem 0;
}
.breadcrumb a { color: rgba(250,247,242,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold); }

.divider {
  width: 44px; height: 2px;
  background: var(--grad-gold);
  margin: 1.4rem 0;
  border-radius: 2px;
}

.tag-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 1rem;
  background: var(--gold-pale);
  border-radius: 40px;
  font-size: 0.68rem; font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spinner {
  width: 40px; height: 40px;
  border: 2.5px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); z-index: 50;
  transition: opacity 0.5s;
}
.loading-overlay.hidden { opacity: 0; pointer-events: none; }

.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-state svg { opacity: 0.15; margin: 0 auto 1.8rem; }
.empty-state h3 {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 300; margin-bottom: 0.7rem;
}
.empty-state p { color: var(--grey-mid); font-size: 0.92rem; }

/* Canvas overlays */
.canvas-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.2rem;
  background: var(--grad-hero); color: var(--cream);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 5; transition: opacity 0.8s;
}
.canvas-loading.hidden { opacity: 0; pointer-events: none; }
.canvas-hint {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  background: rgba(28,23,18,0.65);
  color: var(--gold-light);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  pointer-events: none; opacity: 1;
  transition: opacity 0.5s;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,0.2);
  white-space: nowrap;
}
.canvas-hint.hidden { opacity: 0; }

/* Before/After */
.ba-container { position: relative; overflow: hidden; border-radius: var(--radius-lg); user-select: none; }
.ba-before, .ba-after { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-after { clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--gold); cursor: ew-resize; z-index: 3; }
.ba-handle::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}

/* Marquee */
.marquee-wrap {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--grey-light); border-bottom: 1px solid var(--grey-light);
  padding: 1rem 0; background: var(--white);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 35s linear infinite;
  gap: 3rem;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--font-serif); font-size: 1.15rem;
  font-weight: 300; font-style: italic;
  color: var(--stone); letter-spacing: 0.04em; flex-shrink: 0;
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-light); display: inline-block;
  vertical-align: middle; flex-shrink: 0; align-self: center;
}

/* Checkout steps */
.checkout-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 3rem;
}
.checkout-step { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; position: relative; }
.checkout-step::after {
  content: ''; position: absolute;
  top: 18px; left: calc(50% + 22px);
  width: calc(100% + 12px); height: 1.5px;
  background: var(--grey-light);
}
.checkout-step:last-child::after { display: none; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grey-light); color: var(--grey-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; z-index: 1;
  transition: all 0.3s;
}
.checkout-step.active .step-num { background: var(--grad-gold); color: var(--espresso); box-shadow: var(--shadow-gold); }
.checkout-step.done .step-num { background: var(--grad-sage); color: var(--white); }
.step-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-mid); }
.checkout-step.active .step-label { color: var(--gold-dark); }

/* Viz furniture items */
.viz-furniture-item {
  display: flex; gap: 0.9rem; align-items: center;
  padding: 0.75rem; border: 1.5px solid var(--grey-light);
  border-radius: var(--radius); cursor: pointer; margin-bottom: 0.5rem;
  transition: all 0.2s;
}
.viz-furniture-item:hover { border-color: var(--gold); background: var(--gold-pale); }
.viz-item-thumb { width: 52px; height: 52px; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); flex-shrink: 0; }
.viz-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.viz-item-name { font-size: 0.82rem; font-weight: 600; color: var(--espresso); }
.viz-item-price { font-size: 0.74rem; color: var(--gold-dark); font-weight: 700; }
.viz-add-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-espresso); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem; font-weight: 300; line-height: 1;
  transition: all 0.2s;
}
.viz-add-btn:hover { background: var(--grad-gold); color: var(--espresso); transform: scale(1.1); }

/* Scroll progress */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px;
  background: var(--grad-gold); z-index: 9999;
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.08s linear;
}

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--grey-light) 25%, var(--cream-deep) 50%, var(--grey-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.skeleton-card { aspect-ratio: 4/3; margin-bottom: 1rem; }
.skeleton-line { height: 12px; margin-bottom: 0.55rem; }
.skeleton-line.short { width: 60%; }

/* Grain overlay */
.grain::after {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.35;
}

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.w-full { width: 100%; } .relative { position: relative; } .overflow-hidden { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.fade-up { opacity: 0; transform: translateY(32px); }
.fade-in { opacity: 0; }

/* Focus */
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: var(--radius); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}
