/* Mah theme. Palette comes from the Ginkgo logo and the tree's autumn leaf. */
@font-face { font-family: Vazirmatn; src: url(../fonts/vazirmatn-arabic-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Vazirmatn; src: url(../fonts/vazirmatn-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: Lalezar; src: url(../fonts/lalezar-arabic-400-normal.woff2) format("woff2"); font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Lalezar; src: url(../fonts/lalezar-latin-400-normal.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF; }

:root {
  --bark: #1C2A1F; --pine: #2F4A2E; --leaf: #3D4F35; --moss: #566A4B;
  --sage: #D6DEC9; --mist: #EDF0E4; --tint: #E4EADA; --white: #fff;
  --gold: #F2B90F; --gold-d: #C99408; --ember: #D9502A;
  --line: rgba(28,42,31,.14);
  --display: Lalezar, Vazirmatn, sans-serif; --body: Vazirmatn, Tahoma, sans-serif;
  --gut: clamp(16px, 4vw, 56px); --sec: clamp(64px, 10vw, 136px);
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
html.locked, html.locked body { overflow: hidden; }
body { margin: 0; background: var(--mist); color: var(--bark); font: 400 16px/1.8 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; 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; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.2; }
h2 { font-size: clamp(30px, 4.4vw, 54px); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1380px; margin-inline: auto; padding-inline: var(--gut); }
.ico { width: 22px; height: 22px; display: block; }
.icon3d { object-fit: contain; filter: drop-shadow(0 10px 14px rgba(28,42,31,.2)); }
.sr, .screen-reader-text, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 8px; right: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.hp { position: absolute; right: -9999px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border-radius: 999px; font-weight: 700; transition: transform .25s var(--ease), background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold); color: var(--bark); }
.btn-gold:hover { background: #ffcc2e; }
.btn-deep { background: var(--bark); color: var(--mist); }
.btn-deep:hover { background: var(--pine); }
.btn-full { width: 100%; }
.btn-grow { flex: 1; }
.btn[disabled] { opacity: .65; cursor: wait; }
.link { flex: none; white-space: nowrap; font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 0 100%; }

/* Header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 40; padding: 14px var(--gut); color: var(--bark); pointer-events: none; }
.head-in { pointer-events: auto; max-width: 1380px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding-inline: 22px; border-radius: 999px; transition: background .3s, box-shadow .3s; }
.site-head.on-dark { color: var(--mist); }
.site-head.stuck, .site-head:not(.on-dark) { color: var(--bark); }
.site-head.stuck .head-in, .site-head:not(.on-dark) .head-in { background: rgba(255,255,255,.97); box-shadow: 0 6px 20px rgba(28,42,31,.08); }
.head-nav { display: flex; gap: 26px; font-weight: 500; font-size: 15px; }
.head-nav a { position: relative; padding: 6px 0; }
.head-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.head-nav a:hover::after { transform: scaleX(1); }
.head-logo img { width: 132px; height: auto; }
.logo-light { display: none; }
.site-head:not(.on-dark) .logo-dark, .site-head.stuck .logo-dark { display: none; }
.site-head:not(.on-dark) .logo-light, .site-head.stuck .logo-light { display: block; }
.head-tools { display: flex; justify-content: flex-end; gap: 4px; }
.tool { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s; }
.tool:hover { background: rgba(127,140,110,.2); }
.count { position: absolute; top: 2px; left: 0; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 9px; background: var(--gold); color: var(--bark); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.count[data-count="0"] { display: none; }
.tabbar { display: none; }

/* Hero */
.hero { background: var(--bark); color: var(--mist); }
.hero-stage { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 92px var(--gut) 0; z-index: 2; background: var(--bark); }
.hero-arch { position: absolute; left: clamp(40px, 13vw, 240px); bottom: 0; width: clamp(320px, 31vw, 500px); height: min(78svh, 700px); background: var(--gold); border-radius: 999px 999px 0 0; will-change: transform; }
.hero-copy { grid-column: 1; position: relative; z-index: 5; }
.hero-title { font-size: clamp(52px, min(8.6vw, 15svh), 150px); line-height: 1.12; }
.hero-title .ln { display: block; overflow: hidden; padding-block: .06em; }
.hero-title [data-w] { display: block; }
/* Zero-width box on the arch's centre axis: the photo is centred by flex overflow, not by a script-applied transform, so it never jumps. */
.hero-bottle-w { position: absolute; left: calc(clamp(40px, 13vw, 240px) + clamp(320px, 31vw, 500px) / 2); bottom: 4svh; width: 0; height: min(58svh, 540px); display: flex; justify-content: center; z-index: 3; will-change: transform; }
/* Bottles differ in shape from visit to visit: the height is fixed and very wide photos are fitted, bottom-aligned. */
.hero-bottle { flex: none; height: 100%; width: auto; max-width: min(38vw, 560px); object-fit: contain; object-position: 50% 100%; }
.hero-leaves { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero-side { margin-top: clamp(14px, 3svh, 30px); max-width: 400px; }
.hero-side p { margin-bottom: 22px; font-size: 17px; color: var(--sage); }
.hero-tag { position: absolute; left: calc(clamp(40px, 13vw, 240px) - 18px); bottom: 12svh; z-index: 5; }
.hero-tag a { display: grid; padding: 12px 18px; border-radius: 14px; background: var(--white); color: var(--bark); font-size: 13px; box-shadow: 0 10px 24px rgba(28,42,31,.2); }
.hero-tag b { font-size: 16px; }
.hero-tag del, .hero-tag .screen-reader-text { display: none; }
.hero-tag ins { text-decoration: none; }
.leaf { position: absolute; width: 110px; }
.l1 { top: 16%; left: 5%; width: 118px; }
.l2 { top: 13%; left: 34%; width: 84px; }
.l3 { top: 66%; left: 39%; width: 96px; }
.l4 { top: 44%; left: 2%; width: 72px; }

/* Brand rail: its gold is what the opened arch hands over to */
.brands { position: relative; z-index: 1; margin-top: -100svh; background: var(--gold); padding-block: clamp(48px, 7vw, 84px); overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); }
.brands-shell { display: contents; }
.brands-head { width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.brands-pin { overflow: hidden; }
.brands-rail { display: flex; gap: clamp(20px, 3vw, 44px); width: max-content; padding-inline: var(--gut); }
.brand { width: clamp(210px, 20vw, 290px); flex: none; display: block; }
.brand-arch { display: grid; place-items: end center; height: clamp(270px, 44svh, 410px); padding: 18px 22px 20px; background: var(--bark); border-radius: 999px 999px 18px 18px; overflow: hidden; transition: background .3s; }
.brand:hover .brand-arch { background: var(--pine); }
.brand-arch img { max-height: 82%; width: auto; max-width: 88%; object-fit: contain; transition: transform .35s var(--ease); }
.brand:hover img { transform: translateY(-10px) scale(1.04); }
.brand-name { display: block; margin-top: 14px; font: 400 clamp(23px, 2.3vw, 32px)/1.3 var(--display); }
.brand-sub { display: block; font-size: 14px; color: rgba(28,42,31,.76); }
.brands-pager { display: none; }

/* Sections and grids */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.deals, .fresh, .moods { padding-block: var(--sec); }
.deals { padding-bottom: calc(var(--sec) * .6); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 3.6vw, 52px) clamp(14px, 2.2vw, 30px); }

/* Product card */
.card { position: relative; display: flex; flex-direction: column; }
.card-arch { display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 12% 11% 8%; background: var(--white); border-radius: 999px 999px 16px 16px; overflow: hidden; }
.card-arch img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.card:hover .card-arch img { transform: scale(1.06) translateY(-4px); }
.card.is-out .card-arch img { opacity: .5; filter: grayscale(.7); }
.card-off { position: absolute; top: 8px; right: 6px; z-index: 2; min-width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--ember); color: var(--white); font-weight: 800; font-size: 15px; rotate: 8deg; }
.card-wish { position: absolute; top: 8px; left: 6px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 14px rgba(28,42,31,.1); transition: transform .2s; }
.card-wish:hover { transform: scale(1.1); }
[data-wish][aria-pressed="true"] svg { fill: var(--ember); stroke: var(--ember); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 4px 0; }
.card-brand { font-size: 13px; color: var(--moss); font-weight: 600; }
.card-title { font: 600 15px/1.65 var(--body); margin-block: 3px 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-title a:hover { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
.card-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.card-add { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bark); color: var(--mist); transition: background .2s, color .2s, transform .2s; }
.card-add:hover { background: var(--gold); color: var(--bark); transform: rotate(90deg); }
.price { font-weight: 800; font-size: 16px; line-height: 1.4; }
.price del { display: block; font-weight: 400; font-size: 13px; color: var(--moss); }
.price ins { text-decoration: none; }
.price .woocommerce-Price-currencySymbol { font-size: .72em; font-weight: 500; }
.price-none { color: var(--moss); font-weight: 600; }
.price-lg { font-size: 26px; }
.price-lg del { font-size: 16px; }

/* Notes story: the bottle inside three scent rings that evaporate one by one, beside a timeline of the notes */
.story { --n-top: #F2B90F; --n-mid: #E3734B; --n-base: #A9C096; background: var(--bark); color: var(--mist); min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.story-in { width: 100%; max-width: 1380px; margin-inline: auto; padding: 96px var(--gut) 32px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story-kicker { display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 999px; background: rgba(242,185,15,.12); color: var(--gold); font-size: 13px; font-weight: 700; }
.story h2 { font-size: clamp(34px, 4.6vw, 64px); }
.story-lead { max-width: 32em; margin-top: 12px; color: var(--sage); }
.notes { --p: 1; position: relative; margin: clamp(14px, 3vh, 36px) 0 clamp(16px, 3vh, 32px); padding: 0 34px 0 0; list-style: none; }
.notes::before, .notes::after { content: ""; position: absolute; top: 22px; bottom: 34px; right: 9px; width: 2px; border-radius: 2px; background: rgba(237,240,228,.14); }
.notes::after { background: linear-gradient(var(--n-top), var(--n-mid), var(--n-base)); transform: scaleY(var(--p)); transform-origin: top; }
.note { --c: var(--n-top); position: relative; padding: clamp(6px, 1.2vh, 12px) 0 clamp(8px, 1.6vh, 16px); transition: opacity .35s var(--ease); }
.note-mid { --c: var(--n-mid); }
.note-base { --c: var(--n-base); }
.note-dot { position: absolute; top: 18px; right: -34px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--c); background: var(--bark); transition: background .3s, box-shadow .3s, transform .3s var(--ease); }
.note-time { display: block; font-size: 13px; color: var(--sage); }
.note-kind { display: block; font-size: 13px; font-weight: 700; color: var(--c); }
.note-name { display: block; font: 400 clamp(22px, min(2.6vw, 4.4svh), 36px)/1.35 var(--display); color: var(--mist); }
.note p { max-width: 30em; margin-top: 2px; font-size: 14px; line-height: 1.9; color: var(--sage); }
/* While the scroll drives it, only the note that is "on the skin now" is bright. */
.story.is-live .note { opacity: .35; }
.story.is-live .note.on { opacity: 1; }
.note.on .note-dot, .story:not(.is-live) .note-dot { background: var(--c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 22%, transparent); transform: scale(1.05); }

/* Square, sized by the shorter of width and screen height so the pinned scene always fits. */
.aura { position: relative; display: grid; place-items: center; width: min(540px, 100%, 68svh); aspect-ratio: 1; min-height: 0; justify-self: center; }
.aura-ring { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.aura-ring i { position: absolute; z-index: 3; top: 0; left: 50%; translate: -50% -50%; padding: 3px 14px; border-radius: 999px; background: var(--bark); font: 700 13px/1.8 var(--body); font-style: normal; white-space: nowrap; }
.ring-top { inset: 0; background: radial-gradient(closest-side, transparent 72%, rgba(242,185,15,.16)); border: 1.5px dashed rgba(242,185,15,.6); }
.ring-top i { color: var(--n-top); border: 1px solid rgba(242,185,15,.5); }
.ring-mid { inset: 12%; background: radial-gradient(closest-side, transparent 64%, rgba(227,115,75,.22)); border: 1.5px solid rgba(227,115,75,.55); }
.ring-mid i { color: var(--n-mid); border: 1px solid rgba(227,115,75,.5); }
.ring-base { inset: 24%; background: radial-gradient(closest-side, rgba(169,192,150,.28), rgba(169,192,150,.1)); border: 1.5px solid rgba(169,192,150,.6); }
.ring-base i { color: var(--n-base); border: 1px solid rgba(169,192,150,.5); }
.aura-bottle { position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -44%; height: 42%; width: auto; max-width: 46%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.aura-clock { position: absolute; z-index: 3; bottom: 2%; left: 50%; translate: -50% 0; display: grid; justify-items: center; min-width: 150px; padding: 8px 20px; border-radius: 18px; background: var(--mist); color: var(--bark); text-align: center; box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.aura-clock b { font: 400 20px/1.4 var(--display); }
/* Facts row: projection and longevity meters, and what the scent suits */
.story-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; }
.meter, .suited { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: rgba(237,240,228,.08); border: 1px solid rgba(237,240,228,.14); font-size: 13px; }
.meter i { display: inline-flex; gap: 3px; }
.meter i b { width: 14px; height: 5px; border-radius: 3px; background: rgba(237,240,228,.2); }
.meter i b.on { background: var(--gold); }
.suited { color: var(--gold); }
.aura-disc { display: none; }

/* Light variant for product pages: their photos are shot on white, so the scene is white too
   and the photo sits in a white disc inside the base ring. */
.story-light { --n-top: #D29E05; --n-mid: #C9562E; --n-base: #5F7A50; min-height: 0; margin-block: clamp(32px, 6vw, 72px); border-radius: 32px; background: var(--white); color: var(--bark); }
.story-light .story-in { padding: clamp(28px, 5vw, 64px); }
.story-light .story-kicker { background: rgba(242,185,15,.18); color: #8a6500; }
.story-light .story-lead, .story-light .note-time, .story-light .note p { color: var(--leaf); }
.story-light .note-name { color: var(--bark); }
.story-light .notes::before { background: var(--line); }
.story-light .note-dot { background: var(--white); }
.story-light .meter, .story-light .suited { background: var(--mist); border-color: var(--line); }
.story-light .meter i b { background: rgba(28,42,31,.14); }
.story-light .meter i b.on { background: var(--bark); }
.story-light .suited { color: var(--pine); font-weight: 600; }
.story-light .aura-ring i { background: var(--white); }
.story-light .ring-top { background: radial-gradient(closest-side, transparent 72%, rgba(242,185,15,.18)); border-color: rgba(210,158,5,.6); }
.story-light .ring-mid { background: radial-gradient(closest-side, transparent 64%, rgba(201,86,46,.14)); border-color: rgba(201,86,46,.5); }
.story-light .ring-base { background: radial-gradient(closest-side, rgba(95,122,80,.12), rgba(95,122,80,.05)); border-color: rgba(95,122,80,.55); }
.story-light .aura-disc { display: block; position: absolute; z-index: 1; inset: 30%; border-radius: 50%; background: var(--white); box-shadow: 0 18px 40px -20px rgba(28,42,31,.35); }
.story-light .aura-bottle { z-index: 2; height: 34%; filter: none; mix-blend-mode: multiply; translate: -50% -50%; }
.story-light .aura-clock { background: var(--bark); color: var(--mist); }
.story-light .aura-clock span { color: var(--sage); }
/* Short screens: the explanation lines go, the timeline itself stays. */
@media (min-width: 900px) and (max-height: 760px) { .note p, .story-lead { display: none; } .story h2 { font-size: clamp(32px, 4vw, 52px); } }
.aura-clock span { font-size: 12px; color: var(--leaf); }

/* Moods */
.mood-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }
.mood { display: grid; justify-items: start; padding: 26px 22px 26px; border-inline-start: 1px solid var(--line); transition: background .3s; }
.mood:first-child { border-inline-start: 0; }
.mood:hover { background: var(--tint); }
.mood .icon3d { width: 116px; height: 116px; transition: transform .45s var(--ease); }
.mood:hover .icon3d { transform: translateY(-8px) rotate(-6deg) scale(1.08); }
.mood b { margin-top: 14px; font: 400 32px/1.3 var(--display); }
.mood span { font-size: 14px; color: var(--leaf); }
.fresh { padding-top: 0; }

/* Perfume finder placeholder */
.soon { display: grid; place-items: center; padding: 104px var(--gut) var(--sec); }
.soon-arch { width: min(560px, 100%); padding: clamp(84px, 13vw, 130px) 28px 48px; background: var(--gold); border-radius: 999px 999px 24px 24px; text-align: center; }
.soon-arch .icon3d { width: 96px; height: 96px; margin: 0 auto 12px; }
.soon-arch h1 { font-size: clamp(32px, 5vw, 50px); }
.soon-arch p { max-width: 26em; margin: 10px auto 24px; }

/* Pay page: the gateway redirect */
.mah-pay { max-width: 560px; margin: 0 auto; padding: 8px 0 var(--sec); text-align: center; }
.mah-pay h1 { font-size: clamp(30px, 5vw, 44px); }
.mah-pay-wait { display: grid; justify-items: center; gap: 12px; margin-block: 22px; color: var(--leaf); }
.mah-pay-wait i { width: 38px; height: 38px; border: 3px solid var(--sage); border-top-color: var(--pine); border-radius: 50%; animation: mah-spin .8s linear infinite; }
@keyframes mah-spin { to { transform: rotate(360deg); } }
.mah-pay .order_details { display: grid; gap: 6px; margin: 0 0 20px; padding: 18px; list-style: none; border-radius: 18px; background: var(--white); text-align: start; }
.mah-pay .order_details li { display: flex; justify-content: space-between; gap: 12px; }
.mah-pay-gate .button, .mah-pay-gate button, .mah-pay-gate input[type=submit] { min-width: 220px; }

/* Promise */
.promise { background: var(--sage); padding-block: calc(var(--sec) * .8); }
.promise-in { display: grid; grid-template-columns: 1fr 1.7fr; gap: 40px; }
.promise h2 { max-width: 7em; }
.promise li { display: flex; gap: 22px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); }
.promise li:last-child { border: 0; }
.promise .icon3d { flex: none; width: 92px; height: 92px; }
.promise b { font-size: 18px; }
.promise p { color: var(--leaf); }

/* Footer */
.site-foot { background: var(--bark); color: var(--sage); padding-block: clamp(56px, 7vw, 92px) 96px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1.3fr; gap: 36px; }
.foot-lead { font-size: 18px; color: var(--mist); max-width: 26em; }
.foot-social { display: flex; gap: 18px; margin-top: 18px; font-weight: 600; color: var(--gold); }
.site-foot h2 { font-size: 21px; color: var(--gold); margin-bottom: 12px; }
.site-foot li { padding-block: 3px; font-size: 15px; }
.site-foot a:hover { color: var(--white); }
.foot-contact { overflow-wrap: anywhere; }
.foot-mark { margin-top: clamp(36px, 6vw, 72px); padding-inline: var(--gut); opacity: .95; }
.foot-mark img { width: 100%; max-width: 1380px; margin-inline: auto; opacity: .16; }
.foot-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 18px; font-size: 13px; color: var(--sage); }
.foot-credit { font-size: 12px; }
.foot-credit a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(214,222,201,.4); transition: color .2s; }
.foot-credit a:hover { color: var(--gold); }

/* Overlays */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(28,42,31,.55); opacity: 0; transition: opacity .25s; }
.scrim.on { opacity: 1; }
.drawer { position: fixed; inset-block: 0; left: 0; z-index: 60; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--mist); transform: translateX(-102%); visibility: hidden; transition: transform .42s var(--ease), visibility .42s; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.js-cart-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cart-lines { flex: 1; overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.cart-line.busy { opacity: .5; pointer-events: none; }
.cart-thumb { aspect-ratio: 4/5; display: block; background: var(--white); border-radius: 42px 42px 10px 10px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-name { font-weight: 600; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.cart-price { font-weight: 700; margin-block: 2px 6px; }
.qty { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--white); }
.qty button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.qty button:hover { background: var(--tint); }
.qty .ico { width: 16px; height: 16px; }
.qty span { min-width: 18px; text-align: center; font-weight: 700; }
.qty-lg button { width: 44px; height: 44px; }
.cart-sum { padding: 16px 22px 22px; border-top: 1px solid var(--line); text-align: center; }
.cart-sum p { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 17px; }
.cart-sum .link { display: inline-block; margin-top: 12px; font-size: 14px; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 30px; text-align: center; }
.search-sheet { position: fixed; inset: 0 0 auto; z-index: 60; background: var(--mist); padding: 22px var(--gut); transform: translateY(-104%); visibility: hidden; transition: transform .38s var(--ease), visibility .38s; }
.search-sheet.is-open { transform: none; visibility: visible; }
.search-sheet form { max-width: 900px; margin-inline: auto; display: flex; align-items: center; gap: 10px; }
.search-sheet input[type=search] { flex: 1; min-width: 0; height: 56px; padding-inline: 22px; border: 1.5px solid var(--bark); border-radius: 999px; background: var(--white); font-size: 17px; }
.toast { position: fixed; bottom: 92px; left: 50%; translate: -50% 20px; z-index: 70; padding: 11px 20px; border-radius: 999px; background: var(--bark); color: var(--mist); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; }
.toast.on { opacity: 1; translate: -50% 0; }

/* Login */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; }
.modal-card { position: relative; width: min(420px, 100%); padding: 34px 30px 28px; background: var(--mist); border-radius: 210px 210px 24px 24px; text-align: center; opacity: 0; transform: translateY(36px) scale(.96); transition: opacity .3s, transform .45s var(--ease); pointer-events: auto; }
.modal.is-open .modal-card { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 62px; left: 58px; background: var(--white); }
.modal-arch { display: grid; place-items: center; width: 110px; height: 110px; margin: 8px auto 8px; }
.modal-arch img { filter: drop-shadow(0 12px 12px rgba(28,42,31,.22)); }
.modal-card h2 { font-size: 34px; }
.modal-sub { color: var(--leaf); font-size: 15px; margin-block: 4px 18px; }
.auth { text-align: start; }
.auth-step { display: none; }
.auth-step.is-on { display: block; animation: step .42s var(--ease); }
@keyframes step { from { opacity: 0; transform: translateX(26px); } }
.auth-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.auth-phone { width: 100%; height: 60px; padding-inline: 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--white); font-size: 21px; font-weight: 600; letter-spacing: .06em; text-align: center; transition: border-color .2s; }
.auth-phone:focus { border-color: var(--pine); outline: 0; box-shadow: 0 0 0 3px rgba(47,74,46,.16); }
.auth-err { min-height: 26px; padding-block: 3px; color: #B5391A; font-size: 14px; font-weight: 500; }
.auth-sent { text-align: center; font-size: 15px; margin-block: 2px 16px; }
.auth-sent .link { font-size: 13px; margin-inline-start: 6px; }
.otp { display: flex; justify-content: center; gap: 9px; }
.otp input { width: 54px; height: 62px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); text-align: center; font-size: 24px; font-weight: 700; transition: border-color .2s, transform .2s; }
.otp input:focus { outline: 0; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(47,74,46,.16); transform: translateY(-2px); }
.otp.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(6px); } 50% { transform: translateX(-6px); } 75% { transform: translateX(3px); } }
.auth-dev { margin-top: 10px; padding: 7px 12px; border-radius: 10px; background: #fff3c9; font-size: 13px; text-align: center; }
.auth-timer { margin-top: 12px; text-align: center; font-size: 14px; color: var(--leaf); min-height: 26px; }
.btn.busy span { opacity: .6; }
.auth-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 960px; margin: 16px auto 40px; background: var(--white); border-radius: 28px; overflow: hidden; }
.auth-panel-art { display: grid; place-items: end center; padding: 40px 34px 0; background: var(--bark); }
.auth-panel-art img { width: 70%; filter: drop-shadow(0 22px 20px rgba(0,0,0,.4)); }
.auth-panel-body { padding: clamp(28px, 4vw, 52px); }
.auth-panel h1 { font-size: 36px; }
.auth-panel-body > p { margin-block: 8px 22px; color: var(--leaf); }

/* Pages */
div.page, .shop, .pdp, .contact { padding-top: 116px; padding-bottom: var(--sec); }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); }
.page-text .prose { max-width: 70ch; }
.prose p { margin-bottom: 1em; }
.prose h2, .prose h3 { margin-block: 1.4em .5em; font-size: 25px; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; margin-bottom: 1em; }
.state { display: grid; justify-items: center; gap: 14px; text-align: center; padding-block: 60px; }
.state h1 { font-size: 42px; }
.state-sm { padding-block: 26px; }
.notice { padding: 13px 18px; border-radius: 14px; background: var(--tint); margin-bottom: 14px; }
.notice a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.notice.ok { background: #d9ecd2; }
.notice.bad { background: #fbe1d7; }

/* Shop */
.shop-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.shop-head h1 { font-size: clamp(36px, 5vw, 66px); }
.shop-head p { color: var(--moss); }
.shop-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
.pill { flex: none; padding: 9px 20px; border-radius: 999px; background: var(--tint); font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.pill:hover { background: var(--sage); }
.pill.on { background: var(--bark); color: var(--mist); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fgroup { display: flex; gap: 6px; }
.chip { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--bark); }
.chip.on { background: var(--gold); border-color: var(--gold); font-weight: 700; }
.woocommerce-ordering select { appearance: none; height: 42px; min-height: 42px; width: auto; padding-block: 0; padding-inline: 16px 34px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231C2A1F' stroke-width='1.7'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat left 13px center; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.woocommerce-ordering { margin: 0; flex: none; }
.woocommerce-pagination { margin-top: 48px; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 50%; font-weight: 600; }
.woocommerce-pagination a:hover { background: var(--tint); }
.woocommerce-pagination .current { background: var(--bark); color: var(--mist); }

/* Product page */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--moss); margin-bottom: 18px; }
.crumbs a + a::before { content: "/"; margin-inline-end: 8px; }
.pdp-main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 76px); align-items: start; }
.pdp-gallery { position: sticky; top: 100px; display: grid; grid-template-columns: 74px 1fr; gap: 14px; }
.pdp-arch { position: relative; grid-column: 2; grid-row: 1; aspect-ratio: 5/6; background: var(--white); border-radius: 999px 999px 22px 22px; overflow: hidden; }
.pdp-arch img { position: absolute; inset: 10% 8% 5%; width: 84%; height: 85%; object-fit: contain; opacity: 0; transition: opacity .35s; }
.pdp-arch img.on { opacity: 1; }
.pdp-arch .card-off { top: 16%; right: 13%; }
.pdp-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 8px; }
.pdp-thumbs button { width: 74px; height: 74px; border-radius: 14px; background: var(--white); overflow: hidden; border: 2px solid transparent; }
.pdp-thumbs button.on { border-color: var(--pine); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-gallery:not(:has(.pdp-thumbs)) { grid-template-columns: 1fr; }
.pdp-gallery:not(:has(.pdp-thumbs)) .pdp-arch { grid-column: 1; }
.pdp-brand { font-weight: 700; color: var(--moss); }
.pdp-info h1 { font-size: clamp(27px, 3.1vw, 44px); line-height: 1.32; margin-block: 4px 16px; }
.pdp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.pdp-chips li { padding: 4px 13px; background: var(--tint); border-radius: 999px; font-size: 14px; }
.pdp-buy { padding-block: 20px; border-block: 1px solid var(--line); }
.pdp-actions { display: flex; gap: 10px; margin-top: 14px; align-items: center; }
.pdp-wish { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); }
.pdp-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 14px; }
.pdp-facts li { display: flex; align-items: center; gap: 6px; }
.pdp-facts .icon3d { width: 34px; height: 34px; }
.pdp-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(26px, 5vw, 76px); margin-top: var(--sec); }
.pdp-detail h2 { font-size: 32px; margin-bottom: 14px; }
.pdp-desc .prose { max-width: 70ch; }
.prose.clip { max-height: 360px; overflow: hidden; mask: linear-gradient(#000 70%, transparent); }
.pdp-specs dl { margin: 0; }
.pdp-specs dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pdp-specs dt { color: var(--moss); }
.pdp-specs dd { margin: 0; font-weight: 500; }
.pdp-related { margin-top: var(--sec); }
.pdp-related h2 { margin-bottom: 26px; }

/* About */
.about-hero { background: var(--bark); color: var(--mist); padding-top: 120px; overflow: hidden; }
.site-head:not(.stuck):has(+ .tabbar + main .about-hero) { color: var(--mist); }
.about-hero-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: end; }
.about-hero h1 { font-size: clamp(38px, 5.6vw, 84px); padding-bottom: 66px; }
.about-arch { display: grid; grid-template-rows: 100%; place-items: end center; height: min(62svh, 520px); padding-top: 30px; background: var(--gold); border-radius: 999px 999px 0 0; }
.about-arch img { height: 90%; width: auto; max-width: 72%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 24px rgba(28,42,31,.4)); }
.about-lead { padding-block: var(--sec) calc(var(--sec) * .6); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-lead p:first-child { font: 400 clamp(24px, 2.6vw, 36px)/1.5 var(--display); }
.about-rows article { display: grid; grid-template-columns: 170px 1fr; align-items: center; padding-block: 28px; border-top: 1px solid var(--line); }
.about-rows p { max-width: 68ch; }
.about-rows h2 { font-size: 32px; margin-bottom: 6px; }
.about-cta { padding-block: var(--sec); text-align: center; display: grid; justify-items: center; gap: 20px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 92px); }
.contact h1 { font-size: clamp(44px, 6vw, 84px); }
.contact-lead { color: var(--leaf); margin-block: 6px 26px; }
.contact-info li { display: flex; gap: 16px; align-items: center; padding-block: 12px; }
.contact-info .icon3d { flex: none; width: 64px; height: 64px; }
.contact-info span { display: block; font-size: 13px; color: var(--moss); }
.contact-info a { display: inline-block; font-weight: 600; margin-inline-end: 14px; overflow-wrap: anywhere; }
.contact-form { padding: clamp(24px, 3.4vw, 42px); background: var(--white); border-radius: 26px; }
.contact-form h2 { font-size: 34px; margin-bottom: 16px; }
.contact-form p, .form-grid p { margin-bottom: 14px; }

