/* ==========================================================================
   BERRY STRANDS — Multi-Page Luxury Wig & Raw Hair E-Commerce
   Zara Editorial Visual Architecture + ElevenLabs Tactile Surface Physics
   ========================================================================== */

:root {
  /* ElevenLabs Warm Alabaster & Cream Surface Palette */
  --page-bg: #FDFCFB;
  --bg-cream: #F5F2EE;
  --bg-stone: #E7E1D9;
  --bg-white: #FFFFFF;
  --bg-obsidian: #12100E;

  /* Ink Hierarchy */
  --text-black: #12100E;
  --text-gray-700: #423D38;
  --text-gray-600: #5E5750;
  --text-gray-500: #7E766D;
  --text-gray-400: #A39B92;
  --text-cream: #F6F3EF;

  /* Luxury Olive & Champagne Silk Palette */
  --olive-noir: #1F2519;        /* Deepest velvet olive black */
  --olive-header: #2A3222;      /* Rich dark olive header bar */
  --olive-primary: #323C29;     /* Primary brand olive for CTAs & active states */
  --olive-hover: #414E35;       /* Elevated olive hover tone */
  --olive-moss: #505F41;        /* Mid-tone olive moss for eyebrows & accents */
  --olive-sage: #7D8E6B;        /* Soft sage accent */
  --olive-mist: #F1F4ED;        /* Subtle olive cream surface tint */
  --olive-border: rgba(42, 50, 34, 0.14); /* Subtle olive border */

  /* Champagne Silk (User's #F2DEC0) */
  --champagne-gold: #F2DEC0;    /* User's champagne silk for logo & contrast accents */
  --champagne-light: #FAF4EB;   /* Soft champagne whisper */
  --champagne-muted: #D5BFA0;   /* Muted champagne for sublines */

  /* ElevenLabs Hairline Rings & Tactile Pill Shadows */
  --ring-subtle: rgba(18, 16, 14, 0.08);
  --ring-medium: rgba(18, 16, 14, 0.15);
  --shadow-pill: 0 0 0 0.5px rgba(18, 16, 14, 0.12), 0 1px 2px rgba(18, 16, 14, 0.04), 0 2px 5px rgba(18, 16, 14, 0.04);
  --shadow-card-hover: 0 0 0 1px rgba(18, 16, 14, 0.14), 0 16px 36px -10px rgba(18, 16, 14, 0.09);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-classic: 'Cinzel', 'Cormorant Garamond', 'Bodoni Moda', 'Didot', Georgia, serif;
  --font-couture: 'Cormorant Garamond', 'Bodoni Moda', 'Didot', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Responsive Container Gutters */
  --outer-gutter: 0.9rem;
  --max-container: 1420px;

  /* ElevenLabs Tactile Grain Overlay for Orbs */
  --noise-svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.32'/%3E%3C/svg%3E");
}

@media (min-width: 48rem) {
  :root {
    --outer-gutter: 2rem;
  }
}

@media (min-width: 80rem) {
  :root {
    --outer-gutter: 3rem;
  }
}

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

html {
  font-family: var(--font-sans);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background-color: var(--page-bg);
  color: var(--text-black);
  overflow-x: hidden;
}

body {
  background-color: var(--page-bg);
  color: var(--text-black);
  overflow-x: hidden;
  width: 100%;
  font-size: 0.9375rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

[hidden] {
  display: none !important;
}

.el-container {
  width: min(var(--max-container), calc(100% - (2 * var(--outer-gutter))));
  margin-inline: auto;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
.type-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.type-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}

.type-h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--olive-moss);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
}

