/* Himalaya the Toys Store — chunky, toy-box UI in the logo's colours */
:root {
  --ink: #13284A;
  --ink-2: #3A4C6B;
  --blue: #1E5FA8;
  --blue-deep: #164A85;
  --sky: #8FD0F5;
  --sky-soft: #E3F4FD;
  --red: #E2412E;
  --red-ink: #C23222;
  --orange: #F28C28;
  --sun: #FFC83D;
  --sun-soft: #FFF1C7;
  --leaf: #3BAA5C;
  --leaf-ink: #237A3E;
  --paper: #FFFDF7;
  --card: #FFFFFF;
  --line: #13284A;
  --wa: #128C4B;
  --radius: 20px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.22, 1, .36, 1);
  --font-d: "Baloo 2", "Baloo Tammudu 2", system-ui, sans-serif;
  --font-b: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --top-h: 64px;
}
html:lang(te) { --font-d: "Baloo Tammudu 2", "Baloo 2", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font-b); overflow-x: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--blue); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 6vw, 46px); font-weight: 800; }
.eyebrow { margin: 0 0 4px; font: 700 14px/1 var(--font-d); text-transform: uppercase; letter-spacing: .12em; color: var(--red); }
.eyebrow--light { color: var(--sun); }
.fine { font-size: 13px; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--card); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 700 17px/1 var(--font-d); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .14s var(--out), box-shadow .14s var(--out), background .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--sun { --bg: var(--sun); }
.btn--blue { --bg: var(--blue); --fg: #fff; }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--wa svg { fill: currentColor; stroke: none; }
.btn--ghost { --bg: transparent; box-shadow: none; }
.btn--ghost:hover { box-shadow: var(--shadow-sm); background: var(--card); }
.btn--wide { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- announce ---------- */
.announce { background: var(--ink); color: #fff; font: 600 13px/1 var(--font-b); overflow: hidden; white-space: nowrap; }
.announce__track { display: inline-flex; gap: 22px; align-items: center; padding: 10px 0 10px 22px; animation: ticker 30s linear infinite; }
.announce i { color: var(--sun); font-style: normal; }
.announce b { color: var(--sun); }
.announce a { color: #fff; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (min-width: 1100px) { .announce__track { padding-left: 0; animation: none; width: 100%; justify-content: center; } .announce__track .dup { display: none; } }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  height: var(--top-h); padding: 0 var(--gutter); background: rgba(255, 253, 247, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 2px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.top.is-scrolled { border-bottom-color: var(--ink); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue); flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; transition: transform .5s var(--spring); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__word { display: inline-flex; flex-direction: column; font: 800 22px/0.9 var(--font-d); letter-spacing: .02em; color: var(--blue); }
.brand__word em { font-style: normal; color: var(--red); }
.brand__word strong { color: var(--orange); font-weight: 800; }
.brand__word small { font: 700 10px/1.3 var(--font-b); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.brand__word { display: inline-block; }
.brand__word small { display: block; }
.top__nav { display: none; gap: 4px; margin-left: auto; }
.top__nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font: 700 16px/1 var(--font-d); }
.top__nav a:hover { background: var(--sky-soft); }
.top__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; flex: none; }
.lang-btn { min-width: 38px; height: 36px; border: 0; background: transparent; font: 700 14px/1 var(--font-d); }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mode-switch { position: relative; display: none; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); padding: 2px; flex: none; }
.mode-switch button { position: relative; z-index: 1; height: 34px; padding: 0 12px; border: 0; background: transparent; font: 700 14px/1 var(--font-d); border-radius: 999px; transition: color .25s; }
.mode-switch button[aria-pressed="true"] { color: #fff; }
.mode-switch__pill { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 999px; background: var(--blue); transition: transform .38s var(--spring), background .3s; }
[data-mode="wholesale"] .mode-switch__pill { transform: translateX(100%); background: var(--leaf-ink); }
.box-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 14px; background: var(--sun); box-shadow: var(--shadow-sm); flex: none; transition: transform .14s, box-shadow .14s; }
.box-btn:active { transform: translate(3px, 3px); box-shadow: none; }
.box-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.box-count { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid var(--ink); border-radius: 999px; background: var(--red); color: #fff; font: 800 12px/18px var(--font-b); text-align: center; transform: scale(0); transition: transform .35s var(--spring); }
.box-count.on { transform: scale(1); }
.box-btn.bump { animation: bump .5s var(--spring); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.94) rotate(4deg); } }

/* mobile: price-type switch lives in a slim bar under the header */
.modebar { position: sticky; top: var(--top-h); z-index: 39; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px var(--gutter); background: var(--sky-soft); border-bottom: 2px solid var(--ink); font: 600 13px/1.2 var(--font-b); }
.modebar .mode-switch { display: grid; }
@media (min-width: 760px) {
  .mode-switch { display: grid; }
  .modebar { display: none; }
}
@media (min-width: 1080px) { .top__nav { display: flex; } .top__tools { margin-left: 8px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; display: grid; gap: 22px; padding: 28px var(--gutter) 120px; background: linear-gradient(180deg, var(--sky) 0%, #BFE5FA 55%, #DDF1FC 100%); }
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; right: 8%; top: 22px; width: 74px; height: 74px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 12px rgba(255, 200, 61, .25), 0 0 0 26px rgba(255, 200, 61, .12); animation: sun 9s ease-in-out infinite; }
@keyframes sun { 50% { transform: translateY(6px) scale(1.04); } }
.cloud { position: absolute; height: 26px; border-radius: 999px; background: #fff; opacity: .9; animation: drift 40s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; bottom: 8px; border-radius: 50%; background: #fff; }
.cloud::before { left: 18%; width: 40%; height: 220%; }
.cloud::after { left: 46%; width: 30%; height: 160%; }
.c1 { width: 110px; top: 40px; left: -120px; }
.c2 { width: 80px; top: 120px; left: -100px; animation-duration: 55s; animation-delay: -20s; opacity: .7; }
.c3 { width: 140px; top: 70px; left: -160px; animation-duration: 70s; animation-delay: -45s; opacity: .8; }
@keyframes drift { to { transform: translateX(calc(100vw + 300px)); } }
.hero__copy { position: relative; z-index: 2; max-width: 620px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 700 13px/1 var(--font-b); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(59, 170, 92, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(59, 170, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 170, 92, 0); } }
.hero h1 { font-size: clamp(44px, 12vw, 92px); font-weight: 800; line-height: .92; color: var(--ink); }
.hero__pop { position: relative; display: inline-block; color: var(--red); -webkit-text-stroke: 0; }
.hero__pop::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .2em; background: var(--sun); z-index: -1; border-radius: 6px; transform: rotate(-1.5deg); }
.hero__lead { max-width: 520px; margin: 16px 0 22px; font-size: 18px; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.hero__facts li { display: flex; align-items: center; gap: 6px; }
.hero__facts li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100%; }
.hero__facts b { color: var(--ink); }
.hero__toys { position: relative; z-index: 2; height: 300px; }
.bubble { position: absolute; width: var(--s); height: var(--s); padding: 0; border: 3px solid var(--ink); border-radius: 50%; overflow: hidden; background: #fff; box-shadow: var(--shadow); animation: bob var(--t, 5s) ease-in-out infinite; animation-delay: var(--dl, 0s); transition: transform .3s var(--spring); -webkit-tap-highlight-color: transparent; }
.bubble img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--out); }
.bubble:hover img { transform: scale(1.08); }
.bubble.boing { animation: boing .6s var(--spring); }
.bubble__price { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); padding: 2px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); font: 800 13px/1.3 var(--font-d); white-space: nowrap; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(var(--r, 2deg)); } }
@keyframes boing { 0% { transform: scale(1); } 30% { transform: scale(.82, 1.12); } 55% { transform: scale(1.12, .9); } 80% { transform: scale(.97, 1.03); } }
.hero__hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; z-index: 1; }
.hero__copy > * { animation: rise .7s var(--out) both; }
html.settled .hero__copy > * { animation: none; }
.hero__copy > :nth-child(2) { animation-delay: .06s; } .hero__copy > :nth-child(3) { animation-delay: .12s; } .hero__copy > :nth-child(4) { animation-delay: .18s; } .hero__copy > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; padding-top: 56px; padding-bottom: 150px; min-height: 620px; }
  .hero__toys { height: 440px; }
}

