/* =====================================================================
   EBAAD PERFUMES — site styles
   Ink, gold and ivory. Cinzel for display, Cormorant Garamond for
   editorial text, Jost for interface text.
   ===================================================================== */

:root {
  --ink: #0f0c09;
  --ink-2: #17120d;
  --ink-3: #221b14;
  --ink-4: #2e251b;
  --gold: #c9a24d;
  --gold-hi: #f1dca0;
  --gold-lo: #8a6a2b;
  --ivory: #f3ede3;
  --ivory-2: #e7ddcc;
  --text: #ece3d3;
  --text-2: #b8ad9b;
  --text-ink: #2a2118;
  --line: rgba(201, 162, 77, 0.22);
  --line-soft: rgba(236, 227, 211, 0.1);
  --ok: #8fbf95;
  --err: #e08a7a;

  --f-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --f-serif: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --f-ui: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;

  --r-sm: 3px;
  --r: 6px;
  --r-lg: 14px;
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gold-grad: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 30%, var(--gold-hi) 50%, var(--gold) 70%, var(--gold-lo) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 19px/1.6 var(--f-serif);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
body.overlay-open, body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }
code { font-size: .85em; background: var(--ink-3); padding: .1em .4em; border-radius: var(--r-sm); }

.main { flex: 1; outline: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 200; font-family: var(--f-ui); }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ type */
.h1, .h2, .h3, .h4, .h5, h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .02em; color: var(--ivory); }
.h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.h2 { font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.3rem); }
.h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
.h4 { font-size: 1.15rem; }
.h5 { font-family: var(--f-ui); font-size: .82rem; font-weight: 500; letter-spacing: .08em; color: var(--gold); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.5; color: var(--text); max-width: 60ch; }
.muted { color: var(--text-2); }
.small { font-size: .85rem; font-family: var(--f-ui); }
.center { text-align: center; margin-inline: auto; }
.error { color: var(--err); font-family: var(--f-ui); font-size: .92rem; }
.link { color: var(--gold); border-bottom: 1px solid var(--line); font-family: var(--f-ui); font-size: .95rem; transition: color .2s, border-color .2s; display: inline-flex; align-items: center; gap: .35em; }
.link:hover { color: var(--gold-hi); border-color: var(--gold-hi); }
.link .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.6em; border-radius: var(--r-sm);
  font: 500 .92rem/1.2 var(--f-ui); letter-spacing: .06em;
  background: var(--gold-grad); background-size: 200% 100%; background-position: 20% 0;
  color: #1a130a; border: 1px solid var(--gold);
  transition: background-position .6s var(--ease), transform .2s, box-shadow .3s;
}
.btn:hover { background-position: 80% 0; box-shadow: 0 8px 28px -12px rgba(201, 162, 77, .6); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--gold-hi); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(201, 162, 77, .08); box-shadow: none; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--text); position: relative; transition: color .2s, background .2s; }
.icon-btn:hover { color: var(--gold-hi); background: rgba(201, 162, 77, .08); }
.icon-btn .icon { width: 22px; height: 22px; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px; font: 400 .88rem var(--f-ui); color: var(--text); white-space: nowrap; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--gold); background: rgba(201, 162, 77, .07); }
.badge { position: absolute; top: 12px; left: 12px; padding: .25em .7em; font: 500 .72rem var(--f-ui); letter-spacing: .06em; background: var(--ink); color: var(--text); border: 1px solid var(--line-soft); border-radius: var(--r-sm); }
.badge-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); position: static; display: inline-block; }
.card-media .badge-gold { position: absolute; }

/* ------------------------------------------------------------ announcement + header */
.announce { background: var(--gold-grad); color: #1a130a; text-align: center; font: 500 .8rem/1 var(--f-ui); letter-spacing: .06em; padding: .7em var(--pad); }
.announce a { display: block; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 12, 9, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(15, 12, 9, .94); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 50px; height: auto; }
.brand-word { font: 500 1.25rem var(--f-display); letter-spacing: .32em; color: var(--gold-hi); }
.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, 1.6vw, 26px); align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { font: 400 .9rem var(--f-ui); letter-spacing: .04em; padding: 10px 0; color: var(--text); transition: color .2s; white-space: nowrap; }
.nav-item > a:hover, .nav-item > a.active { color: var(--gold-hi); }
.nav-highlight > a { color: var(--gold); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.nav-highlight > a:hover { border-color: var(--gold); }
.submenu-toggle { display: none; }
.submenu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 220px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); box-shadow: 0 20px 40px -20px #000; }
.submenu a { display: block; padding: 9px 18px; font: 400 .9rem var(--f-ui); color: var(--text); }
.submenu a:hover { color: var(--gold-hi); background: rgba(201, 162, 77, .06); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--ink); font: 500 .7rem/18px var(--f-ui); text-align: center; }
.menu-btn { display: none; }
.burger { width: 22px; display: grid; gap: 5px; }
.burger i { display: block; height: 1px; background: currentColor; transition: transform .3s, opacity .3s; }
body.menu-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .menu-btn { display: inline-grid; }
  .brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .brand-word { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); display: block; overflow-y: auto;
    padding: 18px var(--pad) 40px; transform: translateX(-100%); transition: transform .35s var(--ease); z-index: 49;
  }
  body.menu-open .primary-nav { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); }
  .nav-item > a { flex: 1; padding: 16px 0; font: 400 1.4rem var(--f-display); letter-spacing: .03em; }
  .nav-highlight > a { border: 0; padding: 16px 0; color: var(--gold); }
  .submenu-toggle { display: grid; place-items: center; width: 48px; height: 48px; }
  .submenu-toggle span { width: 10px; height: 10px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); transition: transform .25s; }
  .nav-item.open .submenu-toggle span { transform: rotate(-135deg); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; background: none; border: 0; box-shadow: none; padding: 0 0 12px 8px; }
  .nav-item.open .submenu { display: block; }
  .has-menu:hover .submenu { display: none; }
  .nav-item.open:hover .submenu { display: block; }
  .nav-mobile-extra { display: grid; gap: 14px; padding-top: 26px; font-family: var(--f-ui); color: var(--text-2); }
}
@media (max-width: 420px) { .account-btn { display: none; } }

