/* Nureyza · storefront: Stories, Next drop, Moments, Gift Finder, Vault, Pouch & Kept, piece page, checkout, gift */

/* ---------- reveal on scroll ---------- */
a.btn-gold, a.btn-dark, a.btn-ghost-dark { text-decoration: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- the box in every state ---------- */
.box-svg .rays, .box-svg .inside, .box-svg .ribbon, .box-svg .ribbon-loose { opacity: 0; }
.box-svg .lid { transform-box: view-box; transform-origin: 266px 118px; }
.box-svg .ribbon path, .box-svg .ribbon-loose path { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.box-svg .ribbon .bow { fill: #c9a467; stroke: #9c7740; stroke-width: 1.5; }
.box-svg .rays path { transform-box: view-box; transform-origin: 160px 150px; }

.state-open .box-svg .seal, .state-travelling .box-svg .seal, .state-arrived .box-svg .seal, .state-gift .box-svg .seal { display: none; }
.state-open .box-svg .inside { opacity: 1; }
.state-open .box-svg .lid { animation: lidOpen 1.4s 1.5s var(--ease) both; }
.state-open .box-svg .rays { animation: raysIn 1.2s 2.2s var(--ease) forwards, raysPulse 5s 3.4s ease-in-out infinite; }
.state-travelling .box-svg .ribbon { opacity: 1; }
.state-arrived .box-svg .ribbon-loose { opacity: 1; }
.state-arrived .box-svg .lid { transform: translate(-6px, -10px) rotate(-6deg); }
.state-arrived .box-svg .inside { opacity: 1; }
.state-gift .box-svg .ribbon { opacity: 1; transition: opacity .5s; }
.gift-page.opened .box-svg .ribbon { opacity: 0; }
.gift-page.opened .box-svg .inside { opacity: 1; }
.gift-page.opened .box-svg .lid { animation: lidOpen 1.2s .3s var(--ease) both; }
.gift-page.opened .box-svg .rays { animation: raysIn 1s .9s var(--ease) forwards, raysPulse 5s 2s ease-in-out infinite; }
@keyframes lidOpen { 0% { transform: none; } 55% { transform: translate(-4px, -52px) rotate(-16deg); } 100% { transform: translate(-2px, -44px) rotate(-12deg); } }
@keyframes raysIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes raysPulse { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

/* ============================================================
   Stories storefront: shared pieces
   ============================================================ */
:root { --dock-h: calc(62px + env(safe-area-inset-bottom)); --plum: #5C4553; --gold-dk: #8C6A33; --soft: #8A7680; }
html:not(.js) .js-only { display: none !important; }
a.st-reserve, .dock a, .mo-tile, .mo-card, .gf-card, .nd-vcard, .va-next { -webkit-tap-highlight-color: transparent; }

/* pouch button + badge */
.pouch-btn { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--aub); text-decoration: none; box-shadow: 0 6px 16px -10px rgba(43, 22, 38, .55); transition: transform .2s var(--ease); }
.pouch-btn:active { transform: scale(.92); }
.pouch-btn.on-dark { width: 36px; height: 36px; background: rgba(247, 241, 238, .08); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(217, 190, 140, .35); }
.pouch-badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--gold); color: #fff; font: 600 11px/18px var(--sans); text-align: center; transition: transform .3s var(--ease); }
.pouch-badge.empty { transform: scale(0); }
.pouch-badge.pop { animation: badgePop .5s var(--ease); }
.pouch-btn.wiggle svg { animation: wiggle .55s var(--ease); }
@keyframes badgePop { 0% { transform: scale(1); } 35% { transform: scale(1.55); } 100% { transform: scale(1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }
.light-top .top-right { display: flex; align-items: center; gap: 8px; }

/* light header for tab pages */
.st-top { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top)) 16px 10px; }
.st-mark { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--aub); display: flex; align-items: center; justify-content: center; }
.st-mark img { width: 26px; height: 26px; }
.st-word { font: 500 14px/1 var(--serif); letter-spacing: .32em; color: var(--aub); }
.st-gap { flex: 1; }
.st-top .lang-switch, .nd-app .lang-switch { border-color: var(--blush); backdrop-filter: none; }
.st-top .lang-switch a { color: var(--ink-2); }
.st-top .lang-switch a.on { background: var(--aub); color: var(--ivory); }
.va-app .st-word { color: var(--ivory); }
.va-app .st-top .lang-switch { border-color: rgba(217, 190, 140, .35); }
.va-app .st-top .lang-switch a { color: var(--gold-2); }
.va-app .st-top .lang-switch a.on { background: var(--gold-2); color: var(--aub); }

/* light top bar on piece, checkout, tracking and account pages */
.light-top { background: var(--ivory); max-width: 1100px; margin: 0 auto; }
.light-top a.brand { color: var(--aub); }
.light-top a.brand .st-mark img { width: 26px; height: 26px; }
.light-top .lang-switch { border-color: var(--blush); backdrop-filter: none; }
.light-top .lang-switch a { color: var(--ink-2); }
.light-top .lang-switch a.on { background: var(--aub); color: var(--ivory); }
.light-top .acct-btn { width: 40px; height: 40px; border: 0; background: #fff; color: var(--aub); box-shadow: 0 6px 16px -10px rgba(43, 22, 38, .55); }
.light-top .acct-btn.on, .light-top .acct-btn:hover { background: var(--aub); color: var(--ivory); }
.light-top .acct-btn .dot { background: var(--gold); box-shadow: 0 0 0 2px #fff; }
.acct-tabs { background: transparent; padding-top: 2px; }
.acct-tabs a { color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--blush); }
.acct-tabs a.on { background: var(--aub); color: var(--ivory); box-shadow: none; }
@media (max-width: 380px) { .light-top a.brand > span:last-child { display: none; } }

/* bottom dock */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: var(--dock-h); padding-bottom: env(safe-area-inset-bottom); box-sizing: border-box; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(255, 255, 255, .96); border-top: 1px solid #F1E9E5; backdrop-filter: blur(10px); }
.dock a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--soft); font: 400 11px/1 var(--sans); transition: color .25s; }
.dock a::before { content: ""; position: absolute; top: 0; left: 50%; width: 24px; height: 3px; margin-left: -12px; border-radius: 0 0 3px 3px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.dock a.on { color: var(--aub); font-weight: 600; }
.dock a.on::before { transform: scaleX(1); }
.dock a:active .dk-ic { transform: scale(.88); }
.dk-ic { position: relative; display: flex; transition: transform .2s var(--ease); }
.dk-dot { position: absolute; top: -1px; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: #C4677D; box-shadow: 0 0 0 2px #fff; }
body.lang-bn .dock a { font: 400 12px/1 var(--bn); }
@media (min-width: 900px) {
  .dock { left: 50%; right: auto; bottom: 16px; width: 480px; height: 64px; padding-bottom: 0; transform: translateX(-50%); border: 0; border-radius: 22px; box-shadow: 0 20px 40px -24px rgba(43, 22, 38, .55); }
}

/* toast */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--dock-h) + 14px); max-width: calc(100% - 32px); width: max-content; box-sizing: border-box; padding: 12px 16px; border-radius: 14px; background: var(--aub); color: var(--ivory); font: 400 14px/1.4 var(--sans); box-shadow: 0 16px 30px -18px rgba(43, 22, 38, .8); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .3s, transform .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #8F2F29; }
body:has(.buybar) .toast { bottom: 96px; }
body:not(:has(.dock)) .toast { bottom: 24px; }
body.lang-bn .toast { font-family: var(--bn); }

/* round icon buttons + main action */
.st-round { flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ivory); color: var(--aub); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s var(--ease), background .25s, color .25s; }
.st-round:active { transform: scale(.92); }
.st-round:disabled { opacity: .45; cursor: default; }
.st-keep.on { background: #F3E3E6; color: #B4566D; }
.st-keep.on svg { animation: tie .45s var(--ease); }
@keyframes tie { 0% { transform: scale(1); } 40% { transform: scale(1.25) rotate(-8deg); } 100% { transform: scale(1); } }
.st-reserve { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--aub); color: var(--ivory); display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: 500 15px/1.2 var(--sans); cursor: pointer; transition: transform .2s var(--ease), background .3s; text-align: center; }
.st-reserve svg { flex: none; color: var(--gold-2); transition: transform .35s var(--ease); }
.st-reserve:hover svg { transform: rotate(45deg) scale(1.15); }
.st-reserve:active { transform: scale(.97); }
.st-reserve.off { background: #EDE5E1; color: var(--plum); pointer-events: none; font-size: 13px; }
.st-reserve.off svg { display: none; }
.st-reserve.wide { width: 100%; height: 54px; margin-top: 8px; }
body.lang-bn .st-reserve { font-family: var(--bn); }
.st-cta, .va-cta { display: flex; gap: 8px; }
.st-cta form, .va-cta form, .buybar form { display: flex; margin: 0; }

/* ============================================================
   Stories (homepage)
   ============================================================ */
.st-app { position: fixed; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: #EFE6E1; --sheet-h: 330px; }
.st-app .dock { position: relative; left: auto; right: auto; bottom: auto; flex: none; width: auto; transform: none; border-radius: 0; box-shadow: none; }
@media (min-width: 760px) {
  body:has(.st-app) { background: radial-gradient(70% 60% at 30% 20%, rgba(217, 190, 140, .35), transparent 70%), radial-gradient(60% 60% at 80% 90%, rgba(201, 154, 168, .3), transparent 70%), var(--ivory); }
  .st-app { left: 50%; right: auto; top: 16px; bottom: 16px; width: 430px; transform: translateX(-50%); border-radius: 34px; box-shadow: 0 40px 80px -40px rgba(43, 22, 38, .6); }
  .st-backdrop { position: fixed; inset: -60px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(46px) saturate(1.15); opacity: .55; transition: opacity .6s; }
  .st-side { position: fixed; top: 50%; transform: translateY(-50%); width: calc(50vw - 260px); max-width: 360px; color: var(--aub); }
  .st-side.l { left: 4vw; }
  .st-side .eyebrow { color: var(--gold-dk); letter-spacing: .2em; }
  .st-side h1 { margin: 10px 0 8px; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.02; }
  .st-side p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
  .st-side .st-keys { margin-top: 18px; font-size: 12px; color: var(--ink-3); }
  .st-side kbd { display: inline-block; min-width: 22px; padding: 2px 6px; margin: 0 2px; border-radius: 6px; background: #fff; box-shadow: 0 1px 0 var(--blush); font: 500 12px/1.4 var(--sans); text-align: center; }
}
@media (max-width: 759px) { .st-backdrop, .st-side { display: none; } }
@media (min-width: 760px) and (max-width: 1099px) { .st-side { display: none; } }
.st-viewport { position: relative; flex: 1; min-height: 0; }
.story { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.story.on { opacity: 1; visibility: visible; transition: opacity .35s; }
.story.in-next .st-media img, .story.in-next .st-ph { animation: inNext .5s var(--ease) both; }
.story.in-prev .st-media img, .story.in-prev .st-ph { animation: inPrev .5s var(--ease) both; }
.story.in-next .st-sheet > *, .story.in-prev .st-sheet > * { animation: up .45s var(--ease) both; }
.story.in-next .st-sheet > *:nth-child(3), .story.in-prev .st-sheet > *:nth-child(3) { animation-delay: .04s; }
.story.in-next .st-sheet > *:nth-child(4), .story.in-prev .st-sheet > *:nth-child(4) { animation-delay: .08s; }
.story.in-next .st-sheet > *:nth-child(5), .story.in-prev .st-sheet > *:nth-child(5) { animation-delay: .12s; }
@keyframes inNext { from { opacity: .3; transform: translateX(28px) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes inPrev { from { opacity: .3; transform: translateX(-28px) scale(1.04); } to { opacity: 1; transform: none; } }
.st-media { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #EFE6E1; }
.st-media img, .st-media .st-ph, .st-media .st-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.st-media img { transition: opacity .3s; }
.story.on .st-media img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: none; } }
.st-sheet { position: relative; z-index: 2; flex: none; margin-top: -28px; padding: 10px 18px 12px; border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -14px 30px -20px rgba(43, 22, 38, .4); display: flex; flex-direction: column; gap: 10px; }
.st-grab { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--blush); }
.st-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.st-name-wrap { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.st-eyebrow { font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk); }
body.lang-bn .st-eyebrow { letter-spacing: 0; font: 500 12px/1.3 var(--bn); text-transform: none; }
.st-name { margin: 0; font-size: 29px; line-height: 1.05; color: var(--aub); }
.st-name a { color: inherit; text-decoration: none; }
body.lang-bn .st-name { font-size: 24px; line-height: 1.3; }
.st-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.st-price b { font: 600 20px/1 var(--sans); color: var(--aub); }
.st-price s { font-size: 12px; color: var(--ink-3); }
.st-colours { display: flex; align-items: center; gap: 4px; min-height: 44px; }
.st-sw { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.st-sw i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 22, 38, .12); transition: transform .25s var(--ease), box-shadow .3s; }
.st-sw.on i { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--gold); }
.st-sw:active i { transform: scale(.88); }
.st-sw.out i { opacity: .4; }
.st-sw.out::after { content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 1.5px; background: var(--ink-2); transform: rotate(-45deg); }
.st-sw:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 50%; }
.st-vname { margin-left: 4px; font-size: 13px; color: var(--plum); }
.st-slots { display: flex; flex-direction: column; gap: 6px; }
.st-slots-t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.st-slots-t b { font-weight: 600; color: var(--aub); }
.st-slots-t span { color: var(--plum); }
.st-slot-bar { height: 6px; border-radius: 3px; background: #F1E9E5; overflow: hidden; }
.st-slot-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: left; transition: transform .6s var(--ease); }
.st-hint { margin: 0; text-align: center; font-size: 12px; }
.st-hint a { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; color: var(--soft); text-decoration: none; }
.st-hint a svg { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
.st-empty { padding: 140px 24px; text-align: center; }
.st-empty h1 { color: var(--aub); font-size: 34px; }

/* chrome over the photo */
.st-chrome { position: absolute; z-index: 5; left: 0; right: 0; top: 0; padding: calc(10px + env(safe-area-inset-top)) 12px 18px; background: linear-gradient(180deg, rgba(247, 241, 238, .82), rgba(247, 241, 238, 0)); pointer-events: none; }
.st-chrome > * { pointer-events: auto; }
.st-bars { display: flex; gap: 4px; }
.st-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(43, 22, 38, .16); overflow: hidden; }
.st-bar i { display: block; height: 100%; background: var(--aub); transform: scaleX(0); transform-origin: left; }
.st-bar.done i { transform: scaleX(1); }
.st-bar.now i { animation: stFill var(--dur, 8s) linear forwards; }
.st-app.paused .st-bar.now i { animation-play-state: paused; }
.st-app.manual .st-bar.now i { animation: none; transform: scaleX(1); }
@keyframes stFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.st-head { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.st-logo { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--aub); display: flex; align-items: center; justify-content: center; }
.st-logo img { width: 24px; height: 24px; }
.st-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.st-title b { font: 600 13px/1.2 var(--sans); color: var(--aub); }
.st-title span { font-size: 12px; color: var(--plum); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: var(--aub); font: 500 12px/1 var(--sans); white-space: nowrap; }
.st-chip svg { color: var(--gold); }
.st-chip b { font-weight: 500; }
@media (max-width: 420px) { .st-chip-l { display: none; } }
.st-lang { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--aub); display: flex; align-items: center; justify-content: center; font: 600 12px/1 var(--sans); text-decoration: none; }
.st-pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; box-sizing: border-box; margin-top: 8px; padding: 7px 12px 8px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: var(--aub); font-size: 12px; }
.st-pill svg { flex: none; color: var(--gold); }
.st-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-pill b { font-weight: 600; }
.st-pill-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.st-pill.gold { background: var(--aub); color: var(--gold-2); }
.st-pill.gold svg { color: var(--gold-2); }
@media (max-width: 360px) { .st-chip span { font-size: 11px; } .st-title span { display: none; } }

