/* Style Key storefront — mobile-first. Theme colours are overwritten at runtime from the admin `theme`. */
:root {
  --primary: #1f5045; --primary-deep: #143a32; --accent: #a07f45; --paper: #f3f0e8; --cream: #faf8f3; --ink: #1f2a26;
  --accent-soft: color-mix(in srgb, var(--accent) 55%, #fff);
  --muted: color-mix(in srgb, var(--ink) 60%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 11%, var(--paper));
  --ok: #2f6b4f; --err: #b03a48;
  --serif: Marcellus, Georgia, serif; --display: Cinzel, Marcellus, Georgia, serif; --script: 'Pinyon Script', 'Snell Roundhand', cursive; --sans: Jost, system-ui, -apple-system, sans-serif; --bn: 'Noto Serif Bengali', serif;
  --gold: linear-gradient(115deg, #d8c08f 0%, #b08d52 40%, #8a6a35 72%, #c9ab72 100%); /* the logo's metal */
  --r: 18px; --leaf: 90px 18px 90px 18px; /* signature "leaf" corner for hero, campaign and story photos */
  --gut: 18px; --maxw: 1440px; --hdr-h: 64px; --tab-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.22, .8, .2, 1); --ease-io: cubic-bezier(.77, 0, .18, 1);
}
@media (min-width: 900px) { :root { --gut: 40px; --hdr-h: 84px; --leaf: 200px 28px 200px 28px; } }
@media (min-width: 1500px) { :root { --gut: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; padding-bottom: calc(var(--tab-h) + var(--safe-b)); }
@media (min-width: 900px) { body { font-size: 16px; padding-bottom: 0; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.bn { font-family: var(--bn); font-weight: 400; letter-spacing: 0; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: 0; margin: 0; }
h1 em, h2 em, h3 em, .t-em em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.18em; line-height: .8; letter-spacing: 0; color: var(--accent); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--accent-soft); }
.h-xl { font-size: clamp(34px, 8.6vw, 84px); line-height: 1.04; }
.h-lg { font-size: clamp(30px, 7vw, 60px); }
.h-md { font-size: clamp(26px, 5vw, 40px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border: 1px solid var(--accent); transform: rotate(45deg); }
.on-dark .eyebrow { color: var(--accent-soft); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.lede { font-size: 15.5px; color: var(--muted); max-width: 46ch; }
.on-dark .lede { color: color-mix(in srgb, #fff 72%, transparent); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 1px solid transparent; border-radius: 99px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: background .35s, color .35s, border-color .35s, transform .2s; white-space: nowrap; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .22) 50%, transparent 65%); transform: translateX(-110%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translateX(110%); }
.btn:active { transform: scale(.98); }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--primary-deep); color: var(--paper); }
.btn-primary:hover { background: var(--primary); }
.btn-gold { background: linear-gradient(115deg, var(--primary), var(--primary-deep) 55%, var(--primary)) 0 0 / 200% 100%; color: #fff; transition: background-position .6s var(--ease), transform .2s; }
.btn-gold:hover { background-position: 100% 0; }
.btn-light { background: var(--paper); color: var(--primary); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: var(--primary); border-color: var(--primary); color: var(--paper); }
.on-dark .btn-gold { background: var(--cream); color: var(--primary-deep); }
.on-dark .btn-gold:hover { background: var(--accent-soft); }
.on-dark .btn-ghost:hover { background: var(--paper); color: var(--primary); border-color: var(--paper); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.loading { color: transparent; pointer-events: none; }
.btn.loading::before { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--paper); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font: 500 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid currentColor; }
.link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(4px); }
.ib { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; transition: background .25s; }
.ib:hover { background: color-mix(in srgb, var(--primary) 7%, transparent); }
.dot-count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--primary); color: var(--paper); font: 700 9.5px/17px var(--sans); text-align: center; }
.dot-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* Intro: blush curtain, the key draws itself, the wordmark rises in rose gold */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: var(--primary); }
.no-intro .intro { display: none; }
.intro-panel { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--cream); transition: transform 1.1s var(--ease-io); }
.intro-top { top: 0; } .intro-bottom { bottom: 0; }
.intro::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(closest-side, rgb(176 141 82 / .14), transparent 72%); transition: opacity .6s; }
.intro.open::before { opacity: 0; }
.intro.open .intro-top { transform: translateY(-101%); }
.intro.open .intro-bottom { transform: translateY(101%); }
.intro-center { position: relative; z-index: 2; text-align: center; padding: 0 20px; transition: opacity .55s, transform 1s var(--ease); }
.intro.open .intro-center { opacity: 0; transform: scale(1.06); }
.intro-motif { width: 150px; height: 54px; fill: none; stroke: url(#rg); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.intro-word { display: flex; justify-content: center; overflow: hidden; padding: 14px 0 0 .16em; font: 500 clamp(40px, 11vw, 104px)/1.1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.intro-word span { display: inline-block; transform: translateY(110%); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-rule { display: block; width: 0; height: 1px; margin: 18px auto 16px; background: var(--gold); }
.intro-line { margin: 0; font: 500 11px/1.4 var(--sans); letter-spacing: .42em; text-transform: uppercase; opacity: 0; color: var(--primary); }
.intro-bn { margin: 10px 0 0; font: 400 17px/1.4 var(--bn); opacity: 0; color: var(--muted); }
.intro-skip { position: absolute; z-index: 3; right: 22px; bottom: calc(24px + var(--safe-b)); font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding: 10px; transition: opacity .4s; }
.intro.open .intro-skip { opacity: 0; }
.intro.play .intro-motif { animation: draw 1.6s var(--ease) forwards; }
.intro.play .intro-word span { animation: rise 1s var(--ease) forwards; animation-delay: calc(.4s + var(--i) * .07s); }
.intro.play .intro-rule { animation: grow .9s var(--ease) 1.05s forwards; }
.intro.play .intro-line { animation: fade .8s 1.25s forwards; }
.intro.play .intro-bn { animation: fade .8s 1.45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { transform: none; } }
@keyframes grow { to { width: 120px; } }
@keyframes fade { to { opacity: 1; } }
.boot { min-height: 70svh; display: grid; place-items: center; }
.boot-motif { width: 56px; height: 56px; fill: none; stroke: url(#rg); stroke-width: 1.4; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.94); } }

/* Announcement + header */
.announce { position: relative; height: 34px; background: var(--primary-deep); color: var(--accent-soft); overflow: hidden; }
.announce span { display: inline-flex; align-items: center; gap: 22px; padding: 0 11px; font: 500 10.5px/34px var(--sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.announce span::after { content: ''; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
.announce:hover .ticker-track { animation-play-state: paused; }
.hdr { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, background .3s; view-transition-name: hdr; }
.hdr.scrolled { border-color: var(--line); }
.hdr-gone .hdr { transform: translateY(-100%); }
.hdr-in { height: var(--hdr-h); max-width: var(--maxw); margin: 0 auto; padding: 0 calc(var(--gut) - 10px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.logo { display: grid; justify-items: center; gap: 3px; color: var(--primary); line-height: 1; }
.logo-key { width: 44px; height: 16px; fill: none; stroke: url(#rg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo b { font: 600 clamp(18px, 5.4vw, 23px)/1 var(--display); letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; color: var(--ink); } /* negative margin cancels the trailing letter-space so the word centres optically */
.logo small { display: none; font: 500 7.5px/1 var(--sans); letter-spacing: .36em; margin-right: -.36em; text-transform: uppercase; color: var(--muted); }
.logo img { max-height: 44px; width: auto; }
.hdr-nav { display: none; }
.hdr-acts { display: flex; justify-content: flex-end; }
.hide-sm { display: none; }
@media (min-width: 900px) {
  .hdr-in { grid-template-columns: auto 1fr auto; gap: 40px; }
  .hdr-menu { display: none; }
  .logo b { font-size: clamp(24px, 2vw, 28px); }
  .logo small { display: block; }
  .logo-key { width: 52px; height: 19px; }
  .hdr-nav { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 38px); }
  .hdr-nav a { position: relative; padding: 10px 0; font: 500 12px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
  .hdr-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
  .hdr-nav a:hover::after, .hdr-nav a.active::after { transform: scaleX(1); transform-origin: left; }
  .hdr-nav a.hl { color: var(--primary); }
  .hdr-nav a.hl::before { content: ''; position: absolute; top: 3px; right: -9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
  .hide-sm { display: inline-grid; }
  .hdr-acts { gap: 2px; }
}

/* Mobile tab bar */
.tabbar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); view-transition-name: tabbar; transition: transform .4s var(--ease); }
.tabbar a, .tabbar button { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; font: 600 9.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tabbar .i { width: 21px; height: 21px; }
.tabbar .active { color: var(--primary); }
.tabbar .active::before { content: ''; position: absolute; top: -1px; width: 22px; height: 2px; background: var(--primary); }
.tabbar .dot-count { top: 6px; right: calc(50% - 20px); }
body[data-page=product] .tabbar, body[data-page=checkout] .tabbar { transform: translateY(110%); }
body[data-page=product], body[data-page=checkout] { padding-bottom: 0; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* Floating chat (WhatsApp / Messenger / call in one button), live sale, toast */
.chat-fab { position: fixed; z-index: 54; right: 16px; bottom: calc(var(--tab-h) + var(--safe-b) + 16px); display: grid; justify-items: end; gap: 10px; transition: transform .3s var(--ease), opacity .3s; }
.chat-fab[hidden] { display: none; }
.wa-fab { position: relative; width: 52px; height: 52px; border: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; cursor: pointer; box-shadow: 0 10px 30px -8px rgb(20 58 50 / .6); transition: transform .3s var(--ease); }
.wa-fab.wa { background: #1f9e57; }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab .i { width: 26px; height: 26px; grid-area: 1 / 1; transition: transform .3s var(--ease), opacity .2s; }
.wa-fab .x { opacity: 0; transform: rotate(-90deg); }
.chat-fab.open .wa-fab .x { opacity: 1; transform: none; }
.chat-fab.open .wa-fab .c { opacity: 0; transform: rotate(90deg); }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--primary); animation: ring 2.6s ease-out infinite; }
.wa-fab.wa::before { border-color: #1f9e57; }
.chat-fab.open .wa-fab::before { animation: none; opacity: 0; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.chat-menu { display: grid; gap: 8px; justify-items: end; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.chat-fab.open .chat-menu { opacity: 1; visibility: visible; transform: none; }
.chat-menu a { display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 16px; background: var(--cream); border: 1px solid var(--line); border-radius: 99px; font: 500 13.5px/1 var(--sans); color: var(--ink); box-shadow: 0 12px 28px -16px rgb(20 58 50 / .5); }
.chat-menu a b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.chat-menu a .i { width: 21px; height: 21px; }
body[data-page=checkout] .chat-fab { display: none; }
body[data-page=home]:not(.past-hero) .chat-fab { opacity: 0; transform: scale(.6); pointer-events: none; }
body[data-page=product] .chat-fab { display: none; } /* the sticky buy bar sits there; the page has its own 'Ask us' WhatsApp link */
@media (min-width: 900px) { .chat-fab { bottom: 28px; right: 28px; } body[data-page=product] .chat-fab { display: grid; } }

.sale-pop { position: fixed; z-index: 56; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 12px); max-width: 360px; display: flex; gap: 12px; align-items: center; padding: 10px 36px 10px 10px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgb(46 12 22 / .35); font-size: 12.5px; line-height: 1.45; transform: translateX(-120%); transition: transform .7s var(--ease); }
.sale-pop.on { transform: none; }
.sale-pop img { width: 52px; height: 64px; object-fit: cover; }
.sale-pop b { font-weight: 600; }
.sale-pop small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.sale-pop .x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; }
.sale-pop .x .i { width: 14px; height: 14px; }
body[data-page=checkout] .sale-pop, body[data-page=product] .sale-pop { display: none; }
@media (min-width: 900px) { .sale-pop { left: 24px; bottom: 24px; right: auto; } body[data-page=product] .sale-pop { display: flex; } }
.toast { position: fixed; z-index: 400; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 18px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 13px; box-shadow: 0 16px 40px -12px rgb(0 0 0 / .35); transition: opacity .35s, transform .5s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a, .toast button { color: var(--accent-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body[data-page=product] .toast { bottom: calc(96px + var(--safe-b)); }
@media (min-width: 900px) { .toast, body[data-page=product] .toast { bottom: 32px; } }

/* Reveal + image loading */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
.rv-wipe.in { clip-path: inset(0); }
.shim { background: linear-gradient(100deg, var(--cream) 30%, color-mix(in srgb, var(--cream) 40%, #fff) 50%, var(--cream) 70%) 0 0 / 300% 100%; animation: shim 1.5s linear infinite; }
.shim.ld { animation: none; }
@keyframes shim { from { background-position: 100% 0; } to { background-position: 0 0; } }
img.fade { opacity: 0; transition: opacity .8s ease, transform 1.2s var(--ease); }
img.fade.ld { opacity: 1; }
.crop { width: 100%; height: 100%; object-fit: cover; }
.slide-img img, .campaign-img img, .coll-hero-img img, .story-img img, .tile-img img, .part-img img, .fab-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.i.dim { opacity: .25; }

/* View transitions: page cross-fade + product image morph */
::view-transition-old(root) { animation: vt-out .32s ease-in both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } }
.route-bar { position: fixed; z-index: 300; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; view-transition-name: route-bar; }
.route-bar.go { animation: route-go .9s var(--ease) forwards; }
@keyframes route-go { 0% { opacity: 1; transform: scaleX(0); } 70% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
.fly { position: fixed; z-index: 500; object-fit: cover; border-radius: 16px; pointer-events: none; box-shadow: 0 18px 40px -12px rgb(0 0 0 / .35); }
::view-transition-group(pimg) { animation-duration: .7s; animation-timing-function: cubic-bezier(.65, 0, .15, 1); z-index: 50; }
::view-transition-old(pimg) { animation: none; opacity: 0; }
::view-transition-new(pimg) { animation: none; width: 100%; height: 100%; object-fit: cover; overflow: clip; }
.vt-img { view-transition-name: pimg; }
#app.enter { animation: vt-in .5s var(--ease) both; }

/* Sections */
.sec { padding: 44px 0; }
.sec-tight { padding: 32px 0; }
@media (min-width: 900px) { .sec { padding: 80px 0; } .sec-tight { padding: 48px 0; } }
/* Same background back to back: one gap, not two stacked paddings */
.sec:not(.sec-cream) + .sec:not(.sec-cream), .sec-cream + .sec-cream { padding-top: 0; }
.sec-cream { background: var(--cream); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 30px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 900px) { .sec-head { margin-bottom: 48px; } }
.orn { width: 38px; height: 38px; fill: none; stroke: url(#rg); stroke-width: 3; margin: 0 auto 10px; display: block; }

/* Hero: leaf-cornered photo on blush, copy below it on mobile and beside it on desktop */
.hero { position: relative; height: calc(100svh - var(--hdr-h) - var(--ann-h, 34px) - var(--tab-h) - var(--safe-b)); min-height: 580px; max-height: 940px; overflow: hidden; background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--cream); color: var(--ink); touch-action: pan-y; }
.slide { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 14px var(--gut) 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.slide-img { position: relative; overflow: hidden; border-radius: var(--leaf); background: var(--paper); }
.slide-img img { transform: scale(1.14); transition: transform 8s cubic-bezier(.2, .6, .3, 1); }
.revealed .slide.on .slide-img img { transform: scale(1); }
.slide-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 58 50 / .22), transparent 22%); }
.slide-copy { position: relative; z-index: 2; padding: 22px 2px 60px; }
.slide-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.revealed .slide.on .slide-copy > * { opacity: 1; transform: none; transition-delay: calc(.3s + var(--i, 0) * .11s); }
.slide-copy h1, .slide-copy h2 { margin-bottom: 12px; font-size: clamp(31px, 8.4vw, 76px); }
.slide-copy p { margin: 0 0 20px; max-width: 34ch; color: var(--muted); font-size: 15px; }
.slide-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.slide-ctas .btn { min-height: 50px; padding: 0 26px; }
.hero-bars { position: absolute; z-index: 5; left: calc(var(--gut) + 28px); right: calc(var(--gut) + 28px); top: 28px; display: flex; gap: 6px; }
.hero-bars button { flex: 1; height: 18px; display: flex; align-items: center; }
.hero-bars button span { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; background: rgb(255 255 255 / .4); overflow: hidden; }
.hero-bars button span::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-bars button.done span::after { transform: scaleX(1); }
.revealed .hero-bars button.on span::after { animation: bar var(--dur, 6s) linear forwards; }
.hero.paused .hero-bars button.on span::after { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-count { position: absolute; z-index: 5; right: var(--gut); bottom: 24px; font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--muted); }
.hero-count b { color: var(--primary); font-weight: 600; }
.hero-scroll { display: none; }
@media (min-width: 900px) {
  .hero { height: calc(100svh - var(--hdr-h) - var(--ann-h, 34px)); min-height: 620px; }
  .hero::before { content: ''; position: absolute; left: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent); pointer-events: none; }
  .slide { grid-template-columns: 44fr 56fr; grid-template-rows: minmax(0, 1fr); padding: 28px var(--gut) 28px 0; }
  .slide-img { grid-area: 1 / 2; }
  .slide-copy { grid-area: 1 / 1; align-self: center; padding: 0 clamp(40px, 5vw, 96px); }
  .slide-copy p { font-size: 17px; margin-bottom: 32px; }
  .hero-bars { top: auto; bottom: 52px; left: clamp(40px, 5vw, 96px); right: auto; width: min(240px, 20vw); }
  .hero-bars button span { background: color-mix(in srgb, var(--primary) 22%, transparent); }
  .hero-bars button span::after { background: var(--primary); }
  .hero-count { left: calc(44% - 120px); right: auto; bottom: 54px; }
}
/* Ticker */
.ticker { background: var(--primary-deep); color: var(--accent-soft); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding: 16px 11px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: ''; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Horizontal scrollers */
.scroller { display: grid; grid-auto-flow: column; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); padding: 0 var(--gut) 6px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.rail-wrap { position: relative; }
.rail-nav { display: none; }
@media (min-width: 900px) {
  .scroller { gap: 20px; max-width: var(--maxw); margin: 0 auto; }
  .rail-nav { display: flex; gap: 8px; }
  .rail-nav button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
  .rail-nav button:hover { background: var(--primary); color: var(--paper); border-color: var(--primary); }
  .rail-nav .i { width: 18px; height: 18px; }
}

/* Arch tiles */
.tiles { grid-auto-columns: 36%; }
.tile { display: block; text-align: center; }
.tile-img { position: relative; aspect-ratio: 3 / 4.1; border-radius: var(--r); overflow: hidden; background: var(--cream); }
.tile-img img { transition: transform 1.4s var(--ease); }
.tile-img::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgb(255 255 255 / .6); border-radius: inherit; pointer-events: none; }
.tile:hover .tile-img img { transform: scale(1.07); }
.tile b { display: block; margin-top: 12px; font: 400 17px/1.1 var(--serif); }
.tile small { display: block; margin-top: 4px; font: 400 12.5px/1.2 var(--bn); color: var(--primary); }
@media (min-width: 600px) { .tiles { grid-auto-columns: 24%; } }
@media (min-width: 1000px) { .tiles { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; gap: 24px; } .tile b { font-size: 22px; } }

/* Category grid: 2 up on mobile, 4 up on desktop, copy over the photo */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); color: #fff; background: var(--cream); }
.cat-img { position: absolute; inset: 0; }
.cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgb(20 42 36 / .72)); }
.cat:hover .cat-img img { transform: scale(1.06); }
.cat-copy { position: absolute; left: 16px; right: 16px; bottom: 16px; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0s) + .5s); }
.cat.in .cat-copy { opacity: 1; transform: none; }
.cat-copy small { display: block; margin-bottom: 8px; font: 600 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--accent-soft); }
.cat-copy b { display: block; font: 400 clamp(24px, 6.4vw, 36px)/1.05 var(--serif); }
.cat-go { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .92); color: var(--ink); transition: transform .5s var(--ease), background .3s, color .3s; }
.cat-go .i { width: 15px; height: 15px; transform: rotate(-45deg); }
.cat:hover .cat-go { background: var(--primary); color: #fff; transform: scale(1.08); }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 20px; } .cat-copy { left: 24px; right: 24px; bottom: 24px; } .cat-go { top: 18px; right: 18px; width: 42px; height: 42px; } }

/* Product card */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
.grid.one { grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 760px) { .grid, .grid.one { grid-template-columns: repeat(3, 1fr); gap: 44px 20px; } }
@media (min-width: 1200px) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.rail .card { width: 64vw; max-width: 330px; }
@media (min-width: 600px) { .rail .card { width: 38vw; } }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((100% - 60px) / 4); } .rail .card { width: auto; max-width: none; } }
.card { position: relative; min-width: 0; }
.card-top { position: relative; overflow: hidden; border-radius: 16px; background: var(--cream); }
/* 3:4 = the shape of the shop’s product photos */
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-img2 { opacity: 0; transition: opacity .7s ease, transform 1.4s var(--ease) !important; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; z-index: 2; }
.badge { padding: 5px 10px; border-radius: 99px; background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); font: 600 9px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.badge-sale { background: var(--paper); color: var(--err); }
.badge-gold { background: var(--ink); color: var(--accent-soft); }
.card-heart { position: absolute; z-index: 3; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(6px); transition: transform .3s var(--ease); }
.card-heart .i { width: 18px; height: 18px; }
.card-heart:active { transform: scale(.85); }
.is-wished .i { fill: var(--primary); stroke: var(--primary); animation: heart .5s var(--ease); }
@keyframes heart { 40% { transform: scale(1.35); } }
.card-stock { position: absolute; z-index: 2; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; background: color-mix(in srgb, var(--paper) 92%, transparent); font: 600 10px/1 var(--sans); letter-spacing: .04em; color: var(--err); }
.card-stock::before, .live-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.card-quick { display: none; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-img2 { opacity: 1; }
  .card:hover .card-media img { transform: scale(1.045); }
  .card-quick { position: absolute; z-index: 3; left: 10px; right: 10px; bottom: 10px; display: block; padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(8px); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s ease, transform .45s var(--ease); }
  .card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: none; pointer-events: auto; }
  .card:hover .card-stock { opacity: 0; }
  .card-quick p { margin: 0 0 8px; font: 600 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; }
  .card-quick div { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
  .card-quick button { min-width: 38px; height: 32px; padding: 0 8px; border: 1px solid var(--line); font: 600 11px/1 var(--sans); transition: background .2s, color .2s; }
  .card-quick button:hover:not(:disabled) { background: var(--primary); color: var(--paper); border-color: var(--primary); }
  .card-quick button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
}
.card-body { padding-top: 13px; }
.card-cat { margin: 0 0 5px; font: 600 9.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a:hover { color: var(--primary); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 7px; }
.price b { font-weight: 700; font-size: 14.5px; }
.price.sale b { color: var(--primary); }
.price s { color: var(--muted); font-size: 12.5px; }
.price .off { font: 700 10.5px/1 var(--sans); color: var(--err); letter-spacing: .04em; }
.card-order { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; margin-top: 12px; border: 1px solid var(--primary); border-radius: 99px; color: var(--primary); font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.card-order .i { width: 16px; height: 16px; }
.card-order:hover { background: var(--primary); color: var(--cream); }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.stars { display: inline-flex; align-items: center; gap: 4px; }
.stars .i { width: 12px; height: 12px; color: var(--accent); }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .14); box-shadow: inset 0 0 0 2px var(--paper); display: inline-block; flex: none; }
@media (min-width: 900px) { .card h3 { font-size: 18px; } .price b { font-size: 15.5px; } .card-cat { font-size: 10px; } }

/* Campaign: leaf photo + copy on blush */
.campaign { position: relative; display: grid; gap: 28px; padding: 44px var(--gut) 52px; background: radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--primary-deep); color: var(--cream); overflow: hidden; }
.campaign-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--leaf); }
.campaign-copy { position: relative; }
.campaign-copy p { color: color-mix(in srgb, var(--cream) 78%, transparent); max-width: 40ch; margin: 16px 0 26px; }
.countdown { display: flex; gap: 8px; margin: 0 0 28px; }
.countdown div { min-width: 66px; padding: 12px 6px 10px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 14px; text-align: center; background: rgb(255 255 255 / .05); }
.countdown b { display: block; font: 400 30px/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--cream); }
.countdown small { display: block; margin-top: 6px; font: 500 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-soft); }
.countdown-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); }
.countdown-label .i { width: 15px; height: 15px; }
@media (min-width: 900px) {
  .campaign { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(48px, 7vw, 120px); padding: 90px max(var(--gut), calc((100% - var(--maxw)) / 2 + var(--gut))); }
  .campaign-img { max-height: 760px; }
  .countdown div { min-width: 82px; } .countdown b { font-size: 40px; }
}
/* parallax only below the fold: on images visible at load Chrome sometimes skips painting them */
@supports (animation-timeline: view()) {
  .plx img { animation: plx linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes plx { from { transform: translateY(-7%) scale(1.16); } to { transform: translateY(7%) scale(1.16); } }
}

/* Watch & shop reels: phones stack them and cross-fade one after another; desktop lays them side by side */
.film-stage { position: relative; aspect-ratio: 4 / 5; max-width: 520px; margin: 0 auto; }
.reel { position: absolute; inset: 0; overflow: hidden; isolation: isolate; border-radius: 90px 18px 90px 18px; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.reel.on { z-index: 1; opacity: 1; visibility: visible; }
.reel::after { content: ''; position: absolute; inset: 9px; z-index: 1; border: 1px solid rgb(255 255 255 / .5); border-radius: inherit; pointer-events: none; }
.film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s cubic-bezier(.2, .6, .3, 1); }
.reel.on .film-v { transform: none; }
.reel-tag { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 90px 64px 26px 26px; background: linear-gradient(to top, rgb(20 58 50 / .85), rgb(20 58 50 / .4) 55%, transparent); color: var(--cream); }
.reel-tag > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reel.on .reel-tag > * { opacity: 1; transform: none; transition-delay: calc(.4s + var(--i) * .09s); }
.reel-tag small { font: 500 10px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-soft); }
.reel-tag b { margin-top: 4px; font: 400 21px/1.2 var(--serif); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.reel-tag .price, .reel-tag .price.sale b { color: var(--cream); }
.reel-tag .price s { color: rgb(255 255 255 / .6); }
.reel-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 18px; border-radius: 99px; background: var(--cream); color: var(--primary-deep); font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.reel-btn .i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.reel-tag:hover .reel-btn { background: var(--accent-soft); }
.reel-tag:hover .reel-btn .i { transform: translateX(3px); }
.film-bars { display: flex; gap: 8px; max-width: 520px; margin: 14px auto 0; }
.film-bars button { flex: 1; height: 18px; display: flex; align-items: center; }
.film-bars span { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.film-bars span::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (min-width: 900px) {
  .film-stage { aspect-ratio: auto; max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: start; }
  .reel { position: relative; inset: auto; aspect-ratio: 4 / 5; opacity: 1; visibility: visible; }
  .reel:nth-child(even) { margin-top: 56px; } /* editorial stagger */
  .film-v { transform: none; transition-duration: 1.2s; }
  .reel:hover .film-v { transform: scale(1.04); }
  .reel-tag { padding: 56px 44px 18px 18px; background: linear-gradient(to top, rgb(20 58 50 / .8), rgb(20 58 50 / .3) 60%, transparent); }
  .reel-tag > * { opacity: 1; transform: none; }
  .reel-tag b { font-size: 16.5px; }
  .reel-tag .price { margin-top: 4px; }
  .reel-btn { margin-top: 10px; padding: 10px 15px; font-size: 10px; }
  .film-bars { display: none; }
}

/* Anatomy of a three piece */
.anatomy { grid-auto-columns: 74%; padding-top: 10px; }
.part { counter-increment: part; }
.part-img { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.part-img::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgb(255 255 255 / .65); border-radius: inherit; }
.part-num { display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; font: 600 10.5px/1 var(--sans); letter-spacing: .22em; color: var(--accent); }
.part-num::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.part h3 { font-size: 28px; }
.part h3 small { font: 400 15px/1 var(--bn); color: var(--accent); margin-left: 8px; }
.part p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
@media (min-width: 900px) {
  .anatomy { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); overflow: visible; }
  .part:nth-child(2) { margin-top: 70px; }
  .part h3 { font-size: 34px; }
}

/* Fabrics */
.fabrics { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fabric { display: inline-flex; align-items: center; gap: 10px; padding: 6px 20px 6px 6px; border: 1px solid var(--line); border-radius: 99px; font: 500 19px/1 var(--serif); transition: background .35s, color .35s, border-color .35s; }
.fab-img { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.fabric:hover { background: var(--primary); color: var(--paper); border-color: var(--primary); }
@media (min-width: 900px) { .fabric { font-size: 23px; padding-right: 26px; } .fab-img { width: 48px; height: 48px; } }

/* Story */
.story { display: grid; gap: 40px; align-items: center; }
.story-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--leaf); max-width: 520px; width: calc(100% - 24px); justify-self: center; outline: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); outline-offset: 10px; }
.story-copy p { color: var(--muted); max-width: 48ch; margin: 18px 0 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 34px; padding: 22px 0; border-block: 1px solid var(--line); }
.stats b { display: block; font: 400 clamp(28px, 7.5vw, 44px)/1 var(--serif); color: var(--primary); font-variant-numeric: tabular-nums; }
.stats small { display: block; margin-top: 6px; font: 600 9.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); } }

