/* ============================================
   Chrysa Doré — Back to School Edition
   Shared stylesheet
   ============================================ */

@font-face {
  font-family: 'Fz Caveat';
  src: url('fonts/Fz-Caveat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* DEFAULT — Da nâu + vàng đồng (DNA Chrysa) */
  --paper:        #f3ead5;
  --paper-deep:   #ebe0c4;
  --paper-warm:   #faf3e2;
  --ink:          #1f140a;
  --ink-soft:     #4a3522;
  --leather:      #6b3a1f;
  --leather-deep: #3a2415;
  --gold:         #b88a3a;
  --gold-deep:    #8a6320;
  --gold-soft:    #e0c477;
  --pen-blue:     #1f3a6b;
  --stamp-red:    #a83323;
  --line:         rgba(31, 20, 10, 0.14);
  --line-strong:  rgba(31, 20, 10, 0.32);
  --notebook-blue: rgba(31, 58, 107, 0.18);
  --notebook-red:  rgba(168, 51, 35, 0.55);

  /* Fonts */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:    "Be Vietnam Pro", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --font-hand:    "Fz Caveat", "Caveat", "Kalam", cursive;

  /* Doodle layer opacity */
  --doodle-opacity: 1;
  --school-intensity: 1; /* multiplies decorative-element visibility */
}

/* ---- Palette variants (driven by Tweaks) ---- */
body[data-palette="leather"]  { /* default — set above */ }

body[data-palette="british"] {
  --paper:        #efe7d3;
  --paper-deep:   #e2d6b8;
  --paper-warm:   #f7efd9;
  --ink:          #14211a;
  --ink-soft:     #2e4036;
  --leather:      #1f4a36;
  --leather-deep: #122a1f;
  --gold:         #b88a3a;
  --gold-deep:    #7c5a1c;
  --gold-soft:    #d8b860;
  --pen-blue:     #1f3a6b;
  --stamp-red:    #a83323;
}

body[data-palette="navy"] {
  --paper:        #efeede;
  --paper-deep:   #e2dfca;
  --paper-warm:   #f7f4e0;
  --ink:          #0c1322;
  --ink-soft:     #243149;
  --leather:      #1a2a52;
  --leather-deep: #0d1734;
  --gold:         #c89530;
  --gold-deep:    #8c641a;
  --gold-soft:    #e5c560;
  --pen-blue:     #1a2a52;
  --stamp-red:    #b03f1c;
}

body[data-palette="minimal"] {
  --paper:        #faf6ef;
  --paper-deep:   #efeadf;
  --paper-warm:   #fdfaf3;
  --ink:          #15110b;
  --ink-soft:     #3a3326;
  --leather:      #1a1814;
  --leather-deep: #0a0907;
  --gold:         #b88a3a;
  --gold-deep:    #7a5a20;
  --gold-soft:    #d8b860;
  --pen-blue:     #2a2a2a;
  --stamp-red:    #883a26;
}

/* ---- Heading font variants (Tweaks) ---- */
body[data-heading="serif"]  { --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif; }
body[data-heading="sans"]   { --font-display: "Jost", "Inter", sans-serif; }
body[data-heading="hand"]   { --font-display: "Fz Caveat", "Caveat", cursive; }

/* ---- School intensity (Tweaks) ---- */
body[data-intensity="subtle"] { --school-intensity: 0.35; }
body[data-intensity="medium"] { --school-intensity: 0.7; }
body[data-intensity="bold"]   { --school-intensity: 1; }

/* ---- Doodle toggle ---- */
body[data-doodles="off"] .doodle,
body[data-doodles="off"] .scroll-doodle-layer { display: none !important; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  padding-top: 145px;
  /* paper texture */
  background-image:
    radial-gradient(rgba(31, 20, 10, 0.045) 1px, transparent 1px),
    radial-gradient(rgba(31, 20, 10, 0.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1.5px 1.5px;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--paper-warm); }

/* ============================================
   NAVIGATION
   ============================================ */
.top-bar {
  background: var(--leather-deep);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 32px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  overflow: hidden;
}
.top-bar-track {
  display: flex;
  gap: 60px;
  animation: marquee-slide 50s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.top-bar-track span { display: inline-flex; align-items: center; gap: 60px; }
.top-bar-track .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft); }

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

.nav {
  position: fixed;
  top: 35px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,246,239,0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 40px;
  gap: 24px;
}
.nav-left { display: flex; gap: 28px; align-items: center; }
.nav-right { display: flex; gap: 28px; align-items: center; justify-content: flex-end; }

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--leather);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active::after { transform: scaleX(1); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--leather-deep);
  font-style: italic;
}
.nav-logo .crest {
  width: 56px; height: 56px;
  flex-shrink: 0;
  -webkit-mask-image: url(/assets/logo-ember.png);
  mask-image: url(/assets/logo-ember.png);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background: linear-gradient(135deg, #b8860b 0%, #d4a853 20%, #f5e6b8 40%, #e8c44a 60%, #c9952e 80%, #f0d68a 100%);
  background-size: 300% 300%;
  animation: goldShimmer 4s ease-in-out infinite;
  transition: filter 0.4s, transform 0.4s;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.nav-logo:hover .crest {
  filter: drop-shadow(0 0 14px rgba(212, 168, 83, 0.7));
  transform: scale(1.1) rotate(6deg);
}

.nav-icon {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  position: relative;
  transition: background 0.2s;
}
.nav-icon:hover { background: var(--paper-deep); }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--stamp-red);
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   SECTION SCAFFOLDING
   ============================================ */
.section { padding: 120px 40px; position: relative; }
.section-sm { padding: 80px 40px; }
.section-tight { padding: 60px 40px; }
.container { max-width: 1400px; margin: 0 auto; }
.container-narrow { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--leather);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--leather);
  font-weight: 500;
}
.section-title .hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--leather);
  font-style: normal;
}

