/* LABONNI ATELIER — Parisian Niche Scroll Choreography & Haute Parfumerie */
:root {
  --bg: #F2F1EC;
  --bg-sage: #DDE2D6;
  --bg-card: #EAEAE3;
  --bg-surface: #F7F6F2;
  --ink: #151714;
  --ink-muted: #5E625B;
  --accent: #3A4433;
  --accent-hover: #293123;
  --accent-ink: #F7F7F3;
  --border: rgba(21, 23, 20, 0.11);
  --border-strong: rgba(21, 23, 20, 0.24);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--accent); color: var(--accent-ink); }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
}

/* Silk Opening Curtain */
.silk-curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #ECEAE2;
  display: grid;
  place-items: center;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}
.silk-curtain span {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  color: var(--ink);
}
.silk-curtain.is-lifted { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .silk-curtain { display: none; }
}

/* Whisper-Thin Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  background: rgba(242, 241, 236, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a,
.header-nav button {
  background: none;
  border: 0;
  padding: 4px 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.header-nav a:hover,
.header-nav button:hover { color: var(--ink); }
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  cursor: pointer;
}
.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 999px;
  padding: 9px 19px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.cart-trigger:hover { background: var(--accent-hover); }

/* 1. Split Hero + Breathing Fig-Leaf Shadow */
.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  padding-block: clamp(28px, 4vw, 56px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 84px);
}
.eyebrow {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(50px, 6.2vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero-title em {
  font-style: italic;
  display: inline-block;
  line-height: 1.12;
  padding-bottom: 0.06em;
}
.hero-sub {
  font-size: 15.5px;
  color: var(--ink-muted);
  max-width: 40ch;
  margin: 0 0 30px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--ink); }
.hero-price { display: flex; flex-direction: column; gap: 1px; }
.hero-price strong { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1; }
.hero-price span { font-size: 12.5px; color: var(--ink-muted); }

.hero-notes-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  margin: 0;
}
.hero-notes-strip dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.hero-notes-strip dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
}

/* Hero Bottle Stage + Ambient Breathing SVG Shadow */
.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(380px, 60vh, 580px);
}
.au-hero-glow {
  position: absolute;
  width: min(100%, 540px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 229, 211, 0.72) 0%, rgba(242, 241, 236, 0) 68%);
  pointer-events: none;
  z-index: 0;
}
.au-leaf-shadow-mask {
  position: absolute;
  inset: -40px -20px;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at 55% 48%, #000 30%, transparent 92%);
  mask-image: radial-gradient(ellipse 68% 68% at 55% 48%, #000 30%, transparent 92%);
}
.au-leaf-shadow {
  width: 100%;
  height: 100%;
  opacity: 0.14;
  filter: blur(14px);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .au-leaf-shadow {
    animation: auLeaf 26s ease-in-out infinite;
  }
}
@keyframes auLeaf {
  0%, 100% {
    transform: translate3d(-2%, -1%, 0) rotate(-2deg) scale(1.06);
  }
  50% {
    transform: translate3d(2%, 1.5%, 0) rotate(1.5deg) scale(1.1);
  }
}

.au-hero-bottle-slot {
  position: relative;
  z-index: 2;
  width: clamp(230px, 21vw, 304px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.au-bottle-cutout {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(21, 23, 20, 0.16));
  user-select: none;
}
.au-floor-shadow {
  display: block;
  width: 78%;
  height: 22px;
  margin-top: -10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(21, 23, 20, 0.24) 0%, rgba(21, 23, 20, 0) 72%);
  filter: blur(4px);
  pointer-events: none;
}

/* Seamless Scroll Travel Layer */
.au-travel-bottle {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  pointer-events: none;
  transform-origin: top left;
  visibility: hidden;
  will-change: transform;
}
.au-travel-bottle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(21, 23, 20, 0.18));
}
html[data-au-travel="1"] .au-travel-bottle { visibility: visible; }
html[data-au-travel="1"] #auHeroBottle,
html[data-au-travel="1"] #auStickyBottle { visibility: hidden; }

/* 2. Sticky Track (Centered Bottle + 4 Fig Leaves -> Notes) */
.au-track {
  position: relative;
  height: 340vh;
  border-top: 1px solid var(--border);
}
.au-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.au-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(110px, 24vw, 340px);
  line-height: 0.9;
  color: rgba(21, 23, 20, 0.06);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