/* ------------------------------------------------------------ boot / maintenance */
.boot { min-height: 70vh; display: grid; place-items: center; }
.boot img { width: 110px; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .45; transform: scale(.97); } }
.maint { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 24px; text-align: center; padding: 40px; }
.maint img { width: min(280px, 70vw); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - 34px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 80vw; height: 120%; background: radial-gradient(closest-side, rgba(201, 162, 77, .22), transparent 70%); z-index: -1; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-block: 60px 90px; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(4rem, 2rem + 10vw, 10.5rem); letter-spacing: .14em; line-height: .95; margin: 0 0 .25em; color: var(--gold); }
.sweep {
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 35%, #fff4d2 48%, var(--gold) 60%, var(--gold-lo) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero.play .sweep { animation: sweep 2.8s .3s var(--ease) forwards; }
@keyframes sweep { to { background-position: 0 0; } }
.hero-sub { font: italic 400 clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem)/1.3 var(--f-serif); color: var(--ivory); max-width: 22ch; margin-bottom: 1.4em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-copy > * { opacity: 0; transform: translateY(12px); }
.hero.play .hero-copy > * { animation: rise .9s var(--ease) forwards; }
.hero.play .hero-copy > :nth-child(2) { animation-delay: .5s; }
.hero.play .hero-copy > :nth-child(3) { animation-delay: .75s; }
.hero.static .hero-copy > * { opacity: 1; transform: none; animation: none; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-bottle { position: relative; justify-self: center; width: min(380px, 80%); aspect-ratio: 5 / 7; }
.hero-bottle .tilt-inner { animation: float 7s ease-in-out infinite; }
.hero.static .hero-bottle .tilt-inner { animation: none; }
@keyframes float { 50% { translate: 0 -14px; } }
.hero-bottle img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.hero-mono { position: absolute; left: 27%; top: 38%; width: 46% !important; height: auto !important; filter: none !important; opacity: .95; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: cue 2s infinite; }
@keyframes cue { 60% { transform: translateY(10px); opacity: 0; } }
@media (max-width: 820px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-block: 28px 80px; gap: 10px; }
  .hero-bottle { order: -1; width: min(240px, 62vw); }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
}

/* ------------------------------------------------------------ tilt */
.tilt { perspective: 900px; touch-action: pan-y; }
.tilt-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .1s linear; --lx: 50%; --ly: 40%; }
.tilt-light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(circle at var(--lx) var(--ly), rgba(255, 240, 200, .35), transparent 45%); opacity: .8; }
.bottle-shadow { position: absolute; left: 20%; right: 20%; bottom: -4%; height: 18px; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); filter: blur(4px); }

/* ------------------------------------------------------------ sections */
section { scroll-margin-top: var(--header-h); }
.sec-head { margin: 0 0 28px; max-width: 70ch; }
.sec-head p { color: var(--text-2); margin: 0; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }
.home-moods, .home-featured, .home-collections, .home-journal, .welcome-back, .pdp-similar, .pdp-pair { padding-block: clamp(50px, 7vw, 100px) 0; }
.home-journal { padding-bottom: clamp(50px, 7vw, 100px); }

.mood-row { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.mood-row::-webkit-scrollbar { display: none; }
.mood-row li { scroll-snap-align: start; flex: 1 0 auto; }
.mood-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 132px; height: 132px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; font: 400 .92rem/1.25 var(--f-ui); transition: border-color .25s, background .25s, transform .25s; }
.mood-chip:hover { border-color: var(--gold); background: rgba(201, 162, 77, .06); transform: translateY(-3px); }
.mood-emoji { font-size: 1.9rem; line-height: 1; }