/* ---------- shelves (category stickers) ---------- */
.shelves { padding: 0 0 8px; margin-top: -40px; position: relative; z-index: 3; }
.shelves__row { display: flex; gap: 12px; overflow-x: auto; padding: 8px var(--gutter) 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shelves__row::-webkit-scrollbar { display: none; }
.shelf { scroll-snap-align: start; flex: none; display: grid; justify-items: center; gap: 8px; width: 96px; padding: 12px 6px 10px; border: 2px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); text-align: center; font: 700 14px/1.1 var(--font-d); color: var(--ink); text-decoration: none; transition: transform .2s var(--spring), box-shadow .14s; -webkit-tap-highlight-color: transparent; }
.shelf:hover { transform: translateY(-4px) rotate(-1.5deg); }
.shelf:active { transform: translate(3px, 3px); box-shadow: none; }
.shelf__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--c, var(--sky)); border: 2px solid var(--ink); }
.shelf__ic svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1000px) { .shelves__row { justify-content: center; } }

/* ---------- shop ---------- */
.shop { padding: 36px var(--gutter) 40px; max-width: 1320px; margin: 0 auto; }
.shop__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.shop__mode-note { margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--sun-soft); border: 2px dashed var(--ink); font-size: 14px; font-weight: 600; }
[data-mode="retail"] .shop__mode-note { display: none; }
.toolbar { display: grid; gap: 12px; margin-bottom: 14px; }
.search { position: relative; display: flex; align-items: center; height: 52px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-sm); }
.search svg { width: 22px; height: 22px; margin: 0 6px 0 14px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 600 17px var(--font-b); color: var(--ink); outline: none; }
.search:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.search__clear { width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-2); }
.filters { display: grid; gap: 10px; }
.filter { display: flex; align-items: center; gap: 10px; min-width: 0; }
.filter__lbl { flex: none; width: 58px; font: 700 13px/1 var(--font-d); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px 3px 5px; margin: -3px -3px -5px; min-width: 0; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; height: 38px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); font: 700 14px/1 var(--font-b); transition: background .2s, transform .2s var(--spring); -webkit-tap-highlight-color: transparent; }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; transform: rotate(-2deg); }
@media (min-width: 900px) { .toolbar { grid-template-columns: minmax(260px, 380px) 1fr; align-items: center; } .filters { grid-template-columns: auto auto; justify-content: end; gap: 18px; } }