/* Forms shared with WooCommerce */
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
input[type=text], input[type=tel], input[type=email], input[type=password], input:not([type]), textarea, select, .select2-selection { width: 100%; min-height: 50px; padding: 10px 15px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--white); transition: border-color .2s; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--pine); }
input[readonly] { background: var(--tint); color: var(--leaf); }
small, .description { display: block; font-size: 13px; color: var(--moss); margin-top: 4px; }
.required { color: var(--ember); text-decoration: none; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-info, .woocommerce-message { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 13px 18px; border-radius: 14px; background: var(--tint); margin-bottom: 16px; list-style: none; }
.woocommerce-error { background: #fbe1d7; display: block; }
.woocommerce-message { background: #d9ecd2; }
.woocommerce-info .button, .woocommerce-message .button { font-weight: 700; text-decoration: underline; }
.button, button.button, a.button, input.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--bark); color: var(--mist); font-weight: 700; border: 0; cursor: pointer; transition: background .2s; }
.button:hover { background: var(--pine); }
.button.alt, #place_order, .checkout-button { background: var(--gold); color: var(--bark); width: 100%; min-height: 56px; }
.button.alt:hover, #place_order:hover, .checkout-button:hover { background: #ffcc2e; }
.button:disabled, .button[disabled] { opacity: .5; }

/* Cart page */
.page-wc .page-head h1 { font-size: clamp(34px, 4.4vw, 56px); }
.woocommerce-cart-form { background: var(--white); border-radius: 22px; padding: clamp(12px, 2.4vw, 26px); }
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; align-items: start; }
.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th { text-align: start; font-size: 14px; font-weight: 600; color: var(--moss); padding: 8px; }
.shop_table td { padding: 12px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
.shop_table .product-thumbnail img { width: 70px; height: 86px; object-fit: contain; }
.shop_table .product-remove a { font-size: 22px; color: var(--ember); }
.shop_table .product-name a { font-weight: 600; }
.shop_table .qty { display: block; width: 76px; min-height: 42px; padding: 4px; border-radius: 12px; text-align: center; }
.coupon { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.coupon label { display: none; }
.coupon input { width: auto; flex: 1 1 140px; }
.cart-collaterals { background: var(--sage); color: var(--bark); padding: 26px; border-radius: 22px; position: sticky; top: 100px; }
.cart_totals h2 { font-size: 28px; margin-bottom: 8px; }
.cart_totals th, .cart_totals td { border-color: rgba(28,42,31,.16); color: var(--bark); }
.woocommerce-shipping-totals ul { font-size: 14px; }
.wc-proceed-to-checkout { margin-top: 16px; }
.cart-empty.woocommerce-info { display: block; }
.return-to-shop { margin-top: 12px; }

/* Checkout */
form.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 30px; align-items: start; }
#customer_details, #order_review_heading { min-width: 0; }
#customer_details { grid-row: 1 / span 3; background: var(--white); padding: clamp(20px, 3vw, 36px); border-radius: 22px; }
#customer_details h3, #order_review_heading { font-size: 30px; margin-bottom: 16px; }
#order_review { background: var(--sage); color: var(--bark); border-radius: 22px; padding: 24px; position: sticky; top: 100px; grid-column: 2; }
#order_review_heading { grid-column: 2; margin-bottom: -14px; }
#order_review .shop_table th, #order_review .shop_table td { color: var(--bark); border-color: rgba(28,42,31,.16); }
#order_review .shop_table .product-name, #order_review .shop_table .amount, #order_review a { color: var(--bark); }
#order_review .shop_table tfoot th { font-weight: 700; }
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.woocommerce-billing-fields__field-wrapper .form-row { margin: 0 0 14px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.woocommerce-additional-fields { margin-top: 8px; }
.woocommerce-checkout-payment ul { margin-block: 12px; }
.wc_payment_method { padding-block: 8px; }
.wc_payment_method label { display: inline; }
.payment_box { font-size: 14px; color: var(--leaf); }
.woocommerce-checkout-payment .wc_payment_methods { padding: 0; }
.mah-terms { margin: 0 0 12px; font-size: 13px; color: var(--leaf); text-align: center; }
.mah-terms a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; margin-bottom: 12px; }
.select2-container { width: 100% !important; }
.select2-selection__rendered { line-height: 28px !important; }
.woocommerce-order { background: var(--white); border-radius: 22px; padding: clamp(20px, 3vw, 36px); }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-block: 14px; }
.woocommerce-column--billing-address address { font-style: normal; }

