:root {
  --ink: #1d1a3a;
  --pink: #ff2e88; --green: #2fc94a; --yellow: #ffbf00; --blue: #1e9bff; --purple: #9b4dff; --orange: #ff7417; --red: #f0323c; --teal: #12c2b4;
  --paper: #ffffff;
  --radius: 26px;
  --display: "Luckiest Guy", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.45;
  background:
    radial-gradient(circle at 10% 10%, #fff7 0 6px, transparent 7px) 0 0 / 90px 90px,
    radial-gradient(circle at 60% 40%, #fff6 0 3px, transparent 4px) 0 0 / 60px 60px,
    linear-gradient(135deg, #ff9ad5 0%, #ffd56b 22%, #8ef0a0 42%, #7fd3ff 62%, #c79bff 82%, #ff9ad5 100%) fixed;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.announce { background: var(--ink); color: #fff; text-align: center; font-weight: 700; padding: 6px 16px; font-size: 15px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px clamp(16px, 4vw, 40px); background: #ffffffd9; backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; box-shadow: 0 4px 0 #0000000d; }
.logo img { height: 56px; width: auto; transition: transform .2s; }
.logo:hover img { transform: rotate(-3deg) scale(1.05); }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { text-decoration: none; font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.top nav a:hover { background: #0000000d; }
.cart-link { background: var(--yellow); box-shadow: 0 3px 0 #c98f00; }
.cart-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 99px; background: var(--pink); color: #fff; font-size: 14px; margin-left: 4px; }

.rainbow-text { background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }

main { padding: 0 clamp(16px, 4vw, 40px) 40px; max-width: 1240px; margin: 0 auto; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 0.9fr 1.5fr 1.1fr; gap: 24px; align-items: center; padding: 28px 0 8px; }
.hero > * { position: relative; z-index: 1; }
.hero-meet { text-align: center; }
.meet { font-family: var(--display); font-size: 32px; margin: 0 0 8px; transform: rotate(-6deg); }
.meet b { color: var(--blue); font-weight: 400; }
.portrait { position: relative; width: min(250px, 100%); aspect-ratio: 1; margin: 0 auto; }
.portrait::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple), var(--pink), var(--red)); animation: spin 8s linear infinite; }
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff, #ffd9ef 55%, #c9e8ff); }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; border-radius: 50%; }
.kid { font-family: var(--display); font-size: 22px; margin: 18px 0 0; transform: rotate(-4deg); }
.kid span, .marquee i { color: var(--pink); font-style: normal; }
.hero-title { text-align: center; }
.hero-title h1 { margin: 0; }
.hero-logo { width: min(560px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 18px #0003); animation: drop-in .9s cubic-bezier(.2, 1.6, .4, 1) both, logo-float 5s ease-in-out 1s infinite; }
.ribbon { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; text-wrap: balance; background: var(--yellow); font-family: var(--display); font-size: clamp(18px, 2.4vw, 26px); padding: 10px 26px; border-radius: 14px; margin: 12px 0 18px; box-shadow: 0 5px 0 #c98f00; transform: rotate(-2deg); animation: wiggle 3.5s ease-in-out 1.2s infinite; }
.ribbon span { flex: none; color: var(--pink); display: inline-block; animation: beat 1.2s ease-in-out infinite; }
.cta { display: inline-block; text-decoration: none; background: var(--pink); color: #fff; font-family: var(--display); font-size: 22px; letter-spacing: 1px; padding: 12px 28px; border-radius: 999px; box-shadow: 0 6px 0 #b8005a; transition: transform .1s; border: 0; cursor: pointer; }
.hero .cta { animation: glow 2.4s ease-in-out infinite; }
.cta:hover { transform: translateY(-2px) scale(1.03); }
.cta:active { transform: translateY(3px); box-shadow: 0 3px 0 #b8005a; }
.mascots { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 380px; justify-self: center; }
.mascot { position: absolute; left: var(--x); top: var(--y); width: calc(38% * var(--s)); cursor: pointer; filter: drop-shadow(0 8px 10px #0002); animation: pop-in .7s cubic-bezier(.2, 1.6, .4, 1) calc(.3s + var(--i) * .09s) both, bob calc(3.2s + var(--i) * .35s) ease-in-out calc(1s + var(--i) * .2s) infinite; translate: var(--px, 0) var(--py, 0); transition: translate .4s ease-out; }
.mascot.ready { animation: bob calc(3.2s + var(--i) * .35s) ease-in-out infinite; }
.mascot.squish { animation: squish .55s ease both; }
.squish-chant { position: absolute; bottom: -6px; right: 0; background: #fff; font-family: var(--display); color: var(--pink); padding: 8px 16px; border-radius: 18px; transform: rotate(-6deg); box-shadow: 0 4px 0 #0002; margin: 0; z-index: 2; }
.sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 0 !important; }
.sparkles i { position: absolute; left: calc(var(--i) * 7.1% + 2%); top: var(--t); width: 18px; height: 18px; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle calc(1.8s + var(--i) * .17s) ease-in-out calc(var(--i) * -.4s) infinite; }
.sparkles i:nth-child(3n) { background: var(--yellow); width: 24px; height: 24px; }
.sparkles i:nth-child(4n) { background: #fff8; width: 12px; height: 12px; }

/* shop grid */
.section-title { font-family: var(--display); font-weight: 400; text-align: center; font-size: clamp(34px, 5vw, 54px); color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); margin: 40px 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { container-type: inline-size; --c: var(--pink); background: var(--paper); border: 5px solid var(--c); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; box-shadow: 0 8px 0 color-mix(in srgb, var(--c) 60%, #000); transition: transform .15s; position: relative; }
.card:hover { transform: translateY(-4px) rotate(-.5deg); }
.theme-pink { --c: var(--pink); } .theme-green { --c: var(--green); } .theme-yellow { --c: var(--yellow); } .theme-blue { --c: var(--blue); }
.theme-purple { --c: var(--purple); } .theme-orange { --c: var(--orange); } .theme-red { --c: var(--red); } .theme-teal { --c: var(--teal); }
.card-link { text-decoration: none; }
.card-title { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 1.6em; text-wrap: balance; font-family: var(--display); font-weight: 400; font-size: clamp(16px, 7.6cqi, 27px); line-height: 1.15; text-align: center; margin: 4px 0 10px; color: var(--c); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; letter-spacing: .5px; }
.card-title .em { flex: none; -webkit-text-stroke: 0; }
.card-title .nm { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 1px; }
.card-img { position: relative; border-radius: 16px; overflow: hidden; }
.card-img img, .no-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }
.card-img .alt { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; background: #fff; }
.card:hover .card-img .alt, .card:focus-within .card-img .alt { opacity: 1; }
.card:hover .card-img .main { animation: jelly .7s ease; }
.peek { position: absolute; left: 10px; bottom: 10px; background: #fffd; font-weight: 800; font-size: 13px; padding: 2px 10px; border-radius: 999px; transition: opacity .3s; }
.card:hover .peek { opacity: 0; }
.no-img { display: grid; place-items: center; font-size: 80px; background: color-mix(in srgb, var(--c) 18%, #fff); }
.no-img.big { font-size: 160px; aspect-ratio: 1; }
.badge { position: absolute; top: -12px; right: -8px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 999px; transform: rotate(6deg); }
.card-foot { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; margin-top: 14px; }
.price-bubble { background: var(--c); color: #fff; border-radius: 999px; padding: 10px 24px 7px; min-width: 104px; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1; font-family: var(--display); }
.price-bubble b { font-size: 34px; line-height: 1.1; padding-top: 2px; font-weight: 400; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.price-bubble small { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.price-bubble s { font-size: 14px; opacity: .85; }
.stock { font-weight: 800; font-size: 15px; justify-self: end; }
.stock.low { color: var(--orange); } .stock.out { color: var(--red); } .stock.ok { color: #15913a; }
.add-btn { grid-column: 1 / -1; border: 0; cursor: pointer; background: var(--ink); color: #fff; font-weight: 800; font-size: 18px; padding: 12px; border-radius: 16px; box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 70%, #000); transition: transform .1s; }
.add-btn:hover { transform: translateY(-2px); }
.add-btn:active { transform: translateY(3px); box-shadow: none; }
.add-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.add-btn.added { background: var(--green); }
.empty { text-align: center; font-size: 22px; background: #fff; padding: 24px; border-radius: var(--radius); }

/* story */
.story { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 56px; align-items: start; }
.story-card { background: #fff; border: 5px solid var(--blue); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: 0 8px 0 #0a5fa8; }
.story-card h1, .story-card h2 { font-family: var(--display); font-weight: 400; color: var(--blue); font-size: clamp(30px, 4vw, 42px); margin: 0 0 10px; text-align: center; }
.story-chant { font-family: var(--display); font-size: 22px; text-align: center; margin: 12px 0 0; }
.pink { color: var(--pink); } .blue { color: var(--blue); }
.checks { list-style: none; padding: 20px; margin: 0; background: #fff; border-radius: var(--radius); border: 5px solid var(--pink); display: grid; gap: 10px; box-shadow: 0 8px 0 #b8005a; }
.checks li { font-family: var(--display); font-size: 22px; padding: 6px 14px; border-radius: 12px; }
.checks li:not(.note)::before { content: "✔ "; }
.checks .c1 { background: #c7f7cf; } .checks .c2 { background: #ffd0e6; } .checks .c3 { background: #ffe8a8; } .checks .c4 { background: #e2d2ff; } .checks .c5 { background: #c9ecff; }
.checks .note { font-family: var(--body); font-weight: 700; font-size: 16px; text-align: center; }

/* product page */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; margin-top: 32px; background: #fff; border: 5px solid var(--c); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); box-shadow: 0 8px 0 color-mix(in srgb, var(--c) 60%, #000); }
.gallery-main img { width: 100%; border-radius: 18px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { border: 3px solid transparent; padding: 0; border-radius: 10px; cursor: pointer; background: none; width: 76px; }
.thumbs button.on, .thumbs button:hover { border-color: var(--c); }
.thumbs img { border-radius: 7px; aspect-ratio: 1; object-fit: cover; }
.product-info .card-title { justify-content: flex-start; text-align: left; font-size: clamp(34px, 5vw, 48px); }
.back { font-weight: 700; text-decoration: none; opacity: .7; }
.tagline { font-weight: 800; font-size: 20px; margin: 0 0 12px; }
.product-info .stock { margin-left: 12px; }
.desc { margin: 16px 0; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row label { font-weight: 800; }
.buy-row input { width: 76px; padding: 10px; border-radius: 12px; border: 3px solid #0002; margin-left: 6px; }
.buy-row .add-btn { flex: 1; min-width: 200px; }

/* cart */
.cart-page { max-width: 900px; margin: 0 auto; }
.cart-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); padding: 20px; border: 5px solid var(--purple); box-shadow: 0 8px 0 #5e1fb3; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 2px dashed #0001; }
.line img, .line .ph { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #f3eaff; }
.line h4 { margin: 0; font-size: 18px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 10px; border: 0; background: #f0e6ff; font-weight: 800; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-weight: 800; }
.remove { border: 0; background: none; color: var(--red); cursor: pointer; font-weight: 700; font-size: 14px; }
.panel h3 { font-family: var(--display); font-weight: 400; margin: 0 0 10px; font-size: 24px; color: var(--purple); }
.choice { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.choice label { flex: 1; min-width: 120px; border: 3px solid #0001; border-radius: 14px; padding: 10px; cursor: pointer; font-weight: 700; }
.choice label:has(input:checked) { border-color: var(--purple); background: #f6efff; }
.choice input { accent-color: var(--purple); }
.field { display: block; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.field input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 3px solid #0002; border-radius: 12px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; text-transform: uppercase; }
.code-row button { border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; padding: 0 16px; cursor: pointer; }
.totals { width: 100%; border-collapse: collapse; margin: 12px 0; }
.totals td { padding: 4px 0; } .totals td:last-child { text-align: right; font-weight: 700; }
.totals .grand td { font-size: 22px; border-top: 3px solid #0001; padding-top: 8px; }
.msg { font-weight: 700; font-size: 15px; margin: 6px 0; }
.msg.err { color: var(--red); } .msg.ok { color: #15913a; }
.hint { font-size: 14px; opacity: .75; margin: 6px 0; }
.panel .cta { width: 100%; text-align: center; }
.cta:disabled { opacity: .5; cursor: wait; }

/* order */
.order-page { max-width: 640px; margin: 40px auto; }
.order-page .story-card { text-align: center; }
.receipt { width: 100%; border-collapse: collapse; margin: 16px 0; text-align: left; }
.receipt td { padding: 6px 0; border-bottom: 2px dashed #0001; }
.receipt td:last-child { text-align: right; }
.receipt .total td { font-weight: 800; font-size: 20px; border: 0; }

/* footer */
.foot { text-align: center; padding: 40px 16px 30px; }
.marquee { overflow: hidden; margin: 0 -16px; padding: 8px 0 14px; }
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: clamp(30px, 5vw, 52px); color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); white-space: nowrap; padding-right: 32px; }
.marquee i { -webkit-text-stroke: 0; text-shadow: none; }
.foot-thanks { font-family: var(--display); font-size: 22px; transform: rotate(-3deg); margin: 18px 0; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-weight: 800; margin: 6px 0 12px; }
.foot-links a { text-decoration: none; background: #ffffffb3; padding: 4px 14px; border-radius: 999px; }
.foot-links a:hover { background: #fff; }
.doc-page { max-width: 760px; margin: 40px auto; }
.doc h2 { font-family: var(--display); font-weight: 400; color: var(--pink); font-size: 24px; margin: 22px 0 6px; text-align: left; }
.doc p { margin: 0 0 10px; }
.doc-contact { margin-top: 22px !important; font-weight: 700; }
.contact-form { margin-top: 16px; }
.field textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 3px solid #0002; border-radius: 12px; font: inherit; }
.contact-form .cta { margin-top: 6px; }
.cf-turnstile { margin: 8px 0; }
.foot-small, .foot-contact { font-weight: 700; font-size: 14px; opacity: .8; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 800; z-index: 50; box-shadow: 0 8px 20px #0004; }
.toast a { color: var(--yellow); margin-left: 8px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-title { order: -1; }
  .mascots { max-width: 300px; }
  .portrait { width: 200px; }
  .story, .product, .cart-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { flex-direction: column; justify-content: center; gap: 6px; padding: 8px 12px; }
  .logo { justify-content: center; }
  .logo img { height: 46px; }
  .top nav { justify-content: center; flex-wrap: nowrap; gap: 2px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .top nav a { padding: 4px 9px; font-size: 15px; white-space: nowrap; }
  .wide-only { display: none; }
}

/* motion */
.reveal.pre { opacity: 0; transform: translateY(28px) scale(.97); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, 1.4, .4, 1); transition-delay: calc(var(--i, 0) * .1s); }
.wave .ch { display: inline-block; animation: wave 2.4s ease-in-out calc(var(--c) * .06s) infinite; }
.add-btn.boing { animation: boing .45s ease; }
.cart-count.pop { animation: count-pop .5s cubic-bezier(.2, 1.8, .4, 1); }
.fly { position: fixed; z-index: 60; width: 70px; height: 70px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 6px 16px #0004; transition: transform .75s cubic-bezier(.5, -0.3, .7, .4), opacity .75s ease-in; }
.confetti { position: fixed; z-index: 61; width: 9px; height: 14px; pointer-events: none; border-radius: 2px; animation: confetti .9s ease-out forwards; }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes logo-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes drop-in { 0% { opacity: 0; transform: translateY(-80px) scale(.6) rotate(-8deg); } 100% { opacity: 1; transform: none; } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(-2deg); } 85% { transform: rotate(2deg) scale(1.04); } 90% { transform: rotate(-4deg); } 95% { transform: rotate(1deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.35); } }
@keyframes glow { 0%, 100% { box-shadow: 0 6px 0 #b8005a, 0 0 0 0 #ff2e8866; } 50% { box-shadow: 0 6px 0 #b8005a, 0 0 0 14px #ff2e8800; } }
@keyframes squish { 0% { transform: scale(1); } 25% { transform: scale(1.25, .75); } 50% { transform: scale(.85, 1.2); } 75% { transform: scale(1.08, .93); } 100% { transform: scale(1); } }
@keyframes jelly { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.06, .94); } 55% { transform: scale(.97, 1.04); } 75% { transform: scale(1.02, .98); } }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.5) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wave { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
@keyframes boing { 0% { transform: scale(1); } 30% { transform: scale(1.08, .9); } 60% { transform: scale(.96, 1.05); } 100% { transform: scale(1); } }
@keyframes count-pop { 0% { transform: scale(1); } 40% { transform: scale(1.8); } 100% { transform: scale(1); } }
@keyframes confetti { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
}

.robot-check { max-width: 900px; margin: 20px auto 0; }
.robot-check h3 { margin-bottom: 4px; }

/* accounts */
.account-page { max-width: 1000px; margin: 0 auto; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.account-grid.wide-first { grid-template-columns: 1.5fr 1fr; }
.account-side { display: grid; gap: 20px; }
.account-card { text-align: left; }
.account-card h2 { font-size: 28px !important; text-align: left !important; }
.account-card.narrow { max-width: 480px; margin: 40px auto; }
.account-card .cta { width: 100%; text-align: center; margin-top: 6px; }
.cta.small { font-size: 17px; padding: 9px 20px; }
.cta.ghost { background: #efe7ff; color: var(--ink); box-shadow: 0 5px 0 #d5c6f5; }
.cta.danger { background: var(--red); box-shadow: 0 5px 0 #9f1239; }
.perks { list-style: none; padding: 0; margin: 0 0 14px; font-weight: 700; display: grid; gap: 4px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 15px; margin: 6px 0 10px; }
.check-row input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--purple); flex: none; }
.banner { border-radius: 18px; padding: 12px 18px; font-weight: 700; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.banner.ok { background: #dcfce7; } .banner.warn { background: #fff3c4; }
.banner form { display: flex; gap: 8px; align-items: center; }
.mini-btn { border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.order-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.order-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-decoration: none; padding: 10px; border-radius: 16px; background: #f8f4ff; }
.order-list a:hover { background: #efe7ff; }
.order-list .thumbs { display: flex; }
.order-list .thumbs img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; border: 3px solid #fff; margin-left: -14px; }
.order-list .thumbs img:first-child { margin-left: 0; }
.ol-side { text-align: right; display: grid; gap: 4px; justify-items: end; }
.pill-status { background: #e5e7eb; border-radius: 999px; padding: 1px 10px; font-weight: 800; font-size: 12px; }
.pill-status.s-paid, .pill-status.s-awaiting_payment { background: #ffe1ef; } .pill-status.s-packed, .pill-status.s-ready_for_pickup { background: #fef3c7; }
.pill-status.s-shipped, .pill-status.s-completed { background: #dcfce7; }
.danger-zone { margin-top: 14px; } .danger-zone summary { cursor: pointer; font-weight: 700; color: var(--red); }
.foot-links .admin-link { background: var(--ink); color: #fff; }
.foot-links .admin-link:hover { background: var(--purple); }
@media (max-width: 800px) { .account-grid, .account-grid.wide-first { grid-template-columns: 1fr; } }

.auth-card { max-width: 520px; margin: 0 auto; }
.auth-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f3eaff; padding: 6px; border-radius: 999px; margin-bottom: 18px; }
.auth-toggle button { border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 17px; padding: 10px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.auth-toggle button[aria-selected=true] { background: var(--purple); color: #fff; box-shadow: 0 4px 0 #5e1fb3; }
.auth-links { text-align: center; margin-top: 12px !important; }
.guest-note { border-top: 2px dashed #0001; padding-top: 12px; }

/* add-to-cart stepper (replaces the button once the item is in the cart) */
.stepper { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--ink); color: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 5px 0 color-mix(in srgb, var(--c, var(--purple)) 70%, #000); }
.stepper[hidden] { display: none; }
.step-btn { width: 44px; height: 40px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer; flex: none; transition: transform .1s; }
.step-btn:hover { transform: translateY(-1px); }
.step-btn:active { transform: translateY(2px); }
.step-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.step-qty { font-weight: 800; font-size: 17px; }
.step-qty b { font-size: 20px; }
.buy-row .stepper { flex: 1; min-width: 200px; }

/* checkout steps (same panel/choice styles, just numbered) */
.step-title { display: flex; align-items: center; gap: 10px; margin-top: 16px !important; }
.checkout-panel .step-title:first-child { margin-top: 0 !important; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 16px; flex: none; }
.opt-note { display: block; font-weight: 600; font-size: 13px; opacity: .7; margin-left: 22px; }
.only-option { font-weight: 800; background: #f6efff; border: 3px solid var(--purple); border-radius: 14px; padding: 10px 14px; margin: 0 0 8px; }
.only-option small { font-weight: 600; opacity: .7; }
.summary { border-top: 2px dashed #0001; margin-top: 14px; padding-top: 10px; }
.linkish { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; color: var(--purple); cursor: pointer; text-decoration: underline; }
.next-step { text-align: center; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.checkout-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px #0002; }
.checkout-bar[hidden] { display: none; }
.checkout-bar span { display: grid; line-height: 1.1; }
.checkout-bar b { font-size: 22px; }
.checkout-bar .cta { font-size: 18px; padding: 10px 22px; }

/* order progress */
.tracker { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 0; margin: 18px 0 8px; counter-reset: s; }
.tracker li { position: relative; display: grid; justify-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: #0007; text-align: center; }
.tracker li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 5px; background: #e9e1f7; z-index: 0; }
.tracker li:first-child::before { display: none; }
.tracker .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e9e1f7; color: #0007; font-size: 16px; }
.tracker li.done, .tracker li.now { color: var(--ink); }
.tracker li.done::before, .tracker li.now::before { background: var(--purple); }
.tracker li.done .dot { background: var(--purple); color: #fff; }
.tracker li.now .dot { background: var(--pink); color: #fff; box-shadow: 0 0 0 5px #ff2e8833; }
.next-up { font-weight: 700; font-size: 18px; background: #f6efff; border-radius: 16px; padding: 12px 16px; }
.account-nudge { margin-top: 16px; }
.account-nudge .mini-btn { text-decoration: none; }
.order-group { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--purple); margin: 14px 0 8px; }
.mini-track { display: flex; gap: 4px; margin-top: 6px; }
.mini-track i { width: 22px; height: 6px; border-radius: 4px; background: #e2d8f3; }
.mini-track i.on { background: var(--purple); }