/* 4 Feathered Fig-Leaf Cutouts */
.au-leaf {
  position: absolute;
  width: clamp(220px, 28vw, 430px);
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 20%, transparent 98%),
                      linear-gradient(180deg, rgba(0, 0, 0, 0.95) 30%, transparent 98%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 20%, transparent 98%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.95) 30%, transparent 98%);
  mask-composite: intersect;
  will-change: transform, opacity;
}
.au-leaf-mid-l {
  top: -4%;
  left: -3%;
  z-index: 2;
  filter: blur(1.4px);
  opacity: 0.84;
  transform: scaleY(-1) rotate(-8deg);
}
.au-leaf-mid-r {
  top: -4%;
  right: -3%;
  z-index: 2;
  filter: blur(1.4px);
  opacity: 0.84;
  transform: scale(-1, -1) rotate(-8deg);
}
.au-leaf-fg-l {
  bottom: -6%;
  left: -4%;
  z-index: 4;
  filter: blur(0.4px);
  opacity: 0.92;
  transform: rotate(6deg);
}
.au-leaf-fg-r {
  bottom: -6%;
  right: -4%;
  z-index: 4;
  filter: blur(0.4px);
  opacity: 0.92;
  transform: scaleX(-1) rotate(6deg);
}

.au-sticky-bottle-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: calc(clamp(250px, 22.5vw, 324px) * -0.5);
  margin-top: calc(clamp(250px, 22.5vw, 324px) * -0.9);
  width: clamp(250px, 22.5vw, 324px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}
.au-sticky-aura {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.au-sticky-aura::before {
  content: '';
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--note-glow, rgba(164, 180, 146, 0.25)) 0%, transparent 70%);
  transition: background 0.45s ease;
  pointer-events: none;
  z-index: -1;
}

.au-sticky-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}
.au-notes-panel {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.section-title em {
  font-style: italic;
  display: inline-block;
  line-height: 1.12;
  padding-bottom: 0.06em;
}
.botanical-list { display: flex; flex-direction: column; gap: 18px; }
.botanical-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 12px 16px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out);
}
.botanical-item:hover { transform: translateX(6px); }
.botanical-item:last-child { border-bottom: 0; }
.botanical-item img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.botanical-item span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.botanical-item h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin: 2px 0;
}
.botanical-item p { margin: 0; font-size: 13.5px; color: var(--ink-muted); }

/* 3. Scroll-Pinned Horizontal Signatures Rail */
.sig-track {
  position: relative;
  height: 300vh;
  border-top: 1px solid var(--border);
}
.sig-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: rgb(203, 213, 191);
  will-change: background-color;
}
.sig-header {
  position: absolute;
  top: clamp(86px, 11vh, 108px);
  left: clamp(24px, 3vw, 44px);
  right: clamp(24px, 3vw, 44px);
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  pointer-events: none;
}
.sig-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 2.9vw, 42px);
  font-weight: 400;
  margin: 0;
  color: #1B1E19;
}
.sig-counter {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #1B1E19;
  font-variant-numeric: tabular-nums;
}
.sig-rail {
  display: flex;
  width: 300vw;
  height: 100%;
  will-change: transform;
}
.sig-slide {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  padding: 132px clamp(36px, 5.5vw, 88px) 48px;
  gap: clamp(28px, 4vw, 56px);
  overflow: visible;
}
.sig-wm {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28vw;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  will-change: transform;
}
.sig-bottle-col {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: min(66vh, 610px);
}
.sig-bottle-col img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(27, 30, 25, 0.2));
}
.sig-copy-col {
  position: relative;
  z-index: 3;
  max-width: 480px;
}
.sig-copy-col .eyebrow {
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #1B1E19;
  opacity: 0.72;
}
.sig-copy-col h3 {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.04;
  color: #1B1E19;
}
.sig-copy-col p {
  font-size: 15px;
  line-height: 1.55;
  color: #363A33;
  margin: 0;
}
.sig-note-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}
.sig-note-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  font-size: 13px;
  color: #1B1E19;
}
.sig-note-pill img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.sig-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.sig-price {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  color: #1B1E19;
}