.section-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 24px;
  max-width: 56ch;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  transition: all 0.25s ease;
  position: relative;
}
.btn:hover { background: var(--ink); color: var(--paper-warm); }
.btn svg { transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }

.btn-filled {
  background: var(--leather-deep);
  color: var(--paper-warm);
  border-color: var(--leather-deep);
}
.btn-filled:hover { background: var(--leather); color: var(--paper-warm); }

.btn-gold {
  background: var(--gold);
  color: var(--leather-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--paper-warm); border-color: var(--gold-deep); }

/* ============================================
   STAMPS, BADGES, NOTEBOOK ARTIFACTS
   ============================================ */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stamp-red);
  border: 2.5px solid var(--stamp-red);
  padding: 8px 14px;
  border-radius: 4px;
  background: rgba(168, 51, 35, 0.04);
  transform: rotate(-6deg);
  position: relative;
  opacity: calc(0.92 * var(--school-intensity, 1));
  /* stamp blot */
  filter: contrast(1.05);
}
.stamp.stamp-round {
  border-radius: 50%;
  width: 80px; height: 80px;
  padding: 0;
  font-size: 10px;
  text-align: center;
  line-height: 1.1;
  flex-direction: column;
  gap: 2px;
}
.stamp-round .stamp-big {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: 0;
}

.school-crest {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border: 1.5px solid var(--leather);
  background: var(--paper-warm);
  position: relative;
}
.school-crest::before, .school-crest::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--leather);
  border-radius: 50%;
}
.school-crest::before { top: -3px; left: -3px; }
.school-crest::after  { bottom: -3px; right: -3px; }

.crest-mono {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--leather);
  line-height: 1;
}
.crest-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--leather);
}

/* Handwritten note */
.handnote {
  font-family: var(--font-hand);
  font-size: 24px;
  color: var(--pen-blue);
  line-height: 1.2;
  opacity: var(--school-intensity, 1);
}
.handnote-red { color: var(--stamp-red); }

/* Pencil-underline effect */
.pencil-underline {
  background-image: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold-soft) 100%);
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.35em;
  padding: 0 2px;
}

/* Doodle SVG layer (decorative) */
.doodle {
  position: absolute;
  pointer-events: none;
  color: var(--pen-blue);
  opacity: calc(0.85 * var(--school-intensity, 1));
}

/* Notebook ruled paper bg */
.notebook-bg {
  background-color: var(--paper-warm);
  background-image:
    linear-gradient(to bottom, transparent calc(2em - 1px), var(--notebook-blue) calc(2em - 1px), var(--notebook-blue) 2em, transparent 2em),
    linear-gradient(to right, transparent 49px, var(--notebook-red) 49px, var(--notebook-red) 51px, transparent 51px);
  background-size: 100% 2em, 100% 100%;
}

