/* Miss X Artist storefront, v2.1
   Lapis, saffron, pomegranate on paper. Fraunces (soft) for words that matter, Jost for the rest. */

:root {
  --lapis: #1D3557;
  --lapis-2: #2A4670;
  --saffron: #D7972B;
  --saffron-2: #E5AE4E;
  --pom: #A4372D;
  --wax: #8E2D24;
  --paper: #FFFDF8;
  --ivory: #FFF6E6;
  --muted: #56627A;
  --pista: #8E9C6B;
  --sangam: #7FA2C9;
  --gold: #C9A86A;
  --film: #3A322B;
  --line: #DCD6CC;
  --line-2: #E9E3D8;
  --ok: #5E7240;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --hi: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;
  --ur: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(29, 53, 87, .06), 0 6px 18px rgba(29, 53, 87, .07);
  --shadow-lg: 0 2px 6px rgba(29, 53, 87, .08), 0 22px 50px rgba(29, 53, 87, .16);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--lapis); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { max-width: 100%; }
img, video { display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 420; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.012em; font-variation-settings: 'SOFT' 100, 'WONK' 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.2rem; font-weight: 480; }
p { margin: 0 0 1em; text-wrap: pretty; }
small, .small { font-size: .88rem; }
b, strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: var(--saffron); color: var(--lapis); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow, .narrow { max-width: 780px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 500; background: var(--lapis); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.req { color: var(--pom); }
.opt { color: var(--muted); font-weight: 400; font-size: .88em; }
.hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.pt-0, .pt-0 { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-sub { color: var(--muted); margin: -16px 0 24px; }
.section-title { text-align: center; margin-bottom: 28px; }
.head-meta { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 8px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js:not(.js-ok) .reveal { animation: revealSafe .01s 3.5s forwards; }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes revealSafe { to { opacity: 1; transform: none; } }

/* ---------- Links and buttons ---------- */
.text-link, .link-btn, .btn-text { background: none; border: 0; padding: 0; cursor: pointer; color: var(--lapis); font-weight: 500; text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-skip-ink: none; }
.text-link:hover, .link-btn:hover, .btn-text:hover { color: var(--pom); }
.text-link.light { color: var(--ivory); text-decoration-color: var(--saffron); }
.text-link.light:hover { color: #fff; }
.btn-text.center { display: block; margin: 14px auto 0; }
.btn-danger-text { background: none; border: 0; color: var(--pom); cursor: pointer; text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: .7em 1.3em; border-radius: var(--radius-sm); border: 1.5px solid var(--lapis); background: var(--paper); color: var(--lapis); font: 500 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:hover { background: var(--ivory); }
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-dark { background: var(--lapis); color: var(--paper); }
.btn-primary:hover, .btn-dark:hover { background: var(--lapis-2); color: var(--paper); }
.btn-ghost { background: transparent; }
.btn-light { background: var(--paper); color: var(--lapis); border-color: var(--paper); }
.btn-light:hover { background: var(--ivory); }
.btn-sm { min-height: 36px; padding: .45em .9em; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .seal-btn[disabled] { opacity: .6; cursor: progress; }

/* The primary action: a wax seal pressed on a pomegranate band */
.seal-btn { position: relative; display: inline-flex; align-items: center; gap: .75em; min-height: 52px; padding: .55em 1.5em .55em .6em; border: 0; border-radius: var(--radius-sm); background: var(--pom); color: var(--paper); font: 500 1.02rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; box-shadow: 0 2px 0 var(--wax), 0 8px 20px -10px rgba(142, 45, 36, .7); transition: background .2s, transform .15s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.seal-btn:hover { background: #B23F34; }
.seal-btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--wax), 0 4px 12px -8px rgba(142, 45, 36, .7); }
.seal-btn .seal { flex: none; width: 38px; height: 38px; border-radius: 47% 53% 50% 49% / 52% 47% 53% 48%; background: var(--wax) url('../img/mx/flower.svg') center / 66% no-repeat; box-shadow: inset 0 0 0 3px rgba(255, 246, 230, .12), inset 0 -3px 5px rgba(0, 0, 0, .25), 0 1px 0 rgba(0, 0, 0, .2); transition: transform .5s var(--ease); }
.seal-btn:hover .seal { transform: rotate(45deg) scale(1.05); }
.seal-btn .sl { white-space: nowrap; }
.seal-btn .sp { margin-left: auto; padding-left: 1em; border-left: 1px solid rgba(255, 253, 248, .35); font-weight: 600; white-space: nowrap; }
.seal-btn.block { display: flex; width: 100%; justify-content: center; }
.seal-btn.block .seal { position: absolute; left: 7px; top: 50%; margin-top: -19px; }
.seal-btn.block .sl { padding-left: 34px; }
.seal-btn.block .sp { margin-left: .4em; }
.seal-btn.small { min-height: 44px; font-size: .95rem; padding: .4em 1.1em .4em .45em; }
.seal-btn.small .seal { width: 32px; height: 32px; }
.seal-btn.added .seal { animation: press .6s var(--ease); }
@keyframes press { 0% { transform: scale(1); } 35% { transform: scale(.8) rotate(-20deg); } 100% { transform: scale(1) rotate(45deg); } }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; color: var(--lapis); cursor: pointer; position: relative; text-decoration: none; transition: background .2s; }
.icon-btn:hover { background: var(--ivory); }

/* ---------- Announcement ---------- */
.announce { background: var(--lapis); color: var(--ivory); font-size: .9rem; }
.announce-in { position: relative; height: 38px; display: grid; place-items: center; text-align: center; }
.announce-in span { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.announce-in span.on { opacity: 1; transform: none; }

/* ---------- Header ---------- */
/* The blur sits on a layer behind the header, so the slide-out menu (position: fixed) can still fill the screen. */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 253, 248, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(29, 53, 87, .5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--lapis); margin-right: auto; }
.menu-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--saffron); color: var(--lapis); font-size: .72rem; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.cart-count.pop { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.4); } }

/* The name: Miss [flower] Artist, turning to Hindi and Urdu and back */
.nm { display: inline-flex; align-items: center; gap: .16em; font: 450 1.5rem/1 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.01em; white-space: nowrap; }
.nm .slot { display: inline-grid; align-items: center; }
.slot-l { justify-items: end; }
.slot-r { justify-items: start; }
.nm .w { grid-area: 1 / 1; opacity: 0; animation: nmword 12s infinite var(--ease); }
.nm .w.en { animation-delay: 0s; }
.nm .w.hi { animation-delay: -8s; font-family: var(--hi); font-size: .92em; line-height: 1.1; }
.nm .w.ur { animation-delay: -4s; font-family: var(--ur); font-size: .74em; line-height: 1.6; transform-origin: center; }
.nm .fx { width: .92em; height: .92em; flex: none; animation: nmflower 12s infinite var(--ease); }
@keyframes nmword { 0% { opacity: 0; transform: translateY(.3em); } 3.5%, 33.3% { opacity: 1; transform: none; } 36.8%, 100% { opacity: 0; transform: translateY(-.3em); } }
@keyframes nmflower { 0%, 32% { transform: rotate(0); } 37%, 65.5% { transform: rotate(90deg); } 70.5%, 95% { transform: rotate(180deg); } 100% { transform: rotate(270deg); } }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 12px; text-decoration: none; font-size: .98rem; font-weight: 450; color: var(--lapis); border-radius: var(--radius-sm); white-space: nowrap; text-underline-offset: 7px; }
.main-nav a:hover { color: var(--pom); }
.main-nav a.active { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 1.5px; text-decoration-skip-ink: none; }
.main-nav .nav-track { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .menu-toggle { display: inline-grid; margin-left: -10px; }
  .logo { margin: 0 auto; }
  .nm { font-size: 1.32rem; }
  .header-actions .track-btn { display: none; }
  .main-nav { position: fixed; z-index: 120; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--header-h) + 54px) 16px 24px; background: var(--paper); box-shadow: var(--shadow-lg); transform: translateX(-102%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
  .main-nav.open { transform: none; visibility: visible; transition: transform .35s var(--ease); box-shadow: 0 0 0 100vmax rgba(29, 53, 87, .45); }
  .main-nav a { padding: 14px 10px; font: 420 1.35rem/1.2 var(--serif); border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .main-nav .nav-track { display: block; }
  .menu-toggle { position: relative; z-index: 130; }
}

/* ---------- Home: the X opens ----------
   A lapis veil covers the photo. Its only opening is the flower between "Miss" and "Artist".
   Scrolling grows and turns that flower (home.js), so the photo shows through the petals. */
.xhero { --p: 1; --nm: clamp(3rem, 12.4vw, 10.5rem); position: relative; background: var(--lapis); color: var(--ivory); }
.js .xhero { --p: 0; height: 240vh; height: 240svh; }
.xh-stage { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 520px; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.js .xh-stage { position: sticky; top: var(--header-h); }
.xh-photo { position: absolute; inset: 0; z-index: 1; }
.js .xhero:not(.live):not(.static) .xh-photo { visibility: hidden; }
.xh-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(calc(1.16 - var(--p) * .16)); will-change: transform; }
.xh-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 53, 87, .08) 30%, rgba(29, 53, 87, .8) 100%), linear-gradient(90deg, rgba(29, 53, 87, .55), rgba(29, 53, 87, 0) 65%); opacity: clamp(0, calc((var(--p) - .5) * 2.6), 1); }
.xh-veil { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: none; pointer-events: none; overflow: hidden; }
.xhero.live .xh-veil { display: block; }
.xh-name { position: relative; z-index: 3; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font: 380 var(--nm)/1 var(--serif); font-variation-settings: 'SOFT' 100, 'opsz' 144; letter-spacing: -.03em; color: var(--ivory); pointer-events: none; opacity: clamp(0, calc(1 - (var(--p) - .1) * 3.6), 1); }
.xh-w { display: block; white-space: nowrap; }
.xh-l { justify-self: end; transform: translateX(calc(var(--p) * -44vw)); }
.xh-r { justify-self: start; transform: translateX(calc(var(--p) * 44vw)); }
.xh-gap { display: block; width: .86em; height: .86em; margin: 0 .06em; }
.xhero:not(.live) .xh-gap { background: url('../img/mx/flower.svg') center / 112% no-repeat; }
.xh-kicker { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; margin: calc(var(--nm) / -2 - 2.4em) 0 0; text-align: center; font: 400 clamp(.95rem, 1.6vw, 1.15rem)/1.3 var(--sans); color: var(--saffron); opacity: clamp(0, calc(1 - var(--p) * 5), 1); padding: 0 20px; }
.xh-copy { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 0 max(20px, calc((100vw - 1200px) / 2)) clamp(36px, 8vh, 80px); opacity: clamp(0, calc((var(--p) - .66) * 3.4), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p) - .66) * 3.4), 1)) * 28px)); pointer-events: none; }
.xh-copy > * { max-width: 620px; }
.xh-copy h1 { color: var(--paper); font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 380; margin-bottom: .3em; }
.xh-copy p { color: rgba(255, 246, 230, .92); font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.xh-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 22px; }
.xhero.revealed .xh-copy { pointer-events: auto; }
.xhero.revealed .xh-ctas .seal-btn .seal { animation: press .7s var(--ease) .1s both; }
.xh-hint { position: absolute; z-index: 4; left: 50%; bottom: 58px; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; font-size: .82rem; color: var(--ivory); opacity: clamp(0, calc(1 - var(--p) * 6), 1); }
.xh-hint img { width: 64px; animation: peek 2.4s ease-in-out infinite; }
@keyframes peek { 50% { transform: translateY(-5px); } }
/* First paint: the name settles in (the flower blooms in home.js) */
.js .xh-name .xh-l, .js .xh-name .xh-r { animation: nameIn 1.1s var(--ease) both; }
.js .xh-name .xh-r { animation-delay: .12s; }
.js .xh-kicker { animation: fadeIn 1s ease .7s both; }
@keyframes nameIn { from { opacity: 0; translate: 0 .25em; } to { opacity: 1; translate: 0 0; } }
@keyframes fadeIn { from { opacity: 0; } }
.xhero.static { height: auto !important; }
.xhero.static .xh-stage { position: relative; top: 0; }
@media (max-width: 700px) {
  .js .xhero { height: 210vh; height: 210svh; }
  .xh-copy { padding-bottom: 34px; }
  .xh-ctas .seal-btn { width: 100%; justify-content: center; }
}

