/* ==========================================================
   Sunshine Data — yellow & dark theme
   ========================================================== */
:root {
  color-scheme: dark;
  --orange: #FFC700;
  --orange-500: #FFD43B;
  --orange-600: #F5B400;
  --orange-700: #FFD43B;
  --orange-50: #1C1A12;
  --orange-100: #2B2716;
  --orange-200: #4D4320;
  --ink: #F4F1EA;
  --ink-2: #D6D2C8;
  --muted: #9C988F;
  --line: #2A2A2E;
  --bg: #0D0D0F;
  --surface: #161619;
  --surface-2: #1E1E22;
  --raised: #2A2A30;
  --on-accent: #14120B;
  --green: #22C55E;
  --red: #F2555A;
  --radius: 22px;
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, .55);
  --shadow: 0 14px 34px -14px rgba(255, 199, 0, .45);
  --shadow-lg: 0 24px 50px -20px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 72px;
  --tabbar-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: clip;
}
html.lock, html.lock body { overflow: hidden; }
main, section, footer { max-width: 100%; overflow-x: clip; }
h1, h2, h3, h4, p, b, a, span, li { overflow-wrap: break-word; }
.footer li, .info-row a, .info-row span, .r-meta b, .r-head p { overflow-wrap: anywhere; }
.sitem > span:nth-child(2), .sresult > span:nth-child(2), .ocard > span:nth-child(2), .info-row > div, .order > span:nth-child(2) { min-width: 0; flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange-200); }
:focus-visible { outline: 3px solid var(--orange-200); outline-offset: 2px; border-radius: 10px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.orange { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity .5s var(--ease), visibility .5s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-sun {
  width: 64px; height: 64px; border-radius: 50%; background: var(--orange); position: relative;
  box-shadow: 0 0 0 10px var(--orange-100), 0 0 0 22px var(--orange-50);
  animation: pulse 1.4s ease-in-out infinite;
}
.loader-text { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.loader-text span { color: var(--orange); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--orange); color: var(--on-accent); overflow: hidden; font-size: 13px; font-weight: 600; height: 36px; display: flex; align-items: center; }
.announce-track { display: flex; white-space: nowrap; animation: marquee 32s linear infinite; width: max-content; }
.announce-track span { display: inline-flex; align-items: center; gap: 8px; padding-right: 48px; }
.announce-track svg { opacity: .9; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(13, 13, 15, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .6); background: rgba(13, 13, 15, .94); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -.03em; flex-shrink: 0; }
.logo-text { font-weight: 800; }
.logo-text b { color: var(--orange); font-weight: 800; margin-left: 3px; }
.logo-sun {
  width: 34px; height: 34px; position: relative; display: inline-block;
  background: radial-gradient(circle, var(--orange) 0 9px, transparent 10px),
    repeating-conic-gradient(from 0deg, var(--orange) 0 10deg, transparent 10deg 45deg);
  -webkit-mask: radial-gradient(circle, #000 0 9px, transparent 9.5px 12px, #000 12.5px 17px, transparent 17.5px);
  mask: radial-gradient(circle, #000 0 9px, transparent 9.5px 12px, #000 12.5px 17px, transparent 17.5px);
  animation: spin 14s linear infinite;
}
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px;
  background: var(--orange); transform: translateX(-50%) scaleX(0); transition: transform .35s var(--spring);
}
.nav a:hover { color: var(--orange-700); background: var(--orange-50); }
.nav a.active { color: var(--orange-700); }
.nav a.active::after { transform: translateX(-50%) scaleX(1); }
.header-actions { display: flex; gap: 6px; margin-left: auto; }
.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  transition: background .2s, transform .2s var(--spring), color .2s;
}
.icon-btn:hover { background: var(--orange-50); color: var(--orange-700); }
.icon-btn:active { transform: scale(.9); }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--orange); color: var(--on-accent); font-size: 11px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--bg); transform: scale(0); transition: transform .3s var(--spring);
}
.cart-count.show { transform: scale(1); }
.bump { animation: bump .55s var(--spring); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; line-height: 1.1; white-space: nowrap;
  transition: transform .25s var(--spring), box-shadow .25s, background .25s, color .25s, border-color .25s;
  user-select: none;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); color: var(--on-accent); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(255, 199, 0, .6); }
.btn-primary svg { transition: transform .3s var(--spring); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-700); transform: translateY(-2px); }
.btn-dark { background: var(--raised); color: var(--ink); }
.btn-dark:hover { background: #34343B; transform: translateY(-2px); }
.btn-white { background: var(--on-accent); color: var(--orange); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .3); }
.btn-white:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.ripple {
  position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45);
  animation: ripple .6s ease-out forwards; pointer-events: none;
}
.btn-ghost .ripple, .chip .ripple { background: rgba(255, 199, 0, .2); }

/* ---------- Doodles ---------- */
.doodle { position: absolute; color: var(--orange); pointer-events: none; animation: bob 7s ease-in-out infinite; z-index: 0; }
.doodle * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) forwards; animation-delay: var(--d, .2s); }
.doodle.soft { color: var(--orange-200); }
.section > .container, .page-head > .container, .footer > .container, .success-head > *:not(.doodle) { position: relative; z-index: 1; }
.promo > div { position: relative; z-index: 1; }
.doodle.ink { color: var(--ink); opacity: .85; }
.doodle.spin { animation: spin 18s linear infinite; }
.doodle.wiggle { animation: wiggle 4s ease-in-out infinite; }
.doodle.pulse { animation: pulseScale 3s ease-in-out infinite; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }

