/* ==========================================================================
   SHINHYE OFFICIAL STOREFRONT: STYLESHEET
   Design Language: Impeccable (Persuade + Experience)
   Sovereign Typography 3-Font Stack: Fraunces (Display) × Lora (Body & Storytelling) × JetBrains Mono (Specs & Telemetry)
   Color System: OKLCH Color Space with WCAG AAA/AA Contrast
   Atmosphere: Whipped Milk (#FBF9F5) × Cloud Cashmere (#EDE6E0) × Toasted Pecan (#78604F) × Pure True Black (#000000)
   Governance: Zero Unicode Emojis, Pure Vector Iconography
   ========================================================================== */

:root {
  color-scheme: light;

  /* Sovereign Typography Fonts (Exactly 3 Fonts: Fraunces, Lora, JetBrains Mono) */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-editorial: 'Lora', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* OKLCH Color Tokens: Shinhye Whipped Milk & Cloud Cashmere Palette */
  --accent: oklch(0.500 0.055 55);          /* Toasted Pecan / Roasted Almond (#78604F) */
  --accent-hover: oklch(0.420 0.060 55);    /* Deep Roasted Walnut (#644E3F) */
  --accent-soft: oklch(0.945 0.016 75);     /* Soft Toasted Oat Tag Fill (#EAE3DB) */
  --accent-subtle: var(--accent-soft);      /* Backward compatibility */
  --accent-blush: oklch(0.880 0.035 35);    /* Muted Petal Clay / Sand Rose (#EBDCD5) */
  --accent-glow: oklch(0.500 0.055 55 / 0.16);

  --bg-canvas: oklch(0.988 0.006 80);       /* Warm Whipped Milk / Fresh Cotton (#FBF9F5) */
  --bg-surface: oklch(0.998 0.002 80);      /* Cloud Ivory Card Surface (#FFFEFC) */
  --bg-surface-tint: oklch(0.968 0.010 75); /* Soft Toasted Oat / Linen Taupe (#F4EFEA) */
  --bg-cashmere: oklch(0.952 0.012 75);     /* Cashmere Mist Backplate (#EDE6E0) */
  --bg-subtle: oklch(0.940 0.010 75);       /* Warm Muted Linen Putty (#E5DFD9) */
  --bg-overlay: oklch(0.180 0.010 50 / 0.50); /* Warm Espresso Overlay */

  --text-primary: oklch(0.180 0.010 50);    /* Roasted Espresso Ink (#1A1716) */
  --text-secondary: oklch(0.380 0.012 50);  /* Warm Umber Charcoal (#4A4441) */
  --text-muted: oklch(0.540 0.012 60);      /* Soft Stone Earth (#7A736E) */
  --text-dim: oklch(0.680 0.010 70);        /* Warm Muted Putty (#9E9792) */
  --text-inverse: oklch(0.99 0.004 80);     /* Pure Silk Ivory (#FAF7F2) */

  --border-subtle: oklch(0.920 0.008 80);   /* Clean Warm Linen Border (#E3DDD5) */
  --border-strong: oklch(0.820 0.014 70);   /* Defined Warm Stone Divider (#C8C0B7) */
  --border-focus: var(--accent);

  --status-success: oklch(0.500 0.090 145); /* Botanical Laurel Sage (#48684C) */
  --status-error: oklch(0.540 0.110 30);    /* Muted Terracotta Crimson (#8B3C35) */

  /* Elevation Shadows (Tuned to Roasted Espresso ambient) */
  --shadow-sm: 0 1px 3px oklch(0.180 0.010 50 / 0.04);
  --shadow-md: 0 4px 16px -2px oklch(0.180 0.010 50 / 0.06), 0 2px 6px -1px oklch(0.180 0.010 50 / 0.03);
  --shadow-lg: 0 16px 36px -4px oklch(0.180 0.010 50 / 0.08), 0 6px 14px -2px oklch(0.180 0.010 50 / 0.04);
  --shadow-float: 0 24px 48px -8px oklch(0.180 0.010 50 / 0.12);

  /* Layout Constants */
  --container-max: 1240px;
  --topbar-height: 38px;
  --nav-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 160ms var(--ease-spring);
  --transition-smooth: 280ms var(--ease-spring);
  --transition-base: var(--transition-smooth);
  --transition-slow: 450ms var(--ease-spring);
}


/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* ==========================================================================
   TYPOGRAPHY CLASSES
   ========================================================================== */

.font-display {
  font-family: var(--font-display);
  font-feature-settings: 'opsz' auto, 'swsh' 1;
}

.font-editorial {
  font-family: var(--font-editorial);
  font-style: italic;
}

.font-body {
  font-family: var(--font-body);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Fluid Clamped Headlines (capped at 6rem per Sovereign Typography Law) */
.h1-hero {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw + 1rem, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.h2-section {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw + 0.5rem, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.h3-card {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.5vw + 0.4rem, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

/* Editorial Subtitles & Narratives */
.hero-subtitle,
.section-subtitle,
.fabric-desc,
.bento-desc,
.philosophy-quote,
.craft-narrative,
.editorial-quote,
.lookbook-caption p {
  font-family: var(--font-editorial);
}

.section-subtitle {
  font-size: clamp(1rem, 1.1vw + 0.4rem, 1.15rem);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.65rem;
}

.philosophy-quote {
  font-size: clamp(1.15rem, 1.3vw + 0.5rem, 1.45rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

/* Drop-Cap Editorial Styling */
.drop-cap::first-letter,
.fabric-card p::first-letter,
.philosophy-quote::first-letter {
  font-family: var(--font-display);
  font-size: 2.8rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.5rem;
  color: var(--accent);
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* Navigation Anchor Scroll-Margin (Guarantees zero header clipping below sticky navbar) */
section[id],
header[id],
footer[id],
.scroll-target[id],
.gacha-claim-card[id] {
  scroll-margin-top: calc(var(--nav-height, 72px) + var(--topbar-height, 0px) + 1.25rem);
}

.section-spacing {
  padding-top: clamp(4rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-cashmere {
  background-color: var(--bg-cashmere);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   SECTION 1: TOPBAR ANNOUNCEMENT RIBBON
   ========================================================================== */

.announcement-ribbon {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  padding: calc(0.625rem + env(safe-area-inset-top, 0px)) 2.5rem 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 50;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.announcement-ribbon.dismissed {
  display: none !important;
}

.ribbon-content {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ribbon-badge {
  background-color: var(--accent);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
}

.ribbon-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-inverse);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: opacity var(--transition-fast);
}

.ribbon-cta-link:hover {
  opacity: 0.8;
}

.ribbon-close-btn {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-inverse);
  opacity: 0.7;
  font-size: 0.85rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  touch-action: manipulation;
  transition: opacity var(--transition-fast), background-color var(--transition-fast);
}

.ribbon-close-btn:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   SECTION 2: MINIMALIST STICKY NAVBAR
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-height);
  background-color: oklch(0.988 0.006 80 / 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  transition: transform var(--transition-fast);
  filter: none;
}

.nav-logo-wrap:hover .nav-logo-img {
  transform: scale(1.03);
  box-shadow: none;
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--accent);
  transition: width var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Floating WhatsApp Action Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: oklch(0.50 0.09 145);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 24px oklch(0.50 0.09 145 / 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px oklch(0.50 0.09 145 / 0.45);
  color: #ffffff;
}

.floating-whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid oklch(0.50 0.09 145 / 0.50);
  animation: wa-float-pulse 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

@keyframes wa-float-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.65rem;
  }
}

.nav-icon-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  padding: 0.4rem;
  border-radius: 50%;
  transition: color var(--transition-fast);
}

.nav-icon-btn:hover {
  color: var(--accent);
}

.bag-count {
  position: absolute;
  top: 0;
  right: -2px;
  background-color: var(--accent);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   BUTTON PRIMITIVES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-inverse);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px var(--accent-glow);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full, 9999px);
}

/* ==========================================================================
   CELESTIAL ATMOSPHERE & LUXURY ORNAMENTS
   ========================================================================== */

.celestial-aura {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, oklch(0.92 0.025 75 / 0.35) 0%, oklch(0.95 0.015 65 / 0.15) 50%, transparent 75%);
  filter: blur(48px);
  z-index: 0;
}

.celestial-aura-hero {
  top: 5%;
  right: 5%;
  width: clamp(280px, 40vw, 540px);
  height: clamp(280px, 40vw, 540px);
}

.celestial-aura-craft {
  bottom: 5%;
  left: 2%;
  width: clamp(260px, 35vw, 480px);
  height: clamp(260px, 35vw, 480px);
}

.celestial-sparkle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation: celestialSparklePulse 3.5s ease-in-out infinite;
}

@keyframes celestialSparklePulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px var(--accent-glow));
  }
}

/* ==========================================================================
   SECTION 3: EDITORIAL HERO SECTION (Autonomous Viewport & Safe-Zone Engine)
   ========================================================================== */