.st-zones { position: absolute; z-index: 3; left: 0; right: 0; top: 110px; bottom: calc(var(--dock-h) + var(--sheet-h) + 6px); display: flex; }
.st-zone { flex: 0 0 32%; border: 0; background: transparent; cursor: w-resize; -webkit-tap-highlight-color: transparent; }
.st-zone.next { flex: 1; cursor: e-resize; }
.st-zone:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; border-radius: 16px; }
.st-ticker { position: absolute; z-index: 4; left: 12px; bottom: calc(var(--dock-h) + var(--sheet-h) + 10px); max-width: calc(100% - 24px); box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border-radius: 999px; background: rgba(43, 22, 38, .86); color: var(--ivory); font-size: 12px; pointer-events: none; transition: bottom .3s var(--ease); }
.st-ticker i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7FD1A0; animation: livePulse 1.6s ease-in-out infinite; }
.st-ticker span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s, transform .3s; }
.st-ticker span.swap { opacity: 0; transform: translateY(6px); }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
body.lang-bn .st-ticker { font-family: var(--bn); }

/* no JavaScript: a simple scrolling list of pieces */
html:not(.js) .st-app { position: static; overflow: visible; transform: none; width: auto; }
html:not(.js) .story { position: relative; opacity: 1; visibility: visible; }
html:not(.js) .st-media { flex: none; height: 70vh; }