/* ==========================================================================
   ElevenLabs-Inspired Pill Buttons & Controls
   ========================================================================== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  white-space: nowrap;
  border-radius: 9999px;
  font-size: 0.8125rem;
  line-height: 1;
  font-weight: 500;
  padding: 0 1rem;
  height: 2.4rem;
  transition: background-color 0.16s ease,
              color 0.16s ease,
              box-shadow 0.16s ease,
              transform 0.12s ease;
  user-select: none;
}

.btn-pill:active {
  transform: scale(0.98);
}

.btn-pill-lg {
  height: 2.75rem;
  padding: 0 1.35rem;
  font-size: 0.86rem;
}

.btn-pill-sm {
  height: 1.95rem;
  padding: 0 0.75rem;
  font-size: 0.74rem;
}

.btn-primary {
  background-color: var(--olive-primary);
  color: var(--champagne-gold);
  border: 1px solid var(--olive-noir);
  box-shadow: 0 2px 6px rgba(31, 37, 25, 0.16);
}

.btn-primary:hover {
  background-color: var(--olive-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-black);
  box-shadow: var(--shadow-pill);
}

.btn-secondary:hover {
  background-color: #FAF8F5;
  box-shadow: 0 0 0 1px rgba(18, 16, 14, 0.2), 0 2px 6px rgba(18, 16, 14, 0.06);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-black);
  box-shadow: var(--shadow-pill);
}

.btn-glass:hover {
  background: #FFFFFF;
}

/* ==========================================================================
   Textured Hair Shade Swatch Orbs (ElevenLabs Orb Signature)
   ========================================================================== */
.el-orb {
  position: relative;
  display: inline-block;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.el-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise-svg);
  background-size: 80px 80px;
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}

.orb-xs { width: 0.8rem; height: 0.8rem; }
.orb-sm { width: 1.1rem; height: 1.1rem; }
.orb-md { width: 1.4rem; height: 1.4rem; }