/* Reviews */
.reviews { grid-auto-columns: 84%; }
@media (min-width: 700px) { .reviews { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .reviews { grid-auto-columns: calc((100% - 40px) / 3); } }
.review { display: flex; flex-direction: column; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; min-height: 100%; }
.review .stars .i { width: 14px; height: 14px; }
.review blockquote { margin: 16px 0 22px; font: 400 18px/1.5 var(--serif); flex: 1; }
.review-by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.review-by img { width: 42px; height: 52px; object-fit: cover; border-radius: 10px; }
.review-by b { display: block; font-weight: 600; }
.review-by small { color: var(--muted); font-size: 11.5px; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 600; }
.verified .i { width: 13px; height: 13px; }
.rating-big { display: flex; align-items: center; gap: 14px; }
.rating-big b { font: 400 52px/1 var(--serif); color: var(--primary); }
.rating-big small { display: block; font-size: 12.5px; color: var(--muted); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
.promise { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.promise span { width: 54px; height: 54px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); display: grid; place-items: center; color: var(--primary); margin-bottom: 4px; }
.promise b { font-size: 13.5px; font-weight: 600; }
.promise small { color: var(--muted); font-size: 12px; margin-top: -6px; }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(4, 1fr); } }

/* Newsletter */
.news { max-width: 640px; margin: 0 auto; text-align: center; }
.news .lede { margin: 16px auto 28px; }
.news form { display: flex; flex-direction: column; gap: 10px; }
.news input { height: 54px; padding: 0 24px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); outline: none; transition: border-color .3s; }
.news input::placeholder { color: var(--muted); }
.news input:focus { border-color: var(--primary); }
.news .fine { margin-top: 14px; font-size: 11.5px; color: var(--muted); }
@media (min-width: 600px) { .news form { flex-direction: row; } .news input { flex: 1; } }

