/* ==========================================================================
   Aroma D'or — design system
   Fonts: Cormorant Garamond (display) + Manrope (text)
   ========================================================================== */

/* Fonts are served from this site (no Google round trip). One variable file per face covers every weight used. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/cormorant.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f8f5ef;
  --bg-2: #efe9de;
  --surface: #ffffff;
  --ink: #1c1712;
  --ink-2: #3a322a;
  --muted: #71675c;
  --line: rgba(28, 23, 18, .1);
  --line-2: rgba(28, 23, 18, .18);
  --brand: #a38b61;        /* exact logo colour */
  --gold: #7d6844;         /* logo gold, deepened for small text */
  --accent: #917953;       /* italic heading accents */
  --gold-2: #c9b590;
  --gold-light: #d8c8a6;   /* logo gold on dark surfaces */
  --gold-soft: rgba(163, 139, 97, .14);
  --dark: #15110d;
  --dark-2: #211b15;
  --on-dark: #f4ecdf;
  --ok: #2f7d57;
  --danger: #b3412f;
  --wa: #1fa855;
  --shadow-sm: 0 1px 2px rgba(28, 23, 18, .05), 0 2px 8px rgba(28, 23, 18, .04);
  --shadow: 0 10px 30px -12px rgba(28, 23, 18, .18);
  --shadow-lg: 0 30px 60px -24px rgba(28, 23, 18, .3);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --pill: 999px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