.orb-jet-black {
  background: radial-gradient(circle at 30% 30%, #4A4948 0%, #181716 55%, #050505 100%);
}
.orb-espresso {
  background: radial-gradient(circle at 30% 30%, #6E4A35 0%, #362217 60%, #1A100A 100%);
}
.orb-honey-blonde {
  background: radial-gradient(circle at 30% 30%, #F3D299 0%, #C69249 58%, #6D481C 100%);
}
.orb-spiced-copper {
  background: radial-gradient(circle at 30% 30%, #E58C56 0%, #A9441A 60%, #581D07 100%);
}
.orb-pearl-ash {
  background: radial-gradient(circle at 30% 30%, #F7F5F0 0%, #C7C0B6 60%, #6D665E 100%);
}
.orb-truffle-brown {
  background: radial-gradient(circle at 30% 30%, #8A624A 0%, #4B3122 60%, #24160E 100%);
}
.orb-burgundy {
  background: radial-gradient(circle at 30% 30%, #9E2B42 0%, #56101E 60%, #26050B 100%);
}

/* ==========================================================================
   Sticky Header: Luxury Olive Bar with Bodoni Moda #F2DEC0 Champagne Wordmark
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--olive-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(242, 222, 192, 0.14);
  box-shadow: 0 4px 20px rgba(31, 37, 25, 0.18);
}

.header-inner {
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  flex: 0 0 auto;
}

.menu-drawer-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  height: 2.35rem;
  padding: 0 0.85rem;
  border-radius: 9999px;
  background-color: rgba(242, 222, 192, 0.10);
  border: 1px solid rgba(242, 222, 192, 0.18);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--champagne-gold);
  transition: background-color 0.15s ease, transform 0.12s ease;
  flex-shrink: 0;
}

.menu-drawer-trigger:hover {
  background-color: rgba(242, 222, 192, 0.20);
}

.menu-drawer-trigger svg {
  stroke: var(--champagne-gold);
}

@media (max-width: 30rem) {
  .menu-drawer-trigger {
    padding: 0 0.62rem;
    height: 2.15rem;
  }
  .menu-trigger-label {
    display: none;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  white-space: nowrap;
}

@media (min-width: 90rem) {
  .nav-links {
    display: flex;
  }
}

.nav-item-btn {
  padding: 0.42rem 0.72rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 450;
  color: rgba(242, 222, 192, 0.85);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-item-btn:hover {
  color: #FFFFFF;
  background-color: rgba(242, 222, 192, 0.14);
}

.nav-item-btn.is-active {
  background-color: rgba(242, 222, 192, 0.20);
  color: var(--champagne-gold);
  font-weight: 500;
}

/* Center Primary Classic Logo (Absolute Centering in Header - Guaranteed ZERO Overlap) */
.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--champagne-gold);
  text-decoration: none;
  user-select: none;
  line-height: 1;
  text-align: center;
  pointer-events: auto;
  transition: opacity 0.16s ease;
}

.site-header .brand-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.site-footer .brand-logo,
.nav-drawer .brand-logo {
  position: static;
  transform: none;
  align-items: flex-start;
  text-align: left;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-wordmark-main {
  font-family: 'Bodoni Moda', 'Bodoni MT', 'Didot', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--champagne-gold);
  white-space: nowrap;
  transition: color 0.16s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.site-footer .brand-wordmark-main,
.nav-drawer .brand-wordmark-main {
  color: var(--olive-primary);
  text-shadow: none;
}

.brand-logo:hover .brand-wordmark-main {
  color: var(--champagne-light);
}

.brand-wordmark-main .word-gap {
  display: inline-block;
  width: 0.55em;
}

.brand-wordmark-sub {
  font-family: var(--font-sans);
  font-size: 0.44rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne-muted);
  margin-top: 0.28rem;
  white-space: nowrap;
  transition: color 0.16s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.site-footer .brand-wordmark-sub,
.nav-drawer .brand-wordmark-sub {
  color: var(--olive-moss);
  text-shadow: none;
}

.brand-logo:hover .brand-wordmark-sub {
  color: var(--champagne-gold);
}

@media (max-width: 36rem) {
  .brand-wordmark-main {
    font-size: 0.92rem;
    letter-spacing: 0.16em;
  }
  .brand-wordmark-sub {
    font-size: 0.35rem;
    letter-spacing: 0.2em;
    margin-top: 0.16rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  z-index: 2;
  flex: 0 0 auto;
}

.site-header .header-actions .btn-secondary {
  background-color: rgba(242, 222, 192, 0.10);
  border: 1px solid rgba(242, 222, 192, 0.18);
  color: var(--champagne-gold);
  box-shadow: none;
}

.site-header .header-actions .btn-secondary:hover {
  background-color: rgba(242, 222, 192, 0.20);
}

.site-header .header-actions .btn-secondary svg {
  stroke: var(--champagne-gold);
}

.site-header .header-actions .btn-secondary .count-pill {
  background-color: rgba(242, 222, 192, 0.22);
  color: var(--champagne-gold);
}

.site-header .header-actions #openCartBtn {
  background-color: var(--champagne-gold);
  color: var(--olive-noir);
  font-weight: 600;
  border: 1px solid var(--champagne-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.site-header .header-actions #openCartBtn:hover {
  background-color: #FFF3E2;
  transform: translateY(-1px);
}

.site-header .header-actions #openCartBtn svg {
  stroke: var(--olive-noir);
}

.site-header .header-actions #openCartBtn .count-pill {
  background-color: var(--olive-noir);
  color: var(--champagne-gold);
}

@media (max-width: 36rem) {
  .header-actions .btn-secondary {
    display: none !important;
  }
  .header-actions #openCartBtn span:not(.count-pill) {
    display: none;
  }
  .header-actions #openCartBtn {
    padding: 0 0.55rem;
    gap: 0.28rem;
    height: 2.15rem;
  }
  .hide-mobile-btn {
    display: none !important;
  }
}

.hide-xs {
  display: none;
}

@media (min-width: 44rem) {
  .hide-xs {
    display: inline;
  }
}

.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.18rem;
  height: 1.18rem;
  padding: 0 0.3rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  background-color: var(--bg-white);
  color: var(--text-black);
}

.btn-secondary .count-pill {
  background-color: var(--bg-cream);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
}

/* ==========================================================================
   Full-Height Slide-Over Hamburger Navigation Drawer (Multi-Page + Direct PDPs)
   ========================================================================== */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background-color: rgba(18, 16, 14, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-start;
}

.nav-drawer {
  background-color: var(--page-bg);
  width: min(28.5rem, 92vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 16px 0 48px rgba(18, 16, 14, 0.22);
  border-right: 1px solid var(--ring-subtle);
  transform: translateX(0);
  transition: transform 0.22s ease;
}

.nav-drawer-header {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--ring-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-drawer-search {
  padding: 0.75rem 1.35rem;
  border-bottom: 1px solid var(--ring-subtle);
  background-color: var(--bg-cream);
}

.nav-drawer-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-white);
  border-radius: 9999px;
  padding: 0 0.9rem;
  height: 2.4rem;
  box-shadow: var(--shadow-pill);
}

.nav-drawer-search-form input {
  width: 100%;
  font-size: 0.8125rem;
  outline: none;
}

.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem 1.35rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-drawer-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-drawer-group-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-gray-500);
  padding-bottom: 0.25rem;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.62rem 0.85rem;
  border-radius: 0.85rem;
  background-color: var(--bg-cream);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-black);
  transition: background-color 0.14s ease, transform 0.14s ease;
}