/* 4. Minimalist Couture Collection Gallery */
.collection-band { padding-block: clamp(68px, 8vw, 120px); border-top: 1px solid var(--border); }
.collection-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.editorial-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.editorial-tabs { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.editorial-tab {
  position: relative;
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.editorial-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.editorial-tab.is-active { color: var(--ink); font-weight: 500; }
.editorial-tab.is-active::after { transform: scaleX(1); }

.inline-search {
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
  padding: 6px 2px;
  font-size: 13.5px;
  min-width: 210px;
}
.inline-search::placeholder { color: var(--ink-muted); }
.inline-search:focus { outline: none; border-bottom-color: var(--ink); }

.couture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}
.couture-card-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.couture-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  overflow: hidden;
}
.couture-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}
.couture-hover-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 8px);
  background: rgba(242, 241, 236, 0.94);
  color: var(--ink);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}
.couture-card-trigger:hover .couture-media img { transform: scale(1.04); }
.couture-card-trigger:hover .couture-hover-hint { opacity: 1; transform: translate(-50%, 0); }
.couture-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.couture-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin: 0; line-height: 1.15; }
.couture-price { font-size: 14px; color: var(--ink-muted); white-space: nowrap; }
.catalog-empty { padding: 40px 20px; text-align: center; color: var(--ink-muted); }