.home-quiz { margin-top: clamp(50px, 7vw, 100px); background: var(--ivory); color: var(--text-ink); }
.home-quiz .h1 { color: var(--text-ink); }
.home-quiz .lead { color: #4a3d2e; }
.quiz-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.quiz-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid rgba(138, 106, 43, .4); }
.quiz-steps li { counter-increment: s; display: flex; gap: 18px; align-items: baseline; padding: 14px 0 14px 22px; font: 400 1.35rem var(--f-serif); }
.quiz-steps li::before { content: counter(s); font: 500 .8rem var(--f-ui); color: var(--gold-lo); }
@media (max-width: 760px) { .quiz-teaser { grid-template-columns: 1fr; gap: 24px; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 45%), 1fr)); gap: clamp(14px, 2vw, 26px); }
.grid-mini { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 45%), 1fr)); }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* product card */
.card { position: relative; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, var(--ink-4), var(--ink-2) 70%); border: 1px solid var(--line-soft); transition: border-color .3s; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12% 14% 8%; transition: transform .6s var(--ease); }
.card-noimg { display: grid; place-items: center; height: 100%; font: 3rem var(--f-display); color: var(--gold); }
.card-link:hover .card-media { border-color: var(--line); }
.card-link:hover .card-media img { transform: translateY(-6px) scale(1.03); }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font: 500 1.08rem/1.25 var(--f-display); letter-spacing: .03em; margin: 0; color: var(--ivory); }
.card-traits { font: 400 .82rem/1.4 var(--f-ui); color: var(--text-2); margin: 0; }
.card-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; }
.price { font: 400 .98rem var(--f-ui); color: var(--gold-hi); }
.price s { color: var(--text-2); font-size: .85em; margin-left: .3em; }
.ws-price { display: block; font: 500 .78rem var(--f-ui); color: var(--ok); width: 100%; }
.rank { position: absolute; top: 10px; right: 12px; font: 500 1.1rem var(--f-display); color: var(--gold); }
.card-mini .card-title { font-size: .95rem; }
.stars { color: var(--gold); font-size: .95rem; letter-spacing: .08em; font-family: var(--f-ui); display: inline-flex; gap: 6px; align-items: baseline; }
.stars .dim { color: rgba(201, 162, 77, .25); }
.stars.small { font-size: .78rem; }
.stars-num { color: var(--text-2); letter-spacing: 0; }

/* collections */
.collection-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.collection-rail li { scroll-snap-align: start; }
.collection-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 22px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 38%, var(--ink-2)) 0%, var(--ink-2) 75%); transition: border-color .3s, transform .3s; }
.collection-tile:hover { border-color: var(--accent); transform: translateY(-3px); }
.ct-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.ct-bottles { display: flex; justify-content: center; align-items: end; margin: 0 0 auto; padding-top: 6px; }
.ct-bottles img { width: 64px; height: 88px; object-fit: contain; margin-inline: -6px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); transition: transform .4s var(--ease); }
.ct-bottles img:nth-child(2) { width: 76px; height: 104px; z-index: 1; }
.collection-tile:hover .ct-bottles img { transform: translateY(-4px); }
.ct-name, .ct-tag { position: relative; }
.ct-name { font: 500 1.25rem/1.2 var(--f-display); color: var(--ivory); }
.ct-tag { font-size: 1rem; color: var(--text-2); font-style: italic; margin-top: 4px; }
.collection-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.collection-card { position: relative; display: grid; min-height: 320px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 40%, var(--ink-2)), var(--ink-2) 80%); transition: border-color .3s; }
.collection-card:hover { border-color: var(--accent); }
.cc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cc-bottles { display: flex; justify-content: center; align-items: end; gap: 0; padding: 26px 20px 0; }
.cc-bottles img { width: 30%; margin-inline: -3%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.cc-bottles img:nth-child(2) { width: 36%; z-index: 1; }
.cc-text { position: relative; align-self: end; padding: 20px 22px 22px; background: linear-gradient(transparent, rgba(15, 12, 9, .85) 40%); }
.cc-text p { margin: 0 0 4px; font-style: italic; color: var(--text-2); }

/* split cards */
.home-split { padding-block: clamp(50px, 7vw, 100px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.split-card { padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.split-card p { color: var(--text-2); max-width: 44ch; }
.split-disc { background: radial-gradient(120% 120% at 100% 0%, rgba(201, 162, 77, .18), var(--ink-2) 60%); }
.disc-price { font-family: var(--f-ui); font-size: .95rem; color: var(--gold-hi) !important; }

/* story */
.home-story { margin-top: clamp(50px, 7vw, 100px); background: var(--ivory); color: var(--text-ink); }
.story-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.story-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-lg); }
.story-mono { object-fit: contain; background: var(--ink); padding: 12%; }
.story-title { color: var(--text-ink) !important; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
.home-story .lead { color: #4a3d2e; }
.home-story .link { color: var(--gold-lo); border-color: rgba(138, 106, 43, .4); }
@media (max-width: 760px) { .story-inner { grid-template-columns: 1fr; } .story-img { max-height: 300px; } }

/* journal */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.journal-card { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.journal-card img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); margin-bottom: 8px; }
.journal-card p { color: var(--text-2); margin: 0; }
.journal-card:hover .h3, .journal-card:hover .h4 { color: var(--gold-hi); }

/* ------------------------------------------------------------ page hero / shop */
.page-hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); overflow: hidden; }
.page-hero.has-accent { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, var(--ink)) 0%, var(--ink) 100%); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: -1; }
.page-hero .lead { color: var(--text-2); }
.crumbs { font: 400 .85rem var(--f-ui); color: var(--text-2); margin-bottom: .6em; }
.crumbs a:hover { color: var(--gold-hi); }
.mood-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.mood-strip::-webkit-scrollbar { display: none; }
.shop { padding-bottom: 80px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; padding: 16px 0 20px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 14px; }
.field-inline { display: grid; gap: 4px; font: 400 .75rem var(--f-ui); color: var(--text-2); letter-spacing: .04em; }
.field-inline select { min-width: 140px; }
.filters-toggle { display: none; margin-bottom: 14px; }
.result-count { font: 400 .85rem var(--f-ui); color: var(--text-2); }
@media (max-width: 760px) {
  .filters-toggle { display: inline-flex; }
  .filters { display: none; }
  .filters.open { display: grid; grid-template-columns: 1fr 1fr; }
  .field-inline select { min-width: 0; width: 100%; }
}
.empty-state { text-align: center; padding: 60px 0; }
.empty-state img { margin: 0 auto 24px; width: 200px; }
.empty-state p { margin-inline: auto; max-width: 52ch; }
.empty-state .btn { margin: 4px; }