.hero {
  position: relative;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .hero {
    min-height: calc(100svh - var(--nav-height, 72px) - var(--topbar-height, 0px));
    max-height: calc(100svh - var(--nav-height, 72px) - var(--topbar-height, 0px));
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .hero .container.hero-container {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(1.5rem, 3.5vw, 4rem);
    align-items: center;
    width: 100%;
    height: 100%;
  }

  .hero-content {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-visual-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
  }

  .hero-image-wrapper,
  .hero-stage-container {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background-color: transparent;
    height: calc(100svh - var(--nav-height, 72px) - var(--topbar-height, 0px) - 5rem);
    max-height: calc(100svh - var(--nav-height, 72px) - var(--topbar-height, 0px) - 5rem);
    width: auto;
    aspect-ratio: 3 / 4;
    perspective: 1200px;
    overflow: visible;
  }
}

@media (max-width: 1023px) {
  .hero {
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual-card {
    order: -1;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-top: 1rem;
  }

  .hero-image-wrapper,
  .hero-stage-container {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background-color: transparent;
    aspect-ratio: 3 / 4;
    width: 100%;
    perspective: 1200px;
    overflow: visible;
  }
}

.hero-subtitle {
  font-family: var(--font-editorial);
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.2rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Inline Morphing VIP Drop Capsule */
.hero-vip-morph-capsule {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.hero-vip-inline-form {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.35rem 0.25rem 1rem;
  box-shadow: 0 4px 16px oklch(0.500 0.055 55 / 0.16);
  animation: morphPillIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes morphPillIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.hero-vip-phone-input {
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  outline: none;
  width: 170px;
}

.hero-vip-phone-input::placeholder {
  color: var(--text-dim);
}

.hero-vip-submit-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.hero-vip-submit-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.hero-vip-cancel-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.25rem;
  transition: all var(--transition-fast);
}

.hero-vip-cancel-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
  transform: scale(1.08);
}

.hero-vip-success {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: oklch(0.94 0.04 145);
  color: oklch(0.35 0.12 145);
  border: 1px solid oklch(0.85 0.08 145);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  animation: morphPillIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tactile Glass-Bento Trust & Spec Strip */
.hero-bento-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: clamp(1.25rem, 2.5vh, 2.25rem);
  padding-top: clamp(0.85rem, 1.8vh, 1.4rem);
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 640px) {
  .hero-bento-strip {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.hero-bento-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: oklch(0.975 0.008 80 / 0.50);
  border: 1px solid oklch(0.92 0.010 75 / 0.70);
  transition: all var(--transition-fast);
}

.hero-bento-item:hover {
  background: oklch(0.99 0.005 80);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px oklch(0.20 0.01 50 / 0.06);
}

.bento-mini-icon {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.bento-mini-body {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.bento-mini-body .meta-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.bento-mini-body .meta-value {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.bento-mini-body .meta-hint {
  font-size: 0.70rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Hero 3D Out-of-Frame Stage & Lookbook Engine */
.hero-card-frame {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-cashmere);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
  will-change: transform;
}

.hero-layer-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cutout-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

.hero-layer-cutout {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: bottom center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease, opacity 0.35s ease;
  will-change: transform, filter;
  filter: drop-shadow(0 4px 14px oklch(0.180 0.010 50 / 0.10));
}

/* Desktop Hover Pop-Out Interaction */
@media (hover: hover) and (pointer: fine) {
  .hero-stage-container:hover .hero-card-frame {
    transform: none; /* Keep frame completely still */
    box-shadow: var(--shadow-float);
  }

  .hero-stage-container:hover .hero-layer-cutout {
    transform: scale(1.05); /* Bigger, not going up! Pinned to bottom */
    filter: drop-shadow(0 20px 32px oklch(0.180 0.010 50 / 0.24));
  }
}

/* Interactive Lookbook Variant Switcher Dots */
.hero-stage-switcher {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  background: oklch(0.988 0.006 80 / 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  z-index: 6;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast);
}

.stage-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--text-dim);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stage-dot:hover {
  background-color: var(--accent);
  transform: scale(1.25);
}

.stage-dot.active {
  width: 22px;
  background-color: var(--accent);
}

/* Touch active feedback */
.hero-stage-container:active .hero-layer-cutout {
  transform: scale(1.03);
}

/* Cross-fade transition helper */
.hero-layer-bg.is-fading,
.hero-layer-cutout.is-fading {
  opacity: 0;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .hero-stage-container:hover .hero-card-frame,
  .hero-stage-container:hover .hero-layer-cutout,
  .hero-stage-container:active .hero-layer-cutout {
    transform: none !important;
    filter: none !important;
  }
  .hero-layer-bg,
  .hero-layer-cutout {
    transition: opacity 0.2s ease !important;
  }
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.15rem;
  left: 1.15rem;
  z-index: 5;
  background-color: oklch(0.988 0.006 80 / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.88 0.015 75);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  box-shadow: 0 10px 28px oklch(0.20 0.01 50 / 0.10);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 240px;
  pointer-events: auto;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-floating-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px oklch(0.20 0.01 50 / 0.16);
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.floating-text h4 {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.floating-text p {
  font-size: 0.70rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INFINITE BRAND TRUST MARQUEE (Learned from Codaxiom.com)
   ========================================================================== */

.storefront-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: oklch(0.968 0.010 75);
  border-top: 1px solid oklch(0.910 0.010 75);
  border-bottom: 1px solid oklch(0.910 0.010 75);
  padding: clamp(0.75rem, 1.8vh, 1rem) 0;
  z-index: 10;
  user-select: none;
}

.storefront-marquee::before,
.storefront-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 100px);
  z-index: 2;
  pointer-events: none;
}

.storefront-marquee::before {
  left: 0;
  background: linear-gradient(90deg, oklch(0.968 0.010 75), transparent);
}

.storefront-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, oklch(0.968 0.010 75), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: shinhye-marquee 38s linear infinite;
}

.storefront-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes shinhye-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-duration: 90s;
  }
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-right: clamp(1.75rem, 3.5vw, 3rem);
  flex-shrink: 0;
}

.marquee-content span {
  font-family: var(--font-body);
  font-size: clamp(0.80rem, 1.3vw, 0.90rem);
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.marquee-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.75;
}

.voucher-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.4rem;
  background-color: var(--accent-soft);
  border: 2px dashed var(--accent);
  border-radius: var(--radius-pill);
  margin: 1.25rem auto;
}

.voucher-code-pill code {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-hover);
}

.btn-copy-code {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-copy-code:hover {
  background-color: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}

.btn-copy-code.copied {
  background-color: oklch(0.62 0.16 145);
  color: #fff;
  border-color: oklch(0.62 0.16 145);
}

.voucher-subtext {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0.25rem auto 1rem;
}

.confirmation-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.noscript-fallback-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.noscript-fallback-card h3 {
  margin-bottom: 0.75rem;
}

.noscript-fallback-card p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   SECTION 4: CURATED COLLECTION / PRODUCT SHOWCASE
   ========================================================================== */

.catalog-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.catalog-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--text-primary);
}

.filter-chip.active {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

.filter-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.75;
  margin-left: 0.35rem;
  letter-spacing: 0;
  font-weight: 500;
}