.nav-drawer-link:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-pill);
  transform: translateX(2px);
}

.nav-drawer-link .link-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-gray-500);
}

/* Direct Product Links Inside Hamburger Drawer */
.drawer-product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.drawer-product-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem;
  border-radius: 0.85rem;
  background-color: var(--bg-cream);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  transition: background-color 0.14s ease;
  min-width: 0;
}

.drawer-product-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-pill);
}

.drawer-product-thumb {
  width: 2.75rem;
  height: 3.35rem;
  border-radius: 0.55rem;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.drawer-product-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.drawer-product-name {
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-product-price {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-gray-600);
  margin-top: 0.15rem;
}

.nav-drawer-footer {
  padding: 1rem 1.35rem;
  border-top: 1px solid var(--ring-subtle);
  background-color: var(--bg-cream);
  display: flex;
  gap: 0.5rem;
}

.nav-drawer-footer .btn-pill {
  flex: 1;
}

/* ==========================================================================
   Zara-Style Full-Frame Visual Campaign Hero (Home Page)
   ========================================================================== */
.zara-hero-section {
  padding-top: 0.85rem;
  padding-bottom: 1.75rem;
}

.zara-hero-frame {
  position: relative;
  border-radius: 1.45rem;
  overflow: hidden;
  background-color: #DCD3C6;
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  aspect-ratio: 4 / 4.85;
  max-height: 750px;
  width: 100%;
}

@media (min-width: 48rem) {
  .zara-hero-frame {
    aspect-ratio: 16 / 9;
    border-radius: 1.75rem;
  }
}

.zara-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.zara-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 10, 8, 0.64) 0%,
    rgba(12, 10, 8, 0.16) 42%,
    rgba(12, 10, 8, 0) 100%
  );
  pointer-events: none;
}

.hero-hotspot {
  position: absolute;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.78rem 0.38rem 0.52rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-black);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.hero-hotspot:hover {
  transform: scale(1.04);
  background: #FFFFFF;
}

@media (min-width: 54rem) {
  .hero-hotspot {
    display: inline-flex;
  }
}

.hotspot-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--text-black);
  box-shadow: 0 0 0 3px rgba(18, 16, 14, 0.14);
  flex-shrink: 0;
}

.hotspot-card {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hotspot-price {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-gray-600);
  padding-left: 0.4rem;
  border-left: 1px solid var(--ring-medium);
}

.zara-hero-overlay {
  position: absolute;
  z-index: 3;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.95rem;
  color: var(--bg-white);
}

@media (min-width: 48rem) {
  .zara-hero-overlay {
    left: 2.25rem;
    right: 2.25rem;
    bottom: 2rem;
    flex-direction: row;
    align-items: flex-end;
  }
}

.zara-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.3rem;
}

.zara-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.zara-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   Home Category Portals (Shop by Wig Construction & Origin)
   ========================================================================== */
.home-section {
  padding-block: 1.5rem 2.75rem;
}