/* ------------------------------------------------------------ forms */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; background: var(--ink-2); border: 1px solid rgba(236, 227, 211, .16);
  border-radius: var(--r-sm); font: 400 1rem var(--f-ui); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 77, .18); }
input::placeholder, textarea::placeholder { color: #7d7466; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.field { display: grid; gap: 6px; font: 400 .85rem var(--f-ui); color: var(--text-2); margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.span-2 { grid-column: span 2; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } }
.check { display: flex; gap: 10px; align-items: flex-start; font: 400 .9rem/1.45 var(--f-ui); margin-bottom: 12px; color: var(--text); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; }
.card-panel { background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); margin-bottom: 18px; }
.notice { padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(201, 162, 77, .07); font: 400 .92rem var(--f-ui); }
.notice-error { border-color: rgba(224, 138, 122, .4); background: rgba(224, 138, 122, .08); color: var(--err); }

/* ------------------------------------------------------------ product page */
.pdp-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); padding-block: 30px 60px; align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-stage { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: radial-gradient(70% 60% at 50% 40%, rgba(201, 162, 77, .16), transparent 70%), var(--ink-2); border: 1px solid var(--line-soft); padding: 8%; }
.pdp-stage img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); user-select: none; -webkit-user-drag: none; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { width: 72px; height: 72px; border-radius: var(--r); border: 1px solid var(--line-soft); background: var(--ink-2); padding: 6px; flex-shrink: 0; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.on { border-color: var(--gold); }
.touch-hint { display: none; margin-top: 10px; }
@media (hover: none) { .touch-hint { display: block; } }
.pdp-fams { font: 400 .8rem var(--f-ui); letter-spacing: .08em; color: var(--gold); margin-bottom: .6em; }
.pdp-name { font: 500 clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem)/1.05 var(--f-display); margin: 0 0 .25em; }
.pdp-rating { display: inline-block; margin-bottom: .6em; }
.pdp-tagline { font-style: italic; font-size: 1.35rem; color: var(--text); }
.pdp-price { margin: 18px 0; }
.price-big { font: 400 1.7rem var(--f-ui); color: var(--gold-hi); }
.pdp-price s { color: var(--text-2); font-family: var(--f-ui); }
.ws-box { margin: 10px 0 0; padding: 12px 14px; border-left: 2px solid var(--ok); background: rgba(143, 191, 149, .07); font: 400 .9rem/1.5 var(--f-ui); }
.variants { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.variants legend { font: 400 .82rem var(--f-ui); color: var(--text-2); margin-bottom: 8px; width: 100%; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: grid; gap: 2px; padding: 10px 18px; border: 1px solid rgba(236, 227, 211, .18); border-radius: var(--r-sm); font: 500 .95rem var(--f-ui); cursor: pointer; transition: border-color .2s, background .2s; }
.variant small { font-weight: 400; color: var(--text-2); font-size: .8rem; }
.variant input:checked + span { border-color: var(--gold); background: rgba(201, 162, 77, .09); }
.variant input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.variant input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.btn-add { flex: 1; white-space: nowrap; }
@media (max-width: 560px) { .buy-row { flex-wrap: wrap; } .btn-add { flex-basis: 100%; order: 3; } .qty-lg { flex: 1; justify-content: space-between; } }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(236, 227, 211, .18); border-radius: var(--r-sm); }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--text); }
.qty button:disabled { opacity: .3; }
.qty .icon { width: 16px; height: 16px; }
.qty span { min-width: 26px; text-align: center; font-family: var(--f-ui); }
.qty-lg button { width: 42px; height: 48px; }
.wish { border: 1px solid rgba(236, 227, 211, .18); border-radius: var(--r-sm); width: 50px; height: auto; }
.wish.on { color: var(--gold); }
.wish.on .icon { fill: currentColor; }
.stock-note { color: var(--gold); min-height: 1.3em; margin: 8px 0 18px; }
.pdp-desc { font-size: 1.12rem; color: var(--text); }
.perfect { margin: 26px 0; }
.perfect ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perfect li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font: 400 .88rem var(--f-ui); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.facts dt { font: 400 .78rem var(--f-ui); color: var(--text-2); letter-spacing: .05em; }
.facts dd { margin: 4px 0 0; font: 400 1rem var(--f-ui); }
@media (max-width: 860px) {
  .pdp-top { grid-template-columns: 1fr; padding-top: 12px; }
  .pdp-gallery { position: static; }
  .pdp-stage { aspect-ratio: 1 / 1; max-width: 460px; margin-inline: auto; }
}