.filter-chip.active .filter-count {
  opacity: 0.95;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1.15;
  background-color: var(--bg-subtle);
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-media-hover-overlay {
  position: absolute;
  inset: 0;
  background-color: oklch(0.20 0.015 50 / 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
  z-index: 5;
}

.product-card:hover .product-media-hover-overlay {
  opacity: 1;
}

.hover-quickview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: oklch(0.99 0.005 85 / 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 16px oklch(0.18 0.01 50 / 0.12);
  transform: translateY(4px);
  transition: transform var(--transition-fast);
  pointer-events: auto;
  cursor: pointer;
}

.product-card:hover .hover-quickview-btn {
  transform: translateY(0);
}

/* ==========================================================================
   LUXURY PRODUCT MEDIA PLACEHOLDER (Studio Cataloging & Category Silhouettes)
   ========================================================================== */

.product-media-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  background: linear-gradient(150deg, oklch(0.982 0.006 80) 0%, oklch(0.950 0.012 75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.35rem 1rem;
  box-sizing: border-box;
  overflow: hidden;
  user-select: none;
}

.placeholder-watermark {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  color: oklch(0.500 0.055 55 / 0.045);
  letter-spacing: -0.04em;
  pointer-events: none;
  z-index: 0;
  transform: translateY(-8%);
  white-space: nowrap;
}

.placeholder-pattern-border {
  position: absolute;
  inset: 10px;
  border: 1px dashed oklch(0.860 0.014 75 / 0.85);
  border-radius: calc(var(--radius-md) - 2px);
  pointer-events: none;
  z-index: 1;
}

.placeholder-medallion {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: oklch(0.998 0.002 80 / 0.95);
  border: 1px solid oklch(0.880 0.015 75);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px oklch(0.180 0.010 50 / 0.06);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover .placeholder-medallion {
  transform: scale(1.08) translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 20px oklch(0.180 0.010 50 / 0.10);
}

.category-pajamas .placeholder-medallion {
  background: radial-gradient(circle at center, oklch(0.998 0.002 80) 60%, oklch(0.965 0.012 75) 100%);
}

.category-hats .placeholder-medallion {
  background: radial-gradient(circle at center, oklch(0.998 0.002 80) 60%, oklch(0.965 0.015 55) 100%);
}

.placeholder-silhouette-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 2;
}

.placeholder-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  background-color: oklch(0.99 0.004 80 / 0.90);
  border: 1px solid oklch(0.87 0.015 75);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 6px oklch(0.180 0.010 50 / 0.03);
}

.placeholder-status-tag i {
  font-size: 0.65rem;
  color: var(--accent);
}

.placeholder-human-note {
  display: none;
}

.product-badge-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: oklch(0.99 0.006 85 / 0.92);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.10rem;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: calc(1.28 * 1.10rem * 2);
}

.product-subtitle {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: calc(1.35 * 0.82rem * 2);
}

.product-fabric-spec {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.size-pills-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  height: 28px;
  margin-bottom: 0.65rem;
}

.size-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.product-pricing-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.price-anchor {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.price-promo {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

@keyframes flash-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.price-flash {
  font-weight: 700;
  color: var(--accent-hover);
  font-size: 1.15rem;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  animation: flash-pulse 3s ease-in-out infinite;
}

.price-flash i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Multi-Channel Conversion Buttons */
.btn-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-channel:hover {
  transform: translateY(-1.5px);
}

.btn-shopee {
  background-color: oklch(0.56 0.13 45);
  color: #ffffff;
}

.btn-shopee:hover {
  background-color: oklch(0.50 0.14 45);
  color: #ffffff;
  box-shadow: 0 4px 12px oklch(0.56 0.13 45 / 0.30);
}

.btn-tiktok {
  background-color: oklch(0.20 0.010 50);
  color: #ffffff;
}

.btn-tiktok:hover {
  background-color: oklch(0.28 0.012 50);
  color: #ffffff;
  box-shadow: 0 4px 12px oklch(0.20 0.010 50 / 0.30);
}

.btn-whatsapp {
  background-color: oklch(0.50 0.09 145);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: oklch(0.44 0.10 145);
  color: #ffffff;
  box-shadow: 0 4px 12px oklch(0.50 0.09 145 / 0.30);
}

.channel-actions-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.channel-actions-grid .btn-whatsapp {
  grid-column: span 2;
}

.product-footer {
  display: flex;
  align-items: center;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-price .usd-equiv {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 0.25rem;
}

.btn-details {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-details:hover {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

.product-card-action-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.product-card-action-bar .btn-details {
  flex: 1 1 auto;
  width: auto;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.product-card-action-bar .btn-details:hover {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

.channel-mini-links {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.mini-channel-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mini-channel-btn:hover {
  transform: translateY(-2px) scale(1.06);
}

/* ==========================================================================
   SIGNATURE UNBOXING SHOWCASE & COLLECTIBLE GACHA STICKER CRM ENGINE
   ========================================================================== */

.unboxing-section {
  position: relative;
  overflow: hidden;
}

.celestial-aura-unboxing {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, oklch(0.92 0.025 75 / 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.unboxing-bento {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.unboxing-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.unboxing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.unboxing-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
}

.unboxing-card-desc {
  font-family: var(--font-editorial);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Card 1: Frosted Pouch Preview */
.pouch-card {
  position: relative;
  overflow: hidden;
}

.pouch-preview-wrap {
  background: linear-gradient(135deg, var(--bg-surface-tint), var(--bg-cashmere));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 8px oklch(0.180 0.010 50 / 0.03);
}

.pouch-illustration {
  width: 100%;
  max-width: 240px;
  height: 160px;
  background: oklch(0.998 0.002 80 / 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 16px 32px -8px oklch(0.180 0.010 50 / 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pouch-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), transparent);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  pointer-events: none;
}

.pouch-seal-line {
  position: absolute;
  top: 14px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 4px, transparent 4px, transparent 7px);
}

.pouch-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--text-primary);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.pouch-logo {
  text-align: center;
  margin-top: 0.75rem;
}

.pouch-wordmark {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pouch-tagline {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.04em;
}

.pouch-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pouch-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pouch-features-list li i {
  color: var(--accent);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

/* Card 2: Collectible Gacha Sticker Grid */
.sticker-showcase-card {
  position: relative;
}

.sticker-header {
  margin-bottom: 1.25rem;
}

.sticker-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sticker-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  text-align: center;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sticker-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 8px 20px -6px oklch(0.180 0.010 50 / 0.08);
}

.sticker-art-wrap {
  width: 64px;
  height: 64px;
  margin: 0.25rem auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sticker-visual {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-fast);
}

.sticker-emblem {
  background: linear-gradient(135deg, var(--bg-surface-tint), var(--bg-cashmere));
  border: 1px solid var(--border-subtle);
  color: var(--accent);
}

.sticker-emblem-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sticker-emblem i {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.55rem;
  color: var(--accent);
}

.sticker-cloud {
  background: linear-gradient(135deg, oklch(0.97 0.008 80), oklch(0.94 0.012 75));
  border: 1px solid var(--border-subtle);
  color: var(--accent-hover);
  font-size: 1.5rem;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.sticker-star {
  background: linear-gradient(135deg, oklch(0.60 0.06 55), oklch(0.48 0.06 50));
  border: 1px solid oklch(0.42 0.06 50);
  color: #ffffff;
  font-size: 1.35rem;
  position: relative;
  box-shadow: 0 4px 12px oklch(0.50 0.055 55 / 0.25);
}

.star-orbit {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0.45;
  color: #ffffff;
  pointer-events: none;
}

.sticker-ssr {
  background: linear-gradient(135deg, oklch(0.88 0.05 75), oklch(0.88 0.05 35), oklch(0.84 0.04 65));
  background-size: 200% 200%;
  border: 1.5px solid oklch(0.80 0.06 60);
  color: var(--text-primary);
  font-size: 1.45rem;
  box-shadow: 0 6px 18px oklch(0.50 0.055 55 / 0.20);
  animation: ssr-shimmer 4s ease-in-out infinite;
  overflow: hidden;
  position: relative;
}

.three-hologram-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: auto;
  z-index: 2;
  cursor: grab;
}

.three-hologram-canvas:active {
  cursor: grabbing;
}

.three-hologram-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: inherit;
}

.ssr-foil-shimmer {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.6) 50%, transparent 60%);
  animation: ssr-foil-sweep 3s linear infinite;
  pointer-events: none;
}

@keyframes ssr-foil-sweep {
  0% {
    transform: rotate(0deg) translateY(-30%);
  }
  100% {
    transform: rotate(360deg) translateY(-30%);
  }
}

.sticker-info {
  margin-top: auto;
  width: 100%;
}

.sticker-tier-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.35rem;
}

.tier-common-tag {
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.tier-rare-tag {
  background-color: var(--accent-soft);
  color: var(--accent-hover);
  border: 1px solid var(--border-strong);
}

.ssr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, oklch(0.88 0.05 75), oklch(0.88 0.05 35), oklch(0.84 0.04 65));
  border: 1px solid oklch(0.80 0.06 60);
  color: var(--text-primary);
  box-shadow: 0 2px 8px oklch(0.50 0.055 55 / 0.20);
  animation: ssr-shimmer 4s ease-in-out infinite;
  margin-bottom: 0.35rem;
}

@keyframes ssr-shimmer {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 2px oklch(0.88 0.05 75 / 0.3));
  }
  50% {
    filter: brightness(1.1) drop-shadow(0 0 8px oklch(0.88 0.05 35 / 0.4));
  }
}

.sticker-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.sticker-finish {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.3;
}

.sticker-action-bar {
  margin-top: 1.5rem;
  text-align: center;
}

/* ==========================================================================
   VIP GACHA REGISTRATION CARD (MARKETPLACE CRM ENGINE)
   ========================================================================== */

.gacha-claim-wrapper {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.gacha-claim-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw + 0.5rem, 3.25rem);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.gacha-claim-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.gacha-claim-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.gacha-claim-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw + 0.5rem, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.gacha-claim-subtitle {
  font-family: var(--font-editorial);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
}

.gacha-form {
  background-color: oklch(0.998 0.002 80 / 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.gacha-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.gacha-form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gacha-form-actions .btn {
  width: 100%;
  max-width: 440px;
  justify-content: center;
}

.gacha-privacy-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.gacha-privacy-note i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Gacha Confirmation Card */
.gacha-confirmation {
  background-color: oklch(0.998 0.002 80 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: fadeIn var(--transition-fast) ease-out;
}

/* ==========================================================================
   MYSTERY LOUNGE: 6-CARD PACK 3D UNBOXING & VAULT STYLES
   ========================================================================== */

.mystery-lounge-section {
  position: relative;
  overflow: hidden;
}

.mystery-lounge-wrapper {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.mystery-lounge-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw + 0.5rem, 3rem);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mystery-lounge-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.mystery-lounge-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mystery-lounge-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw + 0.5rem, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.mystery-lounge-subtitle {
  font-family: var(--font-editorial);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
}

.poly-code-form {
  background-color: oklch(0.998 0.002 80 / 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.poly-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.poly-form-grid.poly-form-single {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

.poly-form-single .form-group {
  width: 100%;
}

.poly-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.poly-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.poly-input-wrap .form-input {
  padding-left: 2.75rem;
}

.poly-code-field {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.poly-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.poly-form-actions .btn {
  min-width: 240px;
}

.poly-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.poly-help-hint {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.poly-help-hint a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition-fast);
}

.poly-help-hint a:hover {
  opacity: 0.8;
}

.poly-points-pill {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* 6-Card Pack 3D Stage */
.mystery-pack-stage {
  margin-top: 2rem;
  animation: fadeIn 0.4s ease-out;
}

.stage-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.stage-pack-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.stage-pack-code {
  display: inline-block;
  font-size: 0.85rem;
  background-color: var(--bg-subtle);
  color: var(--accent);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
}

.btn-outline-reveal {
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline-reveal:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* ==========================================================================
   3D SEALED FOIL BOOSTER PACK & TEAR SEQUENCE
   ========================================================================== */
.booster-pack-stage {
  perspective: 1200px;
  width: 100%;
  max-width: 320px;
  margin: 2rem auto;
  position: relative;
  z-index: 5;
}

.booster-pack {
  position: relative;
  width: 100%;
  height: 420px;
  background: linear-gradient(150deg, oklch(0.25 0.03 295) 0%, oklch(0.16 0.02 295) 50%, oklch(0.22 0.025 295) 100%);
  border-radius: 12px;
  border: 1px solid oklch(0.38 0.04 295);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.5), 0 0 35px oklch(0.74 0.11 295 / 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.booster-pack:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-3deg) scale(1.02);
  box-shadow: 0 28px 55px -15px rgba(0, 0, 0, 0.6), 0 0 45px oklch(0.74 0.11 295 / 0.3);
}

.booster-pack.rumbling {
  animation: pack-rumble 0.35s ease-in-out infinite;
}

@keyframes pack-rumble {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-2px, 1px) rotate(-0.5deg); }
  40% { transform: translate(2px, -1px) rotate(0.5deg); }
  60% { transform: translate(-1px, 2px) rotate(-0.3deg); }
  80% { transform: translate(1px, -2px) rotate(0.3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.pack-foil-shimmer {
  position: absolute;
  inset: -100%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.12) 48%, rgba(210, 195, 255, 0.22) 50%, rgba(255, 255, 255, 0.12) 52%, transparent 60%);
  transform: rotate(25deg);
  pointer-events: none;
  animation: pack-shimmer 4s ease-in-out infinite;
}

@keyframes pack-shimmer {
  0% { transform: translateY(-50%) rotate(25deg); }
  50%, 100% { transform: translateY(50%) rotate(25deg); }
}

.pack-crimp-top,
.pack-crimp-bottom {
  height: 24px;
  width: 100%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 2px, transparent 2px, transparent 6px);
  position: relative;
  z-index: 2;
}

.pack-crimp-top {
  border-bottom: 1px solid oklch(0.35 0.03 295);
}

.pack-crimp-bottom {
  margin-top: auto;
  border-top: 1px solid oklch(0.35 0.03 295);
}

.pack-tear-strip {
  position: relative;
  width: 100%;
  padding: 0.65rem 1rem;
  background: linear-gradient(90deg, oklch(0.32 0.05 295), oklch(0.24 0.03 295));
  border-top: 1px dashed oklch(0.65 0.10 295 / 0.7);
  border-bottom: 1px dashed oklch(0.65 0.10 295 / 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 3;
  transition: background var(--transition-fast);
}

.pack-tear-strip:hover {
  background: linear-gradient(90deg, oklch(0.40 0.08 295), oklch(0.30 0.05 295));
}

.pack-tear-strip .tear-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: oklch(0.92 0.08 295);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pack-tear-strip.tearing {
  animation: tear-slide 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tear-slide {
  0% { transform: translateX(0) scaleY(1); opacity: 1; }
  50% { transform: translateX(50%) skewX(-15deg); opacity: 0.8; }
  100% { transform: translateX(120%) skewX(-30deg); opacity: 0; }
}

.pack-body {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  justify-content: space-around;
  position: relative;
  z-index: 2;
}

.pack-brand-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.pack-brand-badge i {
  color: oklch(0.85 0.14 85);
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px oklch(0.85 0.14 85 / 0.6));
}

.pack-brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.pack-edition {
  font-family: var(--font-editorial);
  font-size: 0.82rem;
  color: oklch(0.80 0.03 295);
  font-style: italic;
}

.pack-seal-emblem {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: oklch(0.28 0.04 295 / 0.8);
  border: 1px solid oklch(0.45 0.06 295 / 0.6);
  border-radius: var(--radius-pill);
  color: oklch(0.92 0.08 85);
  font-size: 0.72rem;
}

.pack-seal-emblem i {
  color: oklch(0.85 0.14 85);
}

.pack-rarity-meter {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: oklch(0.70 0.03 295);
  line-height: 1.4;
  max-width: 240px;
}

.pack-light-burst {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.95 0.18 85 / 0.9) 0%, oklch(0.78 0.16 295 / 0.6) 50%, transparent 75%);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
}

.pack-light-burst.active {
  animation: ssr-light-burst 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ssr-light-burst {
  0% { transform: translate(-50%, -50%) scale(0.1); opacity: 0; }
  30% { opacity: 1; filter: blur(4px); }
  100% { transform: translate(-50%, -50%) scale(4.5); opacity: 0; filter: blur(12px); }
}

/* 6-Card Grid & Luxury Tarot Card 3D Flip Physics */
.mystery-pack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  justify-items: center;
}

.mystery-card {
  perspective: 1200px;
  width: 100%;
  max-width: 190px;
  margin: 0 auto;
  aspect-ratio: 2.5 / 3.8;
  cursor: pointer;
  user-select: none;
}

.mystery-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.mystery-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: var(--radius-md);
}

.mystery-card.flipped .mystery-card-inner {
  transform: rotateY(180deg) scale(1.02);
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Tarot Hairline Inner Inset Border */
.card-tarot-frame {
  position: absolute;
  inset: 5px;
  border: 1px solid oklch(0.85 0.08 75 / 0.35);
  border-radius: calc(var(--radius-md) - 2px);
  pointer-events: none;
  z-index: 1;
}

/* Back Face: Luxury Obsidian Collectible Card */
.card-face-back {
  background: linear-gradient(155deg, oklch(0.20 0.02 295), oklch(0.14 0.015 295));
  color: #ffffff;
  border-color: oklch(0.32 0.03 295);
  transition: all var(--transition-smooth);
}

.mystery-card:hover .card-face-back {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.card-back-ornament {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.card-back-ornament i {
  font-size: 1.5rem;
  color: oklch(0.85 0.08 75);
}

.card-back-brand {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.card-serial-code {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: oklch(0.70 0.05 75);
}

.card-tap-hint {
  font-size: 0.72rem;
  color: oklch(0.80 0.02 295);
  font-style: italic;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

/* Gold Variant for Card 6 Back */
.card-back-gold {
  background: linear-gradient(155deg, oklch(0.28 0.06 75), oklch(0.18 0.04 75));
  border-color: oklch(0.72 0.14 75 / 0.6);
}

.card-back-gold .card-tarot-frame {
  border-color: oklch(0.88 0.14 85 / 0.5);
}

.card-back-gold .card-back-ornament i {
  color: oklch(0.88 0.14 85);
}

/* Card 6 SSR Anticipation Pulse */
.card-face-back.anticipate-ssr {
  animation: ssr-anticipation-pulse 2s ease-in-out infinite;
}

@keyframes ssr-anticipation-pulse {
  0%, 100% {
    box-shadow: 0 0 16px oklch(0.85 0.14 85 / 0.35), inset 0 0 10px oklch(0.85 0.14 85 / 0.25);
    border-color: oklch(0.75 0.14 75 / 0.6);
  }
  50% {
    box-shadow: 0 0 32px oklch(0.88 0.18 85 / 0.7), inset 0 0 18px oklch(0.88 0.18 85 / 0.5);
    border-color: oklch(0.88 0.18 85);
  }
}

/* Floating Points Fly-Out Badge */
.flying-points-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, oklch(0.88 0.18 85), oklch(0.70 0.15 75));
  color: oklch(0.18 0.04 75);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 100;
  white-space: nowrap;
  animation: float-up-fade 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes float-up-fade {
  0% { transform: translate(-50%, 0) scale(0.7); opacity: 0; }
  25% { transform: translate(-50%, -15px) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -65px) scale(0.9); opacity: 0; }
}

/* Front Face: Revealed Prize Card */
.card-face-front {
  background-color: oklch(0.995 0.003 80);
  transform: rotateY(180deg);
  border: 1.5px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.card-face-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%, rgba(176,164,220,0.12) 100%);
  pointer-events: none;
}

.card-header-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  padding: 0 0.15rem;
  z-index: 2;
}

.card-header-meta .card-serial {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.card-header-meta .card-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  color: var(--accent);
  border: 1px solid var(--border-subtle);
}

.card-face-front .card-icon {
  font-size: 1.6rem;
  margin: 0.35rem 0;
  color: var(--accent);
  z-index: 2;
}

.card-tier-points .card-icon { color: oklch(0.68 0.14 75); }
.card-tier-voucher .card-icon { color: var(--accent); }
.card-tier-sticker .card-icon { color: oklch(0.65 0.12 250); }
.card-tier-shipping .card-icon { color: oklch(0.62 0.14 145); }
.card-tier-fortune .card-icon { color: oklch(0.65 0.08 320); }
.card-tier-grand .card-icon { color: oklch(0.75 0.16 80); }

.card-face-front .card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  line-height: 1.25;
  z-index: 2;
}

.card-face-front .card-desc {
  font-family: var(--font-editorial);
  font-size: 0.70rem;
  color: var(--text-muted);
  line-height: 1.35;
  z-index: 2;
}

.card-tier-grand {
  background: linear-gradient(180deg, oklch(0.998 0.002 80) 0%, oklch(0.97 0.02 75) 100%);
  border-color: oklch(0.75 0.12 75 / 0.5);
}

.card-tier-grand .card-badge {
  background: oklch(0.92 0.06 75);
  color: oklch(0.40 0.08 55);
  border-color: oklch(0.75 0.12 75 / 0.4);
}

/* Pack Summary Card */
.pack-summary-card {
  background-color: oklch(0.998 0.002 80 / 0.95);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.5s ease-out;
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: oklch(0.55 0.14 145);
  background-color: oklch(0.94 0.03 145);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.summary-title {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.summary-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.vault-progress-bar-wrap {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.vault-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.vault-progress-track {
  width: 100%;
  height: 10px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}

.vault-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), oklch(0.75 0.16 80));
  border-radius: var(--radius-pill);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.vault-progress-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-align: center;
}

.summary-voucher-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--bg-subtle);
  border: 1px dashed var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.summary-voucher-pill code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Post-Unboxing Soft Claim Vault */
.summary-claim-vault {
  background: linear-gradient(135deg, oklch(0.975 0.02 295 / 0.6) 0%, oklch(0.96 0.025 80 / 0.7) 100%);
  border: 1px solid oklch(0.85 0.04 295);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem auto 1.5rem;
  max-width: 580px;
  text-align: center;
  box-shadow: 0 4px 16px -4px oklch(0.5 0.1 295 / 0.08);
}

.claim-vault-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.claim-vault-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.claim-vault-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.claim-vault-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn-claim-google {
  background-color: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-claim-google:hover {
  background-color: #f8f9fa;
  border-color: #c0c4cc;
  box-shadow: 0 1px 3px rgba(60,64,67,0.15);
}

.claim-vault-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Bag Pending Unboxing Claim Notice */
.bag-pending-claim-notice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: oklch(0.965 0.025 295);
  border: 1px solid oklch(0.88 0.035 295);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin: 0.5rem 1rem 1rem;
}

.bag-pending-claim-notice .pending-notice-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background-color: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.bag-pending-claim-notice .pending-notice-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.bag-pending-claim-notice .pending-notice-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

/* Next-Order Sticker Fulfillment Box in Pack Summary */
.summary-fulfillment-card {
  background: linear-gradient(135deg, oklch(0.985 0.015 85 / 0.9) 0%, oklch(0.97 0.02 295 / 0.8) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem auto 1.5rem;
  max-width: 580px;
  text-align: center;
}

.fulfillment-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background-color: oklch(0.94 0.03 295);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.fulfillment-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.fulfillment-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.fulfillment-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.btn-claim-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-claim-action:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Digital Sticker Collection & Binder Section in #mystery-lounge */
.sticker-binder-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px dashed var(--border-subtle);
}

.sticker-binder-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.sticker-binder-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.sticker-binder-title {
  font-size: clamp(1.35rem, 2vw + 0.3rem, 1.85rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.sticker-binder-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.sticker-binder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.binder-card {
  background-color: oklch(0.998 0.002 80 / 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.15rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.binder-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.binder-card.unlocked {
  border-color: var(--accent);
  background: linear-gradient(145deg, oklch(0.99 0.015 295) 0%, oklch(0.965 0.03 295 / 0.6) 100%);
  box-shadow: 0 8px 24px -6px oklch(0.55 0.15 295 / 0.18);
}

.binder-card-ssr.unlocked {
  border-color: oklch(0.78 0.16 80);
  background: linear-gradient(145deg, oklch(0.98 0.03 80) 0%, oklch(0.95 0.06 295) 100%);
  box-shadow: 0 10px 28px -6px oklch(0.75 0.18 80 / 0.25);
}

.binder-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.binder-card.unlocked .binder-badge {
  background-color: oklch(0.92 0.05 295);
  color: var(--accent);
}

.binder-card-ssr.unlocked .binder-badge {
  background-color: oklch(0.92 0.08 80);
  color: oklch(0.55 0.16 75);
}

.binder-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.binder-card.unlocked .binder-icon {
  background: linear-gradient(135deg, var(--accent), oklch(0.65 0.18 295));
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 12px oklch(0.55 0.15 295 / 0.25);
}

.binder-card-ssr.unlocked .binder-icon {
  background: linear-gradient(135deg, oklch(0.78 0.18 80), oklch(0.65 0.18 295));
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 6px 16px oklch(0.75 0.18 80 / 0.35);
}

.binder-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.binder-finish {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.binder-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  color: var(--text-muted);
}

.binder-card.unlocked .binder-status {
  background-color: oklch(0.94 0.04 145);
  color: oklch(0.45 0.15 145);
  font-weight: 600;
}

.binder-fulfillment-notice {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, oklch(0.98 0.015 295 / 0.7) 0%, oklch(0.965 0.02 85 / 0.7) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.binder-fulfillment-notice .notice-icon {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.binder-fulfillment-notice .notice-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.binder-fulfillment-notice .notice-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   STARLIGHT REWARDS VAULT MODAL & SILHOUETTE MEDALLIONS
   ========================================================================== */

.vault-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(18, 14, 25, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vault-modal.active,
.vault-modal.open,
.modal-backdrop.vault-modal.active,
.modal-backdrop.vault-modal.open {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.vault-modal-window {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl), 0 0 60px oklch(0.74 0.11 295 / 0.15);
  width: 100%;
  max-width: 980px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem 2rem 2rem;
  transform: scale(0.94) translateY(15px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vault-modal.active .vault-modal-window,
.vault-modal.open .vault-modal-window,
.modal-backdrop.vault-modal.active .vault-modal-window,
.modal-backdrop.vault-modal.open .vault-modal-window {
  transform: scale(1) translateY(0);
}

.vault-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
}

.vault-modal-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.vault-modal-title {
  font-size: 1.85rem;
  color: var(--text-primary);
  margin: 0.35rem 0 0.5rem;
}

.vault-modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.vault-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.vault-status-pill i {
  color: oklch(0.78 0.16 80);
}

.starlight-vault-section {
  position: relative;
  background-color: var(--bg-cashmere);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.vault-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1040px;
  margin: 2rem auto 0;
}

.vault-product-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.vault-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.vault-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background-color: var(--text-primary);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.vault-product-media {
  position: relative;
  aspect-ratio: 1 / 1.1;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

.vault-silhouette-medallion {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, oklch(0.96 0.015 295) 0%, oklch(0.91 0.025 295) 100%);
  color: var(--accent);
  font-size: 3.5rem;
  transition: transform var(--transition-slow), color var(--transition-fast);
}

.vault-product-card:hover .vault-silhouette-medallion {
  transform: scale(1.08) rotate(2deg);
  color: var(--accent-hover);
}

.vault-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.vault-product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vault-product-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.vault-product-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.vault-product-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.vault-progress-mini {
  margin-top: auto;
  margin-bottom: 1rem;
}

.vault-meter-track {
  width: 100%;
  height: 7px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.vault-meter-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), oklch(0.75 0.16 80));
  border-radius: var(--radius-pill);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.vault-meter-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  text-align: right;
}

.btn-redeem-item {
  width: 100%;
  justify-content: center;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
}

.btn-redeem-item:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--bg-subtle);
  border-color: var(--border-subtle);
  color: var(--text-muted);
}

.btn-redeem-item.unlocked {
  opacity: 1;
  cursor: pointer;
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-redeem-item.unlocked:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {
  .mystery-pack-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .vault-product-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .poly-form-grid {
    grid-template-columns: 1fr;
  }
  .mystery-pack-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ==========================================================================
   SECTION 5: FABRIC & CRAFT PHILOSOPHY BENTO GRID
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.bento-col-8 {
  grid-column: span 8;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-badge-tag {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   SECTION 6: LOOKBOOK MASONRY GRID
   ========================================================================== */

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.lookbook-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-subtle);
}

.lookbook-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.lookbook-tile:hover img {
  transform: scale(1.03);
}

.lookbook-tile-1,
.lookbook-tile-2,
.lookbook-tile-3 {
  grid-column: span 4;
  aspect-ratio: 4 / 5;
}

.lookbook-tile-4,
.lookbook-tile-5 {
  grid-column: span 6;
  aspect-ratio: 1 / 1;
}

.lookbook-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, oklch(0.180 0.010 50 / 0.88), transparent);
  color: var(--text-inverse);
  transform: translateY(6px);
  opacity: 0.95;
  transition: all var(--transition-smooth);
}

.lookbook-tile:hover .lookbook-caption {
  transform: translateY(0);
  opacity: 1;
}

.lookbook-caption h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.lookbook-caption p {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.82rem;
  opacity: 0.92;
}

/* ==========================================================================
   SECTION 7: SIZE & FIT ADVISORY TABLE
   ========================================================================== */

.sizing-container {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

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

.unit-switch-group {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-subtle);
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.unit-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.unit-btn.active {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.table-responsive-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sizing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.sizing-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 1rem;
  border-bottom: 1px solid var(--border-strong);
  background-color: var(--bg-canvas);
}

.size-table td {
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.sizing-table td {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.sizing-table tr:last-child td {
  border-bottom: none;
}

.sizing-table tr:hover td {
  background-color: var(--bg-subtle);
}

.size-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  background-color: var(--accent-soft);
  border: 1px solid var(--accent-blush);
  color: var(--text-primary);
}

/* Headwear Sizing & Advice Cards Grid */
.sizing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.headwear-sizing-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.headwear-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.headwear-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.headwear-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 600;
}

.headwear-card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.headwear-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.headwear-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.headwear-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.headwear-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.headwear-item-spec {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-blush);
}

.headwear-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sizing-advice-box {
  padding: 1.5rem;
  background-color: var(--bg-cashmere);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sizing-advice-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.sizing-advice-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Interactive Body Fit Recommender Calculator */
.size-calculator-card {
  margin-top: 2.5rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-canvas) 100%);
  border: 1px solid var(--accent-blush);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 32px oklch(0 0 0 / 0.05);
  position: relative;
  overflow: hidden;
}

.size-calculator-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-blush) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.size-calculator-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.calc-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--accent-blush);
}

.calc-eyebrow {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}

.calc-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--text-primary);
  margin: 0.25rem 0 0.35rem;
}

.calc-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.5;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-input-group {
  background-color: var(--bg-surface);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.drape-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.drape-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drape-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background-color: var(--accent-soft);
}

.drape-btn.active {
  background-color: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-blush);
}

.drape-btn i {
  font-size: 0.95rem;
}

.calc-input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.calc-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.calc-label i {
  color: var(--accent);
  font-size: 0.9rem;
}

.calc-current-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  background-color: var(--accent-soft);
  border: 1px solid var(--accent-blush);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.calc-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background-color: var(--border-subtle);
  outline: none;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px oklch(0.50 0.055 55 / 0.35);
  border: 2px solid var(--bg-surface);
  transition: transform 0.15s ease;
}

.calc-range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px oklch(0.50 0.055 55 / 0.35);
  border: 2px solid var(--bg-surface);
  transition: transform 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover,
.calc-range-slider::-webkit-slider-thumb:active {
  transform: scale(1.18);
}

.calc-range-slider::-moz-range-thumb:hover,
.calc-range-slider::-moz-range-thumb:active {
  transform: scale(1.18);
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.725rem;
  color: var(--text-muted);
}

.calc-result-col {
  display: flex;
}

.calc-result-card {
  width: 100%;
  background-color: var(--bg-canvas);
  border: 1px solid var(--accent-blush);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.calc-result-tag {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
}

.calc-result-badge {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-surface-tint) 100%);
  border: 1px solid var(--accent-blush);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: 0 4px 12px var(--accent-blush);
  transition: all 0.2s ease;
}

.calc-result-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 320px;
}