.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 8px; margin: 0 -4px 6px; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); font: 700 15px/1 var(--font-d); transition: background .2s, box-shadow .14s, transform .14s; -webkit-tap-highlight-color: transparent; }
.cat[aria-selected="true"] { background: var(--sun); box-shadow: var(--shadow-sm); transform: translate(-1px, -1px); }
.cat small { font: 700 12px/1 var(--font-b); color: var(--ink-2); }
.shop__count { margin: 6px 0 12px; font-size: 14px; color: var(--ink-2); }

.grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.card { position: relative; display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; transition: transform .18s var(--out), box-shadow .18s var(--out); }
.card.enter { animation: pop-in .5s var(--spring) both; animation-delay: var(--d, 0s); }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.94); } }
html.settled .card.enter { animation: none; }
.card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.card:has(.card__open:active) { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.card__open { display: block; padding: 0; border: 0; background: none; text-align: left; -webkit-tap-highlight-color: transparent; }
.card__img { position: relative; aspect-ratio: 1; background: var(--sky-soft); overflow: hidden; border-bottom: 2px solid var(--ink); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--out); }
.card:hover .card__img img { transform: scale(1.05) rotate(.5deg); }
.card__age { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sun); font: 800 14px/1 var(--font-d); transform: rotate(-8deg); }
.card__reel { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: rgba(19, 40, 74, .82); color: #fff; font: 700 11px/1 var(--font-b); }
.card__reel svg { width: 11px; height: 11px; fill: #fff; }
.tag-sample { display: inline-block; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(19, 40, 74, .25); font: 700 10px/1.3 var(--font-b); color: var(--ink-2); }
.card__img .tag-sample { position: absolute; right: 8px; bottom: 8px; }
.card__info { display: grid; gap: 4px; padding: 10px 12px 12px; }
.card__name { margin: 0; font: 700 16px/1.18 var(--font-d); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.36em; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 12px; margin-top: auto; }
.price { font: 800 20px/1 var(--font-d); color: var(--ink); white-space: nowrap; }
.price small { font: 600 12px var(--font-b); color: var(--ink-2); }
.price s { margin-left: 4px; font: 600 13px var(--font-b); color: var(--ink-2); }
.moq { display: block; font: 700 11px/1.3 var(--font-b); color: var(--leaf-ink); }
.card__add { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 2px solid var(--ink); border-radius: 14px; background: var(--red); color: #fff; box-shadow: var(--shadow-sm); transition: transform .14s, box-shadow .14s, background .2s; -webkit-tap-highlight-color: transparent; }
.card__add svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.card__add:active { transform: translate(3px, 3px); box-shadow: none; }
.card__add.done { background: var(--leaf); }
.card--feature .card__img { aspect-ratio: 1; }
@media (min-width: 640px) { .card--feature { grid-column: span 2; } .card--feature .card__img { aspect-ratio: 2 / 1; } .card--feature .card__name { font-size: 22px; min-height: 0; } }

.shop__empty { display: grid; justify-items: center; gap: 12px; padding: 40px 16px; text-align: center; max-width: 440px; margin: 0 auto; }
.shop__empty svg { width: 120px; fill: var(--sun-soft); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.shop__more { display: flex; justify-content: center; margin-top: 24px; }
.shop__fine { margin-top: 18px; text-align: center; }

/* fly-to-box thumbnail */
.fly { position: fixed; z-index: 90; width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-sm); }

/* ---------- reels ---------- */
.reels { padding: 40px 0; background: var(--ink); color: #fff; }
.reels__head { padding: 0 var(--gutter); max-width: 760px; }
.reels__head .eyebrow { color: var(--sun); }
.reels__head p { color: #C8D6EA; margin: 8px 0 0; }
.reels__row { display: flex; gap: 14px; overflow-x: auto; padding: 22px var(--gutter) 10px; margin: 0; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--sky) transparent; }
.reel { position: relative; flex: none; width: 168px; scroll-snap-align: start; }
.reel__media { position: relative; display: block; aspect-ratio: 9 / 13; border: 2px solid #fff; border-radius: 18px; overflow: hidden; background: #0a1730; }
.reel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--out); }
.reel:hover .reel__media img { transform: scale(1.06); }
.reel__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)); color: #fff; text-decoration: none; }
.reel__play span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .3s var(--spring); }
.reel__play span svg { width: 22px; height: 22px; fill: var(--red); margin-left: 3px; }
.reel:hover .reel__play span { transform: scale(1.12); }
.reel__name { margin: 10px 0 2px; font: 700 15px/1.2 var(--font-d); }
.reel__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.reel__row .price { color: var(--sun); font-size: 18px; }
.reel__row button { height: 36px; padding: 0 12px; border: 2px solid #fff; border-radius: 999px; background: transparent; color: #fff; font: 700 13px/1 var(--font-d); }
.reel__row button:active { background: #fff; color: var(--ink); }

/* ---------- finder band ---------- */
.finder-band { display: grid; gap: 18px; align-items: center; margin: 48px var(--gutter); padding: 26px 22px; border: 2px solid var(--ink); border-radius: 26px; background: var(--sun); box-shadow: 6px 6px 0 var(--ink); max-width: 1100px; }
.finder-band h2 { font-size: clamp(28px, 6vw, 42px); }
.finder-band p { margin: 8px 0 18px; font-size: 17px; }
.finder-band__art svg { width: 120px; height: 120px; filter: drop-shadow(3px 3px 0 var(--ink)); animation: wiggle 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-8deg); } 84% { transform: rotate(7deg); } 92% { transform: rotate(-3deg); } }
@media (min-width: 760px) { .finder-band { grid-template-columns: auto 1fr; padding: 34px 40px; } }
@media (min-width: 1180px) { .finder-band { margin-left: auto; margin-right: auto; } }