.pdp-profile { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); padding-block: clamp(50px, 7vw, 90px); background: var(--ivory); color: var(--text-ink); border-radius: var(--r-lg); max-width: calc(var(--wrap) - 2 * var(--pad)); padding-inline: clamp(22px, 4vw, 60px); }
.pdp-profile .h2 { color: var(--text-ink); }
.pdp-profile .muted { color: #6b5d4c; }
@media (max-width: 760px) { .pdp-profile { grid-template-columns: 1fr; margin-inline: var(--pad); width: auto; } }
.profile-rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.profile-rows li { display: grid; grid-template-columns: 110px 1fr; align-items: center; font: 400 .95rem var(--f-ui); }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold-lo); }
.dots i.on { background: var(--gold); border-color: var(--gold); }
.char { display: grid; grid-template-columns: 58px 1fr 58px; gap: 14px; align-items: center; font: 400 .88rem var(--f-ui); margin: 20px 0; }
.char span:last-child { text-align: right; }
.char-track { position: relative; height: 2px; background: linear-gradient(90deg, rgba(138, 106, 43, .25), rgba(138, 106, 43, .6), rgba(138, 106, 43, .25)); }
.char-track i { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 162, 77, .22); }
.account .profile-rows li, .card-panel .profile-rows li { color: var(--text); }

/* smell journey */
.journey { --stage: #c9a24d; position: relative; margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; }
.journey-visual { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: grid; place-items: center; overflow: hidden; }
.orb { position: absolute; width: min(42vw, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--stage) 85%, white 15%), var(--stage) 35%, transparent 70%); filter: blur(14px); opacity: .75; transition: background 1.2s var(--ease); animation: drift 12s ease-in-out infinite; }
.orb-2 { width: min(28vw, 340px); translate: 30% 25%; opacity: .45; animation-duration: 16s; animation-direction: reverse; }
@keyframes drift { 50% { transform: translate(-6%, 4%) scale(1.06); } }
.journey.static .orb { animation: none; transition: none; }
.journey-now { position: relative; font: 400 clamp(1.3rem, 1rem + 1.4vw, 2.2rem) var(--f-display); letter-spacing: .12em; color: var(--ivory); text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.journey-steps { padding-block: 10vh; }
.journey-title { margin-bottom: 0; }
.journey-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .6s; }
.journey-step.on, .journey.static .journey-step { opacity: 1; }
.journey-num { font: 400 .82rem var(--f-ui); color: var(--gold); }
.note-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.note-list li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(236, 227, 211, .05); border: 1px solid var(--line-soft); font-size: 1.2rem; }
.note-list li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.journey-down { margin-top: 30px; color: var(--gold); font-size: 1.4rem; }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; }
  .journey-visual { top: var(--header-h); height: 38vh; z-index: 0; }
  .orb { width: 70vw; } .orb-2 { width: 44vw; }
  .journey-steps { position: relative; z-index: 1; padding-top: 0; }
  .journey-step { min-height: 60vh; background: linear-gradient(transparent, var(--ink) 20%); padding-top: 40px; }
}