/* ---------- Home sections ---------- */
.promise-row { background: var(--ivory); border-bottom: 1px solid var(--line-2); }
.promise-row ul { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.promise-row li { display: inline-flex; align-items: center; gap: 10px; font-size: .98rem; }
.promise-row img { width: auto; height: 28px; }

.finder { background: var(--saffron); color: var(--lapis); padding: clamp(56px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.finder::before { content: ''; position: absolute; inset: 0; background: url('../img/mx/pattern-saffrontissue.svg') center / 420px repeat; opacity: .22; pointer-events: none; }
.finder-grid { position: relative; display: grid; grid-template-columns: 1.35fr .9fr; gap: 40px; align-items: center; }
.finder-q { font: 380 clamp(1.8rem, 3.9vw, 3.1rem)/1.28 var(--serif); font-variation-settings: 'SOFT' 100; margin: 0 0 20px; letter-spacing: -.015em; }
.wv { background: none; border: 0; padding: 0 .04em; margin: 0; font: inherit; color: var(--pom); cursor: pointer; text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 2px; text-underline-offset: .18em; text-decoration-skip-ink: none; transition: color .2s; }
.wv:hover { color: var(--wax); }
.wv.flip { animation: flip .35s var(--ease); }
@keyframes flip { 0% { opacity: .2; transform: translateY(.25em); } 100% { opacity: 1; transform: none; } }
.finder-sub { max-width: 52ch; font-size: 1.05rem; }
.finder-ctas { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 24px; }
.finder-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.gift-tag { position: relative; width: min(290px, 80vw); padding: 46px 28px 26px; background: var(--paper); color: var(--lapis); text-align: center; border-radius: 6px 6px 10px 10px; clip-path: polygon(22% 0, 78% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); box-shadow: var(--shadow-lg); transform: rotate(-5deg); display: grid; justify-items: center; gap: 6px; }
.gt-hole { position: absolute; top: 16px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--saffron); box-shadow: inset 0 0 0 2px var(--gold); }
.gift-tag small { color: var(--muted); font-size: .9rem; }
.gift-tag b { font: italic 400 2rem/1.1 var(--serif); font-variation-settings: 'SOFT' 100; color: var(--pom); }
.gift-tag img { width: 34px; margin: 6px 0; }
.gift-tag em { font: italic 400 1rem var(--serif); color: var(--lapis); }
.finder-seal { position: absolute; width: 110px; right: 6%; bottom: 0; transform: rotate(14deg); filter: drop-shadow(0 6px 10px rgba(29, 53, 87, .25)); }

.craft-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.craft-media { position: relative; }
.craft-video { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ivory); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.craft-video video, .craft-video img { width: 100%; height: 100%; object-fit: cover; }
.craft-video figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 253, 248, .92); padding: 5px 10px; border-radius: var(--radius-sm); font-size: .85rem; }
.craft-tape { position: absolute; top: -14px; left: 50%; width: 120px; transform: translateX(-50%) rotate(-3deg); }
.craft-copy h2 { max-width: 16ch; }
.craft-copy p { max-width: 54ch; }
.craft-facts { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.craft-facts li { padding: 16px 0; display: grid; gap: 2px; }
.craft-facts b { font: 450 1.3rem/1.15 var(--serif); }
.craft-facts span { color: var(--muted); font-size: .92rem; }
.sign, .success-sign { font: italic 400 1.7rem/1 var(--serif); font-variation-settings: 'SOFT' 100; color: var(--pom); margin: 0; }

.collections { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 18px; }
.coll-card { display: grid; gap: 6px; text-decoration: none; }
.cc-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ivory); }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.coll-card:hover .cc-img img { transform: scale(1.05); }
.cc-name { font: 450 1.3rem/1.2 var(--serif); margin-top: 6px; }
.coll-card:hover .cc-name { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-skip-ink: none; }
.cc-meta { color: var(--muted); font-size: .9rem; }