/* ============================================================
   Next drop (no Chapter open)
   ============================================================ */
.nd-app { min-height: 100vh; padding-bottom: calc(var(--dock-h) + 24px); background: radial-gradient(90% 40% at 50% 0, rgba(217, 190, 140, .38), transparent 70%), var(--ivory); }
.nd-app > * { max-width: 560px; margin-left: auto; margin-right: auto; }
.nd-hero { padding: 26px 20px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nd-hero .eyebrow, .tab-app .eyebrow { color: var(--gold-dk); letter-spacing: .18em; }
body.lang-bn .nd-hero .eyebrow, body.lang-bn .tab-app .eyebrow { letter-spacing: 0; }
.nd-hero h1 { font-size: 42px; line-height: 1; color: var(--aub); }
.nd-hero h1 em, .pg-head h1 em, .gf-result h1 em { color: var(--gold-dk); font-style: italic; }
body.lang-bn .nd-hero h1 { font-size: 34px; line-height: 1.25; }
.nd-sub { max-width: 340px; margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.nd-clock { display: flex; gap: 8px; margin-top: 14px; }
.nd-clock div { width: 70px; padding: 10px 0 8px; border-radius: 16px; background: #fff; box-shadow: 0 14px 26px -22px rgba(43, 22, 38, .6); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nd-clock b { font: 500 28px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--aub); }
.nd-clock small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
body.lang-bn .nd-clock small { letter-spacing: 0; font-size: 12px; }
.nd-status { display: flex; align-items: center; gap: 10px; margin-top: 18px !important; padding: 12px 14px; border-radius: 16px; background: #fff; font-size: 14px; color: var(--aub); }
.nd-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #7FD1A0; animation: livePulse 1.6s ease-in-out infinite; }
.nd-status, .nd-remind, .nd-inner { margin-left: 16px; margin-right: 16px; }
@media (min-width: 592px) { .nd-status, .nd-remind, .nd-inner { margin-left: auto; margin-right: auto; } }
.nd-peek, .nd-vault { padding: 26px 16px 0; }
.nd-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.nd-h h2 { font-size: 23px; color: var(--aub); }
.nd-h span, .nd-h a { font-size: 12px; color: var(--ink-3); }
.nd-h a { color: var(--gold-dk); text-decoration: none; font-weight: 500; }
.nd-peek-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nd-tile { position: relative; height: 128px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #fff; cursor: pointer; animation: float 4s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
.nd-tile img, .nd-tile svg { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(12px) saturate(.6); transform: scale(1.2); transition: filter .5s, transform .5s; }
.nd-tile.peek img, .nd-tile.peek svg { filter: blur(3px) saturate(.9); transform: scale(1.05); }
.nd-tile span { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(43, 22, 38, .82); color: var(--gold-2); font-size: 11px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.nd-remind { margin-top: 24px; padding: 18px 16px; border-radius: 22px; background: #fff; box-shadow: 0 18px 30px -24px rgba(43, 22, 38, .5); scroll-margin-top: 20px; }
.nd-remind h2 { font: 500 16px/1.3 var(--sans); color: var(--aub); }
body.lang-bn .nd-remind h2 { font-family: var(--bn); }
.nd-remind p { margin: 4px 0 12px; font-size: 13px; color: var(--ink-3); }
.nd-field { display: flex; gap: 8px; }
.nd-field input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid var(--blush); border-radius: 999px; background: var(--ivory); font: 400 16px/1 var(--sans); color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; }
.nd-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 138, 78, .14); }
.nd-btn { flex: none; height: 50px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--aub); color: var(--ivory); font: 500 14px/1 var(--sans); cursor: pointer; }
body.lang-bn .nd-btn { font-family: var(--bn); }
.nd-btn[aria-busy="true"] { opacity: .7; }
.nd-err { min-height: 16px; margin: 8px 0 0 !important; color: var(--danger) !important; }
.nd-done { display: flex; align-items: center; gap: 12px; animation: up .45s var(--ease) both; }
.nd-done b { display: block; font-weight: 500; color: var(--aub); }
.nd-done small { font-size: 13px; color: var(--ink-2); }
.nd-tick { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #E3F1E8; color: #2F7A55; display: flex; align-items: center; justify-content: center; }
.nd-inner { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--aub); color: var(--ivory); font-size: 13px; line-height: 1.45; }
.nd-inner svg { flex: none; color: var(--gold-2); }
.nd-inner a { color: var(--gold-2); }
.nd-vault-row, .mo-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding: 2px 16px 8px 0; }
.nd-vault-row::-webkit-scrollbar, .mo-row::-webkit-scrollbar { display: none; }
.nd-vcard, .mo-card { flex: none; width: 142px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 5px; padding: 6px 6px 10px; border-radius: 18px; background: #fff; box-shadow: 0 14px 26px -22px rgba(43, 22, 38, .5); text-decoration: none; color: var(--aub); transition: transform .25s var(--ease); }
.nd-vcard:active, .mo-card:active { transform: scale(.97); }
.nd-vimg, .mo-img { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #EFE6E1; }
.nd-vimg img, .nd-vimg svg, .mo-img img, .mo-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.nd-vcard b, .mo-card b { padding: 0 3px; font: 500 13px/1.25 var(--sans); }
.nd-vcard small, .mo-card small { padding: 0 3px; font-size: 12px; color: var(--gold-dk); }
body.lang-bn .nd-vcard b, body.lang-bn .mo-card b { font-family: var(--bn); }

/* ============================================================
   Tab pages: Moments, Gift Finder, Vault, Pouch
   ============================================================ */
.tab-app { min-height: 100vh; padding-bottom: calc(var(--dock-h) + 20px); }
.tab-app main { max-width: 640px; margin: 0 auto; }
.pg-head { display: flex; flex-direction: column; gap: 4px; padding: 6px 16px 14px; }
.pg-head h1 { font-size: 33px; line-height: 1.05; color: var(--aub); }
body.lang-bn .pg-head h1 { font-size: 28px; line-height: 1.3; }
.pg-head p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.pg-head.on-dark h1 { color: var(--ivory); }
.pg-head.on-dark .eyebrow { color: var(--gold-2); }
.pg-head.on-dark p { color: rgba(247, 241, 238, .72); }
.empty-card { margin: 8px 16px; padding: 24px 20px; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 18px 30px -26px rgba(43, 22, 38, .45); }
.empty-card h2 { font-size: 23px; color: var(--aub); }
.empty-card p { margin: 8px 0 16px; font-size: 14px; color: var(--ink-2); }
.empty-card .btn-dark { width: auto; padding: 0 24px; }
.ec-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ec-ic { display: inline-flex; color: var(--gold); }

/* Moments */
.gf-card { display: flex; align-items: center; gap: 14px; margin: 0 16px 14px; padding: 14px 16px; border-radius: 20px; background: linear-gradient(135deg, var(--aub), #4A2340); color: var(--ivory); text-decoration: none; transition: transform .25s var(--ease), box-shadow .3s; }
.gf-card:hover { box-shadow: 0 18px 30px -18px rgba(43, 22, 38, .7); }
.gf-card:active { transform: scale(.98); }
.gf-card > svg { flex: none; color: var(--gold-2); transition: transform .25s var(--ease); }
.gf-card:hover > svg { transform: translateX(3px); }
.gf-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(217, 190, 140, .16); color: var(--gold-2); display: flex; align-items: center; justify-content: center; }
.gf-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.gf-t b { font-weight: 500; font-size: 15px; }
.gf-t small { font-size: 12px; color: var(--gold-2); }
.mo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
.mo-tile { position: relative; overflow: hidden; height: 88px; padding: 12px 14px; border-radius: 18px; background: var(--tint); color: var(--aub); text-decoration: none; display: flex; align-items: flex-start; transition: transform .2s var(--ease), box-shadow .3s; }
.mo-tile:active { transform: scale(.97); }
.mo-tile.on { box-shadow: 0 0 0 2px var(--aub), 0 10px 20px -14px rgba(43, 22, 38, .6); }
.mo-t { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; max-width: 70%; }
.mo-t b { font: 600 20px/1.05 var(--serif); }
.mo-t small { font-size: 12px; color: var(--plum); }
.mo-tile img { position: absolute; right: -14px; bottom: -14px; width: 86px; height: 86px; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.mo-tile.on img, .mo-tile:hover img { transform: scale(1.08) rotate(-4deg); }
.mo-picked { padding: 20px 16px 0; animation: up .4s var(--ease) both; }
.mo-ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.mo-ph h2 { font-size: 23px; color: var(--aub); }
.mo-ph span { font-size: 12px; color: var(--ink-3); text-align: right; }

/* Gift Finder */
.gf-page { padding: 0 16px; }
.gf-progress { display: flex; gap: 6px; margin: 4px 0 18px; }
.gf-progress i { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--blush); overflow: hidden; }
.gf-progress i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.gf-progress i.done::after { transform: scaleX(1); }
.gf-step { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.js .gf-step { display: none; }
.js .gf-step.on { display: block; animation: stepIn .35s var(--ease) both; }
.js .gf-step.on.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.gf-step legend { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0; margin-bottom: 16px; }
.gf-q { font: 600 33px/1.05 var(--serif); color: var(--aub); }
.gf-sub { font-size: 14px; color: var(--ink-2); }
.gf-opt { display: flex; align-items: center; gap: 14px; min-height: 64px; margin-bottom: 10px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: 0 12px 24px -22px rgba(43, 22, 38, .6), inset 0 0 0 1px #EFE6E1; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s; }
.gf-opt:active { transform: scale(.98); }
.gf-opt:has(input:checked) { box-shadow: 0 0 0 2px var(--aub), 0 12px 24px -22px rgba(43, 22, 38, .6); }
.gf-opt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(176, 138, 78, .45); }
.gf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gf-opt > svg { flex: none; color: var(--gold); }
.gf-mark { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; font: 600 20px/1 var(--serif); color: var(--aub); }
.gf-ot { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.gf-ot b { font-weight: 500; font-size: 15px; color: var(--aub); }
.gf-ot small { font-size: 12px; color: var(--ink-3); }
.gf-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 20px; }
.gf-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink-2); font: 400 14px/1 var(--sans); cursor: pointer; }
.js .gf-submit { display: none; }
.gf-result { padding-top: 4px; }
.gf-result h1 { font-size: 33px; color: var(--aub); line-height: 1.1; margin-top: 4px; }
body.lang-bn .gf-result h1 { font-size: 28px; line-height: 1.3; }
.gf-pick { margin: 14px 0; padding: 10px 10px 16px; border-radius: 24px; background: #fff; box-shadow: 0 22px 40px -28px rgba(43, 22, 38, .6); animation: reveal .6s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.gf-img { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #EFE6E1; }
.gf-img img, .gf-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.gf-pr { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 6px 0; }
.gf-pr b { font: 600 24px/1.1 var(--serif); color: var(--aub); }
.gf-pr span { font-weight: 600; font-size: 17px; color: var(--aub); flex: none; }
.gf-pick p { margin: 6px 0 4px; padding: 0 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.gf-meta { display: block; padding: 0 6px; font-size: 12px; color: var(--gold-dk); }
.gf-note { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 16px; background: #F3E3E6; color: var(--aub); font-size: 13px; line-height: 1.45; }
.gf-note svg { flex: none; }
.gf-actions { display: flex; flex-direction: column; gap: 10px; }
.gf-go { height: 54px; }
.gf-row { display: flex; gap: 10px; }
.gf-row form { flex: 1; margin: 0; }
.gf-row .btn-ghost-dark { width: 100%; gap: 6px; height: 48px; }
.st-keep-txt.on { background: #F3E3E6; border-color: #E5C3CB; color: #9C4A5E; }
.gf-also { margin-top: 24px; }
.gf-also h2 { font-size: 23px; color: var(--aub); margin-bottom: 10px; }
.gf-again { display: block; margin: 18px 0 8px; text-align: center; font-size: 14px; color: var(--ink-2); }

/* Vault */
.va-app { background: radial-gradient(120% 50% at 50% 0, rgba(217, 190, 140, .22), transparent 60%), var(--aub); }
.va-app ~ .site-foot { background: var(--ivory); }
.va-stack { position: relative; display: grid; margin: 6px 16px 0; }
.va-ghost { position: absolute; z-index: 0; border-radius: 26px; pointer-events: none; }
.va-ghost.g1 { inset: 11px 11px -11px; background: rgba(247, 241, 238, .18); }
.va-ghost.g2 { inset: 22px 22px -22px; background: rgba(247, 241, 238, .09); }
.va-card { grid-area: 1 / 1; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 16px; border-radius: 26px; background: #fff; color: var(--aub); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8); scroll-margin-top: 80px; }
.js .va-card { visibility: hidden; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; }
.js .va-card.on { visibility: visible; opacity: 1; transform: none; transition: opacity .35s, transform .45s var(--ease); }
.js .va-card.out-left { transform: translateX(-60px) rotate(-6deg); }
html:not(.js) .va-stack { display: block; }
html:not(.js) .va-card { margin-bottom: 16px; }
html:not(.js) .va-ghost { display: none; }
.va-img { position: relative; display: block; aspect-ratio: 1 / .86; border-radius: 18px; overflow: hidden; background: #EFE6E1; }
.va-img img, .va-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.va-left { position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; background: var(--aub); color: var(--gold-2); font-size: 12px; font-weight: 600; }
.va-pos { position: absolute; top: 12px; right: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 500; color: var(--aub); }
.va-pr { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 6px; }
.va-pr b { font: 600 25px/1.1 var(--serif); }
.va-pr span { flex: none; font-weight: 600; font-size: 18px; }
.va-meta { margin: 0; padding: 0 6px; font-size: 13px; line-height: 1.5; color: var(--plum); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(43, 22, 38, .15); }
.va-cta { margin-top: 2px; }
.va-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 30px 0 0; }
.va-btn { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(247, 241, 238, .12); color: var(--ivory); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, transform .2s var(--ease); }
.va-btn:hover { background: rgba(247, 241, 238, .2); }
.va-btn:active { transform: scale(.92); }
.va-dots { display: flex; gap: 6px; }
.va-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(247, 241, 238, .3); transition: width .35s var(--ease), background .3s; }
.va-dots i.on { width: 20px; background: var(--gold-2); }
.va-next { display: flex; align-items: center; gap: 10px; margin: 20px 16px 0; padding: 12px 14px; border-radius: 16px; background: rgba(247, 241, 238, .08); color: var(--ivory); text-decoration: none; font-size: 13px; }
.va-next span { flex: 1; }
.va-next svg { flex: none; color: var(--gold-2); }

/* Pouch & Kept */
.pz-page { padding: 0 16px; }
.pz-tabs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--blush); }
.pz-tabs a { position: relative; z-index: 1; height: 44px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 12px; text-decoration: none; color: var(--plum); font: 500 14px/1 var(--sans); transition: color .3s; }
body.lang-bn .pz-tabs a { font-family: var(--bn); }
.pz-tabs a[aria-selected="true"] { color: var(--ivory); }
.pz-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px; background: var(--aub); box-shadow: 0 8px 18px -10px rgba(43, 22, 38, .8); transition: transform .4s var(--ease); }
.pz-pill.right { transform: translateX(100%); }
.pz-panel { margin-top: 14px; }
.pz-hero { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: linear-gradient(135deg, var(--aub), #4A2340); color: var(--ivory); }
.pz-hero b { display: block; font-weight: 500; font-size: 15px; }
.pz-hero small { display: block; margin-top: 2px; font-size: 12px; color: var(--gold-2); }
.pz-bag { flex: none; width: 54px; height: 54px; transform-origin: 50% 20%; animation: sway 4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.pz-note { margin: 12px 2px 0; font-size: 13px; color: var(--ink-2); }
.pz-group { margin-top: 18px; }
.pz-group h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); }
.pz-group h2 span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
body.lang-bn .pz-group h2 { font: 600 14px/1.3 var(--bn); letter-spacing: 0; }
.pz-line { display: flex; gap: 12px; margin-top: 10px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: 0 14px 26px -22px rgba(43, 22, 38, .5); transition: opacity .3s, transform .35s var(--ease); }
.pz-line.leaving, .kp-card.leaving { opacity: 0; transform: translateX(40px); }
.pz-line.off { opacity: .62; }
.pz-img { flex: none; width: 86px; height: 86px; border-radius: 14px; overflow: hidden; background: #EFE6E1; }
.pz-img img, .pz-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pz-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pz-top { display: flex; justify-content: space-between; gap: 8px; }
.pz-top form { margin: -4px -4px 0 0; }
.pz-name { font: 600 19px/1.1 var(--serif); color: var(--aub); text-decoration: none; }
.pz-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--ivory); color: var(--plum); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.pz-x:hover { background: #F1E1E1; }
.pz-x:active { transform: scale(.9); }
.pz-meta { display: flex; align-items: center; font-size: 12px; color: var(--plum); }
.pz-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: auto; }
.pz-price { font-weight: 600; font-size: 16px; color: var(--aub); }
.pz-price small { display: block; font-weight: 400; font-size: 11px; color: var(--gold-dk); }
.pz-qty { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--ivory); margin: 0; }
.pz-qty button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; color: var(--aub); font-size: 17px; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px -2px rgba(43, 22, 38, .3); }
.pz-qty button:disabled { opacity: .35; cursor: default; box-shadow: none; }
.pz-qty output { min-width: 28px; text-align: center; font-weight: 600; font-size: 15px; color: var(--aub); }
.pz-reason { margin-top: auto; font-size: 12px; font-weight: 500; color: #9C4A5E; }
.pz-sum { margin-top: 12px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 18px 30px -26px rgba(43, 22, 38, .45); }
.pz-sum dl { margin: 0; }
.pz-sum dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--ink-2); }
.pz-sum dt small { display: block; font-size: 11px; color: var(--ink-3); }
.pz-sum dd { margin: 0; }
.pz-sum .now { padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--blush); }
.pz-sum .now dt, .pz-sum .now dd { font: 600 22px/1.1 var(--serif); color: var(--aub); }
.pz-sum .now dd { font-family: var(--sans); font-size: 21px; }
.pz-gift { margin-top: 8px; }
.pz-sign { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--ink-2); }
.pz-lead { margin: 0 2px 14px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.kp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .kp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kp-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 10px; border-radius: 20px; background: #fff; box-shadow: 0 14px 26px -22px rgba(43, 22, 38, .5); transition: opacity .3s, transform .35s var(--ease); }
.kp-img { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #EFE6E1; }
.kp-img img, .kp-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.kp-chip { position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.kp-chip.gold { background: #F0E2C4; color: #6D5226; }
.kp-chip.green { background: #E3F1E8; color: #2F7A55; }
.kp-chip.muted { background: var(--aub); color: var(--gold-2); }
.kp-untie { position: absolute; top: 14px; right: 14px; margin: 0; }
.kp-untie .pz-x { width: 30px; height: 30px; background: rgba(255, 255, 255, .92); }
.kp-name { padding: 0 4px; font: 600 17px/1.1 var(--serif); color: var(--aub); }
.kp-price { padding: 0 4px; font-size: 13px; font-weight: 600; color: var(--aub); }
.kp-card form[data-pouch-form] { margin: auto 0 0; }
.kp-add { width: 100%; height: 40px; border: 0; border-radius: 999px; background: var(--ivory); color: var(--aub); display: flex; align-items: center; justify-content: center; gap: 6px; font: 500 13px/1 var(--sans); cursor: pointer; transition: background .2s; }
.kp-add:hover { background: #EFE6E1; }
body.lang-bn .kp-add { font-family: var(--bn); }
.kp-wait { margin-top: auto; min-height: 40px; display: flex; align-items: center; justify-content: center; padding: 0 4px; text-align: center; font-size: 12px; color: var(--ink-3); }

/* Bangla headings in the custom serif spots */
body.lang-bn :is(.mo-t b, .pz-name, .kp-name, .va-pr b, .gf-pr b, .gf-q, .pz-sum .now dt, .gf-mark) { font-family: var(--bn-serif); letter-spacing: 0; }
body.lang-bn :is(.gf-q) { font-size: 27px; line-height: 1.3; }
body.lang-bn :is(.mo-t b) { font-size: 17px; line-height: 1.25; }

/* piece page bottom bar with Keep + Pouch */
.buybar { gap: 8px; }
@media (max-width: 419px) { .buybar .bb-price { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .story.on .st-media img, .st-hint a svg, .nd-tile, .pz-bag, .st-ticker i, .nd-dot { animation: none !important; }
  .story.in-next .st-media img, .story.in-prev .st-media img, .story.in-next .st-sheet > *, .story.in-prev .st-sheet > * { animation: none !important; }
}


/* ============================================================
   Piece page
   ============================================================ */
.piece { max-width: 1120px; margin: 0 auto; padding: 14px 16px 120px; }
.piece-back { margin-bottom: 10px; }
@media (min-width: 900px) {
  .piece { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; padding-top: 24px; padding-bottom: 60px; }
  .piece-back { grid-column: 1 / -1; margin: 0; }
  .pg { position: sticky; top: 20px; }
}
.pg-stage { position: relative; border-radius: 26px; overflow: hidden; background: #efe6e1; aspect-ratio: 1; box-shadow: 0 30px 50px -40px rgba(43, 22, 38, .7); touch-action: pan-y; }
.pg-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pg-track::-webkit-scrollbar { display: none; }
.pg-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; height: 100%; }
.pg-slide img, .pg-slide .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .35s; }
.shine-host { position: relative; }
.shine-host .shine { position: absolute; inset: -20%; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .85) 48%, rgba(255, 247, 228, .5) 52%, transparent 62%);
  transform: translateX(calc(var(--sx, -60) * 1%)); transition: opacity .4s; }
.shine-host.lit .shine { opacity: 1; }
.pg-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(43, 22, 38, .4); }
.pg-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(247, 241, 238, .55); }
.pg-dot-travel { position: absolute; left: 10px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2); transition: transform .35s var(--ease); }
.pg-hint { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--aub); font-size: 12px; transition: opacity .5s, transform .5s var(--ease); }
.pg-hint.gone { opacity: 0; transform: translateY(-6px); }

.pi { padding-top: 20px; }
.pi .eyebrow { color: var(--gold); }
.pi h1 { font-size: clamp(32px, 8vw, 46px); color: var(--aub); margin: 8px 0 10px; }
body.lang-bn .pi h1 { font-size: clamp(26px, 6.5vw, 36px); line-height: 1.3; }
.pi-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pi-price b { font: 500 26px/1 var(--sans); color: var(--aub); }
.pi-price s { color: var(--ink-3); }
.pi-price small { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }
.pi-story { margin: 18px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }

.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 0; padding: 4px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--blush); }
.seg button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink-2); border-radius: 12px; min-height: 52px; transition: color .3s; }
.seg button b { font-weight: 500; font-size: 14px; }
.seg button small { font-size: 12px; opacity: .8; }
.seg button[aria-checked="true"] { color: var(--ivory); }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px; background: var(--aub); box-shadow: 0 8px 18px -10px rgba(43, 22, 38, .8); transition: transform .4s var(--ease); }
.seg.right .seg-pill { transform: translateX(100%); }