/* reviews */
.reviews { padding-block: clamp(50px, 7vw, 90px) 0; }
.review-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 30px; padding: 22px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); margin-bottom: 26px; font-family: var(--f-ui); font-size: .9rem; }
.review-summary > div { display: grid; gap: 4px; }
.review-summary span { color: var(--text-2); }
.review-summary .lasted { grid-column: span 2; }
@media (max-width: 560px) { .review-summary .lasted { grid-column: auto; } }
.bar-row { display: grid; grid-template-columns: 80px 1fr 24px; align-items: center; gap: 10px; }
.bar-row em { font-style: normal; font-size: .82rem; }
.bar { height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); }
.review-list { list-style: none; margin: 0; padding: 0; }
.review { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.review-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-family: var(--f-ui); margin-bottom: 6px; }
.review-tags { display: flex; flex-wrap: wrap; gap: 6px; color: var(--text-2); }
.review-tags span { padding: 3px 10px; border: 1px solid var(--line-soft); border-radius: 999px; }
.reply { margin-left: 18px; padding-left: 14px; border-left: 2px solid var(--gold); color: var(--text-2); }
.review-form { max-width: 720px; }
.review-form .form-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 14px; }
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; }
.rate legend { font: 400 .85rem var(--f-ui); color: var(--text-2); margin-bottom: 4px; width: 100%; }
.rate input { position: absolute; opacity: 0; width: 1px; }
.rate label { font-size: 1.6rem; color: rgba(201, 162, 77, .25); cursor: pointer; padding: 0 2px; line-height: 1; transition: color .15s; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--gold); }
.rate input:focus-visible + label { outline: 2px solid var(--gold-hi); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pills legend { font: 400 .85rem var(--f-ui); color: var(--text-2); width: 100%; margin-bottom: 6px; }
.pills input { position: absolute; opacity: 0; }
.pills span { display: inline-block; padding: 8px 16px; border: 1px solid rgba(236, 227, 211, .18); border-radius: 999px; font: 400 .88rem var(--f-ui); cursor: pointer; }
.pills input:checked + span { border-color: var(--gold); background: rgba(201, 162, 77, .12); color: var(--gold-hi); }
.pills input:focus-visible + span { outline: 2px solid var(--gold-hi); }

/* ------------------------------------------------------------ quiz / gift / match experiences */
.experience { min-height: 70vh; padding-block: clamp(40px, 6vw, 80px); background: radial-gradient(60% 50% at 50% 0%, rgba(201, 162, 77, .12), transparent 70%); }
.exp-inner { text-align: center; }
.exp-intro img { margin: 0 auto 18px; }
.exp-intro .lead { margin-inline: auto; }
.gift-mark { font-size: 3rem; margin: 0; }
.flow { text-align: left; max-width: 720px; margin: 0 auto; }
.flow-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-ui); font-size: .88rem; color: var(--text-2); min-height: 32px; }
.flow-progress { height: 2px; background: var(--ink-3); margin: 10px 0 40px; }
.flow-progress span { display: block; height: 100%; background: var(--gold); transition: width .5s var(--ease); }
.flow-q { text-align: center; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); outline: none; margin-bottom: 30px; }
.flow-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.flow-options.many { grid-template-columns: repeat(auto-fit, minmax(min(160px, 45%), 1fr)); }
.flow-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 110px; padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2); font: 400 1rem/1.3 var(--f-ui); text-align: center; transition: border-color .2s, background .2s, transform .15s; }
.flow-opt:hover { border-color: var(--gold); transform: translateY(-2px); }
.flow-opt.on { border-color: var(--gold); background: rgba(201, 162, 77, .14); }
.flow-emoji { font-size: 1.8rem; line-height: 1; }
.result { text-align: center; margin-bottom: 30px; }
.result-kicker { font: 400 .9rem var(--f-ui); color: var(--gold); letter-spacing: .06em; margin-bottom: .3em; }
.result-name { font: 400 clamp(2.4rem, 1.6rem + 3.2vw, 4.4rem)/1.05 var(--f-display); margin: 0 0 .3em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: center; margin-top: 18px; }
.found { margin: 50px 0 26px; }
.rec-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 18px; text-align: left; }
.rec { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--ink-2); }
.rec-title { font: 500 1.3rem var(--f-display); color: var(--ivory); margin-bottom: .2em; }
.rec-traits { font: 500 .92rem var(--f-ui); color: var(--gold); margin-bottom: .4em; }
.why { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.why li { font: 400 .8rem var(--f-ui); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 600px) { .rec { grid-template-columns: 110px 1fr; gap: 14px; padding: 12px; } .rec .card-body { display: none; } }
.gift-top { display: grid; grid-template-columns: 240px 1fr; gap: 30px; text-align: left; align-items: center; margin-top: 20px; }
@media (max-width: 640px) { .gift-top { grid-template-columns: 1fr; text-align: center; } .gift-top .card { max-width: 240px; margin: 0 auto; } }
.typeahead { position: relative; max-width: 520px; margin: 26px auto 12px; text-align: left; }
.typeahead input { min-height: 56px; font-size: 1.1rem; }
.ta-list { list-style: none; margin: 4px 0 0; padding: 6px 0; position: absolute; left: 0; right: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); z-index: 5; max-height: 320px; overflow-y: auto; }
.ta-list li { padding: 10px 16px; cursor: pointer; font-family: var(--f-ui); }
.ta-list li span { color: var(--text-2); font-size: .88rem; }
.ta-list li:hover, .ta-list li.on { background: rgba(201, 162, 77, .1); }
.ta-none { cursor: default !important; color: var(--text-2); }

/* discovery */
.discovery { padding-bottom: 130px; }
.pick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 45%), 1fr)); gap: 14px; }
.pick { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--ink-2); cursor: pointer; height: 100%; transition: border-color .2s, background .2s; }
.pick input { position: absolute; opacity: 0; }
.pick img { aspect-ratio: 1; object-fit: contain; padding: 8px; }
.pick-name { font: 500 1rem var(--f-display); color: var(--ivory); }
.pick-traits { font: 400 .78rem var(--f-ui); color: var(--text-2); }
.pick-tick { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); }
.pick:has(input:checked) { border-color: var(--gold); background: rgba(201, 162, 77, .1); }
.pick:has(input:checked) .pick-tick { background: var(--gold); box-shadow: inset 0 0 0 5px var(--ink-2); }
.pick:has(input:disabled:not(:checked)) { opacity: .45; cursor: not-allowed; }
.pick:has(input:focus-visible) { outline: 2px solid var(--gold-hi); }
.pick-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom)); background: rgba(15, 12, 9, .95); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.pick-count { margin: 0; font-family: var(--f-ui); }