/* Footer */
.ftr { --ftr-line: color-mix(in srgb, var(--cream) 16%, transparent); background: radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--primary-deep); color: color-mix(in srgb, var(--cream) 78%, transparent); font-size: 13.5px; }
.ftr .logo b { color: var(--cream); }
.ftr .logo small { color: var(--accent-soft); }
.ftr-top { display: grid; gap: 34px; padding-top: 56px; padding-bottom: 40px; }
.ftr-brand .logo { justify-items: start; }
.ftr-brand .logo small { display: block; margin-top: 4px; }
.ftr-brand .logo-key { width: 56px; height: 20px; }
.ftr-brand .bn-name { display: flex; align-items: center; gap: 12px; margin-top: 14px; font: 400 18px/1.3 var(--bn); color: var(--accent-soft); }
.ftr-brand .bn-name::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.ftr-brand p { max-width: 34ch; margin: 18px 0 22px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--ftr-line); border-radius: 50%; display: grid; place-items: center; color: var(--cream); transition: background .3s, color .3s; }
.socials a:hover { background: var(--accent-soft); color: var(--primary-deep); }
.socials .i { width: 18px; height: 18px; }
.ftr details { border-bottom: 1px solid var(--ftr-line); }
.ftr summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); }
.ftr summary::-webkit-details-marker { display: none; }
.ftr summary .i { width: 16px; height: 16px; transition: transform .3s; }
.ftr details[open] summary .i { transform: rotate(180deg); }
.ftr ul { list-style: none; margin: 0; padding: 0 0 18px; display: grid; gap: 11px; }
.ftr ul a:hover { color: var(--accent-soft); }
.ftr-contact { display: grid; gap: 12px; }
.ftr-contact a, .ftr-contact span { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contact .i { width: 17px; height: 17px; color: var(--accent-soft); margin-top: 2px; }
.paychips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.paychip { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 700 10px/1.25 var(--sans); letter-spacing: .04em; text-align: center; }
.paychip img { display: block; width: auto; height: auto; max-height: 26px; max-width: 100%; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--ftr-line); font-size: 11.5px; letter-spacing: .04em; }
.ftr-bottom a:hover { color: var(--accent-soft); }
@media (min-width: 900px) {
  .ftr-top { grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 40px; padding-top: 80px; padding-bottom: 56px; }
  .ftr details { border: 0; }
  .ftr summary { pointer-events: none; padding-top: 0; }
  .ftr summary .i { display: none; }
}