.swatches { margin: 20px 0 0; }
.sw-label { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.sw-label b { color: var(--aub); font-weight: 500; }
.sw-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sw { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: none; }
.sw i { position: absolute; inset: 6px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px rgba(43, 22, 38, .2); transition: transform .25s var(--ease); }
.sw::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); transform: scale(.7); opacity: 0; transition: transform .3s var(--ease), opacity .3s; }
.sw.on::after { transform: none; opacity: 1; }
.sw:hover i { transform: scale(1.06); }
.sw.out i { opacity: .35; }
.sw.out::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px; background: var(--ink-2); transform: rotate(-45deg); z-index: 1; }
.sw:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.slot-card { display: flex; gap: 16px; align-items: center; margin: 20px 0 0; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 18px 30px -26px rgba(43, 22, 38, .45); }
.big-ring { position: relative; flex: none; width: 76px; height: 76px; }
.big-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.big-ring circle { fill: none; stroke-width: 4; }
.big-ring .t { stroke: var(--blush); }
.big-ring .f { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.2s var(--ease); }
.big-ring img { position: absolute; inset: 18px; width: 40px; height: 40px; }
.slot-text b { display: block; font: 500 17px/1.3 var(--sans); color: var(--aub); }
.slot-text span { display: block; font-size: 13px; color: var(--ink-2); }
.slot-text .eta { margin-top: 4px; color: var(--gold); }
.slot-card.low .big-ring img { animation: twinkle 2.6s ease-in-out infinite; }