/* ---------- trade (wholesale) ---------- */
.trade { display: grid; gap: 24px; padding: 48px var(--gutter); background: var(--leaf-ink); color: #fff; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.trade__copy p { color: #E3F5E8; font-size: 17px; max-width: 560px; }
.trade__copy b { color: var(--sun); }
.trade__list { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-weight: 700; }
.trade__list li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 14px; }
.trade__form { display: grid; gap: 12px; padding: 22px; border: 2px solid var(--ink); border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.trade__form h3 { font-size: 24px; }
.trade__form label { display: grid; gap: 6px; font: 700 14px/1.2 var(--font-b); }
.trade__form input, .trade__form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); font: 600 16px var(--font-b); color: var(--ink); resize: vertical; }
.trade__form [aria-invalid="true"] { border-color: var(--red); background: #FFF0EE; }
.trade__err { margin: 0; min-height: 1.2em; color: var(--red-ink); font-weight: 700; font-size: 14px; }
@media (min-width: 900px) { .trade { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 70px max(var(--gutter), calc((100vw - 1180px) / 2)); } }

/* ---------- visit ---------- */
.visit { display: grid; gap: 24px; padding: 52px var(--gutter); max-width: 1180px; margin: 0 auto; }
.visit__photo { margin: 0; position: relative; border: 2px solid var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-1.2deg); }
.visit__photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.visit__photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); font: 700 13px/1.2 var(--font-d); }
.visit__copy p { color: var(--ink-2); font-size: 17px; }
.visit__info { display: grid; gap: 10px; margin: 18px 0 22px; }
.visit__info div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 2px dashed rgba(19, 40, 74, .2); }
.visit__info dt { font: 700 14px/1.4 var(--font-d); color: var(--ink-2); }
.visit__info dd { margin: 0; font-weight: 700; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; } }