/* ------------------------------------------------------------ cart */
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.cl-img { width: 76px; height: 90px; border-radius: var(--r); background: var(--ink-3); padding: 6px; display: block; }
.cl-img img { width: 100%; height: 100%; object-fit: contain; }
.cl-set { display: flex; padding: 4px; }
.cl-set img { width: 34%; margin-right: -8%; }
.cl-info { display: grid; gap: 6px; justify-items: start; }
.cl-name { font: 500 1rem var(--f-display); color: var(--ivory); }
.cl-var { margin: 0; font: 400 .82rem var(--f-ui); color: var(--text-2); }
.cl-price { font-family: var(--f-ui); color: var(--gold-hi); }
.cart-total { display: flex; justify-content: space-between; padding: 18px 0 6px; font: 400 1.1rem var(--f-ui); }
.cart-total strong { color: var(--gold-hi); font-weight: 500; }
.cart-empty { text-align: center; padding: 40px 0; }
.cart-page { padding-block: 40px 80px; }
.free-bar { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; font-family: var(--f-ui); font-size: .9rem; }
.free-bar p { margin: 0 0 8px; }
.free-bar strong { color: var(--gold-hi); font-weight: 500; }
.free-track { height: 4px; border-radius: 2px; background: var(--ink-3); overflow: hidden; }
.free-track span { display: block; height: 100%; background: var(--gold-grad); transition: width .6s var(--ease); }
.complete { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.sugg { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.sugg a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r); transition: background .2s; font-family: var(--f-ui); font-size: .9rem; }
.sugg a:hover { background: var(--ink-3); }
.sugg img { width: 52px; height: 60px; object-fit: contain; }
.sugg strong { display: block; font-weight: 500; }
.sugg em { font-style: normal; color: var(--text-2); font-size: .8rem; }

/* ------------------------------------------------------------ overlays */
.overlay { position: fixed; inset: 0; z-index: 100; }
.overlay-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, .7); opacity: 0; transition: opacity .3s; }
.overlay.in .overlay-backdrop { opacity: 1; }
.overlay-panel { position: absolute; background: var(--ink); transition: transform .35s var(--ease); }
.search-overlay .overlay-panel { top: 0; left: 0; right: 0; max-height: 90vh; overflow-y: auto; padding: 20px 0 30px; border-bottom: 1px solid var(--line); transform: translateY(-100%); }
.search-overlay.in .overlay-panel { transform: none; }
.search-box { display: flex; gap: 10px; align-items: center; }
.search-box input { min-height: 58px; font: 400 1.3rem var(--f-serif) !important; }
.search-live { padding-top: 22px; }
.understood { font: 400 .88rem var(--f-ui); color: var(--gold); }
.cart-drawer .overlay-panel { top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; border-left: 1px solid var(--line); transform: translateX(100%); }
.cart-drawer.in .overlay-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.drawer-head .h3 { margin: 0; font-size: 1.15rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px 30px; }

.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 300; width: min(92vw, 420px); }
.toast { padding: 12px 18px; border-radius: var(--r); background: var(--ivory); color: var(--text-ink); font: 400 .92rem var(--f-ui); box-shadow: 0 14px 40px -10px #000; animation: rise .3s var(--ease); border-left: 3px solid var(--gold); }
.toast-error { border-left-color: #b4432f; }
.toast-info { border-left-color: var(--gold-lo); }
.toast.out { opacity: 0; transition: opacity .4s; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); color: var(--gold-hi); border: 1px solid var(--gold); box-shadow: 0 10px 30px -10px #000; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 26px; height: 26px; }
body[data-page="discovery"] .wa-float, body[data-page="checkout"] .wa-float { bottom: 90px; }

/* ------------------------------------------------------------ checkout, track, account */
.checkout { padding-block: 30px 80px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.checkout-side { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } .checkout-side { position: static; } }
.delivery-options { display: grid; gap: 10px; margin-bottom: 18px; }
.dopt { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid rgba(236, 227, 211, .16); border-radius: var(--r); cursor: pointer; font-family: var(--f-ui); }
.dopt span { display: grid; gap: 2px; }
.dopt em { font-style: normal; color: var(--text-2); font-size: .85rem; }
.dopt:has(input:checked) { border-color: var(--gold); background: rgba(201, 162, 77, .07); }
.local-check { margin-top: 4px; }
.local-result { margin-top: 10px; }
.coupon-row { display: flex; gap: 10px; align-items: end; }
.coupon-row .field { flex: 1; margin: 0; }
.coupon-msg { margin-top: 8px; color: var(--gold); }
.sum-lines { list-style: none; margin: 0 0 14px; padding: 0; font: 400 .92rem/1.45 var(--f-ui); }
.sum-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.sum-totals { margin: 0 0 16px; font-family: var(--f-ui); }
.sum-totals div { display: flex; justify-content: space-between; padding: 5px 0; color: var(--text-2); }
.sum-totals dd { margin: 0; color: var(--text); }
.sum-totals .grand { padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.sum-totals .grand dt, .sum-totals .grand dd { color: var(--gold-hi); }

.track { padding-block: 30px 80px; }
.confirm-head { text-align: center; margin-bottom: 26px; }
.confirm-head img { margin: 0 auto 14px; }
.confirm-head .lead { margin-inline: auto; }
.bank { border-color: var(--line); }
.bank-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; margin: 16px 0; font-family: var(--f-ui); }
.bank-details dt { font-size: .78rem; color: var(--text-2); }
.bank-details dd { margin: 2px 0 0; font-size: 1.05rem; }
.bank-details .ref dd, .bank-details .amt dd { color: var(--gold-hi); font-size: 1.25rem; }
.proof { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; display: flex; gap: 16px; padding: 0 0 22px; font-family: var(--f-ui); }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: 0; width: 1px; background: var(--line-soft); }
.timeline li:last-child::before { display: none; }
.timeline li div { display: grid; gap: 2px; }
.timeline .dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); flex-shrink: 0; margin-top: 4px; position: relative; z-index: 1; }
.timeline .done .dot { background: var(--gold); border-color: var(--gold); }
.timeline .done::before { background: var(--gold); }
.timeline .current .dot { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(201, 162, 77, .18); }
.timeline li:not(.done):not(.current) strong { color: var(--text-2); font-weight: 400; }