/* Breadcrumb + page head */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; font-size: 11.5px; letter-spacing: .06em; color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs span::before { content: '/'; margin-right: 8px; opacity: .5; }
.page-head { padding: 34px 0 30px; text-align: center; }
.page-head .lede { margin: 12px auto 0; }
@media (min-width: 900px) { .page-head { padding: 64px 0 48px; } }

/* Collection */
.coll-hero { position: relative; display: grid; min-height: 300px; color: #fff; overflow: hidden; background: var(--cream); }
.coll-hero-img { grid-area: 1 / 1; position: relative; overflow: hidden; }
.coll-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(42 12 28 / .25), rgb(42 12 28 / .78)); }
.coll-hero-copy { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; padding: 0 var(--gut) 30px; }
.coll-hero h1 { font-size: clamp(42px, 11vw, 92px); }
.coll-hero h1 small { display: block; margin-top: 8px; font: 400 17px/1.2 var(--bn); color: var(--accent-soft); }
.coll-hero p { margin: 12px 0 0; color: rgb(255 255 255 / .8); max-width: 44ch; font-size: 14.5px; }
.coll-hero .crumbs { color: rgb(255 255 255 / .7); padding: 0 0 14px; }
@media (min-width: 900px) {
  .coll-hero { grid-template-columns: 1fr 1fr; min-height: 420px; }
  .coll-hero-img { grid-area: 1 / 2; }
  .coll-hero-img::after { background: linear-gradient(90deg, rgb(42 12 28 / .3), transparent 40%); }
  .coll-hero-img { margin: 24px var(--gut) 24px 0; border-radius: var(--leaf); }
  .coll-hero-img::after { display: none; }
  .coll-hero-copy { grid-area: 1 / 1; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(40px, 5vw, 96px); color: var(--ink); }
  .coll-hero-copy.on-dark .eyebrow, .coll-hero-copy.on-dark h1 em, .coll-hero h1 small { color: var(--primary); }
  .coll-hero p, .coll-hero .crumbs { color: var(--muted); }
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 18px var(--gut); max-width: var(--maxw); margin: 0 auto; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--paper); }
.chip .bn { text-transform: none; letter-spacing: 0; font-size: 12px; opacity: .8; }
.chip .i { width: 14px; height: 14px; }
.toolbar { position: sticky; top: var(--hdr-h); z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); transition: top .45s var(--ease); }
.hdr-gone .toolbar { top: 0; }
.toolbar-in { display: flex; align-items: center; gap: 10px; height: 54px; }
.toolbar .count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.toolbar .select { margin-left: auto; }
.count-sm { display: none; margin: 0 0 14px; font-size: 12px; color: var(--muted); }
@media (max-width: 479px) { .toolbar .count { display: none; } .count-sm { display: block; } }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tool-btn .i { width: 18px; height: 18px; }
.tool-btn sup { min-width: 18px; height: 18px; border-radius: 99px; background: var(--primary); color: var(--paper); font-size: 9.5px; line-height: 18px; text-align: center; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; height: 38px; padding: 0 26px 0 0; border: 0; background: transparent; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.select .i { position: absolute; right: 0; width: 15px; height: 15px; pointer-events: none; }
.density { display: flex; border-left: 1px solid var(--line); padding-left: 6px; }
.density button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.density button.on { color: var(--ink); }
.density .i { width: 17px; height: 17px; }
.coll-body { display: grid; gap: 30px; padding-top: 26px; padding-bottom: 80px; }
.filters-side { display: none; }
@media (min-width: 760px) { .density { display: none; } }
@media (min-width: 1100px) {
  .coll-body { grid-template-columns: 240px 1fr; gap: 48px; }
  .filters-side { display: block; position: sticky; top: calc(var(--hdr-h) + 80px); align-self: start; max-height: calc(100svh - var(--hdr-h) - 100px); overflow: auto; scrollbar-width: thin; }
  .toolbar .tool-btn.f-open { display: none; }
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: var(--cream); font-size: 12px; }
.active-filters button .i { width: 13px; height: 13px; }
.active-filters .clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
.fgroup { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup h4 { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.fopts { display: flex; flex-wrap: wrap; gap: 7px; }
.fopt { position: relative; }
.fopt input { position: absolute; opacity: 0; pointer-events: none; }
.fopt span { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px; border: 1px solid var(--line); font-size: 12.5px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.fopt input:checked + span { border-color: var(--primary); background: var(--primary); color: var(--paper); }
.fopt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fopt small { color: inherit; opacity: .6; font-size: 11px; }
/* Promo banner spans the whole row: photo clear of the text, readable title, obvious button */
.promo-tile { position: relative; grid-column: 1 / -1; display: grid; justify-items: start; gap: 10px; padding-bottom: 24px; overflow: hidden; border-radius: var(--r); color: #fff; background: var(--primary); }
.promo-tile > :not(img) { margin-inline: 20px; }
.promo-tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 8px; }
.promo-tile h3 { font-size: clamp(24px, 3.2vw, 38px); margin-block: 0; }
.promo-tile h3 em { color: var(--accent-soft); }
.promo-tile .eyebrow { color: var(--accent-soft); margin-bottom: 0; }
.promo-tile .btn { margin-top: 8px; min-height: 46px; }
@media (min-width: 760px) {
  .promo-tile { align-content: center; min-height: 320px; padding: 40px 50% 40px 28px; }
  .promo-tile img { position: absolute; inset: 0 0 0 50%; width: 50%; height: 100%; margin: 0; aspect-ratio: auto; }
}
.load-more { display: grid; justify-items: center; gap: 14px; margin-top: 50px; font-size: 12.5px; color: var(--muted); }
.load-more .bar { width: 200px; height: 2px; background: var(--line); }
.load-more .bar span { display: block; height: 100%; background: var(--primary); }
.empty { padding: 60px 20px; text-align: center; }
.empty .orn { width: 46px; height: 46px; }
.empty h2 { margin: 6px 0 10px; }
.empty p { color: var(--muted); max-width: 40ch; margin: 0 auto 26px; }

/* Product page */
.pdp { display: grid; gap: 0; }
.gallery { position: relative; }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--cream); }
.g-track::-webkit-scrollbar { display: none; }
.g-item { position: relative; flex: 0 0 100%; aspect-ratio: 2 / 3; max-height: 82svh; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.g-item img, .g-video video, .g-video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.g-video { cursor: default; background: #0d0a09; }
.g-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.g-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .55); transition: width .35s var(--ease), background .3s; }
.g-dots i.on { width: 20px; border-radius: 3px; background: #fff; }
.g-count { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 99px; background: rgb(34 29 26 / .55); color: #fff; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; backdrop-filter: blur(6px); }
.g-acts { position: absolute; top: 10px; right: 10px; display: grid; gap: 8px; }
.g-acts button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: blur(6px); }
.g-acts .i { width: 19px; height: 19px; }
.pinfo { padding: 6px var(--gut) 40px; }
.pinfo .crumbs { padding-top: 14px; }
.p-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.p-limited { display: inline-flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.p-limited::before { content: '✦'; }
.pinfo h1 { font-size: clamp(32px, 8vw, 50px); line-height: 1.02; }
.p-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 18px; font-size: 12.5px; color: var(--muted); }
.p-social a { text-decoration: underline; text-underline-offset: 3px; }
.p-social .hot { display: inline-flex; align-items: center; gap: 5px; color: var(--err); font-weight: 600; }
.p-social .hot .i { width: 15px; height: 15px; }
.p-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.p-price b { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.p-price.sale b { color: var(--primary); }
.p-price s { color: var(--muted); font-size: 16px; }
.save { padding: 5px 9px; background: color-mix(in srgb, var(--err) 10%, transparent); color: var(--err); font: 700 11px/1 var(--sans); letter-spacing: .04em; }
.p-price small { flex-basis: 100%; font-size: 11.5px; color: var(--muted); }
.p-row { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 12px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.p-row span { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 500; font-size: 13px; }
.p-row button { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; letter-spacing: .1em; }
.p-row .i { width: 18px; height: 18px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
/* Colour picker (products with colors[]) */
.colors { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.color-sw { width: 36px; height: 36px; border-radius: 50%; background: var(--c); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.color-sw:hover:not(:disabled) { box-shadow: 0 0 0 1px var(--ink); }
.color-sw.on { box-shadow: 0 0 0 2px var(--primary); }
.color-sw:disabled { cursor: not-allowed; opacity: .45; background: linear-gradient(135deg, transparent 46%, var(--muted) 47% 53%, transparent 54%), var(--c); }
.swatches { display: inline-flex; align-items: center; gap: 3px; }
.swatches small { font-size: 10px; color: var(--muted); }
.sizes.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.size { position: relative; min-width: 54px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font: 600 13px/1 var(--sans); transition: border-color .2s, background .2s, color .2s; }
.size:hover:not(:disabled) { border-color: var(--ink); }
.size.on { background: var(--primary); border-color: var(--primary); color: var(--paper); }
.size:disabled { color: var(--muted); background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--line) 6px 7px); cursor: not-allowed; }
.size sup { position: absolute; top: -8px; right: -6px; padding: 3px 5px; background: var(--err); color: #fff; font: 700 8.5px/1 var(--sans); }
.size-msg { min-height: 20px; margin: 10px 0 0; font-size: 12.5px; color: var(--err); }
.size-msg.ok { color: var(--ok); }
.p-buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 8px; }
.p-buy .btn-gold { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; height: 52px; }
.qty button { width: 42px; height: 100%; display: grid; place-items: center; }
.qty .i { width: 16px; height: 16px; }
.qty span { min-width: 30px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty.sm { height: 36px; } .qty.sm button { width: 32px; }
.p-mini-acts { display: flex; gap: 22px; margin: 18px 0 0; font-size: 12.5px; }
.p-mini-acts button { display: inline-flex; align-items: center; gap: 7px; }
.p-mini-acts .i { width: 18px; height: 18px; }
.deliv { margin-top: 26px; padding: 18px; background: var(--cream); font-size: 13px; }
.deliv-cut { display: flex; gap: 10px; align-items: flex-start; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.deliv-cut .i { color: var(--primary); margin-top: 1px; }
.deliv-cut b { color: var(--primary); font-variant-numeric: tabular-nums; }
.deliv ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.deliv li { display: flex; justify-content: space-between; gap: 12px; }
.deliv li span:last-child { color: var(--muted); white-space: nowrap; }
.deliv .free { margin: 12px 0 0; color: var(--ok); font-weight: 600; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.trust-row div { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border: 1px solid var(--line); text-align: center; font-size: 11px; line-height: 1.3; }
.trust-row .i { color: var(--primary); }
.paychips.light .paychip { border: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.acc[open] summary .i { transform: rotate(180deg); }
.acc-body { padding: 0 0 20px; color: var(--muted); font-size: 14px; }
.acc-body ul { margin: 0; padding-left: 18px; }
.includes { display: grid; gap: 12px; }
.inc { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--ink); }
.inc span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; font: 500 15px/1 var(--serif); color: var(--primary); }
.inc b { display: block; font-weight: 600; font-size: 13.5px; }
.inc small { color: var(--muted); font-size: 13px; }
.buybar { position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px var(--gut) calc(10px + var(--safe-b)); background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
.buybar.on { transform: none; }
.buybar img { width: 44px; height: 56px; object-fit: cover; }
.buybar div { flex: 1; min-width: 0; font-size: 12px; line-height: 1.35; }
.buybar div b { display: block; font-size: 15px; }
.buybar div span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.buybar .btn { min-height: 48px; padding: 0 20px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
  .g-track { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; background: none; }
  .g-item { aspect-ratio: 2 / 3; max-height: none; }
  .g-dots, .g-count { display: none; }
  .gallery { padding-top: 20px; }
  .g-acts { top: 30px; right: 20px; }
  .pinfo { position: sticky; top: calc(var(--hdr-h) + 10px); align-self: start; padding: 10px 0 60px; }
  .buybar { display: none; }
}

/* Lightbox */
.lightbox { display: grid; gap: 4px; background: #0d0a09; }
.lightbox img { width: 100%; height: auto; }

/* Sheet (dialog) */
.sheet { padding: 0; border: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: var(--ink); overflow: hidden; }
.sheet::backdrop { background: rgb(26 10 14 / .5); backdrop-filter: blur(3px); }
.sheet-body { position: fixed; display: flex; flex-direction: column; background: var(--paper); overflow: hidden; }
.sheet.right .sheet-body { top: 0; right: 0; bottom: 0; width: min(460px, 100%); animation: in-right .55s var(--ease); }
.sheet.left .sheet-body { top: 0; left: 0; bottom: 0; width: min(420px, 90%); animation: in-left .55s var(--ease); }
.sheet.bottom .sheet-body { left: 0; right: 0; bottom: 0; max-height: 90svh; border-radius: 18px 18px 0 0; animation: in-up .55s var(--ease); }
.sheet.top .sheet-body { left: 0; right: 0; top: 0; max-height: 100svh; height: 100svh; animation: in-down .5s var(--ease); }
.sheet.full .sheet-body { inset: 0; background: #0d0a09; animation: fade .35s forwards; opacity: 0; }
.sheet.closing .sheet-body { animation: sheet-out .28s ease-in forwards; }
.sheet.closing.right .sheet-body { animation-name: out-right; }
.sheet.closing.left .sheet-body { animation-name: out-left; }
.sheet.closing.bottom .sheet-body { animation-name: out-down; }
@keyframes sheet-out { to { opacity: 0; } }
@keyframes out-right { to { transform: translateX(100%); } }
@keyframes out-left { to { transform: translateX(-100%); } }
@keyframes out-down { to { transform: translateY(100%); } }
.sheet.closing::backdrop { opacity: 0; transition: opacity .3s; }
@keyframes in-right { from { transform: translateX(100%); } }
@keyframes in-left { from { transform: translateX(-100%); } }
@keyframes in-up { from { transform: translateY(100%); } }
@keyframes in-down { from { transform: translateY(-40px); opacity: 0; } }
@media (min-width: 900px) {
  .sheet.bottom .sheet-body { left: 50%; top: 50%; bottom: auto; right: auto; width: min(560px, 92vw); max-height: 86svh; border-radius: 2px; transform: translate(-50%, -50%); animation: pop .45s var(--ease); }
  .sheet.top .sheet-body { height: auto; max-height: 86svh; }
  .sheet.closing.bottom .sheet-body { animation-name: sheet-out; }
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }
.sh-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px var(--gut); border-bottom: 1px solid var(--line); flex: none; }
.sh-head h2 { font-size: 26px; }
.sh-head h2 em { color: var(--primary); }
.sh-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px var(--gut); }
.sh-foot { flex: none; padding: 16px var(--gut) calc(16px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--paper); }
.sheet.bottom .sh-head::before { content: ''; position: absolute; left: 50%; top: 7px; width: 38px; height: 4px; border-radius: 4px; background: var(--line); transform: translateX(-50%); }
@media (min-width: 900px) { .sheet.bottom .sh-head::before { display: none; } }
.sheet.full .close-x { position: fixed; top: 14px; right: 14px; z-index: 2; background: rgb(255 255 255 / .12); color: #fff; }
.sheet.full .sh-scroll { padding: 0; }

/* Quick order sheet */
.qo-head { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; margin-bottom: 18px; }
.qo-img { position: relative; width: 88px; height: 110px; overflow: hidden; border-radius: 14px; background: var(--cream); }
.qo-head h3 { font-size: 19px; line-height: 1.25; }
.qo-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qo-foot .btn { padding: 0 12px; }
.qo-foot .link { grid-column: 1 / -1; justify-self: center; border: 0; }

/* Menu */
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font: 500 25px/1.1 var(--serif); }
.menu-links a small { font: 400 13px/1 var(--bn); color: var(--accent); margin-left: 10px; }
.menu-links a.hl { color: var(--accent); }
.menu-links .i { width: 18px; height: 18px; color: var(--muted); }
.menu-arches { grid-auto-columns: 30%; padding: 0; margin: 24px 0 8px; scroll-padding: 0; }
.menu-arches .tile b { font-size: 15px; margin-top: 8px; }
.menu-sub { display: grid; gap: 2px; margin-top: 18px; }
.menu-sub a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; }
.menu-sub .i { width: 19px; height: 19px; color: var(--primary); }

/* Search */
.search-bar { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px var(--gut); border-bottom: 1px solid var(--line); }
.search-bar .i { color: var(--muted); }
.search-bar input { flex: 1; height: 52px; border: 0; background: none; outline: none; font: 400 24px/1 var(--serif); }
.search-bar input::-webkit-search-cancel-button { display: none; }
.sr-label { margin: 0 0 12px; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.sr-list { display: grid; gap: 4px; }
.sr-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sr-item img { width: 54px; height: 68px; object-fit: cover; }
.sr-item b { display: block; font: 500 18px/1.15 var(--serif); }
.sr-item small { color: var(--muted); font-size: 12px; }
.sr-item span:last-child { font-weight: 600; font-size: 13.5px; }
.sr-item mark { background: color-mix(in srgb, var(--accent) 30%, transparent); color: inherit; }
@media (min-width: 900px) { .search-inner { max-width: 900px; margin: 0 auto; width: 100%; } }

/* Cart */
.free-bar { padding: 14px 16px; background: var(--cream); font-size: 12.5px; margin-bottom: 18px; }
.free-bar p { margin: 0 0 9px; }
.free-bar p b { color: var(--primary); }
.free-bar .track { height: 4px; background: color-mix(in srgb, var(--ink) 10%, transparent); border-radius: 4px; overflow: hidden; }
.free-bar .track span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); border-radius: 4px; transition: width .8s var(--ease); }
.free-bar.done p { color: var(--ok); font-weight: 600; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; height: 108px; object-fit: cover; }
.line h3 { font-size: 18px; line-height: 1.15; }
.line p { margin: 4px 0 10px; font-size: 12px; color: var(--muted); }
.line-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.line-bottom b { font-size: 14px; }
.line .rm { margin-top: 8px; font-size: 11.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line .warn { color: var(--err); font-size: 11.5px; margin: 6px 0 0; }
.upsell { margin-top: 26px; }
.upsell .scroller { padding: 0; grid-auto-columns: 42%; scroll-padding: 0; }
.upsell .card h3 { font-size: 15px; }
.upsell .card-body { padding-top: 8px; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13.5px; }
.sum-row.total { margin: 10px 0 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.sum-row.discount { color: var(--ok); }
.fine { font-size: 11.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.fine .i { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }
.cart-page { display: grid; gap: 30px; padding-bottom: 80px; }
@media (min-width: 900px) { .cart-page { grid-template-columns: 1.5fr 1fr; gap: 60px; } .cart-page .summary { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; } }
.summary { padding: 24px; background: var(--cream); }
.summary h2 { font-size: 26px; margin-bottom: 18px; }

/* Checkout */
.co { display: grid; gap: 16px; padding-bottom: 150px; }
.co-head { padding: 26px 0 18px; }
.co-pill { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--primary) 7%, var(--cream)); color: var(--primary); font-size: 13.5px; }
.co-pill .i { width: 18px; height: 18px; flex: none; }
.co-card { margin: 0 0 16px; padding: 22px 18px; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 40px -28px rgb(20 42 36 / .35); }
.co-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.co-card-head h2 { font-size: 22px; }
.co-card-head small { color: var(--muted); font-size: 12.5px; }
.co-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.co-line-img { position: relative; width: 64px; height: 80px; overflow: hidden; border-radius: 12px; }
.co-line-img img { width: 100%; height: 100%; object-fit: cover; }
.co-line b { display: block; font: 400 15px/1.3 var(--serif); }
.co-line small { display: block; margin: 3px 0 8px; color: var(--muted); font-size: 12px; }
.co-line .line-bottom span { font-weight: 600; font-size: 14px; }
.co-rm { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: background .2s, color .2s; }
.co-rm:hover { background: var(--paper); color: var(--err); }
.co-rm .i { width: 15px; height: 15px; }
.co-more { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 13px; border: 1px dashed color-mix(in srgb, var(--primary) 40%, transparent); border-radius: 14px; color: var(--primary); font-size: 13.5px; font-weight: 500; transition: background .2s; }
.co-more:hover { background: color-mix(in srgb, var(--primary) 6%, transparent); }
.co-more .i { width: 16px; height: 16px; }
.co .summary { margin: 0; }
.pay-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-tile { position: relative; }
.pay-tile input { position: absolute; opacity: 0; }
.pay-tile > span { position: relative; display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 96px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.pay-tile img { max-height: 28px; max-width: 80%; }
.pay-tile > span > .i { width: 26px; height: 26px; color: var(--primary); }
.pay-tile b { font-size: 12px; font-weight: 600; line-height: 1.2; }
.pay-tile i { position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease); }
.pay-tile i .i { width: 12px; height: 12px; stroke-width: 2.6; }
.pay-tile input:checked + span { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary), 0 10px 24px -14px color-mix(in srgb, var(--primary) 60%, transparent); transform: translateY(-2px); }
.pay-tile input:checked + span i { opacity: 1; transform: none; }
.pay-tile input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pay-box { display: grid; gap: 12px; margin-top: 14px; padding: 18px 16px; border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--primary) 4%, var(--cream)); }
.pay-box #pay-how { display: grid; gap: 10px; }
.pay-step { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.pay-step p { margin: 2px 0 0; }
.pay-step small.bn { display: block; margin-top: 2px; font: 12.5px/1.5 var(--bn); color: var(--muted); }
.pay-n { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--cream); font: 600 12px/1 var(--sans); }
.pay-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-left: 38px; padding: 11px 12px 11px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pay-copy small { display: block; font-size: 12px; color: var(--muted); }
.pay-copy b { font: 600 17px/1.35 var(--sans); letter-spacing: .03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .pay-copy { margin-left: 0; } }
.pay-copy button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent); border-radius: 999px; background: #fff; color: var(--primary); font-size: 13px; font-weight: 600; }
.pay-copy button .i { width: 15px; height: 15px; }
.paid-row { display: grid; gap: 14px; }
.pay-tip { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.field .shot-in { position: relative; display: block; margin: 0; font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; cursor: pointer; }
.field .shot-in input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; }
.shot-in span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1.5px dashed color-mix(in srgb, var(--primary) 40%, transparent); border-radius: 14px; background: #fff; color: var(--primary); }
.shot-in em { font-style: normal; }
.shot-in .i { width: 19px; height: 19px; }
.shot-in img { width: 44px; height: 60px; object-fit: cover; border-radius: 8px; }
.shot-in input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field.bad .shot-in span { border-color: var(--err); }
.pay-safe { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.pay-safe .i { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.remember { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 13px; }
.remember input { accent-color: var(--primary); width: 18px; height: 18px; }
@media (min-width: 900px) { .co { grid-template-columns: 1.35fr 1fr; gap: 60px; padding-bottom: 90px; } .co .summary { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; } }
.fs { border: 0; padding: 0; margin: 0 0 30px; }
.fs.co-card { margin: 0 0 16px; padding: 22px 18px; min-width: 0; }
.fs.co-card legend { float: left; width: 100%; }
.fs.co-card legend + * { clear: both; }
.fs legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font: 500 26px/1 var(--serif); }
.fs legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--cream); display: grid; place-items: center; font: 600 12px/1 var(--sans); }
.fields { display: grid; gap: 14px; }
@media (min-width: 600px) { .fields.two { grid-template-columns: 1fr 1fr; } .field.wide { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 7px; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.field label small { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); background: #fff; border-radius: 14px; outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s; appearance: none; }
.field textarea { height: 88px; padding: 14px 16px; resize: vertical; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221d1a' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--err); }
.field .err { display: none; margin-top: 6px; font-size: 12px; color: var(--err); }
.field.bad .err { display: block; }
.field select:disabled { opacity: .55; cursor: not-allowed; }
.field .hint { margin: 6px 0 0; font-size: 12px; color: var(--ok); }
.field .hint:empty { display: none; }
.phone-in { display: flex; }
.phone-in input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.phone-in span { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); border-right: 0; border-radius: 14px 0 0 14px; background: var(--paper); font-size: 14px; font-weight: 600; }
.coupon { display: flex; gap: 8px; margin: 16px 0; }
.coupon input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; background: #fff; outline: none; text-transform: uppercase; }
.coupon .btn { min-height: 46px; padding: 0 18px; }
.coupon-msg { margin: -8px 0 12px; font-size: 12px; }
.coupon-msg.ok { color: var(--ok); } .coupon-msg.bad { color: var(--err); }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 13px; }
.mini-line .ph { position: relative; }
.mini-line img { width: 56px; height: 70px; object-fit: cover; }
.mini-line .ph i { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 700 10.5px/20px var(--sans); text-align: center; font-style: normal; }
.mini-line b { display: block; font: 500 16px/1.15 var(--serif); }
.mini-line small { color: var(--muted); }
.co-sticky .fine { margin-top: 6px; }
@media (min-width: 900px) { .co-sticky { display: none; } }
@media (max-width: 899px) { .co .place-desk, .co .summary .pay-fine { display: none; } }
.co-sticky { position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; padding: 12px var(--gut) calc(12px + var(--safe-b)); background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }

.fs legend small { font: 400 14px/1 var(--bn); color: var(--accent); }
.field label small.bn { font-family: var(--bn); font-size: 12px; color: var(--accent); margin-left: 4px; }
.phone-in { position: relative; }
.phone-in .ok-ic { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ok); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.field.good .ok-ic { opacity: 1; transform: none; }
.field.good .phone-in input { border-color: var(--ok); }
.zone-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid transparent; border-radius: 14px; font-size: 13px; }
.zone-card > .i { color: var(--muted); }
.zone-card div { flex: 1; min-width: 0; }
.zone-card b { display: block; font-size: 13.5px; font-weight: 600; }
.zone-card small { color: var(--muted); font-size: 12px; }
.zone-card em { font-style: normal; font-weight: 700; font-size: 15px; white-space: nowrap; }
.zone-card em s { margin-right: 4px; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.zone-card.ok { background: color-mix(in srgb, var(--ok) 8%, var(--paper)); border-color: color-mix(in srgb, var(--ok) 35%, transparent); animation: pop-in .45s var(--ease); }
.zone-card.ok > .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.2; }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px); } }
.opt { margin-top: 14px; }
.opt summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--primary); }
.opt summary::-webkit-details-marker { display: none; }
.opt summary .i { width: 15px; height: 15px; transition: transform .3s; }
.opt summary .muted { font-weight: 400; }
.opt[open] summary { margin-bottom: 12px; }
.opt[open] summary .i { transform: rotate(45deg); }