/* Grid paper bg (giấy ô ly) */
.grid-bg {
  background-color: var(--paper-warm);
  background-image:
    linear-gradient(to right, var(--notebook-blue) 1px, transparent 1px),
    linear-gradient(to bottom, var(--notebook-blue) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* 4-ô bg (giấy 4 ô — Vietnamese primary school paper) */
.four-square-bg {
  background-color: var(--paper-warm);
  background-image:
    linear-gradient(to right, var(--notebook-blue) 1px, transparent 1px),
    linear-gradient(to bottom, var(--notebook-blue) 1px, transparent 1px),
    linear-gradient(to right, rgba(168, 51, 35, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 51, 35, 0.25) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 64px 64px, 64px 64px;
}

/* Plaid pattern (caro đồng phục) */
.plaid-bg {
  background-color: #1f4a36;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(0,0,0,0.15) 20px, rgba(0,0,0,0.15) 22px),
    repeating-linear-gradient(135deg, transparent 0, transparent 20px, rgba(0,0,0,0.15) 20px, rgba(0,0,0,0.15) 22px),
    linear-gradient(0deg, rgba(184, 138, 58, 0.4) 0%, rgba(184, 138, 58, 0.4) 100%);
}

/* ============================================
   HOMEPAGE — HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--paper-warm);
  padding: 32px 32px 80px;
  overflow: hidden;
}
.hero-frame {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: stretch;
}

.hero-left {
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 78vh;
  position: relative;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.hero-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--leather);
  color: var(--leather);
  background: var(--paper-warm);
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8.5vw, 8rem);
  line-height: 0.88;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-title .line1 { display: block; }
.hero-title .line2 {
  display: block;
  font-style: italic;
  color: var(--leather);
  font-weight: 500;
}
.hero-title .line3 {
  display: block;
  font-family: var(--font-hand);
  font-size: 0.55em;
  color: var(--pen-blue);
  font-style: normal;
  font-weight: 600;
  margin-top: 0.1em;
  position: relative;
}

.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 56px;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-blurb {
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.hero-blurb-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leather);
  margin-bottom: 12px;
  display: block;
}

.hero-right {
  position: relative;
  min-height: 78vh;
  background: var(--leather-deep);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(31,20,10,0.35) 0%, transparent 40%),
    linear-gradient(to right, rgba(31,20,10,0.15) 0%, transparent 30%);
}
.hero-img-label {
  position: absolute;
  bottom: 28px; left: 28px;
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-img-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--paper-warm);
}

/* Hero corner ticks (technical / blueprint feel) */
.tick {
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--leather);
}
.tick-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.tick-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.tick-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.tick-br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* Hero polaroid / sticker layered */
.hero-polaroid {
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 160px;
  background: var(--paper-warm);
  padding: 8px 8px 38px;
  box-shadow: 0 12px 30px rgba(31,20,10,0.25), 0 2px 4px rgba(31,20,10,0.1);
  transform: rotate(-7deg);
  z-index: 3;
}
.hero-polaroid img {
  width: 100%; height: 140px; object-fit: cover; background: var(--paper-deep);
}
.hero-polaroid-caption {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--pen-blue);
}

/* ============================================
   MARQUEE (decorative)
   ============================================ */
.marquee {
  background: var(--leather-deep);
  color: var(--gold-soft);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--leather);
  border-bottom: 1px solid var(--leather);
}
.marquee-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  width: max-content;
  animation: marquee-slide 36s linear infinite;
}
.marquee-track > span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0.01em;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 50px;
}
.marquee-track .star {
  color: var(--gold);
  font-style: normal;
  font-size: 16px;
}

/* ============================================
   SCHEDULE STRIP (Thời khóa biểu)
   ============================================ */
.schedule {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  position: relative;
}
.schedule-row {
  display: grid;
  grid-template-columns: 240px repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.schedule-row:first-child { border-top: none; }
.schedule-cell {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
}
.schedule-cell:last-child { border-right: none; }
.schedule-cell.head {
  background: var(--leather-deep);
  color: var(--paper-warm);
  font-weight: 600;
}
.schedule-cell.featured {
  background: var(--gold-soft);
  color: var(--leather-deep);
  font-weight: 600;
}
.schedule-cell .ssub {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--pen-blue);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2px;
}
.schedule-cell.featured .ssub { color: var(--leather-deep); }

/* ============================================
   COLLECTIONS — Bộ Sưu Tập
   ============================================ */
.collections {
  position: relative;
  background: var(--paper);
}
.collections-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.collection-card {
  position: relative;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  transition: transform 0.4s, box-shadow 0.4s;
}
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31,20,10,0.12);
}
.collection-card.span-7 { grid-column: span 7; }
.collection-card.span-5 { grid-column: span 5; }
.collection-card.span-6 { grid-column: span 6; }
.collection-card.span-4 { grid-column: span 4; }
.collection-card.span-8 { grid-column: span 8; }

.collection-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-deep);
}
.collection-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.collection-card:hover .collection-img img { transform: scale(1.04); }

.collection-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: var(--paper-warm);
  color: var(--leather-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--leather);
}