.account, .auth { padding-block: 40px 80px; }
.auth { text-align: center; }
.auth img { margin: 0 auto 14px; }
.auth .card-panel { text-align: left; max-width: 480px; margin-inline: auto; }
.auth .tabs { justify-content: center; }
.auth-msg { font-family: var(--f-ui); color: var(--gold); text-align: center; }
.account-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.account-head .h1 { margin: 0; }
.account-head .signout { margin-left: auto; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 22px 0; padding-bottom: 2px; border-bottom: 1px solid var(--line-soft); scrollbar-width: none; }
.tabs a, .tabs button { padding: 12px 16px; font: 400 .92rem var(--f-ui); color: var(--text-2); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs .on { color: var(--gold-hi); border-color: var(--gold); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 36px; }
.stat { padding: 20px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--ink-2); display: grid; gap: 4px; transition: border-color .2s; }
.stat:hover { border-color: var(--gold); }
.stat strong { font: 500 1.5rem var(--f-display); color: var(--gold-hi); }
.stat span { font: 400 .85rem var(--f-ui); color: var(--text-2); }
.order-list { list-style: none; margin: 0; padding: 0; }
.order-list li { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; font-family: var(--f-ui); }
.order-list li > div { display: grid; }
@media (max-width: 560px) { .order-list li { grid-template-columns: 1fr 1fr; } }
.status { font: 500 .78rem var(--f-ui); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-hi); white-space: nowrap; }
.status-delivered { color: var(--ok); border-color: rgba(143, 191, 149, .4); }
.status-cancelled { color: var(--err); border-color: rgba(224, 138, 122, .4); }
.rewards-card { text-align: center; }
.points-big { font: 400 3.2rem/1 var(--f-display); color: var(--gold-hi); margin: .2em 0; }
.points-big span { font-size: 1rem; font-family: var(--f-ui); color: var(--text-2); }
.table { width: 100%; border-collapse: collapse; font: 400 .9rem var(--f-ui); }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); }
.table th { font-weight: 500; color: var(--text-2); font-size: .8rem; }
.pos { color: var(--ok); } .neg { color: var(--err); }
.steps-list { font-family: var(--f-ui); line-height: 1.8; }

/* ------------------------------------------------------------ prose pages */
.prose-page { padding-bottom: 80px; }
.page-cover { max-height: 460px; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 30px; }
.prose { font-size: 1.18rem; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose a { color: var(--gold); border-bottom: 1px solid var(--line); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--r); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--gold); font-style: italic; color: var(--text-2); }
.prose strong { color: var(--ivory); font-weight: 600; }
.contact { display: grid; gap: 14px; padding-bottom: 80px; }
.contact-card { display: block; padding: 22px 24px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--ink-2); transition: border-color .2s; }
.contact-card:hover { border-color: var(--gold); }
.contact-card p { margin: 0; color: var(--text-2); font-family: var(--f-ui); }
.search-page-form { display: flex; gap: 10px; max-width: 640px; margin-bottom: 14px; }
.welcome-back .h2 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); }
.ws-body { padding-bottom: 80px; }

/* ------------------------------------------------------------ footer */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: var(--ink); font-family: var(--f-ui); font-size: .9rem; }
.maintenance .site-footer { display: none; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; padding-block: 56px 40px; }
.footer-brand img { width: 190px; margin-bottom: 14px; }
.footer-tagline { font: italic 400 1.15rem var(--f-serif); color: var(--text-2); max-width: 28ch; }
.socials { display: flex; gap: 16px; }
.socials a, .footer-col a { color: var(--text-2); transition: color .2s; }
.socials a:hover, .footer-col a:hover { color: var(--gold-hi); }
.footer-col h3 { font: 500 .8rem var(--f-ui); letter-spacing: .08em; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px 30px; border-top: 1px solid var(--line-soft); color: var(--text-2); font-size: .8rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ mood grid page */
.mood-grid { list-style: none; margin: 0; padding: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.mood-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--ink-2); transition: border-color .25s; }
.mood-card:hover { border-color: var(--gold); }
.mood-card p { color: var(--text-2); margin: 0; }
.mood-bottles { display: flex; margin-top: auto; padding-top: 16px; }
.mood-bottles img { width: 58px; height: 74px; object-fit: contain; margin-right: -12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-copy > * { opacity: 1; transform: none; }
  .sweep { background-position: 0 0; }
}