.how { background: var(--ivory); }
.how-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.how-row > div { display: grid; align-content: start; gap: 4px; }
.how-row img { height: 56px; width: auto; margin-bottom: 12px; }
.how-row h3 { margin-bottom: 4px; font-size: 1.3rem; }
.how-row p { color: var(--muted); margin: 0; }

.ugc { columns: 5 200px; column-gap: 14px; }
.ugc figure { margin: 0 0 14px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--ivory); }
.ugc img { width: 100%; transition: transform .8s var(--ease); }
.ugc figure:hover img { transform: scale(1.04); }

.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-art { position: relative; padding: 14px; }
.s-photo { width: 100%; border-radius: var(--radius-sm); transform: rotate(-1.6deg); box-shadow: var(--shadow-lg); background: var(--ivory); border: 10px solid var(--paper); aspect-ratio: 4 / 5; object-fit: cover; }
.s-tape { position: absolute; top: 0; right: 22%; width: 110px; transform: rotate(8deg); }
.story-copy p { max-width: 56ch; font-size: 1.08rem; }
.signature { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.signature img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.signature span { display: grid; color: var(--muted); font-size: .9rem; }
.signature b { font: italic 400 1.4rem/1.1 var(--serif); color: var(--pom); }

.love-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; align-items: start; }
.review { margin: 0; padding: 22px; background: var(--ivory); border-radius: var(--radius); display: grid; gap: 10px; }
.review img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.review .stars { color: var(--saffron); letter-spacing: 2px; }
.review blockquote { margin: 0; font: 400 1.12rem/1.45 var(--serif); font-variation-settings: 'SOFT' 100; }
.review figcaption { color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.review figcaption a { color: var(--lapis); }
.verified { color: var(--ok); font-size: .8rem; }

.letter-cta { position: relative; max-width: 860px; margin: 0 auto; padding: 20px 0; }
.lc-paper { position: relative; padding: 46px clamp(22px, 6vw, 72px) 40px clamp(48px, 8vw, 96px); background-color: var(--paper); background-image: linear-gradient(90deg, transparent calc(clamp(30px, 5.5vw, 64px)), rgba(164, 55, 45, .35) calc(clamp(30px, 5.5vw, 64px)), rgba(164, 55, 45, .35) calc(clamp(30px, 5.5vw, 64px) + 1.5px), transparent calc(clamp(30px, 5.5vw, 64px) + 1.5px)), repeating-linear-gradient(180deg, transparent 0, transparent 39px, rgba(127, 162, 201, .45) 39px, rgba(127, 162, 201, .45) 40px); background-position: 0 0, 0 30px; border: 1px solid var(--line-2); border-radius: 3px; box-shadow: var(--shadow-lg); transform: rotate(-.6deg); }
.lc-hand { font: italic 400 clamp(1.35rem, 2.6vw, 1.75rem)/40px var(--serif); font-variation-settings: 'SOFT' 100; color: var(--lapis); margin: 0 0 0; }
.lc-hand:first-child { color: var(--pom); }
.lc-plain { color: var(--muted); line-height: 40px; margin: 0 0 22px; max-width: 54ch; }
.lc-tape { position: absolute; top: 4px; width: 120px; z-index: 2; }
.lc-tape.l { left: 4%; transform: rotate(-8deg); }
.lc-tape.r { right: 6%; transform: rotate(6deg); }
.lc-stamp { position: absolute; right: -10px; bottom: -6px; width: 120px; transform: rotate(12deg); z-index: 2; filter: drop-shadow(0 4px 8px rgba(29, 53, 87, .2)); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary, .accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font: 450 1.16rem/1.35 var(--serif); font-variation-settings: 'SOFT' 100; }
.faq-item summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .accordion summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--lapis), var(--lapis)) center / 14px 1.5px no-repeat, linear-gradient(var(--lapis), var(--lapis)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq-item[open] summary::after, .accordion details[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover, .accordion summary:hover { color: var(--pom); }
.faq-a { padding: 0 2px 20px; color: var(--muted); max-width: 66ch; }

@media (max-width: 960px) {
  .finder-grid, .craft-grid, .story-grid { grid-template-columns: 1fr; }
  .finder-art { min-height: 260px; }
  .how-row { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-art { max-width: 460px; }
}
@media (max-width: 560px) {
  .promise-row ul { justify-content: flex-start; gap: 10px 22px; }
  .promise-row li { font-size: .92rem; width: calc(50% - 12px); }
  .craft-facts { grid-template-columns: 1fr; gap: 0; }
  .craft-facts li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
  .craft-facts li:last-child { border: 0; }
  .ugc { columns: 2; column-gap: 10px; }
  .ugc figure { margin-bottom: 10px; }
  .lc-stamp { width: 88px; right: -4px; bottom: -18px; }
  .lc-tape { width: 90px; }
  .gift-tag b { font-size: 1.7rem; }
}

/* ---------- Page heads, shop ---------- */
.page-hero { padding: clamp(40px, 6vw, 76px) 0 clamp(26px, 4vw, 44px); position: relative; }
.page-hero.slim { padding-bottom: 18px; }
.page-hero h1 { margin-bottom: .25em; }
.page-hero .lead { margin: 0; }
.track-hero { text-align: center; }
.track-hero .lead { margin: 0 auto; }
.ph-doodle { width: 140px; margin: 0 auto 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--lapis); text-decoration: underline; }

.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.coll-tabs { display: flex; gap: 6px 22px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 6px 20px; }
.coll-tabs::-webkit-scrollbar { display: none; }
.coll-tabs a { white-space: nowrap; text-decoration: none; font-size: 1.02rem; padding: 6px 0; color: var(--muted); text-underline-offset: 8px; text-decoration-skip-ink: none; }
.coll-tabs a:hover { color: var(--lapis); }
.coll-tabs a.active { color: var(--pom); text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 1.5px; }
.sub-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 18px; padding: 4px 20px; }
.sub-tabs::-webkit-scrollbar { display: none; }
.sub-tabs a { white-space: nowrap; text-decoration: none; font-size: .95rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line, rgba(29,53,87,.18)); color: var(--ink, #1D3557); background: transparent; transition: background .2s, color .2s, border-color .2s; }
.sub-tabs a:hover { border-color: var(--lapis); color: var(--lapis); }
.sub-tabs a.active { background: var(--lapis); border-color: var(--lapis); color: #fff; }
.shop-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.shop-tools select { width: auto; min-width: 150px; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.search-field input { padding-left: 38px !important; width: 230px; }
.shop-count { color: var(--muted); font-size: .92rem; margin: -10px 0 18px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; }
.product-card { display: grid; align-content: start; text-decoration: none; color: var(--lapis); }
.pc-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ivory); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.pc-media img.alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .product-card:hover .pc-media.has-alt img.alt { opacity: 1; }
  .product-card:hover .pc-media img { transform: scale(1.035); }
}
.badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 9px; background: var(--paper); color: var(--lapis); border-radius: 2px; font: italic 450 .88rem/1.2 var(--serif); box-shadow: 0 1px 3px rgba(29, 53, 87, .15); }
.pc-play { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(29, 53, 87, .85); }
.pc-play::after { content: ''; position: absolute; left: 13px; top: 10px; border: 7px solid transparent; border-left: 11px solid var(--ivory); border-right: 0; }
.pc-info { padding: 12px 2px 0; display: grid; gap: 3px; }
.pc-info h3 { font: 450 1.12rem/1.25 var(--serif); margin: 0; }
.product-card:hover .pc-info h3 { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.pc-sub { color: var(--muted); font-size: .88rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 2px; }
.price b { font-weight: 600; }
.price s, .pd-price s { color: var(--muted); font-size: .9em; }
.off { color: var(--pom); font-size: .86rem; font-weight: 500; }
.stars-line { display: inline-flex; align-items: center; gap: 1px; font-size: .88rem; letter-spacing: 1px; white-space: nowrap; }
.stars-on { color: var(--saffron); }
.stars-off { color: var(--line); }
.stars-count { color: var(--muted); font-size: .8rem; letter-spacing: 0; margin-left: 6px; }

.empty-state { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 56px 20px; max-width: 520px; margin: 0 auto; }
.empty-state img { width: 140px; margin-bottom: 8px; }
.empty-state h1, .empty-state h2, .empty-state h3 { margin: 0; font-size: 1.7rem; }
.empty-state p { color: var(--muted); margin-bottom: 14px; }

@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .pc-info h3 { font-size: 1.02rem; }
  .shop-tools, .search-field, .search-field input { width: 100%; }
  .shop-tools select { flex: 1; }
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .opt-step legend { font-weight: 500; font-size: .95rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], input[type=date], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font: 400 1rem/1.4 var(--sans); color: var(--lapis); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231D3557' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 38px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lapis); box-shadow: 0 0 0 3px rgba(215, 151, 43, .3); }
input::placeholder, textarea::placeholder { color: #8C93A3; }
textarea.ruled { background: #fff linear-gradient(transparent 31px, var(--line-2) 31px) 0 10px / 100% 32px; line-height: 32px; padding-top: 10px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--pom); }
.field-error { color: var(--pom); font-size: .88rem; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 12px; background: var(--ivory); border: 1px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--muted); }
.input-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.pin-wrap { position: relative; }
.pin-status { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .85rem; color: var(--muted); }
.pin-status.ok { color: var(--ok); }
.pin-status.bad { color: var(--pom); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check-line { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .96rem; margin: 6px 0 12px; }
.check-line input { width: 20px; height: 20px; accent-color: var(--pom); flex: none; }
.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin: 0 0 18px; background: var(--ivory); border-left: 3px solid var(--saffron); }
.alert-error { background: #FBEDEA; border-color: var(--pom); color: #7C2A22; }
.alert-success { background: #EEF2E6; border-color: var(--pista); color: #3F4D2A; }
.alert-info { background: #EAF0F7; border-color: var(--sangam); }
.form-error { padding: 12px 14px; border-radius: var(--radius-sm); background: #FBEDEA; color: #7C2A22; border-left: 3px solid var(--pom); margin: 4px 0 14px; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.card, .prose-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }

/* ---------- Product page ---------- */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 18px); }
.pd-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ivory); }
.pd-main img, .pd-main video { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; }
.pd-main.zooming img { transform: scale(1.8); cursor: zoom-in; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.pd-thumb { position: relative; flex: none; width: 76px; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--ivory); cursor: pointer; opacity: .72; outline: 1.5px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { opacity: 1; }
.pd-thumb.active { outline-color: var(--lapis); }
.pd-thumb .pc-play { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: 30px; height: 30px; }
.pd-thumb .pc-play::after { left: 11px; top: 8px; border-width: 7px 0 7px 10px; }
.pd-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.pd-label img { width: 18px; height: 18px; }
.pd-label a { color: var(--muted); }
.pd-info h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .2em; }
.pd-rating { text-decoration: none; display: inline-block; margin-bottom: 8px; }
.pd-rating:hover .stars-count { text-decoration: underline; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 6px 0 14px; }
.pd-price b { font: 500 1.7rem/1 var(--serif); }
.pd-short { font-size: 1.06rem; }
.pd-eta { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--ivory); border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 26px; }
.pd-eta img { flex: none; width: 34px; }
.customise { display: grid; gap: 6px; }
.opt-step { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.opt-step legend { font: 450 1.18rem/1.3 var(--serif); padding: 0; margin-bottom: 12px; }
.opt-step legend small { font: 400 .85rem var(--sans); color: var(--muted); }
.type-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.type-card { position: relative; cursor: pointer; display: block; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card > span { display: grid; gap: 2px; height: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.type-card b { font-weight: 500; }
.type-card small { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.type-card em { font-style: normal; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.type-card:hover > span { border-color: var(--lapis); }
.type-card input:checked + span { border-color: var(--lapis); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--lapis); }
.type-card input:checked + span b { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.type-card input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.brand-chip { cursor: pointer; position: relative; }
.brand-chip input { position: absolute; opacity: 0; pointer-events: none; }
.brand-chip span { display: inline-block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 1rem; color: var(--lapis); border: 1px solid var(--line); background: #fff; transition: border-color .2s, color .2s, background .2s; }
.brand-chip:hover span { border-color: var(--lapis); }
.brand-chip input:checked + span { color: var(--pom); border-color: var(--pom); background: var(--ivory); text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.brand-chip input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; }
.buy-row .add-btn { flex: 1; justify-content: flex-start; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.qty button { width: 42px; height: 50px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: var(--lapis); }
.qty button:hover { color: var(--pom); }
.qty input { width: 40px; min-height: 0; height: 48px; border: 0; padding: 0; text-align: center; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { box-shadow: none; }
.qty > span { min-width: 28px; text-align: center; font-weight: 500; }
.qty-sm button { width: 32px; height: 34px; font-size: 1.05rem; }
.wa-order { display: inline-block; margin-top: 16px; font-size: .95rem; }
.pd-assure { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.trust-strip { list-style: none; padding: 18px 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; border-top: 1px solid var(--line); }
.trust-strip li { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.trust-strip img { flex: none; width: 26px; height: 26px; object-fit: contain; }
.accordion { margin-top: 18px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion .rich { padding: 0 2px 18px; }
.rich { color: var(--film); }
.rich > :last-child { margin-bottom: 0; }
.rich h2, .rich h3 { color: var(--lapis); margin-top: 1.4em; }
.rich ul, .rich ol { padding-left: 1.3em; margin: 0 0 1em; }
.rich li { margin-bottom: .35em; }
.rich a { color: var(--lapis); text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-skip-ink: none; }
.rich img { border-radius: var(--radius-sm); margin: 1em 0; }
.prose-card.rich { font-size: 1.05rem; line-height: 1.7; }
.sticky-buy { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(29, 53, 87, .5); }
.sticky-buy > div { display: grid; min-width: 0; }
.sticky-buy b { font: 450 1rem/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy > div span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: relative; top: 0; margin: 0 -20px; }
  .pd-main { border-radius: 0; }
  .pd-thumbs { padding: 2px 20px; }
  .sticky-buy:not([hidden]) { display: flex; }
  body.has-sticky-buy .wa-float { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  body.has-sticky-buy .site-footer { padding-bottom: 80px; }
}
@media (max-width: 420px) {
  .trust-strip { grid-template-columns: 1fr; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .add-btn { min-width: 220px; }
}

/* ---------- Bag (page and drawer) ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cl-img img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); background: var(--ivory); }
.cl-info h2 { font: 450 1.15rem/1.3 var(--serif); margin: 0 0 4px; }
.cl-info p { margin: 0; color: var(--muted); font-size: .92rem; }
.cl-qty { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.cl-price { font-weight: 600; white-space: nowrap; }
.summary-card { background: var(--ivory); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }
.summary-card.sticky { position: sticky; top: calc(var(--header-h) + 18px); }
.summary-card h2 { font-size: 1.5rem; margin: 0 0 6px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: .98rem; }
.sum-line.total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 1.1rem; align-items: baseline; }
.sum-line.total b { font: 500 1.5rem/1 var(--serif); }
.sum-line.discount { color: var(--ok); }
.sum-line small { color: var(--muted); }
.mini-lines { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 12px; }
.mini-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .94rem; }
.ml-img { position: relative; }
.ml-img img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper); }
.ml-img i { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--lapis); color: var(--paper); font: normal 600 .72rem/20px var(--sans); text-align: center; padding: 0 5px; }
.ml-info { display: grid; min-width: 0; }
.ml-info b { font-weight: 500; }
.ml-info small { color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(29, 53, 87, .42); animation: fadeIn .25s; }
.cart-drawer { position: fixed; z-index: 200; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); display: flex; flex-direction: column; background: var(--paper); box-shadow: var(--shadow-lg); transform: translateX(104%); transition: transform .38s var(--ease); }
.cart-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-loading { padding: 40px 22px; color: var(--muted); text-align: center; }
.drawer-empty { margin: auto; padding: 40px 24px; display: grid; justify-items: center; gap: 12px; text-align: center; color: var(--muted); }
.drawer-empty img { width: 130px; }
.drawer-items { list-style: none; margin: 0; padding: 0 22px; flex: 1; }
.drawer-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-2); transition: opacity .2s; }
.di-img img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); background: var(--ivory); }
.di-info { display: grid; gap: 2px; min-width: 0; }
.di-info b { font: 450 1.05rem/1.3 var(--serif); }
.di-info small { color: var(--muted); font-size: .85rem; }
.di-note { font-style: italic; }
.di-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.di-price { font-weight: 600; }
.di-remove { justify-self: start; background: none; border: 0; padding: 4px 0; margin-top: 4px; color: var(--muted); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.di-remove:hover { color: var(--pom); }
.drawer-foot { position: sticky; bottom: 0; padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--ivory); display: grid; gap: 10px; }
.drawer-foot .btn-text { justify-self: center; }
.ship-meter { position: relative; font-size: .9rem; padding-bottom: 12px; }
.ship-meter::before, .ship-meter i { content: ''; position: absolute; left: 0; bottom: 0; height: 5px; border-radius: 3px; }
.ship-meter::before { right: 0; background: var(--line); }
.ship-meter i { background: var(--saffron); transition: width .5s var(--ease); }
.ship-meter.done i { background: var(--pista); }
@media (max-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card.sticky { position: relative; top: 0; }
}
@media (max-width: 520px) {
  .cart-line { grid-template-columns: 76px minmax(0, 1fr); }
  .cl-img img { width: 76px; }
  .cl-price { grid-column: 2; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Checkout ---------- */
.checkout-steps { display: grid; gap: 18px; }
.co-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3.5vw, 28px); }
.co-card h2 { font-size: 1.55rem; margin-bottom: 14px; }
.pay-options { display: grid; gap: 10px; margin-bottom: 14px; }
.pay-options .type-card > span { padding: 15px 16px; }
.gift-line { margin-top: 18px; }
.coupon-box { margin: 4px 0; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { min-height: 44px; text-transform: uppercase; }
.coupon-row .btn { min-height: 44px; }
.coupon-msg { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.bad { color: var(--pom); }
body.modal-open { overflow: hidden; }
.pay-modal { position: fixed; inset: 0; z-index: 300; background: rgba(29, 53, 87, .55); display: grid; place-items: center; padding: 16px; overflow-y: auto; animation: fadeIn .2s; }
.pay-sheet { position: relative; width: 100%; max-width: 460px; background: var(--paper); border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.pay-close { position: absolute; top: 8px; right: 8px; }
.scan-head { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.scan-head b { display: block; font: 450 1.2rem/1.2 var(--serif); }
.scan-head small { color: var(--muted); }
.scan-logo { width: 40px; height: 40px; flex: none; }
.scan-amount { font: 450 1.15rem/1.3 var(--serif); margin: 6px 0 0; }
.scan-amount b { font-weight: 600; }
.scan-apps { color: var(--muted); font-size: .88rem; text-align: center; margin: 4px 0; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-btn { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-size: .88rem; background: #fff; }
.app-btn:hover { border-color: var(--lapis); }
.app-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 600; background: var(--lapis); }
.app-gpay .app-ico { background: #3D7BE0; }
.app-phonepe .app-ico { background: #5F259F; }
.app-paytm .app-ico { background: #1BA2E0; }
.pay-phone { display: none; }
.is-phone .pay-phone { display: grid; gap: 10px; }
.is-phone .pay-desktop { display: none; }
.is-phone .pay-desktop.show { display: block; margin-top: 10px; }
.pay-pc-help { margin: 0; }
.upi-chip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 14px; border: 1.5px dashed var(--gold); border-radius: var(--radius-sm); background: var(--ivory); cursor: pointer; text-align: left; width: 100%; }
.upi-chip small { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.upi-chip b { grid-column: 1 / 3; font-size: 1.05rem; word-break: break-all; }
.upi-chip span { color: var(--pom); font-weight: 500; font-size: .9rem; }
.pay-step2 { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.proof-drop { position: relative; display: grid; place-items: center; gap: 8px; min-height: 96px; padding: 16px; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); background: #fff; text-align: center; cursor: pointer; color: var(--muted); transition: border-color .2s; }
.proof-drop:hover { border-color: var(--lapis); color: var(--lapis); }
.proof-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.proof-drop img { max-height: 180px; width: auto; border-radius: var(--radius-sm); }
.scan-qr { display: grid; place-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.upi-qr canvas, .upi-qr img { width: 200px !important; height: 200px !important; }

/* ---------- Order placed ---------- */
.success-card { position: relative; overflow: hidden; text-align: center; padding: clamp(28px, 5vw, 52px) clamp(18px, 5vw, 48px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; justify-items: center; }
.success-card > * { position: relative; }
.success-card .lead { margin: 0 auto; }
.success-seal { width: 120px; animation: stampIn .9s var(--ease) both; }
@keyframes stampIn { 0% { opacity: 0; transform: scale(1.8) rotate(-30deg); } 60% { opacity: 1; transform: scale(.94) rotate(4deg); } 100% { transform: scale(1) rotate(0); } }
.success-sign { margin-bottom: 8px; }
.confetti { position: absolute !important; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; left: calc(var(--i) * 4.2%); width: 8px; height: 12px; border-radius: 2px; background: var(--saffron); opacity: 0; animation: fall 2.8s ease-in calc(var(--i) * .07s) 1 both; }
.confetti i:nth-child(3n) { background: var(--pom); width: 6px; }
.confetti i:nth-child(4n) { background: var(--sangam); height: 8px; }
.confetti i:nth-child(5n) { background: var(--pista); }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(520px) rotate(540deg); } }
.pay-box { width: 100%; max-width: 480px; margin: 14px auto 4px; text-align: left; display: grid; gap: 14px; }
.scan-card { background: var(--ivory); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.paid-badge, .proof-done { padding: 14px 16px; border-radius: var(--radius-sm); background: #EEF2E6; color: #3F4D2A; border-left: 3px solid var(--pista); }
.proof-box { display: grid; gap: 10px; }
.proof-box h3 { margin: 4px 0 0; }
.proof-form { display: grid; gap: 10px; }
.proof-again summary { cursor: pointer; color: var(--muted); font-size: .92rem; padding: 8px 0; }
.success-summary { width: 100%; max-width: 520px; margin: 18px auto 0; text-align: left; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.ss-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .95rem; }
.ss-line img { width: 52px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); background: var(--ivory); }
.ss-line div { display: grid; min-width: 0; }
.ss-line small { color: var(--muted); font-size: .84rem; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 18px; }

/* ---------- Track ---------- */
.track-form { display: flex; gap: 10px; max-width: 560px; margin: 26px auto 0; }
.track-form input { flex: 1; min-height: 52px; }
.track-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3.5vw, 28px); margin-bottom: 18px; display: grid; gap: 16px; }
.track-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.track-card h3 { font-size: 1.5rem; margin: 0; }
.status-pill { display: inline-block; padding: 5px 11px; border: 1.5px solid currentColor; border-radius: 3px; font: italic 450 .95rem/1.2 var(--serif); color: var(--lapis); white-space: nowrap; transform: rotate(-2deg); }
.st-placed, .st-confirmed { color: var(--lapis); }
.st-in_process, .st-ready { color: #9C6A12; }
.st-dispatched { color: #2F5E8E; }
.st-delivered { color: var(--ok); }
.st-cancelled { color: var(--pom); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding-bottom: 16px; }
.timeline li::before { content: ''; position: absolute; left: 12px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.tl-done::before { background: var(--pista); }
.tl-dot { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.tl-done .tl-dot { border-color: var(--pista); background: var(--pista) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFFDF8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.tl-current .tl-dot { border-color: var(--saffron); background: var(--saffron); box-shadow: 0 0 0 5px rgba(215, 151, 43, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(215, 151, 43, .08); } }
.timeline b { display: block; font-weight: 500; }
.timeline small { color: var(--muted); font-size: .86rem; }
.tl-todo b { color: var(--muted); font-weight: 400; }
.ship-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding: 14px 16px; background: var(--ivory); border-radius: var(--radius-sm); }
.ship-box > div { display: grid; }
.copyable { cursor: pointer; text-decoration-line: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.track-items summary { cursor: pointer; color: var(--muted); padding: 4px 0; }
.track-items .ss-line { margin-top: 10px; }
.review-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; background: var(--ivory); border-left: 3px solid var(--saffron); border-radius: var(--radius-sm); font-size: .95rem; }
.courier-tool { margin-top: 26px; }
.courier-tool h2 { font-size: 1.35rem; }
.courier-tool .grid-2 { margin: 12px 0; gap: 10px; }
@media (max-width: 560px) { .track-form { flex-direction: column; } .track-form .seal-btn { justify-content: center; } }

/* Review page */
.review-card { max-width: 640px; margin: 0 auto; }
.rating-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rating-pick label { font-size: 2.1rem; line-height: 1; color: var(--line); cursor: pointer; transition: color .15s, transform .15s; }
.rating-pick label:hover, .rating-pick label:hover ~ label, .rating-pick input:checked ~ label { color: var(--saffron); }
.rating-pick label:hover { transform: scale(1.12); }
.rating-pick input:focus-visible + label { outline: 2px solid var(--saffron); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--lapis); color: var(--ivory); margin-top: 40px; overflow: hidden; }
.sangam { position: relative; height: 58px; background: var(--lapis) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26' viewBox='0 0 120 26'%3E%3Cpath d='M0 8q15-8 30 0t30 0t30 0t30 0' fill='none' stroke='%23C9A86A' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M0 19q15 8 30 0t30 0t30 0t30 0' fill='none' stroke='%237FA2C9' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 calc(100% - 4px) / 120px 26px repeat-x; border-bottom: 1px solid rgba(255, 246, 230, .1); overflow: hidden; animation: tide 14s linear infinite; }
@keyframes tide { to { background-position: -120px calc(100% - 4px); } }
.f-boat { position: absolute; left: 0; bottom: 17px; width: 58px; height: auto; animation: sail 54s linear infinite, bob 3.2s ease-in-out infinite; will-change: transform; }
@keyframes sail { from { translate: -80px 0; } to { translate: calc(100vw + 20px) 0; } }
@keyframes bob { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-3px); } }
.site-footer .wrap { position: relative; padding-top: 48px; padding-bottom: 28px; }
.newsletter { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 20px 40px; align-items: center; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 246, 230, .16); }
.nl-copy { display: flex; gap: 18px; align-items: center; }
.nl-copy img { width: 64px; flex: none; }
.nl-copy h2 { color: var(--paper); font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 4px; }
.nl-copy p { margin: 0; color: rgba(255, 246, 230, .8); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; background: rgba(255, 253, 248, .08); border-color: rgba(255, 246, 230, .3); color: var(--paper); }
.newsletter-form input::placeholder { color: rgba(255, 246, 230, .55); }
.newsletter-form input:focus { border-color: var(--saffron); }
.newsletter-done { color: var(--paper); font-size: 1.02rem; }
.code-chip { margin-left: 6px; padding: 6px 12px; border: 1.5px dashed var(--saffron); border-radius: 3px; background: transparent; color: var(--saffron); font-weight: 600; letter-spacing: .06em; cursor: pointer; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand { display: grid; align-content: start; gap: 8px; }
.f-wordmark { width: 220px; }
.f-line { font: italic 400 1.4rem/1.2 var(--serif); font-variation-settings: 'SOFT' 100; color: var(--saffron); margin: 8px 0 0; }
.f-sub { color: rgba(255, 246, 230, .75); margin: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; }
.socials a { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(215, 151, 43, .7); }
.footer-grid h3 { font-size: 1.15rem; color: var(--paper); margin-bottom: 12px; }
.footer-grid > div:not(.footer-brand) a { display: block; padding: 5px 0; color: rgba(255, 246, 230, .82); text-decoration: none; font-size: .96rem; }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--saffron); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 246, 230, .16); color: rgba(255, 246, 230, .6); font-size: .86rem; padding-right: 130px; }
.ship-to { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.ship-to label { color: rgba(255, 246, 230, .6); font-size: .86rem; }
.ship-to select { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23FFF6E6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 9px center no-repeat; color: #FFF6E6; border: 1px solid rgba(255, 246, 230, .3); border-radius: 6px; padding: 4px 26px 4px 8px; font: inherit; font-size: .86rem; max-width: 190px; }
.ship-to select option { color: #1D3557; background: #FFFDF8; }
.ship-cur { font-size: .78rem; letter-spacing: .04em; color: rgba(255, 246, 230, .6); }
.f-catwrap { position: absolute; right: 20px; bottom: 14px; width: 110px; }
.f-cat { width: 110px; opacity: .92; transform-origin: 50% 100%; animation: breathe 4.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.035, 1.06); } }
.f-zz { position: absolute; right: 8px; top: -14px; font: italic 400 .95rem var(--serif); color: var(--saffron); }
.f-zz i { position: absolute; right: 0; opacity: 0; animation: zz 4.6s ease-out infinite; }
.f-zz i:nth-child(2) { animation-delay: 1.5s; font-size: .8em; }
.f-zz i:nth-child(3) { animation-delay: 3s; font-size: .65em; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(14px, -26px) rotate(12deg); } }
@media (max-width: 860px) {
  .newsletter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
  .footer-bottom { padding-right: 0; padding-bottom: 70px; }
  .nl-copy img { width: 48px; }
}

/* ---------- Floating bits ---------- */
.wa-float { position: fixed; z-index: 80; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--lapis); color: var(--ivory); box-shadow: 0 0 0 3px var(--saffron), var(--shadow-lg); text-decoration: none; transition: transform .2s var(--ease), bottom .3s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.toast { position: fixed; z-index: 400; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, calc(100% + 60px)); visibility: hidden; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--radius-sm); background: var(--lapis); color: var(--paper); font-size: .96rem; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.update-banner { position: fixed; z-index: 350; left: 50%; top: calc(12px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-radius: var(--radius-sm); background: var(--lapis); color: var(--paper); font-size: .9rem; box-shadow: var(--shadow-lg); animation: fadeIn .4s; }
.update-banner button { background: var(--saffron); color: var(--lapis); border: 0; border-radius: 3px; padding: 6px 12px; font-weight: 600; cursor: pointer; }


/* ---------- v2.1 shop extras: reference photos, account, online payment ---------- */
.eta-note { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
p.eta-note { margin: 10px 0 0; }
.phone-note { margin: -4px 0 12px; padding: 8px 12px; background: var(--ivory); border-radius: var(--radius-sm); color: var(--lapis); }
.ref-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.ref-add { position: relative; width: 96px; height: 120px; border: 1.5px dashed var(--gold); border-radius: var(--radius-sm); background: #fff; cursor: pointer; display: grid; place-items: center; text-align: center; color: var(--lapis); font-size: .85rem; transition: border-color .2s, background .2s; }
.ref-add:hover { border-color: var(--lapis); background: var(--ivory); }
.ref-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ref-add span { display: grid; justify-items: center; gap: 4px; pointer-events: none; }
.ref-item { position: relative; width: 96px; height: 120px; border-radius: var(--radius-sm); overflow: hidden; background: var(--ivory); animation: itemIn .3s var(--ease) both; }
.ref-item img { width: 100%; height: 100%; object-fit: cover; }
.ref-item.loading img { opacity: .45; }
.ref-item.loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--pom); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ref-item button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(29, 53, 87, .85); color: #fff; font-size: 1.05rem; line-height: 1; cursor: pointer; }
.cl-refs { display: flex; gap: 6px; margin-top: 8px !important; }
.cl-refs img { width: 44px; height: 55px; object-fit: cover; border-radius: 3px; background: var(--ivory); }
.acct-card { display: grid; gap: 10px; justify-items: start; }
.acct-card .field { width: 100%; margin-bottom: 4px; }
.acct-card p { margin: 0; }
.code-input { font: 500 1.7rem/1.2 var(--serif) !important; letter-spacing: .4em; text-align: center; max-width: 260px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.acct-grid h2 { font-size: 1.55rem; }
.acct-order { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.acct-order:first-of-type { border-top: 1px solid var(--line); }
.acct-order img { width: 60px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); background: var(--ivory); }
.acct-order span { display: grid; min-width: 0; }
.acct-order b { font: 450 1.1rem/1.3 var(--serif); }
.acct-order small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-order:hover b { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--pom); text-underline-offset: 5px; }
.acct-order em { font-style: italic; }
.acct-out { margin-top: 14px; }
.pay-wait .success-seal { width: 96px; animation: bob 3.2s ease-in-out infinite; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .acct-order { grid-template-columns: 48px minmax(0, 1fr); } .acct-order img { width: 48px; } .acct-order em { grid-column: 2; justify-self: start; } }

/* ---------- Little signs of life ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .26s; }
::view-transition-group(*) { animation-duration: .42s; animation-timing-function: cubic-bezier(.22, .8, .24, 1); }
.logo:hover .fx { animation-duration: 3s; }
.seal-btn { overflow: hidden; }
.seal-btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 253, 248, .22), transparent); transform: skewX(-18deg); transition: none; pointer-events: none; }
.seal-btn:hover::after { left: 120%; transition: left .7s var(--ease); }
.product-card .pc-media { transition: box-shadow .4s var(--ease), translate .4s var(--ease); }
@media (hover: hover) { .product-card:hover .pc-media { translate: 0 -4px; box-shadow: 0 18px 30px -18px rgba(29, 53, 87, .45); } }
.promise-row li img { transition: transform .5s var(--ease); }
.promise-row li:hover img { transform: rotate(-10deg) scale(1.15); }
.section-head h2 { position: relative; }
.finder::before { animation: drift 80s linear infinite; }
@keyframes drift { to { background-position: 420px 420px; } }
.gift-tag { transform-origin: 50% 6%; animation: sway 6.5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-2.5deg); } }
.js .finder-seal { opacity: 0; }
.js .finder.in .finder-seal { opacity: 1; animation: stampDown .7s var(--ease) .25s both; }
@keyframes stampDown { 0% { opacity: 0; transform: rotate(-20deg) scale(1.9); } 60% { opacity: 1; transform: rotate(18deg) scale(.92); } 100% { opacity: 1; transform: rotate(14deg) scale(1); } }
.js .lc-stamp { opacity: 0; }
.js .letter-cta.in .lc-stamp { opacity: 1; animation: stampLetter .7s var(--ease) .5s both; }
@keyframes stampLetter { 0% { opacity: 0; transform: rotate(-12deg) scale(1.8); } 60% { opacity: 1; transform: rotate(15deg) scale(.93); } 100% { opacity: 1; transform: rotate(12deg) scale(1); } }
.js .letter-cta .lc-tape { transition: translate .6s var(--ease) .15s, opacity .4s .15s; translate: 0 -18px; opacity: 0; }
.js .letter-cta.in .lc-tape { translate: 0 0; opacity: 1; }
.js .how .how-row img { transition: transform .7s var(--ease), opacity .5s; transform: scale(.6) rotate(-14deg); opacity: 0; }
.js .how.in .how-row img { transform: none; opacity: 1; }
.how .how-row > div:nth-child(2) img { transition-delay: .12s; } .how .how-row > div:nth-child(3) img { transition-delay: .24s; } .how .how-row > div:nth-child(4) img { transition-delay: .36s; }
.how-row > div:hover img { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-9deg); } 65% { transform: rotate(7deg); } }
.drawer-item { animation: itemIn .4s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateX(18px); } }
.coll-card .cc-img { transition: box-shadow .4s var(--ease); }
.coll-card:hover .cc-img { box-shadow: 0 18px 30px -18px rgba(29, 53, 87, .45); }
.review { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) { .review:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow); } }
.ph-doodle { animation: bob 3.6s ease-in-out infinite; }
.empty-state img { animation: breathe 4.6s ease-in-out infinite; transform-origin: 50% 100%; }
.cart-btn:hover svg { animation: wiggle .5s var(--ease); }

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .nm .w { animation: none !important; opacity: 0; }
  .nm .w.en { opacity: 1; }
  .nm .fx { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .finder-seal, .js .lc-stamp, .js .letter-cta .lc-tape, .js .how .how-row img { opacity: 1; transform: none; translate: none; }
  .f-boat { translate: 40vw 0; }
  @view-transition { navigation: none; }
}
@media print {
  .announce, .site-header, .site-footer, .wa-float, .cart-drawer, .sticky-buy, .toast { display: none !important; }
  body { background: #fff; }
}

picture { display: contents; }

/* 2.6: made-to-budget designs */
.pd-price .pd-quote-note, .pc-quote { font-size: .88rem; color: var(--muted); margin-left: 8px; }
.pc-quote { margin-left: 4px; font-size: .8rem; }
.pd-quote-link { margin: 14px 0 0; font-size: .95rem; }
.quote-form .buy-row { justify-content: flex-start; }
.quote-done { border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; margin: 8px 0 18px; background: var(--ivory); }
.quote-done h3 { margin: 0 0 8px; }
.quote-done .seal-btn { margin-top: 12px; }

/* 2.9: WhatsApp consent under the phone field at checkout */
.check-line.wa-consent { align-items: flex-start; font-size: .86rem; color: var(--muted, #6b6b6b); margin: 10px 0 0; line-height: 1.4; }
.check-line.wa-consent input { width: 18px; height: 18px; margin-top: 1px; }