.collection-info {
  padding: 24px 28px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.collection-info h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
}
.collection-info p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 6px;
  max-width: 38ch;
}
.collection-info-left { flex: 1; }
.collection-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--leather);
  color: var(--leather);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s;
}
.collection-card:hover .collection-arrow {
  background: var(--leather);
  color: var(--paper-warm);
  transform: rotate(-45deg);
}

/* ============================================
   PRODUCT GRID / CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.products-grid-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  position: relative;
  display: block;
  transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-4px); }

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-warm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--leather-deep);
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.product-badge.gold { background: var(--gold); color: var(--leather-deep); }
.product-badge.red  { background: var(--stamp-red); color: var(--paper-warm); }

.product-fav {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--paper-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.product-fav:hover { background: var(--ink); color: var(--paper-warm); }

.product-quickadd {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  background: var(--leather-deep);
  color: var(--paper-warm);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}
.product-card:hover .product-quickadd {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 16px 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.product-info-left { flex: 1; min-width: 0; }
.product-category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.product-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.15;
}
.product-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--leather);
  text-align: right;
  white-space: nowrap;
}
.product-colors {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.product-color {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

/* ============================================
   ATELIER SPLIT
   ============================================ */
.atelier {
  position: relative;
  padding: 120px 40px;
  background: var(--leather-deep);
  color: var(--paper-warm);
}
.atelier-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}
.atelier-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--leather);
  overflow: hidden;
}
.atelier-visual img { width: 100%; height: 100%; object-fit: cover; }
.atelier-visual-overlay {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  color: var(--paper-warm);
  line-height: 0.9;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}

.atelier-content .eyebrow { color: var(--gold-soft); }
.atelier-content .section-title { color: var(--paper-warm); }
.atelier-content .section-title em { color: var(--gold-soft); }
.atelier-text {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245, 235, 210, 0.85);
  max-width: 54ch;
}
.atelier-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(245,235,210,0.18);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--gold-soft);
  line-height: 1;
  font-style: italic;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,235,210,0.65);
  margin-top: 10px;
  line-height: 1.4;
}

/* ============================================
   HERITAGE / MANIFESTO
   ============================================ */
.heritage {
  position: relative;
  padding: 140px 40px;
  background: var(--paper-warm);
}
.heritage-inner { max-width: 980px; margin: 0 auto; text-align: center; position: relative; }
.heritage-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  margin-top: 24px;
}
.heritage-title em { font-style: italic; color: var(--leather); }
.heritage-text {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 32px auto 0;
  max-width: 64ch;
  text-align: left;
}
.heritage-text.center { text-align: center; }
.heritage-text.italic-gold {
  font-style: italic;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 22px;
}
.heritage-signature {
  margin-top: 48px;
  font-family: var(--font-hand);
  font-size: 36px;
  color: var(--leather);
}

.heritage-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.heritage-value { text-align: center; }
.heritage-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border: 1.5px solid var(--leather);
  border-radius: 50%;
  color: var(--leather);
  margin-bottom: 18px;
}
.heritage-value h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.heritage-value p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 28ch;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--leather-deep);
  color: var(--paper-warm);
  padding: 80px 40px 32px;
  position: relative;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,235,210,0.18);
}
.footer-brand .nav-logo { color: var(--paper-warm); }
.footer-brand .nav-logo .crest {
  background: linear-gradient(135deg, #c9952e 0%, #f5e6b8 30%, #e8c44a 60%, #f0d68a 100%);
  background-size: 300% 300%;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-soft);
  margin-top: 16px;
}
.footer-newsletter { margin-top: 28px; max-width: 360px; }
.footer-newsletter label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,235,210,0.6);
  display: block;
  margin-bottom: 10px;
}
.footer-newsletter-row {
  display: flex;
  border: 1px solid rgba(245,235,210,0.3);
}
.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 14px;
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 12px;
  outline: none;
  cursor: pointer;
}
.footer-newsletter input::placeholder { color: rgba(245,235,210,0.45); }
.footer-newsletter button {
  background: var(--gold);
  color: var(--leather-deep);
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
}

.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(245,235,210,0.78);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--paper-warm); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,235,210,0.55);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   PAGE: COLLECTION LISTING
   ============================================ */