/* Account */
.acct { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; }
.acct-side { position: sticky; top: 100px; background: var(--bark); color: var(--mist); padding: 18px; border-radius: 22px; }
.acct-me { display: flex; align-items: center; gap: 10px; padding: 6px 6px 16px; border-bottom: 1px solid rgba(237,240,228,.16); margin-bottom: 8px; }
.acct-me b { display: block; line-height: 1.4; }
.acct-me span { display: block; color: var(--sage); font-size: 14px; text-align: right; }
.acct-side .icon3d { width: 30px; height: 30px; filter: none; }
.acct-me .icon3d { width: 52px; height: 52px; }
.acct-side nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-weight: 500; transition: background .2s; }
.acct-side nav a:hover { background: rgba(237,240,228,.08); }
.acct-side nav a.on { background: var(--gold); color: var(--bark); font-weight: 700; }
.acct-body { min-width: 0; background: var(--white); padding: clamp(20px, 3.4vw, 40px); border-radius: 22px; }
#billing_country_field { display: none; }
.acct-hi, .acct-title { font-size: clamp(32px, 4vw, 46px); margin-bottom: 18px; }
.acct-body h2 { font-size: 26px; margin-block: 26px 12px; }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.acct-stats a { display: grid; justify-items: start; padding: 16px; background: var(--mist); border-radius: 16px; transition: background .2s; }
.acct-stats a:hover { background: var(--tint); }
.acct-stats .icon3d { width: 56px; height: 56px; }
.acct-stats b { font-size: 20px; margin-top: 8px; line-height: 1.5; }
.acct-stats span { font-size: 14px; color: var(--moss); }
.acct-orders a { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.status { font-style: normal; font-size: 13px; font-weight: 600; padding: 2px 11px; border-radius: 999px; background: var(--tint); }
.s-completed { background: #d9ecd2; } .s-cancelled, .s-failed { background: #fbe1d7; } .s-processing { background: #fff0bd; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.woocommerce-Addresses { display: grid; gap: 18px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; }
.woocommerce-Address address { font-style: normal; }

/* Tablet and phone */
@media (max-width: 1100px) {
  .head-nav { gap: 16px; font-size: 14px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  body { padding-bottom: 66px; }
  .head-nav, .hide-sm { display: none; }
  .site-head { padding: 8px 10px; }
  .head-in { height: 56px; grid-template-columns: 1fr auto; padding-inline: 16px 6px; }
  .tabbar { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -4px 16px rgba(28,42,31,.08); }
  .tabbar a { display: grid; justify-items: center; gap: 1px; font-size: 11px; font-weight: 500; }
  .hero-stage { display: block; padding-top: 88px; min-height: 600px; }
  .hero-title { font-size: clamp(50px, 14.6vw, 110px); }
  .hero-arch { left: 50%; margin-left: calc(min(74vw, 340px) / -2); width: min(74vw, 340px); height: 54svh; }
  .hero-bottle-w { left: 50%; bottom: 10svh; height: 35svh; }
  .hero-bottle { max-width: 78vw; }
  .hero-side { margin-top: 14px; }
  .hero-side p { display: none; }
  .hero-side .btn { min-height: 46px; padding-inline: 24px; }
  .hero-copy { padding-top: 8px; }
  .hero-tag { display: none; }
  .l1 { top: auto; bottom: 34svh; left: 1%; width: 54px; } .l2 { top: auto; bottom: 26svh; left: 86%; width: 46px; }
  .l3, .l4 { display: none; }
  /* overflow-x: auto would switch on vertical scrolling too, and the cards rising in would make the rail
     a second vertical scroller that steals the page's swipe; keep it strictly horizontal. */
  .brands-pin { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gut); }
  .brands-pin { touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
  .brand { scroll-snap-stop: always; }
  .brands-pin::-webkit-scrollbar { display: none; }
  /* Phone rail: header in one row, cards sized to fill the screen between header and tab bar */
  /* Native sticky gives the swipe rail a calm scroll interval in both directions, without JS pin jumps. */
  .brands { display: block; min-height: calc(100svh + clamp(196px, 45.5svh, 448px)); padding: 0; overflow: visible; }
  .brands-shell { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; height: 100svh; padding: 84px 0 calc(78px + env(safe-area-inset-bottom)); overflow: clip; }
  .brands-head { flex-direction: row; align-items: center; gap: 12px; }
  .brands-head h2 { font-size: 26px; line-height: 1.3; }
  .brands-head .link { font-size: 14px; }
  .brands-pin { flex: 1; min-height: 0; display: flex; align-items: center; }
  .brands-rail { gap: 14px; align-items: flex-start; }
  .brand { display: flex; flex-direction: column; width: 58vw; max-width: 240px; scroll-snap-align: start; }
  /* The bottle is laid over the arch so its size never stretches the card; the arch takes whatever height is left. */
  .brand-arch { position: relative; flex: none; height: min(46svh, 360px); border-radius: 999px 999px 16px 16px; }
  .brand-arch img { position: absolute; bottom: 8%; left: 50%; translate: -50% 0; max-height: 62%; max-width: 62%; }
  .brand-name { margin-top: 8px; font-size: 21px; }
  .brand-sub { font-size: 12.5px; }
  .brands-pager { justify-content: center; gap: 18px; }
  .brands-nav { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1.5px solid var(--bark); border-radius: 50%; background: transparent; color: var(--bark); cursor: pointer; transition: background .2s, color .2s; }
  .brands-nav:active { background: var(--bark); color: var(--gold); }
  .brands-nav svg { width: 20px; height: 20px; }
  .brands-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: var(--gut); font-size: 13px; color: rgba(28,42,31,.7); }
  .brands-dots { display: flex; gap: 6px; }
  .brands-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(28,42,31,.22); transition: width .25s var(--ease), background .25s; }
  .brands-dots i.on { width: 24px; background: var(--bark); }
  .brands-swipe { transition: opacity .3s; }
  .moved .brands-swipe { opacity: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .story { min-height: 0; }
  .story-in { grid-template-columns: minmax(0, 1fr); padding: 72px var(--gut) 56px; gap: 8px; }
  .aura { order: -1; width: min(340px, 88vw); margin: 8px 0 22px; }
  .aura-bottle { height: 42%; }
  .aura-clock { display: none; }
  /* Home story on a phone: one screen, pinned. The rings sit on top, one note at a time
     below them, and a three-part bar shows how far into the day the scent is. */
  .story.is-live { min-height: 100svh; align-items: stretch; }
  .story.is-live .story-in { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 76px var(--gut) calc(78px + env(safe-area-inset-bottom)); }
  .story.is-live .story-text { display: contents; }
  .story.is-live .story-kicker, .story.is-live .story-lead { display: none; }
  .story.is-live h2 { order: -2; font-size: 26px; text-align: center; }
  .story.is-live .aura { order: -1; width: min(66vw, 30svh, 300px); margin: 12px auto 14px; }
  .story.is-live .aura-ring i { display: none; }
  .story.is-live .notes { display: grid; margin: 0; padding: 18px 0 0; }
  .story.is-live .notes::before, .story.is-live .notes::after { top: 0; bottom: auto; right: 0; left: 0; width: auto; height: 4px; }
  .story.is-live .notes::after { transform: scaleX(var(--p)); transform-origin: right; }
  .story.is-live .note { grid-area: 1 / 1; padding: 0; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
  .story.is-live .note.on { opacity: 1; transform: none; pointer-events: auto; }
  .story.is-live .note-dot { display: none; }
  .story.is-live .note-time { font-size: 13px; }
  .story.is-live .note-name { font-size: 26px; }
  .story.is-live .note p { font-size: 14px; line-height: 1.8; }
  .story.is-live .story-facts { order: 2; margin-top: auto; padding-top: 14px; }
  .story.is-live .btn { order: 3; margin-top: 12px; }
  .story-light { border-radius: 22px; margin-inline: calc(var(--gut) * -.5); }
  .story-light .story-in { padding: 28px 18px 32px; }
  .aura-ring i { font-size: 11.5px; padding-inline: 10px; }
  .story h2 { font-size: 32px; }
  .story-lead { font-size: 15px; }
  .note-name { font-size: 24px; }
  .story .btn { min-height: 48px; width: 100%; }
  .mood-row { grid-template-columns: 1fr 1fr; } .mood:nth-child(3) { border-inline-start: 0; } .mood:nth-child(n+3) { border-top: 1px solid var(--line); }
  .promise-in, .foot-grid, .pdp-main, .pdp-detail, .contact, .acct, .about-hero-in, .about-lead, .woocommerce-cart .woocommerce, form.checkout { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about, .foot-grid > :last-child { grid-column: 1 / -1; }
  #customer_details, #order_review, #order_review_heading { grid-column: 1; grid-row: auto; }
  #order_review, .cart-collaterals, .pdp-gallery, .acct-side { position: static; }
  .pdp-gallery { grid-template-columns: 1fr; } .pdp-arch { grid-column: 1; } .pdp-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
  .pdp-thumbs button { flex: none; }
  .pdp-buy { position: fixed; inset: auto 0 66px; z-index: 44; padding: 10px 16px; background: var(--white); border: 0; box-shadow: 0 -8px 20px rgba(28,42,31,.1); display: flex; align-items: center; gap: 12px; }
  .pdp-buy .price-lg { font-size: 18px; flex: none; } .pdp-buy .price-lg del { font-size: 12px; }
  .pdp-actions { margin: 0; flex: 1; } .pdp-actions .qty, .pdp-wish { display: none; }
  .pdp { padding-bottom: 150px; }
  .shop-bar { align-items: flex-start; flex-direction: column; }
  .acct-side, .acct-body { min-width: 0; }
  .acct-side nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; } .acct-side nav a { flex: none; font-size: 14px; }
  .acct-orders a { grid-template-columns: 1fr auto; }
  .auth-panel { grid-template-columns: 1fr; } .auth-panel-art { display: none; }
  .modal { place-items: end center; padding: 0; }
  .modal-card { width: 100%; border-radius: 180px 180px 0 0; padding-bottom: 28px; }
  .otp input { width: 50px; height: 58px; }
  .about-hero h1 { padding-bottom: 8px; }
  .about-arch { height: 44svh; }
  .shop_table_responsive thead { display: none; }
  .shop_table_responsive tr { display: block; padding-block: 8px; border-top: 1px solid var(--line); }
  .shop_table_responsive td, .shop_table_responsive th { display: flex; justify-content: space-between; gap: 12px; padding: 5px 2px; border: 0; text-align: start; }
  .shop_table_responsive td::before { content: attr(data-title); color: var(--moss); font-size: 13px; }
  .shop_table_responsive td.product-thumbnail::before, .shop_table_responsive td.product-remove::before { content: none; }
  .woocommerce-orders-table__cell-order-actions .button { min-height: 40px; }
  .about-rows article { grid-template-columns: 1fr; justify-items: start; }
  .toast { bottom: 152px; }

  /* Tighter phone rhythm */
  :root { --sec: 52px; }
  h2 { font-size: 27px; }
  .sec-head { margin-bottom: 18px; }
  .head-in { height: 50px; padding-inline: 14px 4px; }
  .head-logo img { width: 104px; }
  .tool { width: 40px; height: 40px; }
  div.page, .shop, .pdp, .contact { padding-top: 76px; }
  .card-arch { aspect-ratio: 5 / 6; padding: 11% 9% 6%; border-radius: 999px 999px 12px 12px; }
  .card-off { top: 4px; right: 2px; min-width: 38px; height: 38px; font-size: 12px; }
  .card-wish { top: 4px; left: 2px; width: 34px; height: 34px; }
  .card-wish .ico { width: 18px; height: 18px; }
  .card-body { padding: 10px 2px 0; }
  .card-brand { font-size: 12px; }
  .card-title { font-size: 13.5px; line-height: 1.6; margin-block: 2px 6px; min-height: 3.2em; }
  .card-add { width: 36px; height: 36px; }
  .card-add .ico { width: 18px; height: 18px; }
  .price { font-size: 14px; } .price del { font-size: 12px; }
  .shop-head { margin-bottom: 12px; } .shop-head h1 { font-size: 32px; }
  .shop-bar { gap: 10px; padding-block: 10px; margin-bottom: 14px; }
  .shop-filters { flex-wrap: nowrap; width: calc(100% + var(--gut) * 2); margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); overflow-x: auto; scrollbar-width: none; }
  .fgroup { flex: none; } .chip { flex: none; white-space: nowrap; font-size: 13px; }
  .pill { padding: 7px 16px; font-size: 14px; }
  .mood { padding: 16px 12px; } .mood .icon3d { width: 72px; height: 72px; } .mood b { font-size: 24px; margin-top: 6px; } .mood span { font-size: 13px; }
  .promise-in { gap: 8px; } .promise li { gap: 14px; padding-block: 12px; } .promise .icon3d { width: 60px; height: 60px; } .promise b { font-size: 16px; } .promise p { font-size: 14px; }
  .site-foot { padding-block: 40px 88px; } .foot-lead { font-size: 16px; } .foot-mark { margin-top: 28px; }
  .pdp-info h1 { font-size: 23px; }
  .acct-stats { gap: 8px; } .acct-stats a { padding: 12px 10px; } .acct-stats .icon3d { width: 42px; height: 42px; } .acct-stats b { font-size: 16px; }
  .about-hero { padding-top: 84px; } .about-hero h1 { font-size: 30px; padding-bottom: 20px; } .about-rows h2 { font-size: 25px; } .about-rows .icon3d { width: 84px; height: 84px; }
  .contact h1 { font-size: 40px; } .contact-form { border-radius: 18px; }
}
@media (max-width: 899px) and (max-height: 720px) {
  .story.is-live .suited { display: none; }
  .story.is-live .aura { width: min(60vw, 27svh); margin-block: 8px 10px; }
  .brands-head h2 { font-size: 23px; }
  .brands-shell { gap: 12px; }
}
@media (max-width: 899px) and (max-height: 560px) {
  .brands { min-height: 0; }
  .brands-shell { position: relative; height: auto; min-height: 100svh; }
  .brands-pin { flex: none; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .brands { margin-top: 0; min-height: 0; }
  .brands-shell { position: relative; height: auto; min-height: 100svh; }
}
@media (max-width: 380px) { .card-title { font-size: 14px; } .otp input { width: 46px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Checkout order summary: minimal card, same on desktop and phone */
#order_review_heading { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
#order_review { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2.6vw, 28px); box-shadow: 0 10px 30px rgba(28,42,31,.06); }
#order_review table.shop_table { display: block; border: 0; }
#order_review table.shop_table thead { display: none; }
#order_review table.shop_table tbody, #order_review table.shop_table tfoot { display: block; }
#order_review table.shop_table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border: 0; border-top: 1px solid var(--line); }
#order_review table.shop_table tbody tr:first-child { border-top: 0; padding-top: 0; }
#order_review table.shop_table th, #order_review table.shop_table td { display: block; padding: 0; border: 0; background: none; text-align: start; font-size: 14.5px; line-height: 1.8; color: var(--bark); }
#order_review table.shop_table td::before { content: none; }
#order_review .product-name { flex: 1; min-width: 0; font-weight: 500; }
#order_review .product-name .product-quantity { color: var(--moss); font-weight: 400; display: inline-block; white-space: nowrap; margin-inline-start: 4px; }
#order_review .product-total, #order_review tfoot td { text-align: end; white-space: nowrap; font-weight: 600; }
#order_review tfoot th { color: var(--moss); font-weight: 500; }
#order_review tfoot .order-total { border-top: 2px solid var(--bark); margin-top: 4px; padding-top: 16px; }
#order_review tfoot .order-total th { color: var(--bark); font-size: 16px; font-weight: 700; }
#order_review tfoot .order-total td { font-size: 19px; font-weight: 800; }
#order_review .woocommerce-Price-currencySymbol { font-size: .8em; font-weight: 500; color: var(--moss); margin-inline-start: 3px; }

/* shipping choices: label on top, options as selectable rows */
#order_review tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; gap: 8px; }
#order_review tr.woocommerce-shipping-totals td { text-align: start; white-space: normal; font-weight: 400; }
#order_review tr.woocommerce-shipping-totals th, #order_review tr.woocommerce-shipping-totals td { width: 100%; }
#order_review #shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#order_review #shipping_method li { margin: 0; padding: 0; }
#order_review #shipping_method li::marker, #order_review .wc_payment_methods li::marker { content: none; }
#order_review #shipping_method label, #order_review .wc_payment_method > label { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s; }
#order_review #shipping_method li:has(input:checked) label, #order_review .wc_payment_method:has(input:checked) > label { border-color: var(--pine); background: var(--mist); }
#order_review input[type=radio] { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--moss); border-radius: 50%; background: var(--white); display: inline-grid; place-content: center; cursor: pointer; transition: border-color .2s; }
#order_review input[type=radio]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pine); transform: scale(0); transition: transform .18s var(--ease); }
#order_review input[type=radio]:checked { border-color: var(--pine); }
#order_review input[type=radio]:checked::after { transform: scale(1); }
#order_review #shipping_method li { display: block; }
#order_review #shipping_method li input { position: absolute; opacity: 0; pointer-events: none; }
#order_review #shipping_method label::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--moss); background: var(--white); box-shadow: inset 0 0 0 4px var(--white); transition: all .18s; }
#order_review #shipping_method li:has(input:checked) label::before { background: var(--pine); border-color: var(--pine); }

/* payment */
#order_review .woocommerce-checkout-payment { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 16px; }
#order_review .wc_payment_methods { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
#order_review .wc_payment_method { margin: 0; padding: 0; }
#order_review .wc_payment_method > input { position: absolute; opacity: 0; pointer-events: none; }
#order_review .wc_payment_method > label::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--moss); background: var(--white); box-shadow: inset 0 0 0 4px var(--white); transition: all .18s; }
#order_review .wc_payment_method:has(input:checked) > label::before { background: var(--pine); border-color: var(--pine); }
#order_review .wc_payment_method > label img { margin-inline-start: auto; max-height: 26px; width: auto; max-width: 96px; object-fit: contain; }
#order_review .payment_box { margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--mist); font-size: 13px; line-height: 1.9; color: var(--leaf); }
#order_review .payment_box p { margin: 0; }
#order_review .payment_box::before { display: none; }
#order_review .place-order { margin: 0; padding: 0; }
#order_review .mah-terms { margin: 4px 0 12px; font-size: 12.5px; }
#order_review #place_order { min-height: 54px; font-size: 16px; }

@media (max-width: 899px) {
  #order_review { position: static; padding: 18px; }
  #order_review_heading { margin-bottom: 10px; }
}