/* Placing overlay: shown while the order is sent */
.placing { position: fixed; inset: 0; z-index: 450; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 24px; text-align: center; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .35s ease both; transition: opacity .5s; }
.placing.out { opacity: 0; }
.placing-seal { position: relative; width: 112px; height: 112px; margin-bottom: 18px; display: grid; place-items: center; }
.placing-seal svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: url(#rg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 70 207; animation: spin 1.1s linear infinite; }
.placing-seal .i { width: 64px; height: 24px; stroke: url(#rg); stroke-width: 2.4; }
.placing p { margin: 0; font: 400 22px/1.3 var(--serif); color: var(--ink); }
.placing small { color: var(--muted); font-size: 12.5px; }

/* Order success */
.success { max-width: 640px; margin: 0 auto; padding: 50px var(--gut) 90px; text-align: center; position: relative; }
.tick { position: relative; width: 96px; height: 96px; margin: 0 auto 26px; }
.tick svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw 1.1s var(--ease) .1s forwards; }
.tick path { stroke: var(--primary); stroke-width: 3; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) .9s forwards; }
.tick.bad svg { stroke: var(--err); }
.tick.bad path { stroke: var(--err); stroke-dasharray: 90; stroke-dashoffset: 90; }
.petal { position: absolute; left: 50%; top: 98px; width: 9px; height: 14px; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: var(--c, var(--accent)); opacity: 0; animation: burst 1.6s var(--ease) 1s forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(-50%, 0) rotate(0); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), var(--y)) rotate(var(--r)); } }
.ok-in { opacity: 0; transform: translateY(16px); animation: rise-in .8s var(--ease) var(--t, 0s) forwards; }
@keyframes rise-in { to { opacity: 1; transform: none; } }
.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; max-width: 420px; margin: 30px auto 0; }
.route-node { display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.route-node span { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--primary); }
.route-node .i { width: 22px; height: 22px; }
.route-node.team span { animation: arrive .6s var(--ease) 3.1s forwards; }
.route-node.team span::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ripple 1.2s ease-out 3.1s 2; }
@keyframes arrive { to { background: var(--primary); color: var(--cream); border-color: var(--primary); transform: scale(1.08); } }
@keyframes ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
.route-line { position: relative; height: 2px; margin-bottom: 26px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.route-line::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gold); animation: fill-line 1.3s cubic-bezier(.65, 0, .35, 1) 1.8s forwards; }
@keyframes fill-line { to { width: 100%; } }
.route-dot { position: absolute; z-index: 1; left: 0; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent); animation: travel 1.3s cubic-bezier(.65, 0, .35, 1) 1.8s forwards, hide-dot .3s 3.1s forwards; }
.route-dot .i { width: 16px; height: 16px; }
@keyframes travel { 50% { transform: translateY(-10px); } to { left: 100%; } }
@keyframes hide-dot { to { opacity: 0; transform: scale(.4); } }
.route-status { display: grid; margin: 4px 0 0; font-size: 13.5px; color: var(--primary); }
.route-status span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.route-status .i { width: 16px; height: 16px; stroke-width: 2.4; }
.rs-a { animation: fade-out .3s 3.05s forwards; }
.rs-b { opacity: 0; font-weight: 600; animation: fade .4s 3.15s forwards; }
@keyframes fade-out { to { opacity: 0; } }
.timeline { list-style: none; margin: 6px 0 18px; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding-bottom: 18px; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.timeline li.done:not(:last-child)::before { background: var(--primary); }
.timeline i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); color: transparent; }
.timeline i .i { width: 13px; height: 13px; stroke-width: 2.6; }
.timeline .done i { background: var(--primary); border-color: var(--primary); color: #fff; }
.timeline .now i { border-color: var(--accent); background: var(--paper); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); animation: pulse-ring 1.8s ease-out infinite; }
@keyframes pulse-ring { to { box-shadow: 0 0 0 10px transparent; } }
.timeline b { display: block; font-size: 14px; font-weight: 600; }
.timeline small { color: var(--muted); font-size: 12px; }
.timeline .now b { color: var(--primary); }
.order-card { margin-top: 32px; padding: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; text-align: left; }
.order-card h3 { font-size: 22px; margin-bottom: 12px; }
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; font-size: 13px; }
.order-meta small { display: block; color: var(--muted); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.steps-track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0 6px; }
.steps-track div { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .06em; text-align: center; color: var(--muted); }
.steps-track div::before { content: ''; position: absolute; top: 7px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.steps-track div:first-child::before { display: none; }
.steps-track i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.steps-track .done { color: var(--ink); font-weight: 600; }
.steps-track .done i { background: var(--primary); border-color: var(--primary); }
.steps-track .done::before { background: var(--primary); }
.steps-out { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 12px; padding: 10px 16px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 8%, var(--paper)); font-weight: 600; font-size: 13.5px; }
.steps-out.bad { background: color-mix(in srgb, var(--err) 10%, var(--paper)); color: var(--err); }
.steps-out .i { width: 17px; height: 17px; }