.page-header {
  padding: 60px 40px 40px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.breadcrumbs a:hover { color: var(--leather); }
.breadcrumbs .sep { color: var(--line-strong); }

.page-title-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  max-width: 1400px;
  margin: 0 auto;
}
.page-title-row .page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--ink);
}
.page-title em { font-style: italic; color: var(--leather); }
.page-title-row .page-meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.6;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
  position: sticky;
  top: 73px;
  z-index: 50;
  flex-wrap: wrap;
  gap: 16px;
}
.toolbar-left { display: flex; gap: 12px; flex-wrap: wrap; }
.toolbar-right { display: flex; gap: 24px; align-items: center; }
.filter-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper-warm);
  color: var(--ink);
  transition: all 0.2s;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--leather-deep);
  color: var(--paper-warm);
  border-color: var(--leather-deep);
}
.toolbar-result {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.toolbar-sort {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  color: var(--ink);
  cursor: pointer;
}

/* ============================================
   PAGE: PRODUCT DETAIL
   ============================================ */
.pdp {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 48px 40px 80px;
  max-width: 1500px;
  margin: 0 auto;
}
.pdp-gallery { position: relative; }
.pdp-gallery-main {
  aspect-ratio: 1 / 1;
  background: var(--paper-deep);
  position: relative;
  overflow: hidden;
}
.pdp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.pdp-thumb {
  aspect-ratio: 1;
  background: var(--paper-deep);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--leather); }
.pdp-thumb:hover { border-color: var(--leather); }

.pdp-info { padding: 24px 0; position: relative; }
.pdp-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leather);
  margin-bottom: 16px;
}
.pdp-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.pdp-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--leather);
  margin-top: 6px;
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.pdp-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
}
.pdp-price-old {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: line-through;
}
.pdp-price-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stamp-red);
  padding: 4px 8px;
  border: 1px solid var(--stamp-red);
}

.pdp-desc {
  margin-top: 24px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 50ch;
}

.pdp-section { margin-top: 28px; }
.pdp-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-section-label .guide {
  color: var(--leather);
  text-decoration: underline;
  font-size: 10px;
}
.color-swatches {
  display: flex;
  gap: 10px;
}
.color-sw {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}
.color-sw::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid transparent;
  border-radius: 50%;
}
.color-sw.active::after { border-color: var(--leather); }

.size-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.size-btn {
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: var(--paper-warm);
  color: var(--ink);
  text-align: center;
  transition: all 0.2s;
  position: relative;
}
.size-btn:hover { border-color: var(--leather); }
.size-btn.active { background: var(--ink); color: var(--paper-warm); border-color: var(--ink); }
.size-btn.oos { color: var(--line-strong); position: relative; cursor: not-allowed; }
.size-btn.oos::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), var(--line-strong) calc(50% - 0.5px), var(--line-strong) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}

.pdp-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 32px; }
.btn-add {
  padding: 20px 32px;
  background: var(--leather-deep);
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.btn-add:hover { background: var(--leather); }
.btn-fav {
  width: 60px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.2s;
}
.btn-fav:hover { background: var(--ink); color: var(--paper-warm); }

.pdp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pdp-meta-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pdp-meta-icon {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--leather);
  flex-shrink: 0;
}
.pdp-meta-text { font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.pdp-meta-text strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Detail accordion */
.pdp-accordion { margin-top: 36px; border-top: 1px solid var(--line); }
.pdp-accordion details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.pdp-accordion summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--leather);
}
.pdp-accordion details[open] summary::after { content: '−'; }
.pdp-accordion-body {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 60ch;
}
.pdp-accordion-body ul { list-style: none; padding: 0; }
.pdp-accordion-body li {
  padding: 6px 0;
  position: relative;
  padding-left: 18px;
}
.pdp-accordion-body li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 8px;
}

/* ============================================
   PAGE: CART
   ============================================ */