/* ---------- View transition ---------- */
.view { min-height: 60vh; }
.view.enter { animation: viewIn .55s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 90px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 30%, var(--orange-100), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, var(--orange-50), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--orange-100); font-size: 13px; font-weight: 700; color: var(--orange-700);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: ping 2s infinite; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 20px 0 18px; }
.rotator { display: inline-block; color: var(--orange); position: relative; min-width: 4ch; }
.rotator span { display: inline-block; }
.rotator .in { animation: rotIn .55s var(--spring) both; }
.rotator .out { animation: rotOut .35s ease-in both; }
.hl { position: relative; white-space: nowrap; }
.hl svg { position: absolute; left: -4%; bottom: -12px; width: 108%; height: 18px; color: var(--orange); }
.hl svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s .9s var(--ease) forwards; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin: 28px 0 30px; flex-wrap: wrap; }
.hero-perks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.perk i { width: 34px; height: 34px; border-radius: 12px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; margin-left: auto; width: 100%; }
.sunburst { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, var(--orange-200) 0 34%, var(--orange-100) 35% 55%, var(--orange-50) 56% 70%, transparent 71%); animation: breathe 6s ease-in-out infinite; }
.rays { position: absolute; inset: -4%; animation: spin 40s linear infinite; color: var(--orange-200); }
.hero-device { position: absolute; inset: 10%; animation: float 6s ease-in-out infinite; }
.hero-device .tilt { width: 100%; height: 100%; transition: transform .25s ease-out; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hero-device svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55)); }
.fcard {
  position: absolute; z-index: 2; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 14px 10px 10px;
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite; white-space: nowrap;
}
.fcard i { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: var(--on-accent); flex-shrink: 0; }
.fcard small { display: block; font-weight: 600; color: var(--muted); font-size: 11.5px; }
.fcard.f1 { top: 12%; left: -4%; animation-delay: -1s; }
.fcard.f2 { bottom: 18%; right: -2%; animation-delay: -2.5s; }
.fcard.f2 i { background: var(--green); color: #fff; }
.fcard.f3 { bottom: 4%; left: 6%; animation-delay: -3.5s; }
.fcard.f3 i { background: var(--raised); color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; position: relative; }
.section.tight { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.section-sub { color: var(--muted); max-width: 520px; margin-top: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-700); }
.link-arrow svg { transition: transform .3s var(--spring); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Brand strip ---------- */
.strip { border-block: 1.5px dashed var(--orange-100); padding: 18px 0; overflow: hidden; background: var(--surface); }
.strip-track { display: flex; white-space: nowrap; animation: marquee 28s linear infinite; width: max-content; }
.strip-track span { font-weight: 800; font-size: 20px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 14px; letter-spacing: -.02em; padding-right: 44px; }
.strip-track span::after { content: '✺'; color: var(--orange); font-size: 18px; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat {
  position: relative; overflow: hidden; border-radius: 30px; padding: 26px; min-height: 250px;
  background: var(--orange-50); display: flex; flex-direction: column; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.cat:nth-child(2) { background: var(--surface-2); }
.cat:nth-child(3) { background: var(--orange); color: var(--on-accent); }
.cat::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; bottom: -70px; background: var(--orange-100); z-index: -1; transition: transform .6s var(--ease); }
.cat:nth-child(3)::before { background: rgba(255, 255, 255, .28); }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat:hover::before { transform: scale(1.25); }
.cat h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.cat p { font-size: 14px; opacity: .7; font-weight: 600; }
.cat-art { position: absolute; right: -6px; bottom: -6px; width: 58%; transition: transform .6s var(--spring); }
.cat:hover .cat-art { transform: rotate(-8deg) scale(1.08); }
.cat-go { margin-top: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .35s var(--spring), background .3s, color .3s; }
.cat:hover .cat-go { transform: rotate(-45deg); background: var(--orange); color: var(--on-accent); }

/* ---------- Segmented control & chips ---------- */
.seg { position: relative; display: inline-flex; background: var(--orange-50); padding: 5px; border-radius: 999px; }
.seg button { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .3s; white-space: nowrap; }
.seg button.active { color: var(--on-accent); }
.seg-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--orange); box-shadow: var(--shadow); transition: left .45s var(--spring), width .45s var(--spring); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; flex-shrink: 0;
  border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; white-space: nowrap; background: var(--surface);
  transition: background .25s, color .25s, border-color .25s, transform .2s var(--spring);
}
.chip:hover { border-color: var(--orange-200); }
.chip:active { transform: scale(.95); }
.chip.active { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
.chip .n { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--orange-50); color: var(--orange-700); }
.chip.active .n { background: rgba(0, 0, 0, .14); color: var(--on-accent); }

/* ---------- Product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.pcard {
  position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 26px; padding: 10px;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard-media { position: relative; aspect-ratio: 1; border-radius: 20px; background: var(--orange-50); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.pcard-media::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .07) 0 40%, transparent 70%); z-index: -1; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media::before { transform: scale(1.4); }
.pcard-art { width: 84%; transition: transform .6s var(--spring); }
.pcard-art img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pcard:hover .pcard-art { transform: scale(1.07) rotate(-4deg); }
.badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; z-index: 1; }
.badge { font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); letter-spacing: .01em; line-height: 1.2; white-space: nowrap; }
.badge-new { background: var(--orange); color: var(--on-accent); }
.badge-used { background: var(--orange); color: var(--on-accent); }
.badge-sale { background: var(--surface); color: var(--red); box-shadow: var(--shadow-sm); }
.badge-hot { background: var(--surface); color: var(--orange-700); box-shadow: var(--shadow-sm); }
.pcard-body { padding: 14px 8px 6px; display: flex; flex-direction: column; flex: 1; }
.pcard-name { font-weight: 800; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; }
.pcard-name:hover { color: var(--orange-700); }
.pcard-meta { font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.swatches { display: flex; gap: 5px; margin-top: 10px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1; }
.price strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.price s { font-size: 12.5px; color: var(--muted); margin-left: 6px; font-weight: 500; }
.add-btn {
  position: relative; overflow: hidden; width: 44px; height: 44px; border-radius: 15px; flex-shrink: 0;
  background: var(--orange); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .3s var(--spring), background .2s;
}
.add-btn:hover { background: var(--orange-600); transform: rotate(90deg) scale(1.06); }
.add-btn:active { transform: scale(.88); }
.add-btn.added { background: var(--green); }
.fly { position: fixed; z-index: 300; pointer-events: none; }
.fly svg { width: 100%; height: 100%; }

.empty { text-align: center; padding: 60px 20px; position: relative; }
.empty-art { width: 140px; height: 140px; margin: 0 auto 18px; position: relative; }
.empty-art .doodle { position: absolute; inset: 0; width: 100%; height: 100%; }
.empty h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.empty p { color: var(--muted); margin: 6px 0 20px; }

/* ---------- Promo / free delivery banner ---------- */
.promo {
  position: relative; overflow: hidden; border-radius: 34px; color: var(--on-accent); padding: 56px 48px;
  background: linear-gradient(120deg, #FFE066 0%, #FFC700 45%, #F5A800 100%);
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 30px; isolation: isolate;
}
.promo h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
.promo p { opacity: .92; margin: 12px 0 24px; font-size: 17px; max-width: 460px; }
.promo .doodle { color: rgba(20, 18, 11, .3); }
.road { position: relative; height: 160px; }
.road::after { content: ''; position: absolute; left: 0; right: 0; bottom: 26px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 26px, transparent 26px 48px); animation: roadMove 1s linear infinite; border-radius: 4px; }
.truck { position: absolute; bottom: 30px; left: 50%; width: 170px; margin-left: -85px; animation: truckBob .5s ease-in-out infinite alternate; }
.truck .wheel { transform-box: fill-box; transform-origin: center; animation: spin 0.6s linear infinite; }
.speed { position: absolute; left: 6%; bottom: 60px; display: flex; flex-direction: column; gap: 10px; }
.speed i { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .7); animation: speed 1s linear infinite; }
.speed i:nth-child(1) { width: 60px; }
.speed i:nth-child(2) { width: 40px; animation-delay: -.3s; margin-left: 20px; }
.speed i:nth-child(3) { width: 50px; animation-delay: -.6s; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; top: 38px; left: 12%; right: 12%; border-top: 2.5px dashed var(--orange-200); z-index: 0; }
.step { position: relative; text-align: center; padding: 0 10px; z-index: 1; }
.step-ico {
  width: 76px; height: 76px; border-radius: 26px; margin: 0 auto 16px; background: var(--surface); border: 2px solid var(--orange-100);
  display: grid; place-items: center; color: var(--orange); position: relative; transition: transform .4s var(--spring), background .3s, color .3s;
  box-shadow: var(--shadow-sm);
}
.step:hover .step-ico { transform: translateY(-6px) rotate(-6deg); background: var(--orange); color: var(--on-accent); }
.step-ico::after { counter-increment: s; content: counter(s); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: var(--on-accent); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.step h4 { font-size: 17px; font-weight: 800; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 24px; border-radius: 24px; background: var(--surface); border: 1.5px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.feature:hover { transform: translateY(-5px); border-color: var(--orange-200); box-shadow: var(--shadow-lg); }
.feature i { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); margin-bottom: 14px; transition: transform .5s var(--spring); }
.feature:hover i { transform: rotate(-10deg) scale(1.1); }
.feature h4 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; }
.map { border-radius: 28px; overflow: hidden; border: 1.5px solid var(--line); min-height: 380px; background: var(--orange-50); position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.9); }
.info-card { border-radius: 28px; background: var(--orange-50); padding: 30px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row i { width: 44px; height: 44px; border-radius: 14px; background: var(--surface-2); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.info-row b { display: block; font-size: 15px; }
.info-row span, .info-row a { font-size: 14.5px; color: var(--muted); }
.info-row a:hover { color: var(--orange-700); }
.open-now { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
.open-now.open { background: rgba(34, 197, 94, .16); color: var(--green); }
.open-now.closed { background: rgba(242, 85, 90, .16); color: var(--red); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--orange-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; border-radius: 50%; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; transition: transform .35s var(--spring), background .3s, color .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--orange); color: var(--on-accent); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); animation: fadeDown .35s var(--ease); }

/* ---------- Shop page ---------- */
.page-head { position: relative; padding: 36px 0 20px; overflow: hidden; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.shop-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(13, 13, 15, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 12px 0; margin-bottom: 18px; }
.shop-bar-inner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.shop-bar .chips { flex-basis: 100%; min-width: 0; order: 3; }
.shop-bar .select { margin-left: auto; }
.searchbox { position: relative; flex: 1; max-width: 360px; min-width: 200px; }
.searchbox input { width: 100%; padding: 13px 16px 13px 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.searchbox input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 199, 0, .14); }
.searchbox svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding: 11px 40px 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.result-count { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }

/* ---------- Product page ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--muted); padding: 8px 14px 8px 8px; border-radius: 999px; transition: background .2s, color .2s; }
.back:hover { background: var(--orange-50); color: var(--orange-700); }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; padding: 10px 0 40px; }
.gallery {
  position: sticky; top: calc(var(--header-h) + 20px); aspect-ratio: 1; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 50% 45%, var(--surface-2) 0 25%, var(--orange-50) 60%, var(--orange-100) 100%);
  display: grid; place-items: center;
}
.gallery-art { width: 72%; transition: transform .5s var(--spring), opacity .3s; animation: float 6s ease-in-out infinite; }
.gallery-art.swap { animation: swapIn .6s var(--spring); }
.gallery-art img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery .badges { top: 20px; left: 20px; right: 20px; }
.gallery .badge { font-size: 12.5px; padding: 7px 14px; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 10px 0 6px; }
.pdp-tag { color: var(--muted); font-weight: 600; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; flex-wrap: wrap; }
.pdp-price strong { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--orange-700); display: inline-block; }
.pdp-price strong.tick { animation: tick .45s var(--spring); }
.pdp-price s { color: var(--muted); font-size: 17px; }
.save { font-size: 12.5px; font-weight: 800; color: var(--green); background: rgba(34, 197, 94, .16); padding: 4px 10px; border-radius: 999px; }
.pdp-desc { color: var(--ink-2); margin: 12px 0 22px; }
.opt-group { margin-bottom: 20px; }
.opt-label { font-weight: 800; font-size: 14px; margin-bottom: 10px; display: flex; gap: 8px; }
.opt-label span { color: var(--muted); font-weight: 600; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt {
  padding: 12px 18px; border-radius: 16px; border: 2px solid var(--line); font-weight: 700; font-size: 14.5px; background: var(--surface);
  transition: border-color .2s, background .2s, color .2s, transform .25s var(--spring);
}
.opt:hover { border-color: var(--orange-200); }
.opt:active { transform: scale(.95); }
.opt.active { border-color: var(--orange); background: var(--orange-50); color: var(--orange-700); }
.opt small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--line); transition: box-shadow .2s, transform .25s var(--spring); }
.sw:hover { transform: scale(1.1); }
.sw.active { box-shadow: 0 0 0 2.5px var(--orange); transform: scale(1.08); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; padding: 4px; background: var(--surface); }
.qty button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; transition: background .2s, transform .2s var(--spring); }
.qty button:hover { background: var(--orange-50); color: var(--orange-700); }
.qty button:active { transform: scale(.85); }
.qty output { min-width: 34px; text-align: center; font-weight: 800; }
.qty.sm button { width: 30px; height: 30px; }
.qty.sm output { min-width: 26px; font-size: 14px; }
.pdp-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 26px; }
.pdp-actions .btn { flex: 1; min-width: 160px; }
.specs { display: grid; gap: 10px; margin-bottom: 22px; }
.specs li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.specs li i { width: 24px; height: 24px; border-radius: 50%; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.assure div { background: var(--orange-50); border-radius: 18px; padding: 14px; font-size: 13px; font-weight: 700; display: flex; flex-direction: column; gap: 8px; }
.assure svg { color: var(--orange); }
.assure small { font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.4; }
.buybar { display: none; }

/* ---------- Drawer (cart) ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .4s; backdrop-filter: blur(2px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(450px, 100%); background: var(--surface);
  transform: translateX(105%); transition: transform .5s var(--ease); display: flex; flex-direction: column;
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .25);
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; }
.drawer-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.drawer-head h3 span { color: var(--orange); }
.grab { display: none; }
.drawer-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 22px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1.5px solid var(--line); background: var(--surface); }
.line { display: flex; justify-content: space-between; align-items: center; font-size: 15px; padding: 4px 0; }
.line.total { font-size: 19px; font-weight: 800; padding-top: 10px; margin-top: 6px; border-top: 1.5px dashed var(--line); }
.line .free { color: var(--green); font-weight: 800; }
.citem { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1.5px solid var(--line); animation: slideIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.citem.removing { animation: slideOut .35s ease-in forwards; }
.static .citem:not(.removing), .static .empty { animation: none; }
.citem-art { width: 78px; height: 78px; border-radius: 18px; background: var(--orange-50); display: grid; place-items: center; }
.citem-art svg, .citem-art img { width: 82%; height: 82%; }
.citem-name { font-weight: 800; font-size: 15px; line-height: 1.3; }
.citem-meta { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.citem-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.citem-price { font-weight: 800; }
.rm { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.rm:hover { background: rgba(242, 85, 90, .16); color: var(--red); }

.freebar { background: var(--orange-50); border-radius: 18px; padding: 14px 16px 16px; margin-bottom: 8px; }
.freebar-text { font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.freebar-text b { color: var(--orange-700); }
.freebar.done .freebar-text b { color: var(--green); }
.freebar-track { position: relative; height: 8px; border-radius: 8px; background: var(--surface); }
.freebar-fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--orange-500), var(--orange-600)); transition: width .8s var(--ease); position: relative; overflow: hidden; }
.freebar-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); animation: shimmer 1.8s infinite; }
.freebar.done .freebar-fill { background: linear-gradient(90deg, #22C55E, var(--green)); }
.freebar-truck { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--orange); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: left .8s var(--ease); }
.freebar.done .freebar-truck { color: var(--green); }

/* ---------- Search overlay ---------- */
.search { position: fixed; inset: 0; z-index: 130; pointer-events: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .3s; }
.search-panel { position: absolute; left: 50%; top: 0; width: min(720px, 100%); transform: translate(-50%, -110%); background: var(--surface); border-radius: 0 0 28px 28px; padding: 20px; transition: transform .45s var(--ease); max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.search.open { pointer-events: auto; }
.search.open .search-backdrop { opacity: 1; }
.search.open .search-panel { transform: translate(-50%, 0); }
.search-input { display: flex; align-items: center; gap: 10px; border: 2px solid var(--orange); border-radius: 18px; padding: 4px 6px 4px 16px; }
.search-input input { flex: 1; border: 0; outline: none; padding: 12px 0; font-size: 17px; font-weight: 600; min-width: 0; }
.search-input svg { color: var(--orange); flex-shrink: 0; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.search-label { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 16px; }
.sresult { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; transition: background .2s; animation: fadeUp .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.sresult:hover { background: var(--orange-50); }
.sresult .citem-art { width: 58px; height: 58px; border-radius: 14px; }
.sresult b { display: block; font-size: 15px; }
.sresult span { font-size: 13px; color: var(--muted); }
.sresult .p { margin-left: auto; font-weight: 800; white-space: nowrap; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; padding-bottom: 60px; }
.panel { display: none; }
.panel.active { display: block; animation: panelIn .5s var(--ease); }
.panel h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.panel > p { color: var(--muted); margin-bottom: 20px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 199, 0, .14); }
.field .err-msg { font-size: 12.5px; color: var(--red); font-weight: 600; display: none; }
.field.err input, .field.err textarea { border-color: var(--red); animation: shake .4s; }
.field.err .err-msg { display: block; }
.ocards { display: grid; gap: 12px; margin-bottom: 18px; }
.ocards.two { grid-template-columns: 1fr 1fr; }
.ocard {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 20px;
  border: 2px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; width: 100%;
  transition: border-color .25s, background .25s, transform .25s var(--spring), box-shadow .25s;
}
.ocard:hover { border-color: var(--orange-200); }
.ocard:active { transform: scale(.98); }
.ocard.active { border-color: var(--orange); background: var(--orange-50); box-shadow: var(--shadow-sm); }
.ocard .oi { width: 44px; height: 44px; border-radius: 14px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; transition: background .25s, color .25s; }
.ocard.active .oi { background: var(--orange); color: var(--on-accent); }
.ocard b { display: block; font-size: 15px; }
.ocard small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.ocard .fee { margin-left: auto; font-weight: 800; white-space: nowrap; font-size: 14.5px; text-align: right; }
.ocard .fee s { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.ocard .fee .free { color: var(--green); }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; margin-top: 2px; position: relative; transition: border-color .2s; background: var(--surface); }
.radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .3s var(--spring); }
.ocard.active .radio { border-color: var(--orange); }
.ocard.active .radio::after { transform: scale(1); }
.networks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.net { padding: 12px 8px; border-radius: 16px; border: 2px solid var(--line); font-weight: 800; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .2s, background .2s, transform .2s var(--spring); background: var(--surface); }
.net:active { transform: scale(.95); }
.net i { min-width: 36px; height: 28px; padding: 0 9px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
.net.active { border-color: var(--orange); background: var(--orange-50); }
.panel-nav { display: flex; gap: 12px; margin-top: 22px; }
.panel-nav .btn-primary { flex: 1; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 12px; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 199, 0, .1); color: #FFD95A; margin-top: 14px; font-weight: 500; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--orange-50); border-radius: 28px; padding: 24px; }
.summary h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.summary-toggle { display: none; }
.summary-items { max-height: 320px; overflow-y: auto; margin-bottom: 12px; }
.sitem { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1.5px dashed var(--orange-100); }
.sitem .citem-art { width: 56px; height: 56px; border-radius: 14px; background: var(--surface-2); position: relative; }
.sitem .q { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--orange); color: var(--on-accent); font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.sitem b { font-size: 14px; display: block; line-height: 1.3; }
.sitem span { font-size: 12px; color: var(--muted); font-weight: 600; }
.sitem .p { margin-left: auto; font-weight: 800; font-size: 14px; white-space: nowrap; }

/* ---------- Modal (payment) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(4px); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { width: min(420px, 100%); background: var(--surface); border-radius: 30px; padding: 30px 26px; text-align: center; position: relative; overflow: hidden; transform: scale(.9) translateY(20px); transition: transform .45s var(--spring); }
.modal.open .modal-card { transform: none; }
.modal-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 6px; }
.modal-card p { color: var(--muted); font-size: 14.5px; }
.pay-amount { font-size: 30px; font-weight: 800; color: var(--orange-700); letter-spacing: -.03em; margin: 6px 0 4px; }
.pay-visual { width: 110px; height: 110px; margin: 10px auto 0; position: relative; display: grid; place-items: center; }
.spinner { position: absolute; inset: 0; border-radius: 50%; border: 5px solid var(--orange-100); border-top-color: var(--orange); animation: spin .9s linear infinite; }
.pay-phone { width: 50px; height: 80px; border-radius: 12px; border: 4px solid var(--ink); position: relative; animation: buzz .8s ease-in-out infinite; background: var(--surface); }
.pay-phone::after { content: ''; position: absolute; inset: 14px 6px; border-radius: 4px; background: repeating-linear-gradient(0deg, var(--orange-100) 0 4px, transparent 4px 9px); }
.pay-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--orange); animation: ringOut 1.6s ease-out infinite; }
.pay-ring:nth-child(2) { animation-delay: .8s; }
.check-circle { width: 100px; height: 100px; }
.check-circle circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s var(--ease) forwards; }
.check-circle path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .4s .5s var(--ease) forwards; }
.pay-steps { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.pay-steps i { width: 26px; height: 5px; border-radius: 5px; background: var(--orange-100); transition: background .3s, width .3s; }
.pay-steps i.on { background: var(--orange); width: 40px; }

/* ---------- Receipt ---------- */
.success-head { text-align: center; padding: 30px 0 10px; position: relative; }
.success-head .check-circle { margin: 0 auto 10px; }
.success-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.success-head p { color: var(--muted); max-width: 520px; margin: 6px auto 0; }
.receipt-wrap { padding: 24px 0 70px; display: grid; grid-template-columns: minmax(0, 560px) 300px; gap: 28px; justify-content: center; align-items: start; }
.receipt {
  position: relative; background: var(--surface); padding: 34px 30px 30px; border-radius: 6px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), 0 0 0 1.5px var(--line);
  animation: receiptIn .9s var(--ease) both;
}
.receipt::before, .receipt::after { content: ''; position: absolute; left: 0; right: 0; height: 10px; }
.receipt::before { top: -10px; background: radial-gradient(circle at 8px 10px, transparent 7px, var(--surface) 7.5px) 0 0 / 16px 10px repeat-x; }
.receipt::after { bottom: -10px; background: radial-gradient(circle at 8px 0, transparent 7px, var(--surface) 7.5px) 0 0 / 16px 10px repeat-x; }
.r-head { text-align: center; padding-bottom: 18px; border-bottom: 2px dashed var(--line); }
.r-head .logo { justify-content: center; font-size: 22px; }
.r-head p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.r-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; padding: 18px 0; border-bottom: 2px dashed var(--line); font-size: 13.5px; }
.r-meta small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.r-meta b { font-weight: 700; word-break: break-word; }
.r-items { padding: 14px 0; border-bottom: 2px dashed var(--line); }
.r-item { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
.r-item b { display: block; }
.r-item span { color: var(--muted); font-size: 12.5px; }
.r-item .p { font-weight: 800; white-space: nowrap; }
.r-totals { padding: 14px 0 6px; }
.r-foot { text-align: center; padding-top: 16px; border-top: 2px dashed var(--line); margin-top: 10px; font-size: 13px; color: var(--muted); }
.barcode { height: 46px; margin: 14px auto 6px; width: 80%; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .9; }
.stamp {
  display: inline-block; margin: 4px auto 6px; border: 3px solid var(--green); color: var(--green); font-weight: 800; font-size: 20px;
  padding: 4px 16px; border-radius: 10px; letter-spacing: .12em; transform: rotate(-8deg); opacity: .85;
  animation: stamp .55s .7s var(--spring) both;
}
.stamp.demo { border-color: var(--orange); color: var(--orange); font-size: 14px; }
.receipt-actions { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.receipt-actions .tip { font-size: 13px; color: var(--muted); background: var(--orange-50); border-radius: 18px; padding: 14px 16px; margin-top: 6px; }
.confetti { position: fixed; top: -20px; z-index: 250; pointer-events: none; width: 9px; height: 15px; border-radius: 2px; animation: fall linear forwards; }

/* ---------- Orders ---------- */
.orders { display: grid; gap: 14px; max-width: 820px; }
.order { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.order:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.order .citem-art { flex-shrink: 0; }
.order b { display: block; }
.order span { font-size: 13px; color: var(--muted); }
.order .status { margin-left: auto; text-align: right; flex-shrink: 0; }
.order .status em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--green); background: rgba(34, 197, 94, .16); padding: 3px 10px; border-radius: 999px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--orange-50); margin-top: 40px; padding: 70px 0 30px; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 40px; background: var(--bg); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; position: relative; z-index: 1; }
.footer h4 { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; color: var(--orange-700); }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer li a, .footer li span { color: var(--ink-2); font-size: 14.5px; transition: color .2s; }
.footer li a:hover { color: var(--orange-700); }
.footer p { color: var(--muted); font-size: 14.5px; margin: 12px 0 18px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; color: var(--orange); box-shadow: var(--shadow-sm); transition: transform .3s var(--spring), background .2s, color .2s; }
.socials a:hover { transform: translateY(-4px) rotate(-6deg); background: var(--orange); color: var(--on-accent); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1.5px solid var(--orange-100); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); position: relative; z-index: 1; }
.pay-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-logos span { background: var(--surface-2); border-radius: 8px; padding: 4px 10px; font-size: 11.5px; font-weight: 800; color: var(--ink-2); box-shadow: var(--shadow-sm); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 22px; bottom: 96px; z-index: 260; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; background: var(--raised); color: var(--ink); padding: 10px 12px 10px 10px; border: 1.5px solid #34343B;
  border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; max-width: 360px;
  animation: toastIn .5s var(--spring) both;
}
.toast.out { animation: toastOut .35s ease-in forwards; }
.toast .t-art { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; flex-shrink: 0; }
.toast .t-art svg { width: 88%; height: 88%; }
.toast .t-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: var(--on-accent); display: grid; place-items: center; flex-shrink: 0; }
.toast button { color: var(--orange); font-weight: 800; margin-left: auto; padding-left: 8px; white-space: nowrap; font-size: 13.5px; }