.feature { margin: 22px 0 0; padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 18px 30px -26px rgba(43, 22, 38, .4); }
.f-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.feature h2 { font-size: 22px; color: var(--aub); margin: 0; }
.mini-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ivory); }
.mini-seg button { border: 0; background: none; padding: 8px 12px; border-radius: 999px; font: 400 13px/1 var(--sans); color: var(--ink-2); cursor: pointer; min-height: 34px; transition: background .3s, color .3s; }
body.lang-bn .mini-seg button { font-family: var(--bn); }
.mini-seg button[aria-selected="true"] { background: var(--aub); color: var(--ivory); }
.unfold-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--ivory); perspective: 900px; }
.unfold-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: rotateY(-25deg) scale(.96); transform-origin: left center; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.unfold-stage img.on { opacity: 1; transform: none; }
.size-panel { display: none; }
.size-panel.on { display: block; animation: up .4s var(--ease) both; }
.truesize { width: 100%; height: auto; display: block; }
.truesize .ts-shape { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 1s var(--ease), fill-opacity .6s .6s; transition-delay: calc(var(--i, 0) * .25s), calc(var(--i, 0) * .25s + .6s); }
.truesize.drawn .ts-shape { stroke-dashoffset: 0; fill-opacity: 1; }
.truesize .lbl { font: 500 9px var(--sans); fill: var(--ink-3); letter-spacing: .04em; }
.fill-stage { position: relative; height: 170px; display: grid; place-items: center; margin-bottom: 12px; overflow: hidden; }
.fill-wallet { position: relative; width: 190px; height: 120px; border-radius: 16px; background: var(--wc, var(--aub)); background-image: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .12)); transition: background-color .4s; box-shadow: 0 16px 24px -16px rgba(43, 22, 38, .8); z-index: 2; }
.fw-flap { position: absolute; left: 0; right: 0; top: 0; height: 38px; border-radius: 16px 16px 8px 8px; background: rgba(0, 0, 0, .18); }
.fill-items { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fill-items .it { position: absolute; left: 50%; top: 50%; opacity: 0; transition: transform .6s var(--ease), opacity .25s; box-shadow: 0 4px 10px -4px rgba(43, 22, 38, .4); }
.fill-items .it.card { width: 116px; height: 74px; margin: -37px 0 0 -58px; border-radius: 8px; transform: translate(0, -200px) rotate(-12deg); }
.fill-items .it.note { width: 150px; height: 64px; margin: -32px 0 0 -75px; border-radius: 4px; background: linear-gradient(135deg, #cfe1c9, #8db487); transform: translate(0, -200px) rotate(8deg); }
.fill-items .it.phone { width: 62px; height: 118px; margin: -59px 0 0 -31px; border-radius: 12px; background: linear-gradient(160deg, #3a3238, #1e1a1d); transform: translate(0, -220px) rotate(10deg); }
.fill-items .it.phone::after { content: ""; position: absolute; left: 50%; top: 6px; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: #555; }
.fill-items .it.in { opacity: 1; }
.fill-items .it.card.in { transform: translate(calc(var(--o, 0) * 9px - 40px), calc(-46px - var(--o, 0) * 3px)) rotate(calc(var(--o, 0) * 1.5deg - 4deg)); }
.fill-items .it.note.in { transform: translate(-6px, -52px) rotate(-2deg); }
.fill-items .it.phone.in { transform: translate(52px, -38px) rotate(3deg); }
.fill-count { position: absolute; right: 8px; top: 8px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: var(--aub); color: var(--gold-2); font-size: 12px; opacity: 0; transition: opacity .3s; }
.fill-count.on { opacity: 1; }
.fits { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.fits li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.fits li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--gold-3); color: var(--gold); font-size: 12px; }
.acc summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc-i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--ivory); }
.acc-i::before, .acc-i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 1px; background: var(--aub); transition: transform .3s var(--ease); }
.acc-i::after { transform: rotate(90deg); }
.acc[open] .acc-i::after { transform: rotate(0); }
.acc[open] > :not(summary) { animation: up .35s var(--ease) both; }
.detail-list, .pay-steps { margin: 12px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.detail-list li, .pay-steps li { margin-bottom: 6px; }
.detail-list li::marker { color: var(--gold); }
.pay-steps li::marker { color: var(--gold); font-weight: 500; }

.buybar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 -10px 30px -18px rgba(43, 22, 38, .4); }
.bb-price small { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.bb-price b { font: 500 19px/1.2 var(--sans); color: var(--aub); white-space: nowrap; }
.bb-btn { flex: 1; height: 50px; font-size: 15px; }
.bb-btn.is-wait { background: var(--ivory); color: var(--ink-2); box-shadow: none; font-size: 13px; white-space: normal; text-align: center; line-height: 1.3; height: auto; min-height: 50px; padding: 8px 14px; }
.bb-btn.disabled { pointer-events: none; filter: grayscale(.6); opacity: .6; }
.bb-btn svg { transition: transform .35s var(--ease); }
.bb-btn:hover svg { transform: rotate(45deg) scale(1.15); }
@media (min-width: 900px) {
  .buybar { position: sticky; grid-column: 2; bottom: 18px; margin-top: 22px; border-radius: 22px; padding: 12px 14px; }
}

/* ============================================================
   Checkout
   ============================================================ */
.checkout { max-width: 620px; padding-bottom: 50px; }
.co-title { font-size: clamp(30px, 7vw, 40px); color: var(--aub); margin: 0 0 16px; }
.co-piece { display: flex; gap: 14px; align-items: center; }
.cp-img { flex: none; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: #efe6e1; }
.cp-img img, .cp-img .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-info { flex: 1; min-width: 0; }
.cp-info h2 { font-size: 21px; margin: 6px 0 2px; }
.cp-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cp-row b { font: 500 18px/1 var(--sans); color: var(--aub); }
.swatch-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.co-scarce { margin-top: 8px; font-size: 13px; color: #9a6a12; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--ivory); padding: 3px; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--aub); font-size: 18px; cursor: pointer; box-shadow: 0 2px 6px -2px rgba(43, 22, 38, .3); }
.stepper input { width: 34px; border: 0; background: none; text-align: center; font: 500 16px var(--sans); color: var(--aub); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.co-h { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 16px; }
body.lang-bn .co-h { font-size: 19px; }
.co-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--aub); color: var(--gold-2); font: 500 13px/1 var(--sans); }

/* floating labels */
.fl { position: relative; margin-bottom: 14px; }
.fl .input { height: 56px; padding: 22px 16px 6px; }
.fl textarea.input { height: auto; min-height: 92px; padding-top: 26px; line-height: 1.5; resize: vertical; }
.fl label { position: absolute; left: 16px; top: 18px; font-size: 15px; color: var(--ink-3); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.fl .input:focus + label, .fl .input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--gold); }
.fl small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.fl small[data-count] { text-align: right; }
.fl select.input { padding-top: 6px; padding-bottom: 6px; }
.fl .input.bad { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(163, 54, 47, .1); }
.fl .input.good { border-color: #8bb89d; }
.fl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fl-row .fl { margin-bottom: 14px; }

.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1px solid var(--blush); margin-bottom: 10px; cursor: pointer; transition: border-color .25s, box-shadow .25s, background .25s; }
.choice input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--aub); flex: none; }
.choice span b { display: block; font-weight: 500; color: var(--aub); }
.choice span small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--gold); background: #fffdf8; box-shadow: 0 0 0 4px rgba(176, 138, 78, .1); }
.choice.big { padding: 16px; }
.new-addr { margin-top: 6px; }