.cart-page {
  padding: 60px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  margin-top: 48px;
}
.cart-items { }
.cart-empty-state {
  padding: 80px 40px;
  text-align: center;
  background: var(--paper-warm);
  border: 1px dashed var(--line-strong);
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.cart-item-img {
  width: 120px; height: 140px;
  background: var(--paper-warm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { }
.cart-item-info h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.cart-item-info .cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.cart-item-attrs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 12px;
  display: flex;
  gap: 18px;
}
.cart-item-attrs span strong { color: var(--ink); }

.cart-item-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cart-item-actions button {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.2s;
}
.cart-item-actions button:hover { color: var(--leather); border-bottom-color: var(--leather); }

.cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.cart-item-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.qty-stepper {
  display: inline-flex;
  border: 1px solid var(--line-strong);
}
.qty-stepper button {
  width: 36px; height: 36px;
  font-size: 16px;
  color: var(--ink);
  transition: background 0.2s;
}
.qty-stepper button:hover { background: var(--paper-deep); }
.qty-stepper span {
  width: 36px; line-height: 36px; text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}

.cart-summary {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  padding: 32px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cart-sum-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cart-sum-row.total {
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.cart-promo-row {
  display: flex;
  margin: 16px 0;
  border: 1px solid var(--line-strong);
}
.cart-promo-row input {
  flex: 1; padding: 12px 14px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.cart-promo-row button {
  padding: 0 18px;
  background: var(--leather-deep);
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cart-checkout {
  width: 100%;
  padding: 20px;
  background: var(--leather-deep);
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.2s;
  margin-top: 20px;
}
.cart-checkout:hover { background: var(--leather); }
.cart-perks {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.cart-perk {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ============================================
   PAGE: STORY
   ============================================ */
.story-hero {
  padding: 80px 40px 60px;
  text-align: center;
  background: var(--paper-warm);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.story-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.story-hero-title em { font-style: italic; color: var(--leather); }
.story-hero-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leather);
  margin-bottom: 24px;
}
.story-hero-img {
  margin: 60px auto 0;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: var(--paper-deep);
  overflow: hidden;
  position: relative;
}
.story-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.story-chapter {
  padding: 100px 40px;
  position: relative;
}
.story-chapter:nth-child(even) { background: var(--paper-warm); }
.story-chapter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.story-chapter.flip .story-chapter-inner { grid-template-columns: 1.4fr 1fr; }
.story-chapter.flip .story-chapter-text { order: 2; }
.story-chapter-num {
  font-family: var(--font-display);
  font-size: 88px;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  opacity: 0.5;
}
.story-chapter-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leather);
  margin-top: 8px;
  display: block;
}
.story-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  margin-top: 24px;
  color: var(--ink);
}
.story-chapter-title em { font-style: italic; color: var(--leather); }
.story-chapter-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 20px;
}
.story-chapter-text p:first-of-type { font-size: 18px; }
.story-chapter-img {
  aspect-ratio: 1 / 1;
  background: var(--paper-deep);
  overflow: hidden;
  border: 1px solid var(--line);
}
.story-chapter-img img { width: 100%; height: 100%; object-fit: cover; }

.story-pull {
  padding: 100px 40px;
  text-align: center;
  background: var(--leather-deep);
  color: var(--paper-warm);
  position: relative;
}
.story-pull-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  max-width: 28ch;
  margin: 0 auto;
  color: var(--paper-warm);
}
.story-pull-text .gold { color: var(--gold-soft); }
.story-pull-author {
  font-family: var(--font-hand);
  font-size: 28px;
  color: var(--gold-soft);
  margin-top: 32px;
}

/* ============================================
   SCROLL DOODLE LAYER
   ============================================ */
.scroll-doodle-layer {
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: 1;
  overflow: visible;
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.center { text-align: center; }
.rel { position: relative; }
.flex-row { display: flex; align-items: center; gap: 16px; }
.flex-spread { display: flex; justify-content: space-between; align-items: center; }

/* Listing hero grid */
.listing-hero-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-left { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .hero-frame { grid-template-columns: 1fr; }
  .hero-right { min-height: 60vh; }
  .hero-left { min-height: auto; }
  .collections-grid { grid-template-columns: 1fr; }
  .collection-card.span-7, .collection-card.span-5, .collection-card.span-6, .collection-card.span-4, .collection-card.span-8 { grid-column: span 1; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .atelier-grid { grid-template-columns: 1fr; gap: 48px; }
  .pdp { grid-template-columns: 1fr; gap: 40px; }
  .cart-grid { grid-template-columns: 1fr; }
  .story-chapter-inner { grid-template-columns: 1fr; gap: 32px; }
  .story-chapter.flip .story-chapter-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .schedule-row { grid-template-columns: 120px repeat(5, 1fr); font-size: 9px; }
  .heritage-values { grid-template-columns: 1fr; gap: 32px; }
  .listing-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 80px 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero { padding: 16px; }
  .page-header { padding: 32px 16px 24px; }
  .toolbar { padding: 12px 16px; gap: 12px; }
  .listing-hero-grid { gap: 16px; }
  .nav-logo { font-size: 24px; }
  .nav-logo .crest { width: 40px; height: 40px; }
  .nav-right { gap: 12px; }
  .nav-right .nav-icon:not([aria-label="Giỏ hàng"]) { display: none; }
}

/* ============================================================
   MOBILE / TABLET HERO FIX
   maison.css + luxury-decor.css load AFTER this file and set
   `.hero-frame` to a 2-column grid, `.hero-left { min-height:74vh }`
   and a large `.hero-title` clamp — all UNCONDITIONALLY — which
   overrode the responsive stack above and left the hero in two
   columns on phones (text column crushed, title overflowing).
   styles.css is the only asset Google Drive leaves writable, and it
   loads FIRST, so these overrides are scoped under `.hero`
   (specificity 0,2,0 / line3 0,3,0) to win over maison's single-class
   rules (0,1,0) regardless of load order.
   ============================================================ */
@media (max-width: 1100px) {
  .hero .hero-frame { grid-template-columns: 1fr; gap: 28px; }
  .hero .hero-left { min-height: auto; padding: 8px 0 0; }
  .hero .hero-right { min-height: 0; height: clamp(340px, 52vh, 500px); }
}
@media (max-width: 760px) {
  .hero { padding: 16px 16px 48px; }
  .hero .hero-frame { gap: 24px; }
  .hero .hero-eyebrow-row { margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
  .hero .hero-title { font-size: clamp(2.4rem, 11.5vw, 3.6rem); line-height: 0.96; }
  .hero .hero-title .line3 { font-size: 0.5em; margin-top: 0.28em; }
  .hero .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-top: 26px;
  }
  .hero .hero-blurb { max-width: 100%; font-size: 14.5px; }
  .hero .hero-bottom-row .btn { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
  .hero .hero-title { font-size: clamp(2.05rem, 11vw, 2.7rem); }
}

/* Collections intro header: was a rigid 2-col grid (1fr 1fr) with no
   responsive rule, so on phones the description was crushed into a
   narrow column (~2 words/line). Stack it and trim maison's large
   margin-bottom. `.collections` scope (0,2,0) beats maison's
   `.collections-header` margin-bottom (0,1,0) regardless of load order. */
@media (max-width: 760px) {
  .collections .collections-header {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
}

/* ============================================
   APPENDED — listing/product/cart/story page utilities
   ============================================ */

/* Page header (listing, cart) */
.page-header {
  padding: 56px 40px 32px;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--leather); }
.breadcrumbs .sep { color: var(--line-strong); }
.page-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.page-title em { font-style: italic; color: var(--leather); }
.page-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.8;
  text-align: right;
}

/* Listing toolbar */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.toolbar-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--leather); color: var(--leather); }
.filter-chip.active { background: var(--ink); color: var(--paper-warm); border-color: var(--ink); }
.toolbar-right { display: flex; gap: 16px; align-items: center; }
.toolbar-result {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.toolbar-sort {
  padding: 8px 32px 8px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper) url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231f140a' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  appearance: none;
  cursor: pointer;
}

/* Product cards (overrides/additions for listing) */
.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-deep);
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 10px;
  background: var(--paper-warm);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}