/* ---------- Tabbar (mobile) ---------- */
.tabbar { display: none; }

/* ==========================================================
   Keyframes
   ========================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { transform: scale(.88); box-shadow: 0 0 0 16px var(--orange-100), 0 0 0 30px var(--orange-50); } }
@keyframes pulseScale { 50% { transform: scale(1.15); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 100% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes breathe { 50% { transform: scale(1.05); } }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rotIn { from { opacity: 0; transform: translateY(70%) rotate(4deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rotOut { to { opacity: 0; transform: translateY(-60%); filter: blur(4px); } }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes slideOut { to { opacity: 0; transform: translateX(60px); height: 0; padding: 0; margin: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes panelIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes swapIn { 0% { transform: scale(.7) rotate(-14deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes tick { 0% { transform: translateY(-40%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes roadMove { to { background-position: -48px 0; } }
@keyframes truckBob { to { transform: translateY(-3px); } }
@keyframes speed { from { transform: translateX(40px); opacity: 0; } 50% { opacity: 1; } to { transform: translateX(-40px); opacity: 0; } }
@keyframes buzz { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(4deg); } }
@keyframes ringOut { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes receiptIn { from { opacity: 0; transform: translateY(-40px) scaleY(.85); transform-origin: top; } to { opacity: 1; transform: none; } }
@keyframes stamp { from { transform: rotate(-8deg) scale(2.6); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: .85; } }
@keyframes fall { to { transform: translate3d(var(--x, 0), 110vh, 0) rotate(var(--r, 720deg)); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes tabPop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .receipt-wrap { grid-template-columns: minmax(0, 560px); }
  .receipt-actions { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; --tabbar-h: 64px; --safe-b: env(safe-area-inset-bottom, 0px); --dock: calc(var(--tabbar-h) + var(--safe-b)); --action-h: 72px; }
  body { padding-bottom: calc(var(--dock) + 20px); }
  body[data-page="product"], body[data-page="checkout"] { padding-bottom: calc(var(--dock) + var(--action-h) + 20px); }
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(26px); }
  @keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .nav, .hide-sm { display: none !important; }
  .header-inner { gap: 12px; }
  .icon-btn { width: 42px; height: 42px; }
  .logo { font-size: 18px; }
  .logo-sun { width: 30px; height: 30px; }

  /* Bottom navigation: pinned flush to the bottom edge on every page */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: var(--dock); padding: 0 4px var(--safe-b);
    background: var(--surface); border-top: 1.5px solid var(--line);
    box-shadow: 0 -10px 28px -20px rgba(0, 0, 0, .6);
    transform: translateZ(0); -webkit-transform: translateZ(0); backface-visibility: hidden;
  }
  .tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; font-size: 11px; font-weight: 700; color: var(--muted); transition: color .25s; }
  .tab:not(.tab-cart) > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tab.active { color: var(--orange-700); }
  .tab.active svg { animation: tabPop .45s var(--spring); }
  .tab::before { content: ''; position: absolute; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .3s var(--spring); }
  .tab.active::before { transform: scale(1); }
  .tab-cart { justify-content: flex-start; }
  .tab-cart .bubble {
    width: 56px; height: 56px; border-radius: 20px; margin-top: -18px; background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(255, 199, 0, .7); position: relative;
    transition: transform .3s var(--spring); border: 4px solid var(--surface);
  }
  .tab-cart:active .bubble { transform: scale(.92); }
  .tab-cart::before { display: none; }
  .tab-cart .cart-count { top: -6px; right: -8px; }

  .toasts { left: 16px; right: 16px; top: calc(var(--header-h) + 46px); bottom: auto; align-items: stretch; }
  .toast { max-width: none; }

  .hero { padding: 26px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero p.lead { font-size: 16px; }
  .hero-cta { justify-content: center; margin: 22px 0 22px; width: 100%; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
  .hero-perks { justify-content: center; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .fcard { font-size: 12px; padding: 8px 12px 8px 8px; }
  .fcard i { width: 30px; height: 30px; border-radius: 10px; }
  .fcard.f1 { left: 0; }
  .fcard.f2 { right: 0; }

  .section { padding: 54px 0; }
  .cats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cat { min-height: 136px; padding: 20px; border-radius: 24px; }
  .cat h3 { font-size: 20px; }
  .cat p { max-width: 58%; }
  .cat-art { width: 40%; max-width: 170px; right: 4px; bottom: -8px; }
  .cat-go { width: 40px; height: 40px; margin-top: 14px; }

  .grid, .grid.scroller { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard { padding: 7px; border-radius: 22px; min-width: 0; }
  .pcard-media { border-radius: 17px; }
  .pcard-body { padding: 10px 5px 3px; }
  .pcard-name { font-size: 14px; }
  .pcard-meta { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pcard-foot { gap: 6px; }
  .price { min-width: 0; }
  .price strong { font-size: clamp(13px, 3.9vw, 15.5px); white-space: nowrap; }
  .price s { display: none; }
  .add-btn { width: 38px; height: 38px; border-radius: 13px; }
  .badge { font-size: 10px; padding: 4px 8px; }
  .badges { top: 7px; left: 7px; right: 7px; }
  .swatches { margin-top: 7px; }
  .swatches i { width: 12px; height: 12px; }

  .promo { grid-template-columns: 1fr; padding: 36px 26px 10px; border-radius: 28px; text-align: center; }
  .promo p { margin-left: auto; margin-right: auto; }
  .road { height: 130px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature { padding: 18px; }
  .steps::before { display: none; }
  .visit { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 280px; }

  .shop-bar { top: var(--header-h); }
  .shop-bar-inner { gap: 10px; }
  .shop-bar .chips { order: 3; flex-basis: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 0; }
  .shop-bar .chip { justify-content: center; padding: 9px 10px; font-size: 13.5px; min-width: 0; }
  .searchbox { max-width: none; min-width: 0; flex-basis: 100%; order: 1; }
  .shop-bar .seg { order: 2; flex: 1 1 0; min-width: 0; }
  .shop-bar .seg button { flex: 1; padding: 9px 8px; font-size: 13px; }
  .shop-bar .select { order: 2; flex: 0 0 auto; margin-left: 0; }
  .shop-bar .select select { width: 118px; padding: 10px 30px 10px 12px; text-overflow: ellipsis; }
  /* 16px stops iOS from zooming the page when a field is focused */
  .field input, .field textarea, .field select, .searchbox input, .shop-bar .select select, .search-input input { font-size: 16px; }

  .pdp { grid-template-columns: 1fr; gap: 22px; }
  .gallery { position: relative; top: 0; border-radius: 30px; aspect-ratio: 1 / .9; }
  .pdp-actions { display: none; }
  .assure { grid-template-columns: 1fr 1fr 1fr; }
  .assure div { padding: 12px 10px; }
  .buybar {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: var(--dock); z-index: 85;
    height: var(--action-h); padding: 0 14px 0 18px; background: var(--surface); border-top: 1.5px solid var(--line);
    box-shadow: 0 -10px 24px -20px rgba(0, 0, 0, .6); transform: translateZ(0);
  }
  .buybar .bp { min-width: 0; }
  .buybar .bp small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; line-height: 1; }
  .buybar .bp strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
  .buybar .btns { margin-left: auto; display: flex; gap: 8px; }
  .buybar .btn { padding: 14px 16px; font-size: 14.5px; }
  .buybar .btn-ghost { padding: 12px; width: 50px; border-radius: 18px; }
  .buybar .btn-primary { border-radius: 18px; }

  .drawer-panel { top: auto; left: 0; width: 100%; height: 90vh; height: 90dvh; border-radius: 30px 30px 0 0; transform: translateY(105%); }
  .grab { display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: 10px auto 0; }
  .drawer-head { padding-top: 10px; }

  .search-panel { border-radius: 0 0 26px 26px; padding: 16px; }

  .checkout { grid-template-columns: 1fr; gap: 18px; }
  .checkout aside { order: -1; }
  .summary { position: static; padding: 16px 18px; border-radius: 22px; }
  .summary h3 { margin: 0; }
  .summary-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--orange-700); }
  .summary-toggle svg { transition: transform .3s; }
  .summary.open .summary-toggle svg { transform: rotate(180deg); }
  .summary .summary-more { display: none; padding-top: 10px; }
  .summary.open .summary-more { display: block; animation: fadeDown .35s var(--ease); }
  .panel-nav { position: fixed; left: 0; right: 0; bottom: var(--dock); z-index: 85; margin: 0; height: var(--action-h); padding: 0 14px; align-items: center; background: var(--surface); border-top: 1.5px solid var(--line); box-shadow: 0 -10px 24px -20px rgba(0, 0, 0, .6); transform: translateZ(0); }
  .panel-nav .btn { padding: 15px 18px; }
  .panel-nav .btn-ghost { flex: 0 0 auto; }

  .receipt-wrap { padding-top: 14px; }
  .receipt { padding: 28px 20px 24px; }
  .stamp { font-size: 17px; }
  .page-head .doodle:not(.spin) { display: none; }

  .footer { padding-top: 60px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: clamp(1.8rem, 8.6vw, 2.15rem); }
  .fields { grid-template-columns: 1fr; }
  .ocards.two { grid-template-columns: 1fr 1fr; }
  .ocards.two .ocard { flex-direction: column; gap: 10px; }
  .ocards.two .ocard .radio { position: absolute; top: 14px; right: 14px; }
  .r-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 12.5px; }
  .assure { grid-template-columns: 1fr; }
  .assure div { flex-direction: row; align-items: center; }
  .order { flex-wrap: wrap; }
  .citem { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .citem-art { width: 64px; height: 64px; }
  .citem-row { flex-wrap: wrap; row-gap: 6px; }
  .citem-price { margin-left: auto; }
  .drawer-head, .drawer-body { padding-left: 16px; padding-right: 16px; }
  .drawer-foot { padding-left: 16px; padding-right: 16px; }
  .promo { padding: 32px 20px 8px; }
  .info-card { padding: 22px; }
  .networks { gap: 8px; }
  .net { font-size: 12px; padding: 10px 4px; }
}

@media (max-width: 400px) {
  .fcard { font-size: 11px; padding: 6px 10px 6px 6px; gap: 8px; }
  .fcard i { width: 26px; height: 26px; border-radius: 9px; }
  .fcard small { font-size: 10px; }
  .shop-bar .seg button { padding: 8px 5px; font-size: 12.5px; }
  .shop-bar .select select { width: 108px; }
  .pdp-price strong { font-size: 30px; }
  .buybar { gap: 8px; padding: 0 10px 0 14px; }
  .buybar .bp strong { font-size: 16px; }
  .buybar .btn { padding: 13px 14px; }
  .hero-cta .btn { min-width: 0; }
  .pcard .badge-hot { display: none; }
}

@media (max-width: 359px) {
  .shop-bar .seg, .shop-bar .select, .shop-bar .select select { flex-basis: 100%; width: 100%; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .tab { font-size: 10px; }
  .logo { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  body { padding: 0 !important; }
  body * { visibility: hidden; }
  .receipt, .receipt * { visibility: visible; }
  .receipt { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; animation: none; }
  .stamp { animation: none; opacity: .85; }
  .announce, .header, .tabbar, .footer { display: none; }
  .receipt { background: #fff !important; }
  .receipt, .receipt * { color: #111 !important; }
  .receipt .barcode { background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
  .track .done i { background: #fff !important; border-color: #111 !important; }
}

/* ==========================================================
   Data bundles
   ========================================================== */
.hero .rotator { min-width: 0; }
.cat.net-card { background: linear-gradient(150deg, color-mix(in srgb, var(--net) 16%, var(--surface)), var(--surface) 70%); color: var(--ink); border: 1.5px solid color-mix(in srgb, var(--net) 30%, var(--line)); }
.cat.net-card::before { background: color-mix(in srgb, var(--net) 26%, transparent); }
.cat.net-card:hover { border-color: var(--net); }
.dot-net { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }

/* ---------- Bundle card ---------- */
.bcard-top {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%; aspect-ratio: 1 / .82;
  border-radius: 20px; padding: 14px; text-align: left; overflow: hidden; isolation: isolate; cursor: pointer;
  background: linear-gradient(140deg, color-mix(in srgb, var(--net) 82%, #fff), var(--net) 55%, color-mix(in srgb, var(--net) 80%, #000));
  color: var(--net-ink);
}
.bcard-top::before { content: ''; position: absolute; right: -28%; bottom: -46%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .2); z-index: -1; transition: transform .6s var(--ease); }
.bcard-top::after { content: ''; position: absolute; left: -20%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: -1; }
.bcard:hover .bcard-top::before { transform: scale(1.35); }
.net-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 5px 10px 5px 7px; border-radius: 999px; background: #fff; color: #14120B; line-height: 1.2; white-space: nowrap; }
.net-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--net); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .1); }
.bcard .badge-hot { position: absolute; top: 14px; right: 14px; }
.bcard-gb { margin-top: auto; font-weight: 800; font-size: 20px; letter-spacing: -.03em; line-height: 1; transition: transform .5s var(--spring); transform-origin: left bottom; }
.bcard-gb b { font-size: clamp(2.6rem, 5vw, 3.4rem); letter-spacing: -.05em; margin-right: 2px; }
.bcard:hover .bcard-gb { transform: scale(1.06); }
.bcard-val { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; opacity: .85; margin-top: 6px; }
.bcard .bcard-wifi { color: currentColor; opacity: .35; animation: none; z-index: -1; }
.bcard .pcard-meta { font-weight: 700; color: var(--muted); }

/* ---------- Number hints ---------- */
.net-hint { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.net-hint:empty { display: none; }
.net-hint svg { flex-shrink: 0; margin-top: 1px; }
.net-hint.ok { color: var(--green); }
.net-hint.warn { color: #FFB547; background: rgba(255, 199, 0, .1); padding: 8px 10px; border-radius: 12px; }
.recent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.recent:empty { display: none; }
.recent span { font-size: 12px; font-weight: 700; color: var(--muted); }
.recent button { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--orange-50); color: var(--orange-700); transition: background .2s, transform .2s var(--spring); }
.recent button:hover { background: var(--orange-100); }
.recent button:active { transform: scale(.94); }

/* ---------- Promo signal art ---------- */
.signal-art { position: relative; height: 180px; display: flex; align-items: flex-end; justify-content: center; gap: 30px; }
.signal-art .bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; }
.signal-art .bars span { width: 24px; border-radius: 8px; background: var(--on-accent); transform-origin: bottom; animation: barUp 1.8s ease-in-out infinite; animation-delay: calc(var(--i) * .15s); height: calc(30px + var(--i) * 28px); }
.signal-art .waves { position: relative; width: 90px; height: 90px; align-self: center; }
.signal-art .waves i { position: absolute; left: 50%; bottom: 0; border: 6px solid var(--on-accent); border-color: var(--on-accent) transparent transparent transparent; border-radius: 50%; transform: translateX(-50%); animation: waveFade 1.8s ease-in-out infinite; }
.signal-art .waves i:nth-child(1) { width: 30px; height: 30px; bottom: 30px; }
.signal-art .waves i:nth-child(2) { width: 60px; height: 60px; bottom: 15px; animation-delay: .25s; }
.signal-art .waves i:nth-child(3) { width: 90px; height: 90px; bottom: 0; animation-delay: .5s; }
@keyframes barUp { 0%, 100% { transform: scaleY(.45); opacity: .55; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes waveFade { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- Bundle sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 125; pointer-events: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .35s; backdrop-filter: blur(2px); }
.sheet-panel {
  --net: var(--orange);
  position: absolute; left: 50%; top: 50%; width: min(460px, calc(100% - 32px)); max-height: calc(100% - 40px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border-radius: 30px; padding: 26px; box-shadow: var(--shadow-lg);
  transform: translate(-50%, -46%) scale(.95); opacity: 0; transition: transform .45s var(--spring), opacity .3s;
}
.sheet-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--net); }
.sheet.open { pointer-events: auto; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: translate(-50%, -50%); opacity: 1; }
.sheet-x { position: absolute; top: 14px; right: 14px; }
.sheet-head { display: flex; gap: 16px; align-items: center; padding-right: 40px; }
.sheet-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.sheet-head .eyebrow { margin-bottom: 2px; font-size: 11.5px; }
.sheet-head p { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.sheet-art { width: 92px; height: 92px; border-radius: 24px; background: var(--orange-50); display: grid; place-items: center; flex-shrink: 0; animation: swapIn .55s var(--spring); }
.sheet-art svg { width: 86%; height: 86%; }
.sheet-price { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 16px; padding: 12px 16px; border-radius: 18px; background: var(--orange-50); font-weight: 700; }
.sheet-price strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--orange-700); }
.sheet .field { gap: 8px; }
.sheet .field input { font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 18px; }
.sheet .secure { margin-top: 14px; }

/* ---------- Cart & checkout bits ---------- */
.to-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--orange-50); color: var(--ink-2); white-space: nowrap; }
.add-more { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 18px; padding: 14px; border-radius: 18px; border: 2px dashed var(--orange-200); color: var(--orange-700); font-weight: 700; font-size: 14px; transition: background .2s; }
.add-more:hover { background: var(--orange-50); }
.recips { display: grid; gap: 10px; }
.recip { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); animation: fadeUp .35s var(--ease) both; }
.recip.removing { animation: slideOut .3s ease-in forwards; }
.recip-net { min-width: 52px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--net); color: var(--net-ink); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.recip-main { min-width: 0; flex: 1; font-weight: 600; font-size: 14.5px; }
.recip-main b { font-weight: 800; }
.recip-main em { display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 700; color: #FFB547; }
.recip-p { font-weight: 800; white-space: nowrap; }

/* ---------- Receipt status ---------- */
.r-status { padding: 16px 0 8px; border-bottom: 2px dashed var(--line); }
.r-status p { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.track { display: flex; position: relative; }
.track::before, .track::after { content: ''; position: absolute; top: 15px; left: 16.6%; height: 3px; border-radius: 3px; }
.track::before { right: 16.6%; background: var(--line); }
.track::after { width: 33.3%; background: linear-gradient(90deg, var(--green), var(--orange)); }
.track > div { position: relative; z-index: 1; flex: 1; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.track i { width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; background: var(--surface); border: 2px solid var(--line); color: var(--muted); }
.track .done { color: var(--green); }
.track .done i { background: var(--green); border-color: var(--green); color: #fff; }
.track .now { color: var(--orange-700); }
.track .now i { border-color: var(--orange); color: var(--orange); animation: nowPulse 1.6s ease-out infinite; }
@keyframes nowPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 199, 0, .45); } 100% { box-shadow: 0 0 0 12px rgba(255, 199, 0, 0); } }

/* ---------- Support: prefixes ---------- */
.prefixes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prefix { position: relative; overflow: hidden; border-radius: 26px; padding: 22px; background: var(--surface); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.prefix::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--net); }
.prefix-head { display: flex; align-items: center; gap: 12px; }
.prefix-sim { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-50); display: grid; place-items: center; flex-shrink: 0; }
.prefix-sim svg { width: 88%; height: 88%; }
.prefix h4 { font-size: 17px; font-weight: 800; }
.prefix small { color: var(--muted); font-weight: 600; }
.prefix-list { display: flex; flex-wrap: wrap; gap: 8px; }
.prefix-list span { font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 12px; background: color-mix(in srgb, var(--net) 20%, var(--surface)); letter-spacing: .04em; }
.prefix .link-arrow { margin-top: auto; font-size: 14px; }

@media (max-width: 900px) {
  .hero-art { max-width: 300px; }
  .signal-art { height: 140px; }
  .signal-art .bars { height: 120px; gap: 10px; }
  .signal-art .bars span { width: 20px; height: calc(24px + var(--i) * 22px); }
  .prefixes { grid-template-columns: minmax(0, 1fr); }
  .bcard-top { padding: 10px; border-radius: 17px; }
  .bcard .badge-hot { top: 10px; right: 10px; }
  .net-badge { font-size: 11px; padding: 4px 8px 4px 6px; }
  .bcard-gb { font-size: 16px; }
  .bcard-gb b { font-size: clamp(2rem, 10vw, 2.6rem); }
  .bcard-val { font-size: 11px; }
  .bcard .bcard-wifi { width: 44px !important; height: 44px !important; }

  .sheet-panel {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92vh; max-height: 92dvh;
    border-radius: 30px 30px 0 0; padding: 8px 18px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(105%); opacity: 1; transition: transform .45s var(--ease);
  }
  .sheet-panel::before { display: none; }
  .sheet.open .sheet-panel { transform: none; }
  .sheet .grab { margin-bottom: 14px; }
  .sheet-x { top: 18px; right: 12px; }
  .sheet-art { width: 76px; height: 76px; border-radius: 20px; }
  .sheet-head h3 { font-size: 21px; }
}

@media (max-width: 520px) {
  .recip { gap: 8px; padding: 10px 6px 10px 10px; }
  .recip-net { min-width: 44px; height: 26px; font-size: 10.5px; }
  .recip-main { font-size: 13.5px; }
  .recip .rm { flex-shrink: 0; }
  .bcard .badge-hot { display: none; }
  .section-head .seg { width: 100%; }
  .section-head .seg button { flex: 1 1 auto; padding: 9px 6px; font-size: 13px; }
}

@media (max-width: 400px) {
  .sheet-actions { grid-template-columns: minmax(0, 1fr); }
  .sheet-actions .btn-primary { order: -1; }
}

@media (max-width: 359px) {
  .section-head .seg button { font-size: 12.5px; padding: 9px 4px; }
  .net-badge { font-size: 10px; }
  .bcard-val { display: none; }
}

/* ---------- Checkout extras ---------- */
.co-extra { margin-top: 20px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.co-extra summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.co-extra summary::-webkit-details-marker { display: none; }
.co-extra summary span { color: var(--muted); font-weight: 600; }
.co-extra summary svg { margin-left: auto; transition: transform .3s var(--ease); }
.co-extra[open] summary svg { transform: rotate(180deg); }
.co-extra .fields { margin-top: 14px; }
#cardFields .fields { margin-bottom: 4px; }