.voucher-row { display: flex; gap: 10px; align-items: stretch; }
.voucher-row .btn-ghost-dark { height: 56px; }
.v-msg { min-height: 20px; margin: 8px 0 10px; font-size: 14px; }
.v-msg.ok { color: var(--ok); }
.v-msg.bad { color: var(--danger); }
.toggle-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; border-top: 1px solid var(--ivory); }
.toggle-line input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-line > span:last-child { flex: 1; font-size: 15px; }
.toggle-line small { display: block; font-size: 13px; color: var(--ink-3); }
.tg { position: relative; flex: none; width: 52px; height: 30px; border-radius: 15px; background: var(--blush); transition: background .3s; }
.tg::before { content: "OFF"; position: absolute; right: 7px; top: 9px; font: 600 9px/1 var(--sans); color: var(--ink-3); letter-spacing: .05em; }
.tg i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(43, 22, 38, .25); transition: transform .3s var(--ease); }
.toggle-line input:checked + .tg { background: var(--aub); }
.toggle-line input:checked + .tg::before { content: "ON"; left: 8px; right: auto; color: var(--gold-2); }
.toggle-line input:checked + .tg i { transform: translateX(22px); background: var(--gold-2); }
.toggle-line input:focus-visible + .tg { box-shadow: 0 0 0 3px rgba(176, 138, 78, .35); }
.gift-fields { padding-top: 6px; animation: up .35s var(--ease) both; }