.product-badge.gold { background: var(--gold-soft); border-color: var(--leather); color: var(--leather-deep); }
.product-badge.red { background: var(--stamp-red); border-color: var(--stamp-red); color: var(--paper-warm); }
.product-fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: all 0.2s;
  z-index: 2;
}
.product-fav:hover { background: var(--stamp-red); color: var(--paper-warm); border-color: var(--stamp-red); }
.product-quickadd {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: var(--ink);
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}
.product-card:hover .product-quickadd { transform: translateY(0); }
.product-info {
  padding: 16px 4px 4px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.product-info-left { flex: 1; }
.product-category {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}
.product-colors { display: flex; gap: 5px; margin-top: 10px; }
.product-color {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-block;
}
.product-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--leather);
  white-space: nowrap;
}

/* PDP block — alias container */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding: 32px 40px 80px;
  max-width: 1500px;
  margin: 0 auto;
}

/* CART layout aliases */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  padding: 32px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.cart-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.cart-item-category {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 4px;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}
.cart-remove {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cart-remove:hover { background: var(--stamp-red); color: var(--paper-warm); border-color: var(--stamp-red); }
.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}
.qty {
  display: inline-flex;
  border: 1px solid var(--line-strong);
}
.qty button {
  width: 36px; height: 36px;
  font-size: 16px;
  background: transparent;
  color: var(--ink);
  transition: background 0.2s;
}
.qty button:hover { background: var(--paper-deep); }
.qty span {
  width: 36px; line-height: 36px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}