/* Account + content pages */
.acct { display: grid; gap: 22px; padding-bottom: 90px; }
@media (min-width: 900px) { .acct { grid-template-columns: 1fr 1fr; gap: 30px; } }
.panel { padding: 28px 24px; border: 1px solid var(--line); background: #fff; }
.panel h2 { font-size: 28px; margin-bottom: 8px; }
.panel > p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.panel form { display: grid; gap: 14px; }
.order-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.order-row b { display: block; }
.order-row small { color: var(--muted); }
.status { align-self: center; padding: 5px 10px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.prose { max-width: 720px; margin: 0 auto; padding-bottom: 90px; font-size: 15.5px; }
.prose h2 { font-size: 30px; margin: 34px 0 12px; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 82%, var(--paper)); }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--cream); }
td:first-child { font-weight: 700; }
.contact-cards { display: grid; gap: 12px; margin-top: 20px; }
.contact-cards a, .contact-cards div { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); background: #fff; }
.contact-cards .i { color: var(--primary); }
.contact-cards small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.notfound { min-height: 64svh; display: grid; place-items: center; text-align: center; padding: 60px var(--gut); }
.notfound h1 { font-size: clamp(90px, 24vw, 200px); color: var(--primary); line-height: .9; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .rv-wipe { opacity: 1; transform: none; clip-path: none; }
  .ticker-track { animation: none; }
}