.co-summary { position: relative; }
.co-submit { position: relative; width: 100%; height: 56px; margin-top: 18px; font-size: 16px; overflow: hidden; }
.cs-spark { display: inline-grid; place-items: center; transition: transform .4s var(--ease); }
.cs-spark svg { width: 15px; height: 15px; }
.co-submit.busy { pointer-events: none; }
.co-submit.busy .cs-spark { animation: sparkRun 1.1s var(--ease) infinite; }
@keyframes sparkRun { 0% { transform: translateX(-160px) rotate(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(160px) rotate(180deg); opacity: 0; } }
.co-fine { text-align: center; margin: 10px 0 0; }

/* ---------- order page extras ---------- */
.celebrate { position: relative; text-align: center; padding: 26px 18px 22px; margin-bottom: 16px; border-radius: 24px; color: var(--ivory); background: radial-gradient(100% 80% at 50% 0, rgba(217, 190, 140, .3), transparent 60%), linear-gradient(160deg, #3d2436, var(--aub)); animation: up .6s var(--ease) both; overflow: hidden; }
.celebrate h2 { font-size: 28px; color: var(--ivory); margin: 6px 0 6px; }
.celebrate p { margin: 0; color: rgba(247, 241, 238, .8); font-size: 15px; }
.celebrate b { color: var(--gold-2); font-weight: 500; }
.cel-burst { position: relative; width: 56px; height: 56px; margin: 0 auto; color: var(--gold-2); }
.cel-burst svg { width: 100%; height: 100%; animation: pop .9s .2s var(--ease) both; }
.cel-burst i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); opacity: 0; animation: burst 1.1s .3s var(--ease) forwards; }
.hold { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; border-radius: 16px; background: var(--gold-3); color: #6d5226; font-size: 14px; }
.hold b { font-variant-numeric: tabular-nums; font-weight: 600; }
.hold-ring { width: 30px; height: 30px; flex: none; }
.hold-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hold-ring circle { fill: none; stroke: rgba(176, 138, 78, .3); stroke-width: 3; }
.hold-ring .hf { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 94.25; transition: stroke-dashoffset 1s linear; }
.hold.ended { background: #f8e3e1; color: var(--danger); }
.gift-share .gs-link { display: flex; gap: 8px; align-items: center; }
.gift-share .gs-link .input { font-size: 14px; height: 46px; }

/* ---------- gift page ---------- */
.gift-for { margin-bottom: 4px; opacity: 0; animation: fade 1s .3s forwards; font-size: 13px; }
.gift-page .box-svg .box-body { animation-delay: .4s; }
.gift-open { margin-top: 10px; opacity: 0; animation: up 1s 1.4s var(--ease) forwards; }
.gift-page.opened .gift-open { display: none; }
.gift-reveal { width: 100%; max-width: 420px; margin-top: -40px; }
.gift-reveal[hidden] { display: none; }
.gr-card { position: relative; z-index: 3; padding: 22px 20px 24px; border-radius: 24px; background: var(--ivory); color: var(--ink); text-align: center; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7); animation: giftRise 1s 1.6s var(--ease) both; }
.gr-card .eyebrow { color: var(--gold); }
.gr-card h1 { font-size: 30px; color: var(--aub); margin: 6px 0 2px; }
.gr-img { width: 70%; aspect-ratio: 1; margin: -70px auto 12px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 34px -20px rgba(43, 22, 38, .8); background: #efe6e1; }
.gr-img img, .gr-img .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-variant { margin: 0; color: var(--ink-3); font-size: 14px; }
.gr-card blockquote { margin: 16px 0 10px; font: italic 400 20px/1.5 var(--serif); color: var(--aub); }
body.lang-bn .gr-card blockquote { font-family: var(--bn-serif); font-style: normal; font-size: 17px; }
.gr-eta { margin: 0; font-size: 13px; color: var(--gold); }
@keyframes giftRise { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .truesize .ts-shape { transition: none; }
  .reveal { opacity: 1; transform: none; }
  .state-open .box-svg .lid { transform: translate(-2px, -44px) rotate(-12deg); }
  .state-open .box-svg .rays { opacity: 1; }
}

/* ============================================================
   Shop feed (homepage): one simple scrolling list
   ============================================================ */
.fd-page { padding-bottom: 6px; }
.fd-intro { margin: 4px 16px 14px; padding: 18px 18px 16px; border-radius: 24px; background: radial-gradient(120% 90% at 100% 0, rgba(217, 190, 140, .32), transparent 60%), #fff; box-shadow: 0 18px 34px -28px rgba(43, 22, 38, .55); }
.fd-intro-top { display: flex; align-items: center; justify-content: space-between; gap: 8px 10px; flex-wrap: wrap; }
.fd-intro .eyebrow { font-size: 11px; }
.fd-ends { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--ivory); color: var(--aub); font: 500 12px/1 var(--sans); white-space: nowrap; }
.fd-ends svg { color: var(--gold); }
.fd-intro h1 { margin: 10px 0 2px; font-size: 38px; line-height: 1.02; color: var(--aub); }
body.lang-bn .fd-intro h1 { font-size: 31px; line-height: 1.25; }
.fd-early { margin: 6px 0 0; font-size: 13px; color: var(--plum); }
.fd-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fd-steps li { display: flex; flex-direction: column; gap: 7px; padding: 10px; border-radius: 16px; background: var(--ivory); font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.fd-steps b, .pf-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--aub); color: var(--gold-2); font: 500 11px/1 var(--sans); }
body.lang-bn .fd-steps li { font-size: 12.5px; }

.fd-filters { position: sticky; top: 0; z-index: 6; display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 12px; scrollbar-width: none; background: linear-gradient(var(--ivory) 78%, rgba(247, 241, 238, 0)); }
.fd-filters::-webkit-scrollbar { display: none; }
.fd-filters button, .fd-filters a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 15px; border: 0; border-radius: 999px; background: #fff; color: var(--ink-2); font: 400 13px/1 var(--sans); text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1px var(--blush); transition: background .25s, color .25s, box-shadow .25s, transform .2s var(--ease); }
.fd-filters button:active, .fd-filters a:active { transform: scale(.95); }
.fd-filters button.on { background: var(--aub); color: var(--ivory); box-shadow: 0 8px 16px -10px rgba(43, 22, 38, .7); }
.fd-filters a { color: var(--gold-dk); }
.fd-filters a svg { color: var(--gold); }
body.lang-bn .fd-filters button, body.lang-bn .fd-filters a { font: 400 14px/1 var(--bn); }

.fd-list { display: grid; gap: 16px; padding: 0 16px; }
.fd-card { position: relative; border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 20px 36px -30px rgba(43, 22, 38, .6); animation: fdIn .5s var(--ease) backwards; }
.fd-card.hide { display: none; }
@keyframes fdIn { from { opacity: 0; transform: translateY(14px); } }
.fd-photo { position: relative; display: block; aspect-ratio: 1 / .86; background: #EFE6E1; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.fd-photo img, .fd-ph, .fd-ph svg, .fd-ph .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.fd-photo img { transition: transform .6s var(--ease), opacity .25s; }
.fd-photo img.swap { opacity: .25; }
.fd-card:hover .fd-photo img { transform: scale(1.03); }
.fd-chip { position: absolute; left: 12px; top: 12px; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .93); color: var(--aub); font: 500 12px/1 var(--sans); box-shadow: 0 6px 14px -10px rgba(43, 22, 38, .6); }
.fd-chip.dark { background: var(--aub); color: var(--gold-2); }
body.lang-bn .fd-chip { font: 500 12.5px/1.1 var(--bn); }
.fd-save { position: absolute; right: 12px; top: 12px; margin: 0; }
.fd-save .st-keep { width: 44px; height: 44px; background: rgba(255, 255, 255, .93); box-shadow: 0 6px 14px -8px rgba(43, 22, 38, .5); }
.fd-save .st-keep.on { background: #fff; color: #B4566D; }
.st-keep.on svg { fill: currentColor; }
.fd-body { padding: 14px 16px 16px; }
.fd-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fd-row h2 { margin: 0; font-size: 23px; line-height: 1.15; }
.fd-row h2 a { color: var(--aub); text-decoration: none; }
body.lang-bn .fd-row h2 { font-size: 19px; line-height: 1.4; }
.fd-price { flex: none; text-align: right; }
.fd-price b { display: block; font: 500 18px/1.25 var(--sans); color: var(--aub); }
.fd-price s { font-size: 12px; color: var(--ink-3); }
.fd-colours { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin: 8px 0 0 -5px; font-size: 13px; color: var(--ink-2); }
.fd-colours span { margin-left: 4px; }
.fd-colours.one { gap: 8px; margin-left: 0; }
.fd-colours.one .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.fd-dot { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s; }
.fd-dot i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .2s var(--ease); }
.fd-dot.on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.fd-dot.out i { opacity: .5; background: linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, .95) 46% 54%, transparent 55%), var(--c); }
.fd-dot:active i { transform: scale(.85); }
.fd-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.fd-cta { display: flex; gap: 8px; margin-top: 14px; }
.fd-cta form { display: flex; margin: 0; }
.fd-bag { height: 48px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ivory); color: var(--aub); display: inline-flex; align-items: center; gap: 6px; font: 500 14px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background .25s; }
.fd-bag:hover { background: #F0E4DE; }
.fd-bag:active { transform: scale(.95); }
.fd-bag:disabled { opacity: .45; cursor: default; transform: none; }
.fd-buy { position: relative; overflow: hidden; flex: 1; min-width: 0; min-height: 48px; padding: 6px 14px; box-sizing: border-box; border-radius: 999px; background: var(--aub); color: var(--ivory); display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font: 500 14px/1.2 var(--sans); transition: transform .2s var(--ease), background .3s; }
.fd-buy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(217, 190, 140, .35) 50%, transparent 70%); transform: translateX(-110%); transition: transform .6s var(--ease); }
.fd-buy:hover::after { transform: translateX(110%); }
.fd-buy:active { transform: scale(.97); }
.fd-buy.off { background: #EDE5E1; color: var(--plum); pointer-events: none; }
.fd-buy.off::after { display: none; }
body.lang-bn .fd-bag, body.lang-bn .fd-buy { font-family: var(--bn); }
.fd-none { margin: 0; padding: 20px; text-align: center; font-size: 14px; color: var(--ink-2); }
.fd-ready { margin-top: 28px; }
@media (min-width: 600px) and (max-width: 899px) { .fd-list { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .fd-card, .fd-photo img, .fd-buy::after { animation: none !important; transition: none !important; } }

/* ============================================================
   Computer screens: the shop sits in a phone in the middle
   ============================================================ */
.pf-side { display: none; }
@media (min-width: 900px) {
  body.pf-on { height: 100vh; overflow: hidden; background: radial-gradient(60% 55% at 22% 25%, rgba(217, 190, 140, .32), transparent 70%), radial-gradient(55% 60% at 82% 85%, rgba(201, 154, 168, .3), transparent 70%), var(--ivory); }
  .pf-on .pf { position: fixed; top: 20px; bottom: 20px; left: 50%; width: 420px; transform: translateX(-50%); border-radius: 36px; overflow: hidden; background: var(--ivory); box-shadow: 0 0 0 1px rgba(43, 22, 38, .05), 0 50px 90px -40px rgba(43, 22, 38, .6); }
  .pf-on .pf-screen { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .pf-on .pf-screen::-webkit-scrollbar { display: none; }
  /* everything inside keeps its phone layout */
  .pf-on .dock { left: 0; right: 0; bottom: 0; width: auto; height: 64px; transform: none; border-radius: 0; border-top: 1px solid #F1E9E5; box-shadow: none; }
  .pf-on .tab-app, .pf-on .nd-app, .pf-on .light { min-height: 100%; }
  .pf-on .piece { display: block; padding: 14px 16px 120px; }
  .pf-on .piece-back { margin-bottom: 10px; }
  .pf-on .pg { position: static; }
  .pf-on .pi h1 { font-size: 36px; }
  .pf-on .buybar { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 0; padding: 12px 16px; }
  .pf-on .kp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-on .co-title { font-size: 32px; }
  .pf-on .light-top { max-width: none; }
  .pf-on .toast { bottom: 82px; }
  body.pf-on:has(.buybar) .toast { bottom: 96px; }
  body.pf-on:not(:has(.dock)) .toast { bottom: 24px; }
}
@media (min-width: 1150px) {
  .pf-side { display: block; position: fixed; top: 50%; width: calc(50vw - 300px); max-width: 340px; transform: translateY(-50%); color: var(--aub); }
  .pf-l { left: 5vw; }
  .pf-r { right: 5vw; }
  .pf-side .eyebrow { color: var(--gold-dk); letter-spacing: .2em; }
  .pf-h { margin: 10px 0 10px; font: 400 clamp(38px, 3.6vw, 58px)/1.02 var(--serif); }
  body.lang-bn .pf-h { font: 400 clamp(32px, 3vw, 46px)/1.25 var(--bn); }
  .pf-p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
  .pf-hint { margin: 22px 0 0; font-size: 12px; color: var(--ink-3); }
  .pf-steps { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; gap: 12px; }
  .pf-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
  .pf-steps b { flex: none; width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }
  body.lang-bn .pf-side .eyebrow { letter-spacing: 0; }
}

/* whole card opens the product page */
[data-card-href] { cursor: pointer; }
@media (hover: hover) {
  .fd-card { transition: transform .3s var(--ease), box-shadow .3s; }
  .fd-card:hover { transform: translateY(-3px); box-shadow: 0 26px 40px -28px rgba(43, 22, 38, .65); }
}
@media (prefers-reduced-motion: reduce) { .fd-card:hover { transform: none; } }

/* keep the footer clear of the bottom menu and the product buy bar */
.tab-app:has(~ .site-foot), .nd-app:has(~ .site-foot) { padding-bottom: 8px; }
body:has(.dock) .site-foot { padding-bottom: calc(var(--dock-h) + 22px); }
body:has(.buybar) .site-foot { padding-bottom: 104px; }
.piece:has(~ .site-foot) { padding-bottom: 24px; }
@media (min-width: 900px) {
  body.pf-on:has(.dock) .site-foot { padding-bottom: 86px; }
  .pf-on .piece:has(~ .site-foot) { padding-bottom: 24px; }
}