.cart-summary-title {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cart-summary-title em { font-style: italic; color: var(--leather); }
.cart-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
}
.cart-row span:first-child { color: var(--ink-soft); }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}
.cart-total-amount {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--leather);
}
.cart-coupon {
  width: 100%;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink);
  margin-bottom: 16px;
}
.btn-checkout {
  width: 100%;
  padding: 20px;
  background: var(--leather-deep);
  color: var(--paper-warm);
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: background 0.2s;
}
.btn-checkout:hover { background: var(--leather); }
.cart-trust {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-trust-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cart-trust-item svg { color: var(--leather); }
.btn-add-mini {
  padding: 6px 12px;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: all 0.2s;
}
.btn-add-mini:hover { background: var(--ink); color: var(--paper-warm); }

/* STORY page */
.story-hero { padding: 80px 40px 0; }
.story-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.story-hero-meta .dot {
  width: 6px; height: 6px;
  background: var(--stamp-red);
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}
.story-hero-dek {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 36px auto 0;
}
.story-hero-byline {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pullquote-section {
  padding: 80px 40px;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pullquote { text-align: center; position: relative; }
.pullquote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.5;
  color: var(--leather);
  opacity: 0.6;
  margin-bottom: 16px;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
}
.pullquote p em { font-style: italic; color: var(--leather); }
.pullquote-attr {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.article p { margin-bottom: 24px; }
.article-lead {
  font-family: var(--font-display);
  font-size: 22px !important;
  font-style: italic;
  line-height: 1.55 !important;
  color: var(--ink);
  margin-bottom: 40px !important;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.article-lead strong { font-style: normal; color: var(--leather); }
.article-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 64px 0 28px;
  letter-spacing: -0.01em;
}
.article-h2 em { font-style: italic; color: var(--leather); }
.article p strong { color: var(--ink); font-weight: 600; }
.article p em { color: var(--leather); font-style: italic; }
.article-figure {
  margin: 48px -120px;
}
.article-figure img {
  width: 100%; height: auto;
  display: block;
  background: var(--paper-deep);
}
.article-figure figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  text-align: center;
}
.article-figure figcaption strong { color: var(--ink); }
.article-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px -80px;
  padding: 32px;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--leather);
}
.article-stat-num span {
  font-size: 28px;
  vertical-align: super;
  margin-left: 2px;
}
.article-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.5;
}
.article-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px -120px;
}
.article-twocol img {
  width: 100%; height: auto;
  background: var(--paper-deep);
}
.article-twocol figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.article-end {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--leather);
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* Section-sm padding helper */
.section-sm { padding: 64px 40px; }

@media (max-width: 1100px) {
  .article-figure, .article-twocol, .article-stats { margin-left: 0; margin-right: 0; }
  .article-twocol { grid-template-columns: 1fr; }
  .article-stats { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .page-title-row { grid-template-columns: 1fr; }
  .page-meta { text-align: left; }
}

/* ============================================
   HAMBURGER MENU BUTTON
   ============================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) {
  .nav-hamburger { display: flex; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
}

/* ============================================
   MOBILE MENU DRAWER
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 380px;
  max-width: 85vw;
  height: 100vh;
  background: var(--paper-warm);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  border-right: 1px solid var(--line);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 20, 10, 0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner { padding: 32px; min-height: 100%; display: flex; flex-direction: column; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.mobile-menu-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.mobile-menu-links a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu-links a:first-child { border-top: 1px solid var(--line); }
.mobile-menu-links a:hover { color: var(--leather); padding-left: 8px; }
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  line-height: 2;
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  background: var(--paper-warm);
  z-index: 300;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.search-overlay.open { transform: translateY(0); }
.search-overlay-inner { max-width: 800px; margin: 0 auto; padding: 60px 40px; }
.search-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  color: var(--ink);
}
.search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--ink);
}
.search-input-wrap input::placeholder { color: var(--ink-soft); opacity: 0.5; }
.search-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  cursor: pointer;
}
.search-suggestions { }
.search-suggestion-item {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.2s;
}
.search-suggestion-item:hover { color: var(--leather); padding-left: 8px; }
.search-product-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.search-product-results .product-card { cursor: pointer; }

/* Body lock when overlay is open */
body.menu-open, body.search-open { overflow: hidden; }

/* ============================================
   WISHLIST PAGE
   ============================================ */
/* ============================================
   PRODUCT SLIDER (infinite)
   ============================================ */
.product-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.product-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: sliderScroll 30s linear infinite;
}
.product-slider-track:hover { animation-play-state: paused; }

.product-slider .slide-card {
  flex: 0 0 300px;
  min-width: 0;
}

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

@media (max-width: 768px) {
  .product-slider .slide-card { flex: 0 0 260px; }
  .product-slider-track { gap: 16px; }
}

.wishlist-page { padding: 60px 40px 100px; max-width: 1400px; margin: 0 auto; }
.wishlist-empty {
  padding: 80px 40px;
  text-align: center;
  background: var(--paper-warm);
  border: 1px dashed var(--line-strong);
  margin-top: 48px;
}