.section-bar-minimal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.construction-portal-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 34rem) {
  .construction-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 68rem) {
  .construction-portal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.portal-card {
  position: relative;
  aspect-ratio: 3 / 3.9;
  border-radius: 1.35rem;
  overflow: hidden;
  background-color: #E5DDD3;
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.portal-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.portal-card:hover img {
  transform: scale(1.05);
}

.portal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 8, 0.72) 0%, rgba(12, 10, 8, 0.08) 55%, rgba(12, 10, 8, 0) 100%);
  pointer-events: none;
}

.portal-top-tag,
.portal-bottom-bar {
  position: relative;
  z-index: 2;
}

.portal-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  color: #FFFFFF;
}

.portal-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.15;
}

.portal-spec {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

/* Origin & Texture Pill Strip */
.origin-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 44rem) {
  .origin-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 68rem) {
  .origin-strip-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.origin-pill-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem;
  border-radius: 1.05rem;
  background-color: var(--bg-cream);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  transition: all 0.16s ease;
  min-width: 0;
}

.origin-pill-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-pill);
  transform: translateY(-2px);
}

.origin-thumb {
  width: 2.75rem;
  height: 3.1rem;
  border-radius: 0.65rem;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.origin-card-title {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}

.origin-card-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-gray-500);
  margin-top: 0.12rem;
}

/* ==========================================================================
   Product Cards & Grids (Used on Home, Collections PLP, Bundles, PDP Related)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (min-width: 36rem) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 68rem) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-grid-3col {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (min-width: 36rem) {
  .product-grid-3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .product-grid-3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  position: relative;
  min-width: 0;
  background-color: var(--bg-cream);
  border-radius: 1.35rem;
  padding: 0.55rem;
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.product-media-wrap {
  position: relative;
  aspect-ratio: 3 / 3.8;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #EAE4DC;
  display: block;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.card-top-badges {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  right: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  z-index: 2;
}

.badge-pill {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.26rem 0.6rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-pill);
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--text-black);
}

.wishlist-icon-btn {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray-700);
  transition: transform 0.15s ease, color 0.15s ease;
}

.wishlist-icon-btn:hover {
  transform: scale(1.08);
  color: var(--text-black);
}

.wishlist-icon-btn.is-saved {
  color: #B4233C;
}

.card-hover-actions {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.product-card:hover .card-hover-actions {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .card-hover-actions {
    opacity: 1;
    transform: none;
  }
}

.card-hover-actions .btn-pill {
  height: 2rem;
  padding: 0 0.72rem;
  font-size: 0.72rem;
}

.product-card-body {
  padding: 0.7rem 0.35rem 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  min-width: 0;
}

.product-shade-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-gray-600);
}

.shade-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text-black);
}

.product-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-black);
  flex-shrink: 0;
}

.card-length-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.length-mini-btn {
  padding: 0.2rem 0.48rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 500;
  background-color: var(--bg-white);
  color: var(--text-gray-600);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  transition: all 0.12s ease;
}

.length-mini-btn:hover {
  color: var(--text-black);
}

.length-mini-btn.is-active {
  background-color: var(--text-black);
  color: var(--bg-white);
  box-shadow: none;
}

/* ==========================================================================
   Page 2: Category Collections Page (PLP) — Sleek Horizontal Filter Pills
   ========================================================================== */
.plp-header-bar {
  padding-block: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--ring-subtle);
  margin-bottom: 1.5rem;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-gray-500);
  margin-bottom: 0.45rem;
}

.breadcrumb-nav a:hover {
  color: var(--text-black);
}

.plp-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.plp-quick-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.filter-pill {
  cursor: pointer;
  border: 1px solid var(--ring-subtle);
  background: var(--bg-white);
  color: var(--text-gray-700);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
}

.filter-pill:hover {
  background: var(--olive-mist);
  color: var(--olive-primary);
  border-color: rgba(50, 60, 41, 0.25);
}