/* Spin & Win: a centred card with the wheel on top, the offer and form below */
.sheet.center .sheet-body { left: 50%; top: 50%; width: min(94vw, 500px); max-height: 94svh; border-radius: 22px; transform: translate(-50%, -50%); background: linear-gradient(150deg, #e9f3ee, var(--cream) 48%, #f5eedd); box-shadow: 0 30px 80px -24px rgb(20 58 50 / .55); animation: pop .45s var(--ease); }
.sheet.closing.center .sheet-body { animation-name: sheet-out; }
.spin-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px -4px rgb(0 0 0 / .3); }
.spin-x .i { width: 18px; height: 18px; }
.spin-box { padding: 30px var(--gut) 22px; text-align: center; }
.wheel { position: relative; width: min(330px, 78vw); margin: 4px auto 22px; }
.wheel-disc { position: relative; transition: transform 5.2s cubic-bezier(.12, .7, .08, 1); }
.wheel-disc svg { display: block; width: 100%; height: auto; font-family: var(--sans); filter: drop-shadow(0 10px 20px rgb(20 58 50 / .16)); }
.wheel-pin { position: absolute; z-index: 2; top: -16px; left: 50%; width: 40px; transform: translateX(-50%); filter: drop-shadow(0 4px 6px rgb(0 0 0 / .25)); }
.wheel-pin svg { display: block; width: 100%; height: auto; }
.spin-form, .spin-res { display: grid; gap: 12px; max-width: 400px; margin: 0 auto; }
.spin-form { text-align: left; transition: opacity .3s; }
.spin-form.spinning { opacity: .35; pointer-events: none; }
.spin-form .field label { font: 600 13.5px/1.3 var(--bn); letter-spacing: 0; text-transform: none; }
.spin-form .field label i { color: var(--err); font-style: normal; }
.spin-form .field .err { font-family: var(--bn); }
.spin-intro, .spin-res { justify-items: center; text-align: center; }
.spin-intro { display: grid; gap: 7px; margin-bottom: 4px; }
.spin-res { animation: fade .5s; }
.spin-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 99px; background: linear-gradient(90deg, #f6ecd2, #f1e0bd); color: #7d5f2c; font: 600 13px/1.3 var(--bn); }
.spin-title { font: 400 27px/1.15 var(--serif); background: linear-gradient(90deg, var(--primary-deep), #3d8a6c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spin-sub { margin: 0; color: var(--muted); font: 400 14.5px/1.5 var(--bn); }
.spin-go { background: linear-gradient(90deg, var(--primary-deep), var(--primary) 55%, #3d8a6c); color: #fff; font: 600 16px/1 var(--bn); letter-spacing: 0; text-transform: none; box-shadow: 0 12px 26px -12px rgb(20 58 50 / .7); }
.spin-go:hover { filter: brightness(1.08); }
.spin-form .fine, .spin-res .fine { margin: 0; text-align: center; font-family: var(--bn); }
.spin-won { font-size: 34px; }
.spin-gift { display: flex; gap: 14px; align-items: center; width: 100%; padding: 10px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.spin-gift .ph { position: relative; flex: none; width: 76px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; }
.spin-gift .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spin-gift b { display: block; margin-bottom: 4px; font: 400 19px/1.2 var(--serif); }
.spin-gift small { color: var(--muted); font: 400 13.5px/1.4 var(--bn); }
.spin-gift em { color: var(--accent); font-style: normal; font-weight: 700; }
.spin-code { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 10px 10px 18px; border: 1.5px dashed var(--accent); border-radius: 16px; background: #fff; text-align: left; }
.spin-code span { flex: 1; }
.spin-code small { display: block; font: 500 12px/1.3 var(--bn); color: var(--muted); }
.spin-code b { font: 600 20px/1.3 var(--sans); letter-spacing: .1em; color: var(--primary-deep); }
.spin-code .btn { min-height: 40px; padding: 0 18px; font-family: var(--bn); letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .wheel-disc { transition: none; } }

/* Review form on a delivered order's page */
.rate { max-width: 560px; margin: 44px auto 0; text-align: left; }
.rate > .h-md, .rate > .muted { text-align: center; }
.rate > .muted { margin: 6px 0 8px; }
.rate-item { margin-top: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.rate-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rate-head img { width: 48px; height: 60px; object-fit: cover; border-radius: 8px; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 12px; }
.rate-stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rate-stars label { cursor: pointer; color: var(--line); }
.rate-stars .i { width: 32px; height: 32px; fill: currentColor; stroke: currentColor; }
.rate-stars label:hover, .rate-stars label:hover ~ label, .rate-stars input:checked ~ label { color: var(--accent); }
.rate-stars input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.rate-item .field textarea { height: 96px; padding: 12px 16px; resize: vertical; }
.rate-done { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px auto 0; color: var(--ok); font-weight: 600; }
.rate-done .i { width: 18px; height: 18px; }