:root[data-theme="dark"] {
  --bg: #100d0a;
  --bg-2: #17130f;
  --surface: #1c1713;
  --ink: #f4ecdf;
  --ink-2: #ddd2c2;
  --muted: #a3978a;
  --line: rgba(244, 236, 223, .1);
  --line-2: rgba(244, 236, 223, .2);
  --brand: #a38b61;
  --gold: #bfa67b;
  --accent: #c9b18a;
  --gold-2: #d8c8a6;
  --gold-light: #d8c8a6;
  --gold-soft: rgba(191, 166, 123, .14);
  --dark: #0a0806;
  --dark-2: #17130f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-2); color: #1c1712; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3, .h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.15; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: .01em; }
em, .it { font-style: italic; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section.tight { padding-block: clamp(36px, 5vw, 64px); }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--dark); color: var(--on-dark); }
.section.dark .lead, .section.dark .muted { color: rgba(244, 236, 223, .66); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-head > div { display: grid; gap: 12px; }
.sec-head > .chips { display: flex; justify-content: flex-end; }                 /* filter pills sit in a row, not stacked like the heading block */
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center > div { justify-items: center; }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.stack { display: grid; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .g-2.stack-sm, .g-3.stack-sm { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: var(--pill);
  font-weight: 700; font-size: .92rem; letter-spacing: .02em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--brand); color: #17120c; box-shadow: 0 12px 26px -12px var(--brand); }
.btn-gold { background: linear-gradient(135deg, #cdb993, #a38b61); color: #17120c; }
.btn-gold:hover { box-shadow: 0 14px 30px -12px var(--brand); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { box-shadow: 0 14px 30px -12px var(--wa); transform: translateY(-2px); }
.btn-light { background: var(--on-dark); color: #17120c; }
.btn-light:hover { background: var(--gold-2); }
.btn-outline-light { border: 1px solid rgba(244, 236, 223, .35); color: var(--on-dark); }
.btn-outline-light:hover { background: var(--on-dark); color: #17120c; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: gap .25s var(--ease), border-color .25s, color .25s; }
.link:hover { gap: 14px; border-color: var(--gold); color: var(--gold); }
.link svg { width: 16px; height: 16px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s; }
.icon-btn:hover { background: var(--gold-soft); }
.icon-btn svg { width: 21px; height: 21px; }
.badge-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand); color: #17120c; font-size: .68rem; font-weight: 800; display: grid; place-items: center; line-height: 1;
}
.badge-count[hidden] { display: none; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--dark); color: var(--on-dark); font-size: .78rem; letter-spacing: .06em; overflow: hidden; }
.announce .track { display: flex; gap: 56px; width: max-content; padding: 9px 0; animation: marquee 38s linear infinite; }
.announce span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.announce span::before { content: "✦"; color: var(--gold-2); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .bar { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-grid; gap: 6px; justify-items: start; flex: none; line-height: 1; }
.logo .wordmark { height: 30px; width: auto; }
.logo .by { font-size: .56rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--pill);
  font-size: .9rem; font-weight: 600; transition: background-color .2s, color .2s;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: var(--gold-soft); }
.nav a.active, .nav button.active { color: var(--gold); }
.nav .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav li.open .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 92vw);
  transform: translate(-30%, 8px); opacity: 0; visibility: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav li.open .mega { opacity: 1; visibility: visible; transform: translate(-30%, 0); }
.mega .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; }
.mega a.item { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); transition: background-color .2s; }
.mega a.item:hover { background: var(--gold-soft); }
.mega a.item b { font-size: .92rem; font-weight: 700; }
.mega a.item span { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.mega .promo { border-radius: var(--r); padding: 22px; background: radial-gradient(120% 90% at 100% 0%, #5a4a30 0%, #1c1812 60%); color: var(--on-dark); display: grid; align-content: end; gap: 8px; min-height: 200px; }
.mega .promo h4 { font-family: var(--display); font-size: 1.55rem; font-weight: 500; line-height: 1.1; }
.mega .promo p { font-size: .82rem; opacity: .75; }
.mega .promo .go { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-top: 6px; }
.actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav + .actions { margin-left: 0; }
.burger { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header .actions { margin-left: auto; }
  .logo .wordmark { height: 27px; }
}
@media (max-width: 420px) { .logo .by { display: none; } .hide-xs { display: none !important; } }

/* ---------- Overlay, drawers, search ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(12, 9, 6, .5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 90; width: min(440px, 100vw);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(104%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; box-shadow: var(--shadow-lg);
}
.drawer.left { right: auto; left: 0; transform: translateX(-104%); width: min(380px, 100vw); }
.drawer.show { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.m-nav a, .m-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-family: var(--display); font-size: 1.6rem; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary svg { width: 18px; height: 18px; transition: transform .25s; }
.m-nav details[open] summary svg { transform: rotate(180deg); }
.m-nav .sub a { font-family: var(--text); font-size: .95rem; font-weight: 600; padding: 11px 14px; color: var(--ink-2); }

.search-panel { position: fixed; inset: 0 0 auto 0; z-index: 90; background: var(--bg); transform: translateY(-104%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; box-shadow: var(--shadow-lg); max-height: 100dvh; overflow-y: auto; }
.search-panel.show { transform: none; visibility: visible; }
.search-panel .inner { padding-block: 22px 30px; }
.search-box { display: flex; align-items: center; gap: 14px; border-bottom: 1.5px solid var(--ink); padding-bottom: 12px; }
.search-box svg { width: 24px; height: 24px; flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.3rem); }
.search-box input::placeholder { color: var(--muted); opacity: .7; }
.search-results { margin-top: 20px; display: grid; gap: 6px; }
.s-hit { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r-sm); transition: background-color .2s; }
.s-hit:hover, .s-hit.sel { background: var(--gold-soft); }
.s-hit .thumb { width: 54px; height: 62px; border-radius: 10px; overflow: hidden; flex: none; }
.s-hit .thumb .art { width: 100%; height: 100%; }
.s-hit b { display: block; font-weight: 700; font-size: .95rem; }
.s-hit span { font-size: .8rem; color: var(--muted); }
.s-hit .p { margin-left: auto; font-weight: 700; font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: var(--pill);
  border: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; background: transparent; transition: all .2s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.on, .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Bottle art ---------- */
.art { position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: var(--art-bg, linear-gradient(160deg, #f1e3c8, #d9b77a)); }
.art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 38%, rgba(255, 255, 255, .55), transparent 70%); }
.art::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 9%; height: 7%; z-index: -1; background: radial-gradient(closest-side, rgba(0, 0, 0, .28), transparent); filter: blur(4px); }
.art svg { width: 58%; height: 78%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .18)); transition: transform .6s var(--ease); }
.fam-oud    { --art-bg: linear-gradient(160deg, #ebdfc8 0%, #b39467 55%, #6b5434 100%); --liq1: #6b5232; --liq2: #c6aa7c; }
.fam-sweet  { --art-bg: linear-gradient(160deg, #f6ecda 0%, #dfc59a 55%, #b8955f 100%); --liq1: #a9824a; --liq2: #ecd9b2; }
.fam-floral { --art-bg: linear-gradient(160deg, #fbe9e6 0%, #efbcc0 55%, #d58a9a 100%); --liq1: #d9778d; --liq2: #f6c3cc; }
.fam-fresh  { --art-bg: linear-gradient(160deg, #e6f3f1 0%, #a9d6d3 55%, #6aa9b0 100%); --liq1: #4f9aa6; --liq2: #b6e3e0; }
.fam-woody  { --art-bg: linear-gradient(160deg, #ece6d3 0%, #b9b287 55%, #7c7a4d 100%); --liq1: #6f6a36; --liq2: #c9c088; }
.fam-musk   { --art-bg: linear-gradient(160deg, #faf6ee 0%, #e9decb 55%, #cdbb9e 100%); --liq1: #cbb894; --liq2: #f4ead6; }
.fam-home   { --art-bg: linear-gradient(160deg, #eef2e6 0%, #c7d6b4 55%, #94ad85 100%); --liq1: #86a876; --liq2: #dbe8c9; }
.fam-gift   { --art-bg: linear-gradient(160deg, #2a241b 0%, #463a28 55%, #85704b 100%); --liq1: #a38b61; --liq2: #d8c8a6; }

/* ---------- Product card ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .art { aspect-ratio: 4 / 4.6; }
.card:hover .art svg { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.card .tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--pill); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .9); color: #1c1712; backdrop-filter: blur(6px); }
.tag.gold { background: #1c1712; color: var(--gold-light); }
.tag.sale { background: var(--danger); color: #fff; }
.card .wish { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(255, 255, 255, .85); color: #1c1712; width: 38px; height: 38px; }
.card .wish:hover { background: #fff; }
.wish svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.wish.on svg { fill: #c0392b; stroke: #c0392b; transform: scale(1.12); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }   /* brand and name start at the same height on every card; the price row sits at the bottom */
.card .brand { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.card .name { font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.card .name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .meta { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 800; font-size: 1.02rem; }
.price s { font-weight: 500; color: var(--muted); font-size: .85em; margin-left: 6px; }
.price small { font-weight: 600; color: var(--muted); font-size: .72em; margin-right: 4px; }
.card .add { position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: background-color .25s, transform .25s var(--ease); flex: none; }
.card .add:hover { background: var(--brand); color: #17120c; transform: rotate(90deg); }
.card .add svg { width: 18px; height: 18px; }
.stars { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--muted); }
.stars svg { width: 13px; height: 13px; fill: var(--gold); }
@media (max-width: 520px) {
  .card .body { padding: 12px; }
  .card .name { font-size: 1.12rem; }
  .card .add { width: 38px; height: 38px; }
  .card .tags { top: 8px; left: 8px; }
  .tag { height: 22px; padding: 0 8px; font-size: .6rem; }
}

/* scroller */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: clamp(14px, 2vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); padding: 6px var(--gut) 22px; margin-inline: calc(-1 * var(--gut)); scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
@media (max-width: 520px) { .scroller { grid-auto-columns: 68%; } }
/* arrows and mouse drag for the sliders; phones swipe, so no arrows there */
.rail { position: relative; }
.rail-btn { position: absolute; top: 38%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: none; place-items: center; background: var(--surface, #fff); color: var(--ink, #1c1710); border: 1px solid var(--line, rgba(0,0,0,.12)); box-shadow: 0 6px 22px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease, ease), background-color .2s; cursor: pointer; }
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn.prev { left: -18px; }
.rail-btn.prev svg { transform: scaleX(-1); }
.rail-btn.next { right: -18px; }
.rail-btn:hover { background: var(--gold-soft, #f3e7c4); transform: scale(1.06); }
.rail.can-prev .rail-btn.prev, .rail.can-next .rail-btn.next { opacity: 1; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .rail-btn { display: grid; }
  .rail .scroller { cursor: grab; }
  .rail .scroller.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
  .rail .scroller.dragging a { pointer-events: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px); }
.hero h1 { margin: 18px 0 20px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero .trust div { display: grid; }
.hero .trust b { font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.hero .trust span { font-size: .78rem; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }
.hero-art { position: relative; aspect-ratio: 1 / 1.08; border-radius: 46% 46% var(--r-lg) var(--r-lg) / 34% 34% var(--r-lg) var(--r-lg); background: radial-gradient(90% 70% at 50% 20%, #fbf6ec 0%, #e3d4b8 42%, #a38b61 100%); display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(50% 40% at 50% 34%, rgba(255, 255, 255, .6), transparent 70%); z-index: -1; }
.hero-art svg.bottle { width: 46%; filter: drop-shadow(0 30px 34px rgba(60, 30, 0, .45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(1.5deg); } }
.hero-art .ring { position: absolute; inset: -14px; border-radius: inherit; border: 1px solid var(--gold); opacity: .35; }
.float-card { position: absolute; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--ink); }
.float-card b { display: block; font-size: .92rem; }
.float-card .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 19px; height: 19px; }
.float-card.a { left: -4%; top: 20%; animation: float 8s ease-in-out infinite; }
.float-card.b { right: -3%; bottom: 14%; animation: float 9s ease-in-out -3s infinite; }
@media (max-width: 860px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; width: 80%; }
  .float-card.a { left: -10%; } .float-card.b { right: -10%; }
}

/* page hero (inner pages) */
.page-hero { padding-block: clamp(36px, 6vw, 80px) clamp(28px, 4vw, 52px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin: 14px 0 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 260px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: #fff; isolation: isolate; transition: transform .5s var(--ease); }
.tile:hover { transform: translateY(-5px); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10, 7, 4, .55)); }
.tile .bg { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.tile:hover .bg { transform: scale(1.06); }
.tile svg.deco { position: absolute; right: 8%; top: 10%; width: 34%; max-width: 150px; height: auto; opacity: .92; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .25)); transition: transform .6s var(--ease); z-index: -1; }
.tile:hover svg.deco { transform: translateY(-8px) rotate(4deg); }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tile p { font-size: .88rem; opacity: .88; max-width: 34ch; }
.tile .go { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tile .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tile:hover .go svg { transform: translateX(6px); }
.tile.t1 { grid-column: span 7; min-height: 380px; } .tile.t2 { grid-column: span 5; min-height: 380px; }
.tile.t3, .tile.t4, .tile.t5 { grid-column: span 4; }
.bg-gulf { background: radial-gradient(120% 100% at 80% 0%, #b9975f, #4e3b21 60%, #1f170e); }
.bg-coll { background: radial-gradient(120% 100% at 80% 0%, #53452f, #17140f 70%); }
.bg-home { background: radial-gradient(120% 100% at 80% 0%, #b9cba3, #5d7a56 65%, #2f4230); }
.bg-gift { background: radial-gradient(120% 100% at 80% 0%, #dba0a8, #8a3f55 62%, #40182a); }
.bg-biz  { background: radial-gradient(120% 100% at 80% 0%, #9bb7bd, #37606b 62%, #16303a); }
@media (max-width: 860px) {
  .tile.t1, .tile.t2 { grid-column: span 12; min-height: 280px; }
  .tile.t3, .tile.t4, .tile.t5 { grid-column: span 12; min-height: 200px; }
}

/* ---------- Feature / value items ---------- */
.feature { display: grid; gap: 12px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; align-content: start; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.45rem; }
.feature p { font-size: .92rem; color: var(--muted); }
.section.dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(244, 236, 223, .1); }
.section.dark .feature p { color: rgba(244, 236, 223, .62); }
.section.dark .feature .ic { background: rgba(216, 200, 166, .12); color: var(--gold-light); }
.section.dark .eyebrow, .section.dark em { color: var(--gold-light); }
.usp { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.usp div { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-right: 1px solid var(--line); }
.usp div:last-child { border-right: 0; }
.usp svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.usp b { display: block; font-size: .9rem; line-height: 1.3; }
.usp span { font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .usp { grid-template-columns: 1fr 1fr; } .usp div:nth-child(2) { border-right: 0; } .usp div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 460px) { .usp div { padding: 14px; gap: 10px; } .usp svg { width: 22px; height: 22px; } }

/* brand strip */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.brands a { padding: 14px 28px; border: 1px solid var(--line); border-radius: var(--pill); font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; transition: all .3s var(--ease); background: var(--surface); }
.brands a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* banner */
.banner { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px); background: radial-gradient(90% 120% at 100% 0%, #5c4b2f 0%, #1f1a13 55%, #12100c 100%); color: var(--on-dark); display: grid; gap: 18px; isolation: isolate; }
.banner::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; border: 1px solid rgba(216, 200, 166, .25); z-index: -1; box-shadow: 0 0 0 60px rgba(216, 200, 166, .04), 0 0 0 130px rgba(216, 200, 166, .03); }
.banner h2 { max-width: 18ch; }
.banner p { max-width: 52ch; color: rgba(244, 236, 223, .7); }
.banner .eyebrow, .banner em { color: var(--gold-light); }

/* quote / testimonials */
.quote { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.quote p { font-family: var(--display); font-size: 1.3rem; line-height: 1.35; }
.quote .who { display: flex; align-items: center; gap: 12px; font-size: .84rem; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-weight: 800; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; align-content: start; }
.field label, .label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.textarea { padding: 14px 16px; min-height: 120px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23887a6a' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.field.err .input, .field.err .select { border-color: var(--danger); }
.field .msg { font-size: .78rem; color: var(--danger); display: none; }
.field.err .msg { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px); }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background-color .2s; }
.radio-card:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.radio-card input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.radio-card b { display: block; font-size: .95rem; }
.radio-card span { font-size: .82rem; color: var(--muted); }

/* qty */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--pill); height: 42px; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { color: var(--gold); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-size: .92rem; }
.qty.lg { height: 52px; } .qty.lg button { width: 48px; }

/* ---------- Cart bits ---------- */
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .thumb { width: 76px; height: 88px; border-radius: 12px; overflow: hidden; display: block; }
.line .thumb .art { width: 100%; height: 100%; }
.line h4 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1.15; }
.line .sub { font-size: .78rem; color: var(--muted); margin: 2px 0 8px; }
.line .right { display: grid; justify-items: end; gap: 10px; }
.line .rm { font-size: .76rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line .rm:hover { color: var(--danger); }
.ship-bar { display: grid; gap: 8px; font-size: .84rem; }
.ship-bar .rail { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship-bar .fill { height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--gold-2)); transition: width .6s var(--ease); }
.ship-bar.done .fill { background: var(--ok); }
.totals { display: grid; gap: 10px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 1.15rem; font-weight: 800; padding-top: 12px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 48px 16px; display: grid; gap: 14px; justify-items: center; }
.empty .ic { width: 76px; height: 76px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; }
.empty .ic svg { width: 32px; height: 32px; }
.checkout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.checkout .summary { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { position: static; } }

/* Big screens use more of the width instead of leaving wide empty sides: the container grows with the screen (header, footer and every page share it). */
@media (min-width: 1600px) { :root { --wrap: 1440px; } }
@media (min-width: 1900px) { :root { --wrap: 1640px; } }

/* ---------- Shop layout ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.shop > aside { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters { display: grid; gap: 22px; }
.f-group { display: grid; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.f-group:last-child { border-bottom: 0; }
.f-group h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; padding: 3px 0; }
.check input { appearance: none; -webkit-appearance: none; margin: 0; width: 19px; height: 19px; border: 1.5px solid var(--line-2); border-radius: 6px; display: grid; place-items: center; transition: all .2s; flex: none; cursor: pointer; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); }
.check .n { margin-left: auto; font-size: .76rem; color: var(--muted); }
.range { width: 100%; accent-color: var(--gold); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .select { min-height: 44px; width: auto; font-size: .88rem; font-weight: 600; border-radius: var(--pill); }
.active-f { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-f:empty { display: none; }
.active-f button { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--pill); background: var(--gold-soft); font-size: .8rem; font-weight: 700; }
.active-f button::after { content: "×"; font-size: 1.05rem; line-height: 1; }
.filter-toggle { display: none; }
/* Shop on a wide screen: four perfumes a row (a full page of 24 is six even rows). Below 1280 px it stays at three. */
@media (min-width: 1280px) {
  .shop { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 2.4vw, 36px); }
  .shop #grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; }
  .shop > aside { display: none; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.pdp .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp .gallery .art { aspect-ratio: 1 / 1.1; border-radius: var(--r-lg); }
.pdp .gallery .art svg { width: 48%; height: 72%; }
.pdp .info { display: grid; gap: 20px; }
.pdp h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.pdp .price { font-size: 1.9rem; font-family: var(--display); font-weight: 600; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { min-width: 92px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); text-align: left; display: grid; gap: 1px; transition: all .2s; }
.opt b { font-size: .92rem; } .opt span { font-size: .78rem; color: var(--muted); }
.opt:hover { border-color: var(--ink); }
.opt.on { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.buy { display: flex; gap: 10px; flex-wrap: wrap; }
.buy .btn { flex: 1; min-width: 180px; }
.pyramid { display: grid; gap: 10px; }
.pyr-row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; padding: 12px 16px; border-radius: var(--r-sm); background: var(--bg-2); }
.pyr-row b { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pyr-row .chips { gap: 6px; }
.pyr-row .chips span { padding: 4px 12px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.meter { display: grid; grid-template-columns: 96px 1fr 84px; align-items: center; gap: 12px; font-size: .84rem; }
.meter .rail { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.meter .rail i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--gold-2)); width: 0; transition: width 1s var(--ease) .2s; }
.meter span:last-child { color: var(--muted); text-align: right; font-size: .78rem; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 700; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gold); transition: transform .3s var(--ease); line-height: 1; flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .ans { padding: 0 2px 20px; color: var(--muted); font-size: .94rem; max-width: 70ch; display: grid; gap: 10px; }
.acc.big summary { font-family: var(--display); font-size: 1.4rem; font-weight: 600; padding-block: 22px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp .gallery { position: static; } .pdp .gallery .art { aspect-ratio: 1 / .9; } }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .t { flex: 1; min-width: 0; }
.sticky-buy .t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); font-size: 1.15rem; }
@media (max-width: 860px) { .sticky-buy { display: flex; } }

/* ---------- Steps / timeline ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.step { counter-increment: s; position: relative; padding: 26px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.step::before { content: "0" counter(s); font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--gold); font-style: italic; }
.step h3 { font-size: 1.35rem; } .step p { font-size: .9rem; color: var(--muted); }
.section.dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(244, 236, 223, .1); }
.section.dark .step p { color: rgba(244, 236, 223, .62); }
.section.dark .step::before { color: var(--gold-light); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.timeline { position: relative; display: grid; gap: 34px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), transparent); }
.timeline .t { position: relative; display: grid; gap: 6px; }
.timeline .t::before { content: ""; position: absolute; left: -33px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.timeline .yr { font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--gold); line-height: 1; }
.timeline h3 { font-size: 1.4rem; } .timeline p { color: var(--muted); font-size: .94rem; max-width: 56ch; }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px 18px; border-radius: var(--r); border: 1px solid var(--line); text-align: center; background: var(--surface); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-weight: 600; color: var(--gold); }
.stat span { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Scent finder ---------- */
.quiz { max-width: 860px; margin-inline: auto; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.quiz-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background-color .4s; }
.quiz-progress i.on { background: var(--brand); }
.q-step { display: none; animation: rise .5s var(--ease); }
.q-step.on { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.q-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.q-opt { display: grid; gap: 6px; padding: 22px 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); text-align: left; transition: all .25s var(--ease); align-content: start; }
.q-opt:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.q-opt.on { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.q-opt .em { font-size: 1.7rem; line-height: 1; }
.q-opt b { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.q-opt span { font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) { .q-opts { grid-template-columns: 1fr 1fr; } .q-opt { padding: 16px 14px; } }
.match { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); align-items: center; position: relative; }
.match .art { aspect-ratio: 1 / 1.15; border-radius: 12px; }
.match .pct { position: absolute; top: 14px; right: 16px; font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.match.top { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
@media (max-width: 520px) { .match { grid-template-columns: 96px 1fr; gap: 14px; } }
/* Scent Finder results: the answers, the rank line and the reasons (these had no styles, so the tick icons filled the card) */
.answers { display: flex; flex-wrap: wrap; gap: 8px; }
.answers span { padding: 6px 14px; border-radius: var(--pill); background: var(--gold-soft); font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.match .rank { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.match h3 { font-size: 1.6rem; }
.match .row { margin-top: 4px; }
.why { display: grid; gap: 6px; margin: 12px 0 14px; }
.why li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.why svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }

/* prose */
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 26px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: 8px; padding-left: 4px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.with-toc { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.toc a { padding: 9px 14px; font-size: .9rem; font-weight: 600; color: var(--muted); border-left: 2px solid var(--line); }
.toc a:hover, .toc a.on { color: var(--ink); border-color: var(--gold); }
@media (max-width: 800px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; } .toc a { border: 1px solid var(--line-2); border-radius: var(--pill); } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding-top: clamp(48px, 7vw, 84px); }
.footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 48px; }
.footer .lockup { display: inline-block; }
.footer .lockup img { width: 200px; height: auto; }
.footer p { color: rgba(244, 236, 223, .62); font-size: .9rem; }
.footer h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: .92rem; color: rgba(244, 236, 223, .78); transition: color .2s, padding .25s var(--ease); }
.footer li a:hover { color: var(--gold-light); padding-left: 5px; }
.footer .social { display: flex; gap: 8px; margin-top: 20px; }
.footer .social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(244, 236, 223, .18); display: grid; place-items: center; transition: all .25s; }
.footer .social a:hover { background: var(--gold-light); color: #17120c; border-color: var(--gold-light); }
.footer .social svg { width: 18px; height: 18px; }
.footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(244, 236, 223, .1); font-size: .8rem; color: rgba(244, 236, 223, .5); }
.footer .bottom a:hover { color: var(--gold-light); }
.footer .credit { padding-bottom: 22px; font-size: .8rem; color: rgba(244, 236, 223, .5); }
.footer .credit a { color: var(--gold-light); font-weight: 700; }
.footer .credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer .contact-li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: rgba(244, 236, 223, .78); margin-bottom: 12px; }
.footer .contact-li svg { width: 17px; height: 17px; color: var(--gold-light); flex: none; margin-top: 4px; }
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .top { grid-template-columns: 1fr; } }

/* ---------- Floating + toast ---------- */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .7); transition: transform .3s var(--ease), bottom .3s; }
.wa-fab:hover { transform: scale(1.08) rotate(-6deg); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s ease-out infinite; }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }
@media (max-width: 860px) { body.has-sticky .wa-fab { bottom: 86px; } }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: var(--pill); background: var(--ink); color: var(--bg); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); animation: toast-in .45s var(--ease); pointer-events: auto; }
.toast.out { animation: toast-out .35s var(--ease) forwards; }
.toast svg { width: 20px; height: 20px; color: var(--gold-2); flex: none; }
.toast a { text-decoration: underline; text-underline-offset: 3px; color: var(--gold-2); }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.94); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.8); }

/* ---------- Home page extras ---------- */
.fam-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.fam-tile { display: grid; gap: 4px; text-align: center; }
.fam-tile .art { aspect-ratio: 1 / 1.15; border-radius: 999px 999px var(--r) var(--r); margin-bottom: 12px; transition: transform .5s var(--ease), box-shadow .5s; }
.fam-tile:hover .art { transform: translateY(-6px); box-shadow: var(--shadow); }
.fam-tile:hover .art svg { transform: rotate(-4deg) scale(1.05); }
.fam-tile h3 { font-size: 1.3rem; }
.fam-tile p { font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .fam-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 460px) { .fam-grid { grid-template-columns: repeat(2, 1fr); } }
.coll-stage { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; align-items: end; }
.coll-stage .art { border-radius: 999px 999px var(--r) var(--r); aspect-ratio: 1 / 1.7; }
.coll-stage .art:nth-child(2) { aspect-ratio: 1 / 1.75; }
.coll-stage .art svg { width: 62%; height: 60%; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.ticks svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.section.dark .ticks svg, .banner .ticks svg { color: var(--gold-light); }

.steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps.three { grid-template-columns: 1fr; } }

/* small category tiles: keep the artwork clear of the text */
.tile.t3 svg.deco, .tile.t4 svg.deco, .tile.t5 svg.deco { max-width: 92px; top: 9%; right: 7%; }
.tile.t3 h3, .tile.t4 h3, .tile.t5 h3, .tile.t3 p, .tile.t4 p, .tile.t5 p { max-width: 70%; }
.tile.t1 p, .tile.t2 p, .tile.t1 h3, .tile.t2 h3 { max-width: 62%; }
.footer .bottom { padding-right: 64px; }

/* panels become focusable the moment they open; hide only after sliding away */
.drawer, .search-panel { transition: transform .45s var(--ease), visibility 0s .45s; }
.drawer.show, .search-panel.show { transition: transform .45s var(--ease), visibility 0s; }

/* product page refinements */
.pdp > * { min-width: 0; }
.usp.mini { grid-template-columns: repeat(3, 1fr); }
.usp.mini div { border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
.usp.mini div:last-child { border-right: 0 !important; }
.section.dark .crumbs { color: rgba(244, 236, 223, .55); }
@media (max-width: 1100px) {
  .usp.mini div { flex-direction: column; text-align: center; gap: 8px; padding: 14px 8px; }
  .usp.mini b { font-size: .8rem; }
  .usp.mini span span { font-size: .72rem; }
}
@media (max-width: 860px) {
  .buy .btn { min-width: 0; flex: 1 1 120px; padding-inline: 14px; }
  body.has-sticky .wa-fab { display: none; }
}
@media (max-width: 480px) { .buy .btn { font-size: .86rem; gap: 6px; padding-inline: 10px; } .buy .btn svg { display: none; } }

/* ---------- Brand marks ---------- */
.banner::after { content: ""; position: absolute; right: -30px; bottom: -46px; width: 400px; height: 228px; background: url("../brand/monogram-white.png") no-repeat center / contain; opacity: .07; z-index: -1; pointer-events: none; }
.hero-mono { width: 56%; height: auto; filter: drop-shadow(0 22px 30px rgba(45, 34, 16, .35)); animation: float 7s ease-in-out infinite; }
.mono-sign { width: 64px; height: auto; margin-inline: auto; }
@media (max-width: 520px) { .banner::after { width: 240px; height: 137px; right: -40px; bottom: -30px; } }

/* ---- Product photos (server rendered, WebP) ----
   Cut-out pictures are transparent and sit on the Aroma D'or brand background: soft cream centre, warmer gold edges
   (taken from the brand bottle pictures). One value for every card, page and theme. */
:root { --photo-bg: radial-gradient(ellipse at 50% 40%, #f5ecd6 0%, #f3e9d1 40%, #f0e5c8 75%, #ecddbb 100%); }
.art.photo { background: var(--photo-bg); }
.art.photo::before, .art.photo::after { display: none; }
.art.photo img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; transition: transform .6s var(--ease); }
.card:hover .art.photo img { transform: scale(1.04); }
.art.photo.fill img { object-fit: cover; }                   /* a photo with its own background fills the frame, no cream bands round it */
.card.is-sold .art { opacity: .72; }
.tag.muted { background: rgba(28, 23, 18, .75); color: #fff; }
.no-js .reveal, .reveal { }
.active-f a { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--pill); background: var(--gold-soft); font-size: .8rem; font-weight: 700; }
.active-f a:not([data-x="all"])::after { content: "×"; font-size: 1.05rem; line-height: 1; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs a { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); background: var(--photo-bg); display: block; }
.thumbs a.on { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.inline-ic { display: inline; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; color: var(--gold); }
.card .art-link { display: block; }
.pdp .gallery .art.photo img { object-fit: contain; }

/* ---- Order tracking timeline ---- */
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.track-steps li { display: grid; justify-items: center; gap: 6px; text-align: center; position: relative; padding: 0 6px; color: var(--muted); }
.track-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line-2); z-index: 0; }
.track-steps li:first-child::before { display: none; }
.track-steps li.done::before { background: var(--brand); }
.track-steps .dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: grid; place-items: center; position: relative; z-index: 1; }
.track-steps .dot svg { width: 16px; height: 16px; }
.track-steps li.done .dot { background: var(--brand); border-color: var(--brand); color: #17120c; }
.track-steps li.current b { color: var(--ink); }
.track-steps li.current .dot { box-shadow: 0 0 0 6px var(--gold-soft); }
.track-steps b { font-size: .85rem; font-weight: 700; }
.track-steps small { font-size: .72rem; min-height: 1em; }
@media (max-width: 520px) { .track-steps b { font-size: .74rem; } }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sum-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-line .art { width: 64px; height: 64px; border-radius: 12px; aspect-ratio: 1; }
.sum-line .art svg { width: 70%; height: 80%; }
.sum-line .art img { object-fit: contain; }
.sum-line b { display: block; font-family: var(--text); font-size: .92rem; }

/* ---- Phase 10: newsletter, reviews, countdown, restock ---- */
.nl-bar { display: grid; grid-template-columns: 1fr minmax(280px, 460px); gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.nl-bar h4 { margin: 0 0 4px; }
.nl-bar .nl-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; opacity: .85; }
.nl-bar [data-msg] { min-height: 1.2em; margin-top: 6px; }
@media (max-width: 720px) { .nl-bar { grid-template-columns: 1fr; } }
.announce .cd { font-variant-numeric: tabular-nums; color: var(--gold-2); }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review p { margin: 8px 0 0; }
.review .reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 10px 10px 0; font-size: .92rem; }
.review-box { margin-top: 22px; }
.review-box summary { list-style: none; cursor: pointer; display: inline-flex; }
.review-box summary::-webkit-details-marker { display: none; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
[data-msg].ok { color: var(--ok); }
[data-msg].bad { color: var(--danger); }

/* phone-only parts (shown by mobile.css under 860 px) */
.tabbar, .back-cart, .menu-theme, .m-only { display: none; }
.usp-m, .lead-m { display: none; }
.pinbar { display: none; }