.filter-pill.is-active {
  background: var(--olive-primary);
  color: var(--champagne-gold);
  border-color: var(--olive-primary);
  box-shadow: 0 2px 8px rgba(42, 50, 34, 0.22);
}

.plp-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.plp-search-wrap {
  position: relative;
  flex: 1 1 240px;
  max-width: 440px;
}

.plp-search-wrap svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray-500);
  pointer-events: none;
}

.plp-search-input {
  width: 100%;
  height: 2.55rem;
  padding: 0 1rem 0 2.45rem;
  border-radius: 9999px;
  border: 1px solid var(--ring-subtle);
  background-color: var(--bg-white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-black);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plp-search-input:focus {
  border-color: var(--text-black);
  box-shadow: 0 0 0 3px rgba(18, 16, 14, 0.08);
}

.plp-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plp-sort-select {
  height: 2.55rem;
  padding: 0 1.15rem;
  border-radius: 9999px;
  border: 1px solid var(--ring-subtle);
  background-color: var(--bg-white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-black);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.plp-sort-select:focus {
  border-color: var(--text-black);
}

/* ==========================================================================
   Page 3: Dedicated Product Detail Page (PDP — Hairvivi / RPGShow Inspired)
   ========================================================================== */
.pdp-section {
  padding-block: 1.25rem 4rem;
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-top: 0.85rem;
}

@media (min-width: 58rem) {
  .pdp-grid {
    grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.pdp-gallery-sticky {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 58rem) {
  .pdp-gallery-sticky {
    position: sticky;
    top: 5.25rem;
  }
}

.pdp-main-portrait {
  position: relative;
  aspect-ratio: 3 / 3.75;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #EAE4DC;
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
}

.pdp-main-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.18s ease;
}

.pdp-angle-thumbs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem;
  scrollbar-width: thin;
}

.pdp-angle-btn {
  position: relative;
  width: 4.8rem;
  height: 5.8rem;
  padding: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  background-color: var(--bg-cream);
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.pdp-angle-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.pdp-angle-btn.is-active {
  opacity: 1;
  border-color: var(--olive-primary);
  box-shadow: 0 0 0 1px var(--olive-primary), 0 4px 12px rgba(42, 50, 34, 0.16);
}

.pdp-angle-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.pdp-config-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pdp-header-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--ring-subtle);
}

.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.pdp-live-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.pdp-bnpl-tag {
  font-size: 0.76rem;
  color: var(--text-gray-600);
  background-color: var(--bg-cream);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

/* PDP Product Description (Strictly on PDP!) */
.pdp-description {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-gray-700);
}

.pdp-option-card {
  background-color: var(--bg-cream);
  border-radius: 1.15rem;
  padding: 1rem 1.15rem;
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pdp-checklist-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (min-width: 34rem) {
  .pdp-checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pdp-precustom-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-pill);
  font-size: 0.76rem;
  font-weight: 500;
}

.pdp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pdp-cta-row .btn-pill-lg {
  flex: 1 1 180px;
  height: 3.1rem;
  font-size: 0.9rem;
}

.pdp-accordions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ring-subtle);
}

.pdp-accordion-item {
  border-bottom: 1px solid var(--ring-subtle);
  padding-block: 0.85rem;
}

.pdp-accordion-item summary {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdp-accordion-item summary::-webkit-details-marker {
  display: none;
}

.pdp-accordion-body {
  padding-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-gray-600);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

/* ==========================================================================
   Page 4 & 5: ElevenLabs Protruding-Tab Custom Wig Studio & Bundle Builder
   ========================================================================== */
.studio-section {
  padding-top: 1rem;
  padding-bottom: 4.5rem;
}

.omnibox-wrapper {
  display: flex;
  flex-direction: column;
}

.omnibox-shelf {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.22rem;
  background-color: var(--bg-cream);
  padding: 0.35rem 0.4rem 0.95rem;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  margin-bottom: -0.65rem;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 1px 0 0 var(--ring-subtle),
              inset 1px 0 0 0 var(--ring-subtle),
              inset -1px 0 0 0 var(--ring-subtle);
  max-width: 100%;
  overflow-x: auto;
}

.omnibox-tab {
  height: 2.3rem;
  padding: 0 0.75rem;
  border-radius: 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-gray-600);
  white-space: nowrap;
  transition: all 0.15s ease;
}