.calc-actions-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-calc-action {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.825rem;
  justify-content: center;
}

@media (max-width: 860px) {
  .calc-body-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sizing-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION 8: INTERACTIVE INQUIRY FORM
   ========================================================================== */

.inquiry-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .req {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background-color: var(--bg-surface);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-helper {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.form-actions {
  grid-column: span 2;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 380px;
}

/* Inline Inquiry Confirmation Card */
.inquiry-confirmation {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  animation: fadeIn var(--transition-fast) ease-out;
}

.confirmation-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-color: oklch(0.92 0.04 145);
  color: oklch(0.45 0.12 145);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.confirmation-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.confirmation-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.confirmation-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.confirmation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Toast Notification - Quiet Luxury Light Theme */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px oklch(0.20 0.02 50 / 0.12), 0 4px 12px oklch(0.20 0.02 50 / 0.06);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.45;
  animation: toastSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 420px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.toast i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.toast.toast-success {
  border-color: oklch(0.85 0.06 145);
  background-color: oklch(0.995 0.005 80);
}

.toast.toast-success i {
  color: oklch(0.48 0.14 145);
  background: oklch(0.94 0.04 145);
}

.toast.toast-info {
  border-color: oklch(0.85 0.05 240);
  background-color: oklch(0.995 0.005 80);
}

.toast.toast-info i {
  color: oklch(0.45 0.12 240);
  background: oklch(0.93 0.03 240);
}

.toast.toast-error {
  border-color: oklch(0.85 0.08 25);
  background-color: oklch(0.995 0.005 80);
}

.toast.toast-error i {
  color: oklch(0.50 0.16 25);
  background: oklch(0.94 0.04 25);
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   SECTION 9: FAQ ACCORDION
   ========================================================================== */

.faq-list {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--accent);
  color: var(--text-inverse);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.active .faq-content {
  max-height: 380px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-body-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   SECTION 10: LUXURY MEGA FOOTER
   ========================================================================== */

.footer {
  background-color: oklch(0.940 0.018 75);
  color: var(--text-primary);
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: 0;
  border-top: 1px solid oklch(0.880 0.015 75);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid oklch(0.880 0.015 75);
}

.footer-logo-img {
  height: 44px;
  width: auto;
  border-radius: 0;
  margin-bottom: 1rem;
  box-shadow: none;
  object-fit: contain;
  display: block;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-manifesto {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: oklch(0.910 0.018 75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 0.95rem;
  border: 1px solid oklch(0.850 0.020 75);
  transition: all var(--transition-fast);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
  transition: transform var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-social-btn .lemon8-mask-icon {
  width: 23px;
  height: 9px;
  background-color: currentColor;
  -webkit-mask: url('assets/icons/lemon8-wordmark.png') no-repeat center / contain;
  -webkit-mask-image: url('assets/icons/lemon8-wordmark.png');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask: url('assets/icons/lemon8-wordmark.png') no-repeat center / contain;
  mask-image: url('assets/icons/lemon8-wordmark.png');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.footer-social-btn:hover .lemon8-mask-icon {
  transform: scale(1.06);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-hover);
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-address {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  border-top: 1px solid oklch(0.880 0.015 75);
  margin-top: -1px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent-hover);
}

.codaxiom-credit-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.codaxiom-credit-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ==========================================================================
   SIGNATURE CODAXIOM MEGA FOOTER WORDMARK
   ========================================================================== */

.footer-wordmark-wrap {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  padding: 0 5vw;
  box-sizing: border-box;
  pointer-events: none;
  container-type: inline-size;
  container-name: wordmark-wrap;
  margin-top: -1.5rem;
  z-index: 1;
}

.footer-wordmark {
  --n: var(--char-count, 7);
  --wm-scale: var(--scale, 1);
  font-family: var(--font-display), 'Fraunces', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.78;
  text-align: center;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  display: block;
  max-width: 100%;
  font-size: clamp(
    calc(var(--wm-scale, 1) * 3.2rem),
    calc(var(--wm-scale, 1) * 94cqw / (var(--n, 7) * 0.58)),
    min(15rem, calc(var(--wm-scale, 1) * 130rem / var(--n, 7)))
  );
  transform: translateY(22%);
  background: linear-gradient(180deg, oklch(0.38 0.035 60 / 0.28) 0%, oklch(0.38 0.035 60 / 0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@supports not (font-size: 1cqw) {
  .footer-wordmark {
    font-size: clamp(
      calc(var(--wm-scale, 1) * 3.2rem),
      calc(var(--wm-scale, 1) * 94vw / (var(--n, 7) * 0.58)),
      min(15rem, calc(var(--wm-scale, 1) * 130rem / var(--n, 7)))
    );
  }
}

/* ==========================================================================
   PRODUCT MODAL (QUICK VIEW DETAILS)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--bg-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.sheet-drag-handle {
  display: none;
}

.modal-window {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  position: relative;
  animation: modalScale 280ms var(--ease-spring);
}

@keyframes modalScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--text-primary);
  color: var(--text-inverse);
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  height: 100%;
  max-height: 88vh;
  overflow: hidden;
}

.modal-media {
  background-color: var(--bg-subtle);
  position: sticky;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-height: 88vh;
  overflow: hidden;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#modal-placeholder {
  width: 100%;
  height: 100%;
  min-width: 0;
}

#modal-placeholder .product-media-placeholder {
  min-height: 100%;
  height: 100%;
  padding: 2.25rem 1.5rem;
}

#modal-placeholder .placeholder-human-note {
  display: block;
}

.modal-body {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 88vh;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.modal-price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
}

.modal-specs-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.modal-specs-list li i {
  color: var(--accent);
  font-size: 0.8rem;
}

.modal-subtitle {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.modal-pricing-block {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.modal-pricing-block .price-flash {
  font-size: 1.45rem;
}

.modal-selection-group {
  margin-bottom: 1rem;
}

.modal-selection-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.variant-chips-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.variant-chip,
.size-chip {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.variant-chip:hover,
.size-chip:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.variant-chip.active,
.size-chip.active {
  background-color: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-primary);
  font-weight: 600;
}

.modal-actions-container {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.modal-channels-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-reserve-inquiry {
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES: 10-DEVICE OMNICHANNEL ARCHITECTURE
   ========================================================================== */

/* 1. Large Tablet & Small Laptop (1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bento-col-8:first-child {
    grid-column: span 12;
  }

  .bento-col-4 {
    grid-column: span 6;
  }

  .bento-col-8:last-child {
    grid-column: span 12;
  }

  .lookbook-tile-1, .lookbook-tile-2, .lookbook-tile-3, .lookbook-tile-4, .lookbook-tile-5 {
    grid-column: span 6;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   PWA MOBILE BOTTOM APP NAVIGATION BAR
   ========================================================================== */

.pwa-bottom-bar {
  display: none;
}

@media (min-width: 769px) {
  .pwa-bottom-bar {
    display: none !important;
  }
}

/* Tablet Differentiated Modal Architecture (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .modal-backdrop {
    padding: 1.25rem;
  }
  .modal-window {
    max-width: 720px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
  }
  .modal-grid {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    height: 100%;
    max-height: 85vh;
    overflow: hidden;
  }
  .modal-media {
    max-height: 85vh;
    min-width: 0;
  }
  .modal-body {
    padding: 1.75rem 1.5rem;
    max-height: 85vh;
  }
  .sheet-drag-handle {
    display: none;
  }
}

/* 2. Standard Mobile & Tablet Portrait (768px) */
@media (max-width: 768px) {
  /* Mobile Clearance for Fixed Bottom App Navigation */
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Mobile Toast Placement - Top Pill below Sticky Header */
  .toast-container {
    top: calc(4.75rem + env(safe-area-inset-top, 0px));
    bottom: auto;
    right: 1rem;
    left: 1rem;
    align-items: center;
  }

  .toast {
    max-width: 100%;
    width: 100%;
    box-shadow: 0 12px 28px oklch(0.20 0.02 50 / 0.14);
    animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .pwa-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: oklch(0.998 0.002 80 / 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
    padding: 0.6rem 1rem max(0.6rem, env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px oklch(0.180 0.010 50 / 0.05);
  }

  .pwa-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
    padding: 0.2rem 0.5rem;
  }

  .pwa-bar-item i {
    font-size: 1.15rem;
    transition: transform var(--transition-fast);
  }

  .pwa-bar-item span {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.01em;
  }

  .pwa-bar-item.active,
  .pwa-bar-item:hover,
  .pwa-bar-item:focus {
    color: var(--accent);
    transform: translateY(-1px);
  }

  .pwa-bar-item.active i {
    transform: scale(1.08);
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    z-index: 50;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-meta-strip {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }


  .unboxing-bento {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sticker-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gacha-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gacha-claim-card {
    padding: 1.5rem 1rem;
  }

  .gacha-form {
    padding: 1.25rem 1rem;
  }

  .gacha-form-actions .btn {
    width: 100%;
    max-width: none;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-actions {
    grid-column: span 1;
  }

  /* Mobile 2-Column Catalog Grid (Scalable & Ergonomic) */
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(0.5rem, 2.5vw, 0.85rem) !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .product-card {
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .product-card .product-media {
    aspect-ratio: 1 / 1.1;
    height: auto;
    min-height: 0;
  }

  .product-body {
    padding: 0.75rem 0.6rem;
    gap: 0.25rem;
  }

  .product-category {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .product-title {
    font-size: 0.85rem;
    line-height: 1.25;
    height: calc(1.25 * 0.85rem * 2);
    margin-bottom: 0.25rem;
  }

  .product-subtitle {
    display: none; /* Hide on 2-col mobile to keep cards uniformly aligned */
  }

  .product-pricing-block {
    padding-bottom: 0.4rem;
    margin-bottom: 0.5rem;
    gap: 0.35rem;
  }

  .price-flash {
    font-size: 0.92rem;
    gap: 0.2rem;
  }

  .price-anchor {
    font-size: 0.72rem;
  }

  .product-card-action-bar {
    width: 100%;
  }

  .product-card-action-bar .btn-details {
    width: 100%;
    padding: 0.45rem 0.5rem;
    font-size: 0.72rem;
    justify-content: center;
  }

  .channel-mini-links {
    display: none; /* Whole card is tap-to-quickview */
  }

  /* Lookbook Native Editorial Layout (Eliminate Horizontal AI-Slop) */
  .lookbook-grid,
  .lookbook-deck {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(0.6rem, 2.5vw, 0.85rem) !important;
    overflow-x: visible !important;
    padding: 0.5rem 0 1.25rem !important;
    margin: 0 !important;
    width: 100% !important;
    scrollbar-width: none;
  }

  .lookbook-deck::-webkit-scrollbar {
    display: none;
  }

  .lookbook-deck .lookbook-tile {
    flex: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    scroll-snap-align: none !important;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .lookbook-tile-1 {
    grid-column: span 2 !important;
    aspect-ratio: 16 / 10 !important;
  }

  .lookbook-tile-2,
  .lookbook-tile-3 {
    grid-column: span 1 !important;
    aspect-ratio: 4 / 5 !important;
  }

  .lookbook-peek-indicator,
  .lookbook-peek {
    display: none !important;
  }

  .lookbook-caption {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: linear-gradient(180deg, transparent 0%, oklch(0.180 0.010 50 / 0.88) 100%) !important;
    padding: 1.25rem 0.85rem 0.75rem !important;
  }

  .lookbook-caption h3 {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  }

  .lookbook-caption p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  /* Full-Width Stacked Craft Bento (Un-squeeze middle cards) */
  .bento-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .bento-col-8,
  .bento-col-4,
  .bento-col-6 {
    width: 100% !important;
    grid-column: span 12 !important;
  }

  .bento-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .bento-title {
    font-size: 1.25rem;
  }

  .bento-desc {
    font-size: 0.90rem;
    line-height: 1.6;
  }

  /* Mobile Bottom Sheet Drawer Architecture */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
    z-index: 150;
  }

  .modal-window {
    border-radius: 22px 22px 0 0;
    max-height: 88svh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: sheetSlideUp 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .vault-modal-window {
    padding: 2rem 1.25rem 1.5rem;
  }

  @keyframes sheetSlideUp {
    from {
      transform: translateY(100%);
      opacity: 0.6;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .sheet-drag-handle {
    display: block;
    width: 44px;
    height: 5px;
    border-radius: 3px;
    background-color: var(--border-subtle);
    margin: 0.65rem auto 0.25rem;
    flex-shrink: 0;
  }

  .modal-close-btn {
    top: 0.65rem;
    right: 0.85rem;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    z-index: 20;
    touch-action: manipulation;
  }

  .modal-grid {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    max-height: calc(88svh - 40px);
    position: relative;
  }

  .modal-media {
    aspect-ratio: 16 / 10;
    width: 100%;
    height: auto;
    max-height: 190px;
    flex-shrink: 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
  }

  .modal-body {
    padding: 1.15rem 1.15rem 1.25rem;
    flex: 1 1 auto;
    max-height: none;
    overflow-y: visible;
  }

  .modal-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .modal-pricing-block .price-flash {
    font-size: 1.3rem;
  }

  .modal-specs-list {
    margin-bottom: 1rem;
  }

  .modal-actions-container {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 0.85rem 1.15rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    z-index: 10;
    margin-top: auto;
  }

  /* Symmetrical 2x2 Links Layout for Mobile Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.25rem;
  }

  .footer-col-brand,
  .footer-col-legal {
    grid-column: span 2;
  }

  /* Footer Mobile Clearance & Elevated Wordmark (Remove the Wall) */
  .footer {
    padding-top: clamp(2.5rem, 6vw, 4rem) !important;
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px)) !important;
    overflow: visible !important;
    position: relative;
  }

  .footer-wordmark-wrap {
    position: relative !important;
    width: 100% !important;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0 1rem !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 1 !important;
    overflow: visible !important;
  }

  .footer-wordmark {
    transform: translateY(0) !important;
    font-size: clamp(2.8rem, 16vw, 4.6rem) !important;
    line-height: 0.9 !important;
    background: linear-gradient(180deg, oklch(0.38 0.035 60 / 0.28) 0%, oklch(0.38 0.035 60 / 0.04) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .footer-bottom-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.65rem 1.25rem !important;
  }

  .footer-bottom-links span {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .lookbook-peek-indicator,
  .lookbook-peek {
    display: none;
  }
}

/* Responsive Product Grid: Tablet 2-Columns (641px - 1139px) */
@media (max-width: 1139px) and (min-width: 641px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* 3. Mobile Boutique Grid & Micro-Bento (640px) */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    margin: 0;
    gap: clamp(0.5rem, 2.5vw, 0.75rem);
  }

  .product-card .product-media {
    aspect-ratio: 1 / 1.1;
    height: auto;
    min-height: 0;
  }

  .product-body {
    padding: 0.75rem 0.6rem;
  }

  .product-title {
    font-size: 0.85rem;
    line-height: 1.25;
    height: calc(1.25 * 0.85rem * 2);
    margin-bottom: 0.25rem;
  }

  .product-subtitle {
    display: none;
  }

  .bento-col-8,
  .bento-col-4,
  .bento-col-6 {
    grid-column: span 12;
    width: 100%;
  }

  .bento-card {
    padding: 1.25rem 1rem;
  }

  .bento-title {
    font-size: 1.15rem;
  }

  .bento-desc {
    font-size: 0.85rem;
    line-height: 1.55;
  }
}

/* 4. Mobile Ultra-Narrow (359px: iPhone SE, Galaxy Z Flip Outer Screen) */
@media (max-width: 359px) {
  :root {
    --container-padding: 0.75rem;
  }

  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .h1-hero {
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .h2-section {
    font-size: 1.55rem;
  }

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

  .product-card .product-media {
    aspect-ratio: 1 / 1.1;
    min-height: 0;
  }

  .product-body,
  .product-content {
    padding: 0.55rem 0.45rem;
  }

  .product-title {
    font-size: 0.80rem;
    line-height: 1.2;
    height: calc(1.2 * 0.80rem * 2);
  }

  .price-flash {
    font-size: 0.88rem;
  }

  .sticker-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }

  .sticker-art-wrap {
    height: 75px;
  }

  .sticker-visual {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }

  .sticker-name {
    font-size: 0.78rem;
  }

  .bento-col-8,
  .bento-col-4,
  .bento-col-6 {
    grid-column: span 12;
  }

  .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* 5. Mobile Landscape Mode Clearance (Height < 480px) */
@media (orientation: landscape) and (max-height: 480px) {
  .announcement-ribbon {
    display: none;
  }

  .navbar {
    height: 44px;
    padding: 0.25rem 0;
  }

  .nav-logo-img {
    height: 26px;
  }

  .pwa-bottom-bar {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  .modal-dialog {
    max-height: 92vh;
    margin: 4vh auto;
    overflow-y: auto;
  }

  .modal-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 1.25rem;
  }

  .modal-media {
    max-height: 220px;
  }

  .hero-section {
    min-height: auto;
    padding: 2.5rem 0 2rem;
  }
}

/* 6. 4K & Ultra-wide Cinema Display Clamp (1600px+) */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero-media-wrap {
    max-width: 600px;
  }
}

/* 7. Touch Device Feedback & Accessible Target Calibration */
@media (hover: none) {
  .btn, .filter-chip, .pwa-bar-item, .nav-link, .btn-channel, .unit-btn {
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
  }

  .btn:active, .filter-chip:active, .pwa-bar-item:active, .btn-channel:active {
    transform: scale(0.96) !important;
    transition: transform 0.08s ease;
  }

  .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .product-card:active {
    transform: scale(0.985);
  }

  .lookbook-caption {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: linear-gradient(180deg, transparent 0%, oklch(0.180 0.010 50 / 0.85) 100%);
  }
}

/* ==========================================================================
   COOKIE & PRIVACY CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  max-width: 400px;
  z-index: 92;
  background-color: oklch(0.998 0.002 80 / 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 16px 40px oklch(0.180 0.010 50 / 0.10);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
  pointer-events: none;
}

.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.cookie-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.cookie-header h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.cookie-content p {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cookie-actions .btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--bg-surface);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    left: 1rem;
    right: 5.25rem;
    max-width: calc(100vw - 6.25rem);
    padding: 1rem 1.15rem;
  }
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .cookie-actions .btn-sm {
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   SLIDE-OVER SHOPPING BAG DRAWER & IDENTITY STRIP (QUIET LUXURY ERGONOMICS)
   ========================================================================== */

.bag-backdrop {
  position: fixed;
  inset: 0;
  background-color: oklch(0.20 0.02 295 / 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  pointer-events: none;
}

.bag-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bag-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  height: 100dvh;
  background-color: var(--bg-surface);
  box-shadow: -8px 0 32px oklch(0.20 0.02 295 / 0.12);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bag-drawer.active {
  transform: translateX(0);
}

.bag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-canvas);
}

.bag-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.bag-header-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.bag-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.bag-header-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.bag-close-btn {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  transition: all var(--transition-fast);
}

.bag-close-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Endowed Progress: Free Delivery Meter */
.bag-progress-wrap {
  padding: 0.75rem 1.5rem;
  background-color: oklch(0.975 0.015 295);
  border-bottom: 1px solid var(--border-subtle);
}

.bag-progress-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bag-progress-bar {
  width: 100%;
  height: 6px;
  background-color: oklch(0.92 0.02 295);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bag-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal);
}

/* Scrollable Bag Body */
.bag-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.bag-empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.bag-empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.bag-empty-state h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 0;
}

.bag-empty-state p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 260px;
  margin: 0;
  line-height: 1.5;
}

.bag-empty-shop-btn {
  margin-top: 0.75rem;
}

/* Item Cards */
.bag-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bag-item-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.bag-item-thumb {
  width: 72px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  flex-shrink: 0;
}

.bag-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.bag-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.bag-item-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bag-item-remove-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.bag-item-remove-btn:hover {
  color: oklch(0.55 0.20 25);
}

.bag-item-variant {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.bag-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
}

.bag-item-price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.bag-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  overflow: hidden;
}

.bag-stepper-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background-color var(--transition-fast);
}

.bag-stepper-btn:hover {
  background-color: var(--bg-subtle);
}

.bag-stepper-qty {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-width: 24px;
  text-align: center;
  user-select: none;
  font-weight: 600;
}

/* Bag Footer & Actions */
.bag-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-canvas);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bag-customer-strip {
  padding: 0.75rem 1rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customer-logged-out {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.customer-guest-hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.customer-logged-in {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.customer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
}

.customer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.customer-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.customer-points {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.customer-signout-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.customer-signout-btn:hover {
  color: var(--text-primary);
}

.bag-summary-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.bag-summary-subtotal {
  font-family: var(--font-mono);
}

.bag-summary-shipping {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.bag-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.btn-checkout-wa {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px -2px oklch(0.50 0.09 145 / 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-checkout-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -2px oklch(0.50 0.09 145 / 0.35);
}

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

.bag-checkout-helper-text {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}

.bag-security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

/* Mobile Responsive Drawer & PWA Trigger */
@media (max-width: 768px) {
  .bag-drawer {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
  }
  .bag-stepper-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 0.85rem;
  }
  .bag-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
  .pwa-bag-trigger {
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    padding: 0.4rem 0.5rem;
  }
  .pwa-icon-wrap {
    position: relative;
    display: inline-flex;
  }
  .pwa-bag-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--accent);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
  }
}

/* Tablet Responsive Drawer & Touch Steppers */
@media (min-width: 769px) and (max-width: 1024px) {
  .bag-drawer {
    width: 400px;
  }
  .bag-stepper-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   SHINHYE MEMBER LOUNGE MODAL (Quiet Luxury Passwordless Auth)
   ========================================================================== */
#member-lounge-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background-color: rgba(18, 14, 25, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

#member-lounge-modal.active,
#member-lounge-modal.open {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.member-lounge-window {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl), 0 0 50px oklch(0.74 0.11 295 / 0.14);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.25rem 2rem 2rem;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#member-lounge-modal.active .member-lounge-window,
#member-lounge-modal.open .member-lounge-window {
  transform: scale(1) translateY(0);
}

.member-lounge-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.member-lounge-title {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0.25rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.member-lounge-subtitle {
  font-size: 0.90rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.member-privileges-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.privilege-item {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.privilege-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: oklch(0.92 0.035 295);
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.privilege-icon-wrap svg,
.privilege-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.privilege-text {
  display: flex;
  flex-direction: column;
  font-size: 0.84rem;
  line-height: 1.35;
}

.privilege-text strong {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.privilege-text span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.member-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.member-provider-card {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-apple-auth {
  width: 100%;
  height: 44px;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-apple-auth:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.btn-apple-auth:active {
  transform: translateY(0);
}

.btn-member-whatsapp {
  width: 100%;
  height: 44px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.btn-member-whatsapp svg,
.btn-member-whatsapp i {
  color: #25D366;
  font-size: 1.1rem;
  width: 18px;
  height: 18px;
}

.btn-member-whatsapp:hover {
  border-color: #25D366;
  background: oklch(0.98 0.01 140 / 0.5);
  transform: translateY(-1px);
}

.member-lounge-footer {
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-guest-continue {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: 0 !important;
  outline: none;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.15s ease;
}

.btn-guest-continue:hover {
  color: var(--text-primary);
  text-decoration: underline;
  transform: translateX(2px);
}

.btn-guest-continue:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

.member-privacy-guarantee {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
}

.member-privacy-guarantee svg,
.member-privacy-guarantee i {
  color: var(--brand-accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Navbar Member Lounge Button */
.btn-member-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.42rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-member-nav i {
  color: var(--brand-accent);
  font-size: 0.82rem;
}

.btn-member-nav:hover {
  background: var(--bg-canvas);
  border-color: var(--brand-accent);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .nav-member-text {
    display: none;
  }
  .btn-member-nav {
    padding: 0.42rem 0.65rem;
  }
  .member-lounge-window {
    padding: 1.75rem 1.25rem 1.5rem;
    margin: 1rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION OVERRIDE
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   SECTION 26: APP STORE & GOOGLE PLAY COMPLIANCE & LEGAL MODALS
   ========================================================================== */

.customer-delete-btn {
  background: transparent;
  border: none;
  color: oklch(0.65 0.18 25);
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  padding: 0.35rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  touch-action: manipulation;
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.customer-delete-btn:hover {
  color: oklch(0.50 0.22 25);
  background-color: oklch(0.96 0.02 25 / 0.5);
  transform: scale(1.08);
}

/* Legal Modal Windows (Privacy Policy & Terms of Service) */
.legal-modal-window {
  max-width: 760px;
  width: 92%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.22);
  padding: 0;
  overflow: hidden;
}

.legal-modal-header {
  padding: 2rem 2.25rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-canvas) 0%, var(--bg-surface) 100%);
}

.legal-modal-title {
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0.35rem 0 0.25rem;
  letter-spacing: -0.02em;
}

.legal-modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.legal-modal-body {
  padding: 1.75rem 2.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.legal-section {
  margin-bottom: 1.75rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.legal-list {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-modal-footer {
  padding: 1rem 2.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  background-color: var(--bg-canvas);
}

.legal-close-btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 44px;
  touch-action: manipulation;
}

/* Delete Account Confirmation Modal */
.delete-account-window {
  max-width: 480px;
  width: 92%;
  padding: 2.25rem;
  text-align: center;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid oklch(0.85 0.10 25);
  box-shadow: 0 24px 64px -12px oklch(0.20 0.05 25 / 0.25);
}

.delete-account-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-color: oklch(0.96 0.04 25);
  color: oklch(0.55 0.22 25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.delete-account-title {
  font-size: 1.45rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.delete-account-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.delete-account-notice {
  text-align: left;
  background-color: oklch(0.985 0.01 25);
  border: 1px solid oklch(0.92 0.03 25);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.delete-account-notice p {
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.delete-account-notice ul {
  padding-left: 1.2rem;
  margin: 0;
  line-height: 1.6;
}

.delete-account-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.btn-danger-action {
  background-color: oklch(0.55 0.22 25);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  touch-action: manipulation;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-danger-action:hover {
  background-color: oklch(0.48 0.24 25);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .legal-modal-window {
    width: 100vw;
    max-width: 100vw;
    max-height: 92svh;
    border-radius: 1.25rem 1.25rem 0 0;
    position: fixed;
    bottom: 0;
  }
  .legal-modal-header {
    padding: 1.25rem 1.25rem 1rem;
  }
  .legal-modal-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .legal-modal-footer {
    padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }
  .delete-account-actions {
    flex-direction: column;
  }
  .delete-account-actions button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .sticker-binder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .sticker-binder-grid {
    grid-template-columns: 1fr;
  }
  .binder-fulfillment-notice {
    flex-direction: column;
    gap: 0.75rem;
  }
}