/* 5. Quiet Scent Finder + Footer */
.finder-band { padding-block: clamp(64px, 7vw, 108px); border-top: 1px solid var(--border); text-align: center; }
.finder-inner { max-width: 620px; margin-inline: auto; }
.finder-inner p { color: var(--ink-muted); margin: 0 0 28px; }
.site-footer { border-top: 1px solid var(--border); padding-block: 44px 88px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-meta { font-size: 13.5px; color: var(--ink-muted); }
.footer-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.floating-switcher {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(242, 241, 236, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(21, 23, 20, 0.08);
}
.switch-item {
  border: 0;
  background: transparent;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
}
.switch-item.is-active { background: var(--ink); color: var(--bg-surface); font-weight: 500; }

/* Native <dialog> Modals & Drawers */
dialog {
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink);
  padding: 0;
  max-width: min(620px, calc(100vw - 24px));
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 24px 72px rgba(21, 23, 20, 0.16);
}
dialog:not([open]) { display: none; }
dialog[open] { display: flex; flex-direction: column; max-height: min(90dvh, 860px); }
dialog.drawer-dialog {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  max-width: min(460px, 100vw);
  border-radius: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 0;
}
dialog.detail-dialog, dialog.panel-dialog { max-width: min(760px, calc(100vw - 24px)); }
dialog:modal { overscroll-behavior: contain; }
dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(21, 23, 20, 0.44);
  backdrop-filter: blur(4px);
}
@media (prefers-reduced-motion: no-preference) {
  dialog[open] {
    transition: opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out), display 0.24s allow-discrete, overlay 0.24s allow-discrete;
    opacity: 1;
    transform: translateY(0);
  }
  @starting-style {
    dialog[open] { opacity: 0; transform: translateY(10px); }
    dialog.drawer-dialog[open] { opacity: 0; transform: translateX(24px); }
  }
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.dialog-title { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin: 0; }
.dialog-close {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
}
.dialog-body { padding: 22px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.detail-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.detail-kicker { display: block; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.detail-sub { margin: 0 0 18px; color: var(--ink-muted); font-size: 14.5px; }
.detail-notes { margin: 0 0 20px; border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.detail-notes > div { display: flex; justify-content: space-between; gap: 12px; }
.detail-notes dt { color: var(--ink-muted); }
.detail-notes dd { margin: 0; text-align: right; font-weight: 500; }
.detail-size-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.size-btn { background: transparent; border: 1px solid var(--border-strong); border-radius: 999px; padding: 9px 12px; font-size: 13px; cursor: pointer; }
.size-btn.is-active { background: var(--ink); color: var(--bg-surface); border-color: var(--ink); }
.detail-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-primary-action {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}
.btn-secondary-action { border: 1px solid var(--border-strong); border-radius: 999px; padding: 11px 22px; font-size: 13px; text-align: center; }

.cart-campaign-banner { padding: 10px 14px; font-size: 13px; background: var(--bg); border: 1px solid var(--border); }
.cart-campaign-banner.is-active-discount { background: var(--bg-sage); border-color: var(--accent); font-weight: 500; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-empty { padding: 24px 16px; text-align: center; border: 1px dashed var(--border-strong); }
.cart-empty p { margin: 0 0 6px; font-weight: 500; }
.cart-empty span { font-size: 13px; color: var(--ink-muted); }
.cart-item { display: flex; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.cart-item img { width: 64px; height: 76px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.cart-item-info > span { color: var(--ink-muted); font-size: 12.5px; }
.cart-qty-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty-btn { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg); cursor: pointer; }
.cart-line-total { margin-left: auto; }
.cart-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-block { display: flex; flex-direction: column; gap: 4px; }
.field-block label { font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.field-block input, .field-block select { padding: 9px 11px; border: 1px solid var(--border-strong); background: #fff; font-size: 13.5px; }
.cart-totals { border-top: 1px solid var(--border); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.total-row { display: flex; justify-content: space-between; }
.total-row.is-discount { color: var(--accent); font-weight: 500; }
.total-row.is-final { font-size: 18px; font-weight: 600; padding-top: 6px; border-top: 1px solid var(--border); }
.wa-preview-box { background: var(--bg); border: 1px solid var(--border); padding: 12px; font-size: 12.5px; white-space: pre-wrap; line-height: 1.5; max-height: 140px; overflow-y: auto; color: var(--ink-muted); }
.dialog-actions-stack { display: flex; flex-direction: column; gap: 8px; }

.finder-step { display: flex; flex-direction: column; gap: 8px; }
.finder-step strong { font-size: 13.5px; font-weight: 500; }
.finder-options { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-opt { border: 1px solid var(--border-strong); background: var(--bg); border-radius: 999px; padding: 7px 15px; font-size: 13px; cursor: pointer; }
.finder-opt.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.finder-results { display: flex; flex-direction: column; gap: 12px; }
.finder-result-card { display: flex; gap: 14px; padding: 12px; background: var(--bg); border: 1px solid var(--border); }
.finder-result-card img { width: 80px; height: 96px; object-fit: cover; flex-shrink: 0; }
.finder-result-info h4 { font-family: var(--font-display); font-size: 24px; margin: 4px 0; font-weight: 400; }
.finder-result-meta { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.finder-result-info p { font-size: 13px; color: var(--ink-muted); margin: 0 0 10px; }
.finder-result-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.finder-add-btn { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 7px 16px; font-size: 12.5px; cursor: pointer; }

.panel-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.panel-tab-btn { background: var(--bg); border: 1px solid var(--border-strong); border-radius: 999px; padding: 7px 16px; font-size: 13px; cursor: pointer; }
.panel-tab-btn.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.panel-order-card { padding: 14px; background: var(--bg); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.panel-order-top, .panel-order-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel-order-items { margin: 0; font-size: 13px; color: var(--ink-muted); }
.panel-status-pill { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: var(--bg-sage); }
.panel-order-actions { display: flex; align-items: center; gap: 10px; }
.panel-advance-btn { background: var(--ink); color: var(--bg-surface); border: 0; border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.panel-price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.panel-price-row span { display: block; font-size: 12px; color: var(--ink-muted); }
.panel-price-inputs { display: flex; gap: 10px; }
.panel-price-inputs label { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.panel-price-inputs input { width: 82px; padding: 5px 8px; border: 1px solid var(--border-strong); }

.mobile-menu-links { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu-links a, .mobile-menu-links button {
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 26px;
  cursor: pointer;
}

.demo-toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--ink);
  color: var(--bg-surface);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
  transform: translateY(10px);
}
.demo-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .couture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .floating-switcher { display: none !important; }
  .site-header { height: 64px; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .header-grid { grid-template-columns: auto 1fr auto; gap: 10px; }
  .brand-wordmark { font-size: clamp(18px, 4.8vw, 24px); letter-spacing: 0.16em; padding-left: 0.16em; }
  .hero { min-height: auto; padding-top: 20px; padding-bottom: 36px; }
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; min-height: 290px; }
  .au-hero-bottle-slot { width: clamp(165px, 44vw, 215px); }

  /* Active Mobile Scroll Choreography — Sticky Notes Stage */
  .au-track { height: 250svh; }
  .au-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; align-items: center; }
  .au-watermark { top: 44%; font-size: clamp(78px, 24vw, 130px); }
  .au-leaf { width: clamp(135px, 38vw, 200px); }
  .au-leaf-mid-l { top: 6%; left: -10%; }
  .au-leaf-mid-r { top: 6%; right: -10%; }
  .au-leaf-fg-l { bottom: 6%; left: -10%; }
  .au-leaf-fg-r { bottom: 6%; right: -10%; }
  .au-sticky-bottle-wrap {
    width: clamp(165px, 44vw, 215px);
    margin-left: calc(clamp(165px, 44vw, 215px) * -0.5);
    margin-top: calc(clamp(165px, 44vw, 215px) * -0.9);
  }
  .au-sticky-inner { grid-template-columns: 1fr; }
  .au-notes-panel { padding-top: 56px; max-width: 100%; }
  .au-notes-panel .section-title { font-size: clamp(28px, 7.6vw, 38px); margin-bottom: 14px; }
  .botanical-list { gap: 10px; }
  .botanical-item { gap: 14px; padding: 8px 4px 10px 0; }
  .botanical-item img { width: 52px; height: 52px; }
  .botanical-item h3 { font-size: 22px; }
  .botanical-item p { font-size: 12.5px; line-height: 1.4; }

  /* Active Mobile Scroll Choreography — Horizontal Signatures Rail */
  .sig-track { height: 280svh; }
  .sig-sticky { position: sticky; top: 0; height: 100svh; width: 100%; overflow: hidden; }
  .sig-header { top: 72px; left: 16px; right: 16px; }
  .sig-header h2 { font-size: clamp(24px, 6.2vw, 32px); }
  .sig-rail { display: flex; width: 300vw; height: 100%; flex-direction: row; }
  .sig-slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: 104px 18px 20px;
    gap: 10px;
    overflow: hidden;
  }
  .sig-wm { top: 38%; font-size: 30vw; }
  .sig-bottle-col { height: clamp(160px, 26svh, 220px); }
  .sig-copy-col { max-width: 360px; margin-inline: auto; }
  .sig-copy-col .eyebrow { margin-bottom: 6px; font-size: 10.5px; }
  .sig-copy-col h3 { font-size: clamp(28px, 7.6vw, 38px); margin-bottom: 8px; }
  .sig-copy-col p { font-size: 13.5px; line-height: 1.48; }
  .sig-note-pills { justify-content: center; gap: 6px; margin: 12px 0 16px; }
  .sig-note-pill { padding: 4px 10px 4px 5px; font-size: 11.5px; gap: 6px; }
  .sig-note-pill img { width: 20px; height: 20px; }
  .sig-cta-row { justify-content: center; gap: 14px; }
  .sig-price { font-size: 17px; }
}
@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .mobile-menu-btn { padding: 6px 12px; font-size: 12px; }
  .cart-trigger { padding: 7px 13px; font-size: 12px; gap: 5px; }
  .hero-notes-strip { grid-template-columns: 1fr; gap: 10px; }
  .couture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .couture-title { font-size: 19px; }
  .cart-form-fields { grid-template-columns: 1fr; }
}

/* Reduced Motion Safe Fallback (overrides both desktop and mobile choreography) */
@media (prefers-reduced-motion: reduce) {
  .au-track { height: auto; padding-block: 64px; }
  .au-sticky { position: static; height: auto; flex-direction: column; gap: 28px; overflow: visible; }
  .au-travel-bottle, .au-leaf { display: none !important; }
  .au-notes-panel { opacity: 1 !important; transform: none !important; pointer-events: auto !important; padding-top: 0; }
  .au-sticky-bottle-wrap { position: static; margin: 0 auto; opacity: 1 !important; transform: none !important; }

  .sig-track { height: auto; }
  .sig-sticky { position: static; height: auto; background: transparent !important; overflow: visible; }
  .sig-header { position: static; padding: 36px 24px 16px; background: rgb(203, 213, 191); }
  .sig-rail { width: 100%; flex-direction: column; transform: none !important; }
  .sig-slide { flex: none; width: 100%; height: auto; padding-block: 56px; overflow: hidden; }
  .sig-slide[data-slide-index="0"] { background: rgb(203, 213, 191); }
  .sig-slide[data-slide-index="1"] { background: rgb(239, 227, 195); }
  .sig-slide[data-slide-index="2"] { background: rgb(218, 205, 191); }
}