@media (min-width: 42rem) {
  .omnibox-tab {
    height: 2.5rem;
    padding: 0 1.05rem;
    font-size: 0.82rem;
  }
}

.omnibox-tab:hover {
  color: var(--text-black);
}

.omnibox-tab.is-active {
  background-color: var(--bg-white);
  color: var(--text-black);
  box-shadow: var(--shadow-pill);
}

.omnibox-shell {
  position: relative;
  z-index: 3;
  background-color: var(--bg-cream);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
}

@media (min-width: 48rem) {
  .omnibox-shell {
    padding: 1.65rem;
  }
}

.architect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 62rem) {
  .architect-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.architect-controls {
  background-color: var(--bg-white);
  border-radius: 1.25rem;
  padding: 1.15rem;
  box-shadow: var(--shadow-pill);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  min-width: 0;
}

@media (min-width: 48rem) {
  .architect-controls {
    padding: 1.45rem;
  }
}

.control-block {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  min-width: 0;
}

.control-split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 38rem) {
  .control-split-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.control-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
}

.control-label {
  font-weight: 500;
  color: var(--text-gray-600);
}

.control-readout {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-black);
}

.pill-selector-grid,
.pill-selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.choice-pill {
  padding: 0.42rem 0.78rem;
  border-radius: 9999px;
  font-size: 0.77rem;
  font-weight: 450;
  background-color: var(--bg-cream);
  color: var(--text-gray-700);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  transition: all 0.14s ease;
}

.choice-pill:hover {
  background-color: var(--bg-stone);
  color: var(--text-black);
}

.choice-pill.is-selected {
  background-color: var(--olive-primary);
  color: var(--champagne-gold);
  box-shadow: 0 2px 6px rgba(42, 50, 34, 0.2);
}

.shade-orb-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.shade-orb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.32rem 0.72rem 0.32rem 0.38rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  background-color: var(--bg-cream);
  color: var(--text-gray-700);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  transition: all 0.14s ease;
}

.shade-orb-btn.is-selected {
  background-color: var(--bg-white);
  color: var(--text-black);
  box-shadow: 0 0 0 1.5px var(--text-black);
  font-weight: 500;
}

.architect-preview-card {
  background-color: var(--bg-white);
  border-radius: 1.25rem;
  padding: 0.55rem;
  box-shadow: var(--shadow-pill);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.preview-portrait-wrap {
  position: relative;
  flex: 1;
  min-height: 290px;
  max-height: 410px;
  border-radius: 0.95rem;
  overflow: hidden;
  background-color: #EAE4DC;
}

.preview-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.preview-floating-badges {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
}

.preview-pill-badge {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 500;
  box-shadow: var(--shadow-pill);
}

.preview-bottom-summary {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.6rem 0.8rem;
  border-radius: 0.85rem;
  box-shadow: var(--shadow-pill);
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.preview-shade-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.82rem;
}

.preview-sub-specs {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-gray-600);
}

.omnibox-action-bar {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ring-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.spec-chips-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.spec-mini-chip {
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background-color: var(--bg-white);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  font-size: 0.72rem;
  color: var(--text-gray-600);
}

.studio-cta-cluster {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
}

.studio-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-gray-500);
}

.studio-live-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.05;
}

.lace-match-layout,
.cap-fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
}

@media (min-width: 52rem) {
  .lace-match-layout,
  .cap-fit-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

.tone-swatch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 40rem) {
  .tone-swatch-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tone-swatch-card {
  background-color: var(--bg-white);
  border-radius: 1rem;
  padding: 0.85rem;
  box-shadow: var(--shadow-pill);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.tone-swatch-card.is-selected {
  box-shadow: 0 0 0 2px var(--text-black);
}

.tone-circle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.tone-name {
  font-size: 0.78rem;
  font-weight: 500;
}

.tone-code {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-gray-500);
}

.lace-result-box,
.cap-slider-card,
.cap-result-card {
  background-color: var(--bg-white);
  border-radius: 1.15rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-pill);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lace-result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ring-subtle);
}