/* ---------- footer ---------- */
.foot { display: grid; gap: 18px; padding: 40px var(--gutter) calc(110px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--sky-soft); }
.foot__brand p { margin: 6px 0 0; color: var(--ink-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot__links a { font: 700 15px/1.6 var(--font-d); color: var(--ink); }
.credits summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.credits ul { columns: 2 260px; padding-left: 18px; font-size: 12px; color: var(--ink-2); }
.credits a { color: var(--ink-2); }
@media (min-width: 760px) { .foot { padding-bottom: 40px; grid-template-columns: 1fr auto; align-items: start; } .credits, .foot .fine { grid-column: 1 / -1; } }

/* ---------- mobile tab bar ---------- */
.tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); border-radius: 20px; background: rgba(255, 253, 247, .96); box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 2px 7px; border: 0; background: none; color: var(--ink); text-decoration: none; font: 700 11px/1.1 var(--font-d); -webkit-tap-highlight-color: transparent; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--spring); }
.tabbar a:active svg, .tabbar button:active svg { transform: scale(.82); }
.tabbar .box-count { top: 2px; right: calc(50% - 26px); }
@media (min-width: 760px) { .tabbar { display: none; } }

/* ---------- dialogs ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(19, 40, 74, .5); backdrop-filter: blur(2px); }
.sheet, .finder { position: fixed; inset: auto 0 0 0; width: 100%; margin: 0; max-height: 92dvh; border: 2px solid var(--ink); border-bottom: 0; border-radius: 26px 26px 0 0; background: var(--paper); overflow: auto; overscroll-behavior: contain; }
.sheet[open], .finder[open] { animation: up .42s var(--out); }
.sheet.closing, .finder.closing { animation: down .26s ease-in forwards; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes down { to { transform: translateY(100%); } }
.sheet__grab { width: 46px; height: 5px; margin: 10px auto 0; border-radius: 99px; background: rgba(19, 40, 74, .25); }
.sheet__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; font-size: 26px; line-height: 1; box-shadow: var(--shadow-sm); }
.sheet__close:active { transform: translate(2px, 2px); box-shadow: none; }
@media (min-width: 760px) {
  .sheet, .finder { inset: 0; margin: auto; width: min(920px, 92vw); max-height: 88vh; border: 2px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); }
  .finder { width: min(640px, 92vw); }
  .sheet[open], .finder[open] { animation: zoom .4s var(--spring); }
  .sheet.closing, .finder.closing { animation: fade .2s ease-in forwards; }
  .sheet__grab { display: none; }
}
@keyframes zoom { from { opacity: 0; transform: scale(.9) translateY(20px); } }
@keyframes fade { to { opacity: 0; transform: scale(.96); } }

.pd { display: grid; }
.pd__media { position: relative; margin: 14px 14px 0; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--sky-soft); }
.pd__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 759px) { .pd__media img { aspect-ratio: auto; height: min(46dvh, 92vw); } }
.pd__media .tag-sample { position: absolute; left: 10px; bottom: 10px; }
.pd__info { display: grid; gap: 12px; padding: 18px 18px 22px; }
.pd__cat { font: 700 13px/1 var(--font-d); text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.pd h2 { font-size: clamp(26px, 5vw, 34px); padding-right: 40px; }
.pd__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 700 13px/1 var(--font-b); }
.chip--age { background: var(--sun); }
.pd__blurb { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.pd__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd__price { padding: 10px 12px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; transition: background .3s, transform .3s var(--spring); }
.pd__price span { display: block; font: 700 12px/1.2 var(--font-b); color: var(--ink-2); }
.pd__price b { font: 800 24px/1.1 var(--font-d); }
.pd__price.on { background: var(--sun-soft); transform: rotate(-1deg); box-shadow: var(--shadow-sm); }
.pd__price small { display: block; font-size: 12px; color: var(--leaf-ink); font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font: 800 22px/1 var(--font-d); }
.qty button[aria-disabled="true"] { opacity: .3; }
.qty output { min-width: 40px; text-align: center; font: 800 18px/1 var(--font-d); }
.pd__buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.pd__more { display: flex; flex-wrap: wrap; gap: 10px; }
.pd__more .btn { min-height: 44px; font-size: 15px; padding: 0 16px; }
.pd__note { margin: 0; font-size: 13px; color: var(--ink-2); }
@media (min-width: 760px) { .pd { grid-template-columns: 1fr 1fr; } .pd__media { margin: 18px; } .pd__info { padding: 24px 24px 24px 6px; align-content: start; } }

.drawer { position: fixed; inset: 0 0 0 auto; width: min(420px, 100vw); height: 100dvh; margin: 0; border-left: 2px solid var(--ink); background: var(--paper); display: none; flex-direction: column; }
.drawer[open] { display: flex; animation: slide .38s var(--out); }
.drawer.closing { animation: slide-out .24s ease-in forwards; }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes slide-out { to { transform: translateX(100%); } }
.drawer__head { position: relative; display: flex; align-items: center; padding: 18px 64px 14px 18px; border-bottom: 2px solid var(--ink); }
.drawer__head h2 { font-size: 26px; }
.drawer__head .sheet__close { top: 12px; }
.drawer__list { flex: 1; overflow: auto; margin: 0; padding: 8px 14px; list-style: none; }
.dline { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 2px dashed rgba(19, 40, 74, .18); }
.dline img { width: 64px; height: 64px; object-fit: cover; border: 2px solid var(--ink); border-radius: 12px; }
.dline b { display: block; font: 700 15px/1.2 var(--font-d); }
.dline span { font-size: 13px; color: var(--ink-2); }
.dline__amt { font: 800 16px/1 var(--font-d); }
.drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.drawer__empty svg { width: 120px; fill: var(--sun-soft); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.drawer__empty .lid { transform-origin: 16px 34px; animation: lid 2.4s ease-in-out infinite; }
@keyframes lid { 0%, 60%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } }
.drawer__foot { display: grid; gap: 10px; padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: #fff; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font: 700 16px var(--font-d); }
.drawer__total b { font-size: 26px; }

/* gift finder */
.finder__progress { display: flex; gap: 6px; padding: 22px 70px 0 22px; }
.finder__progress i { flex: 1; height: 8px; border-radius: 99px; background: rgba(19, 40, 74, .12); overflow: hidden; position: relative; }
.finder__progress i.on::after { content: ""; position: absolute; inset: 0; background: var(--red); border-radius: inherit; animation: fill .45s var(--out) both; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } }
.finder__body { padding: 16px 22px 26px; }
.finder__step { animation: step-in .4s var(--out); }
@keyframes step-in { from { opacity: 0; transform: translateX(30px); } }
.finder__step h2 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 4px; }
.finder__step > p { margin: 0 0 16px; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { display: grid; justify-items: center; gap: 6px; padding: 16px 8px; border: 2px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); font: 700 17px/1.1 var(--font-d); transition: transform .14s, box-shadow .14s, background .2s; -webkit-tap-highlight-color: transparent; }
.tile small { font: 600 12px/1.2 var(--font-b); color: var(--ink-2); }
.tile svg { width: 42px; height: 42px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile:active, .tile.picked { transform: translate(3px, 3px); box-shadow: none; background: var(--sun); }
.finder__back { margin-top: 14px; border: 0; background: none; font: 700 15px var(--font-d); color: var(--ink-2); text-decoration: underline; min-height: 44px; }
.picks { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.pick { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 2px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); animation: pop-in .5s var(--spring) both; animation-delay: var(--d, 0s); }
.pick img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); }
.pick b { display: block; font: 700 16px/1.2 var(--font-d); }
.pick .price { font-size: 18px; }

/* ---------- toast, confetti, reveal ---------- */
.toast { position: fixed; left: 50%; width: max-content; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 95; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 12px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: 4px 4px 0 var(--sun); transform: translate(-50%, calc(100% + 160px)); visibility: hidden; transition: transform .4s var(--spring), visibility 0s .4s; pointer-events: none; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--spring); pointer-events: auto; }
.toast__act { flex: none; min-height: 36px; padding: 0 12px; border: 2px solid var(--sun); border-radius: 999px; background: transparent; color: var(--sun); font: 800 14px var(--font-d); }
@media (min-width: 760px) { .toast { bottom: 28px; } }
.confetti { position: fixed; z-index: 99; width: 9px; height: 13px; pointer-events: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--out), transform .7s var(--out); transition-delay: var(--d, 0s); }
.reveal.in, html.settled .reveal { opacity: 1; transform: none; }
html.settled .reveal { transition: none; }
.haptic-shim { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .announce__track { padding-left: 0; }
}