.el-range-slider {
  width: 100%;
  accent-color: var(--text-black);
  cursor: pointer;
}

.slider-marks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-gray-500);
}

.cap-size-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ==========================================================================
   Page 6: Dedicated Shopping Bag & Express Checkout Page
   ========================================================================== */
.checkout-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-block: 1.5rem 4rem;
}

@media (min-width: 58rem) {
  .checkout-page-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

.checkout-card {
  background-color: var(--bg-cream);
  border-radius: 1.35rem;
  padding: 1.35rem;
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 36rem) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.el-input-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.el-input-field label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-gray-600);
}

.el-input-field input,
.el-input-field select {
  height: 2.55rem;
  padding: 0 0.9rem;
  border-radius: 0.75rem;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-pill);
  font-size: 0.84rem;
  outline: none;
}

.el-input-field input:focus {
  box-shadow: 0 0 0 1.5px var(--text-black);
}

/* ==========================================================================
   Minimal High-Fashion Multi-Page Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--olive-border);
  background-color: var(--olive-mist);
  padding-block: 2.5rem;
}

.footer-minimal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 0.8125rem;
  color: var(--olive-moss);
}

.footer-links-inline a:hover {
  color: var(--olive-noir);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-gray-500);
}

/* ==========================================================================
   Slide-Over Shopping Bag Drawer & Modals
   ========================================================================== */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: rgba(18, 16, 14, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.drawer-backdrop {
  justify-content: flex-end;
  padding: 0;
}

.modal-close-btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9999px;
  background-color: var(--bg-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-black);
}

.cart-drawer {
  background-color: var(--page-bg);
  width: min(26rem, 100vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 48px rgba(18, 16, 14, 0.2);
}

.drawer-header {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--ring-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shipping-tier-bar {
  padding: 0.75rem 1.35rem;
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--ring-subtle);
  font-size: 0.75rem;
}

.shipping-progress-track {
  height: 4px;
  border-radius: 999px;
  background-color: var(--bg-stone);
  margin-top: 0.4rem;
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background-color: var(--text-black);
  transition: width 0.25s ease;
}

.drawer-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 4.1rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.7rem;
  border-radius: 1rem;
  background-color: var(--bg-cream);
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
}

.cart-item-thumb {
  width: 4.1rem;
  height: 5rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.cart-item-title {
  font-weight: 500;
  font-size: 0.85rem;
}

.cart-item-meta {
  font-size: 0.72rem;
  color: var(--text-gray-600);
  margin-top: 0.15rem;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.45rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-white);
  border-radius: 9999px;
  padding: 0.15rem 0.55rem;
  box-shadow: var(--shadow-pill);
  font-size: 0.75rem;
}

.drawer-footer {
  padding: 1.15rem 1.35rem;
  background-color: var(--bg-cream);
  border-top: 1px solid var(--ring-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.promo-code-row {
  display: flex;
  gap: 0.45rem;
}

.promo-code-row input {
  flex: 1;
  height: 2.3rem;
  padding: 0 0.85rem;
  border-radius: 9999px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-pill);
  font-size: 0.78rem;
  outline: none;
}

.cart-totals-stack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-gray-600);
}

.totals-grand {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-black);
  padding-top: 0.45rem;
  border-top: 1px solid var(--ring-subtle);
}

.checkout-full-btn {
  width: 100%;
}

.empty-catalog-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--bg-cream);
  border-radius: 1.25rem;
  box-shadow: inset 0 0 0 1px var(--ring-subtle);
}

/* Toast Stack */
.toast-stack {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  pointer-events: none;
}

.toast-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  background-color: var(--text-black);
  color: var(--bg-white);
  font-size: 0.78rem;
  box-shadow: var(--shadow-card-hover);
}

.toast-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background-color: #E5C185;
}
