/* =====================================================================================
   Gameprosg storefront — in-house CSS, no frameworks.
   Brand: lime #B4FF00 on near-black. Light/dark via [data-theme] on <html>.
   ===================================================================================== */

:root {
  --lime: #B4FF00;
  --lime-dark: #93d400;
  --ink: #0B0D10;
  --primary: var(--lime);
  --primary-contrast: var(--ink);
  --accent: var(--lime);

  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --text: #0B0D10;
  --text-2: #5b6270;
  --text-3: #8a9099;
  --line: #e6e8ec;
  --line-2: #d3d7de;
  --danger: #e11d48;
  --success: #16a34a;
  --warning: #d97706;
  --shadow: 0 1px 2px rgba(11,13,16,.06), 0 8px 24px -12px rgba(11,13,16,.18);
  --shadow-lg: 0 20px 50px -20px rgba(11,13,16,.35);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --header-h: 68px;
  --header-total: calc(var(--header-h) + 47px); /* main row + nav row */
  --container: 1320px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
html[data-theme="dark"] {
  --bg: #0B0D10;
  --bg-soft: #0f1216;
  --surface: #14171c;
  --surface-2: #1a1e25;
  --text: #eef0f3;
  --text-2: #a9b0bb;
  --text-3: #6f7784;
  --line: #242a33;
  --line-2: #2f3640;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 20px 50px -20px rgba(0,0,0,.8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(26px, 3.4vw, 40px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.strong { font-weight: 600; }
.lime { color: var(--lime-dark); }
html[data-theme="dark"] .lime { color: var(--lime); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head .sub { color: var(--text-2); margin: 4px 0 0; }
.section-head a.more { font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.hide { display: none !important; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .grid-5, .grid-6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .grid-2 { grid-template-columns: 1fr; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1; border: 1.5px solid transparent; transition: transform .12s, box-shadow .12s, background .12s, color .12s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-dark); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(180,255,0,.7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22262e; color: #fff; }
html[data-theme="dark"] .btn-dark { background: #fff; color: var(--ink); }
html[data-theme="dark"] .btn-dark:hover { background: #e8e8e8; color: var(--ink); }
.btn-outline { border-color: var(--line-2); background: transparent; }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost { background: var(--surface-2); }
.btn-ghost:hover { background: var(--line); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1fb457; color: #fff; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; background: transparent; position: relative; transition: background .12s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---- forms ---- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.input, .select, .textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); outline: none; transition: border-color .12s, box-shadow .12s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(180,255,0,.35); }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a9099' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.textarea { min-height: 110px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--lime-dark); margin-top: 1px; flex: none; }
.error-text { color: var(--danger); font-size: 13px; }
.row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }

/* ---- alerts ---- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; border: 1px solid; }
.alert-success { background: rgba(22,163,74,.08); border-color: rgba(22,163,74,.35); color: #15803d; }
.alert-error { background: rgba(225,29,72,.08); border-color: rgba(225,29,72,.35); color: #be123c; }
.alert-info { background: rgba(180,255,0,.14); border-color: rgba(147,212,0,.5); color: var(--text); }
html[data-theme="dark"] .alert-success { color: #4ade80; } html[data-theme="dark"] .alert-error { color: #fb7185; }

/* ---- announcement + header ---- */
.announce { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 8px 12px; }
.announce a { color: var(--lime); font-weight: 700; margin-left: 8px; }
.header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-main { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.logo img { height: 36px; width: auto; display: block; }
/* Corner mark: the uploaded image carries its own black slanted shape, so it sits flush with the
   top-left of the header (bleeds past the container padding) and fills the header height. */
.header > .header-main { max-width: none; }         /* top row spans the full window so the mark sits in the corner; the nav row keeps the normal container width */
.header .logo { margin-left: -20px; align-self: stretch; display: flex; align-items: flex-start; }
.header .logo .mark { height: var(--header-h); width: auto; }
.search { flex: 1; position: relative; max-width: 640px; margin: 0 auto; }
.search form { display: flex; align-items: center; background: var(--surface-2); border: 1.5px solid transparent; border-radius: 999px; padding: 0 6px 0 16px; height: 44px; transition: border-color .12s, background .12s; }
.search form:focus-within { border-color: var(--text); background: var(--surface); }
.search input { flex: 1; background: none; border: 0; outline: none; font-size: 14px; min-width: 0; }
.search button { width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.search button svg { width: 16px; height: 16px; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 80; }
.search-results a.result { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mnav-search { position: relative; }
.search-results.mobile { position: static; margin: 6px 0 10px; box-shadow: none; }
.search-results.mobile a.result { padding: 8px 10px; }
.search-results.mobile img { width: 40px; height: 40px; }
.search-results a.result:hover { background: var(--surface-2); }
.search-results img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.search-results .name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.search-results .price { margin-left: auto; text-align: right; white-space: nowrap; font-weight: 700; font-size: 13px; }
.search-results .price small { display: block; font-weight: 500; color: var(--text-3); text-decoration: line-through; }
.search-results .all { display: block; text-align: center; padding: 10px; font-weight: 600; font-size: 13px; color: var(--lime-dark); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav { display: flex; align-items: center; gap: 4px; height: 46px; border-top: 1px solid var(--line); }
.nav > a, .nav > .has-mega > a { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 46px; font-weight: 600; font-size: 14px; color: var(--text-2); border-bottom: 2px solid transparent; }
.nav > a:hover, .nav > .has-mega:hover > a { color: var(--text); border-bottom-color: var(--lime); }
.nav .pill { background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.nav .pill.dark { background: var(--ink); color: var(--lime); }
.nav > a.nav-campaign { color: var(--text); }
.nav > a.nav-campaign.live svg { color: var(--lime-dark); animation: navZap 1.4s ease-in-out infinite; }
html[data-theme="dark"] .nav > a.nav-campaign.live svg { color: var(--lime); }
@keyframes navZap { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.has-mega { position: relative; }
.mega { position: absolute; top: 100%; left: 0; min-width: 720px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; display: none; grid-template-columns: repeat(4, 1fr); gap: 20px; z-index: 70; }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
.mega h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 8px; }
.mega h4 a:hover { color: var(--text); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-2); }
.mega li a:hover { color: var(--text); padding-left: 4px; }
.mega .mega-promo { grid-column: span 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 160px; }
.burger { display: none; }
@media (max-width: 1000px) {
  :root { --header-total: var(--header-h); }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .search { display: none; }
  .header-main { gap: 6px; }
  .header .logo { order: 0; margin-right: auto; }
  .header .logo .mark { height: var(--header-h); }
  .header-main { position: relative; }
  .header-actions { margin-left: auto; gap: 0; }
  .burger { order: 10; margin-left: 2px; }
  .header-actions .icon-btn { width: 38px; }
}
@media (max-width: 400px) {
  .header .logo .mark { height: var(--header-h); }
  .header-actions .icon-btn { width: 34px; }
}
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.drawer .panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 90vw); background: var(--surface); overflow-y: auto; padding: 20px; box-shadow: var(--shadow-lg); animation: slideIn .2s ease-out; }
.drawer.right .panel { left: auto; right: 0; animation: slideInR .2s ease-out; }
@keyframes slideIn { from { transform: translateX(-100%);} to { transform: none; } }
@keyframes slideInR { from { transform: translateX(100%);} to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mnav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.mnav .sub a { padding: 8px 0 8px 14px; font-weight: 500; color: var(--text-2); border: 0; }
.mnav details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.mnav details summary::-webkit-details-marker { display: none; }

/* ---- hero (full-width, centered slide with neighbours peeking, infinite loop) ---- */
.hero { padding: 18px 0 6px; overflow: hidden; --slide-w: min(var(--container), calc(100vw - 150px)); --peek-gap: 16px; }
@media (max-width: 800px) { .hero { --slide-w: calc(100vw - 48px); --peek-gap: 10px; } }
.hero-track-wrap { position: relative; }
.hero-track { display: flex; gap: var(--peek-gap); will-change: transform; transition: transform .6s cubic-bezier(.22,.61,.36,1); touch-action: pan-y; }
.hero-track.no-anim { transition: none !important; }
.hero-slide { flex: 0 0 var(--slide-w); width: var(--slide-w); position: relative; min-height: 460px; border-radius: 24px; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; transition: opacity .4s; }
.hero-slide:not(.is-active) { opacity: .55; }
@media (max-width: 800px) { .hero-slide { min-height: 400px; border-radius: 18px; } }
.hero-slide .media, .hero-slide .media img, .hero-slide .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide .media { background: radial-gradient(ellipse at 80% 20%, rgba(180,255,0,.22), transparent 55%), linear-gradient(135deg, #0B0D10 0%, #14171c 100%); }
.hero-slide .overlay-gradient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); }
.hero-slide .overlay-dark::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero-slide .content { position: relative; z-index: 2; padding: 44px; max-width: 600px; height: 100%; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-width: 800px) { .hero-slide .content { padding: 26px 22px; } }
.hero-slide .content.pos-center { margin: 0 auto; text-align: center; justify-content: center; align-items: center; }
.hero-slide .content.pos-center-left { justify-content: center; }
.hero-slide .content.pos-center-right, .hero-slide .content.pos-bottom-right { margin-left: auto; text-align: right; align-items: flex-end; }
.hero-slide .content.pos-center-right { justify-content: center; }
.hero-slide .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.hero-slide h2 { font-size: clamp(26px, 4vw, 52px); line-height: 1.02; margin: 0 0 10px; letter-spacing: -.02em; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-slide p { color: rgba(255,255,255,.82); font-size: 16px; max-width: 480px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-slide .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hero-slide .product-card-inline { display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px; margin-top: 16px; max-width: 460px; }
.hero-slide .product-card-inline img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 10px; flex: none; }
.hero-slide .product-card-inline .p { font-weight: 800; font-size: 20px; }
.hero-slide .product-card-inline .p s { color: rgba(255,255,255,.5); font-weight: 500; font-size: 14px; margin-right: 6px; }
.hero-slide .product-hero-img { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; object-fit: contain; padding: 40px; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
@media (max-width: 800px) { .hero-slide .product-hero-img { display: none; } }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; z-index: 5; }
.hero-nav.prev { left: calc(50% - var(--slide-w) / 2 - 23px); } .hero-nav.next { right: calc(50% - var(--slide-w) / 2 - 23px); }
@media (max-width: 800px) { .hero-nav { display: none; } }
.hero-slide img, .hero-slide video { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.hero-nav svg { width: 20px; height: 20px; }
.hero-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: width .2s, background .2s; }
.hero-dots button.active { width: 26px; background: var(--text); }

/* ---- USP strip ---- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 10px; }
.usp div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface-2); border-radius: var(--radius-sm); }
.usp svg { width: 26px; height: 26px; color: var(--lime-dark); flex: none; }
html[data-theme="dark"] .usp svg { color: var(--lime); }
.usp b { display: block; font-size: 14px; }
.usp span { font-size: 12px; color: var(--text-2); }
@media (max-width: 900px) { .usp { grid-template-columns: repeat(2, 1fr); } }

/* ---- category tiles: endless marquee, N per screen ---- */
.cat-tiles { --cols: 6; --gap: 14px; display: flex; gap: var(--gap); overflow: hidden; width: 100%; }
.cat-tiles.is-marquee { --set-w: 0px; }
.cat-tiles .cat-track { display: flex; gap: var(--gap); flex: none; will-change: transform; }
.cat-tiles.is-marquee .cat-track { animation: catMarquee var(--dur, 45s) linear infinite; }
.cat-tiles.is-marquee:hover .cat-track { animation-play-state: paused; }
@keyframes catMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--set-w))); } }
.cat-tile { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.cat-tiles .cat-track .cat-tile { flex-basis: var(--tile-w, 200px); width: var(--tile-w, 200px); }
@media (max-width: 1100px) { .cat-tiles { --cols: 4; } }
@media (max-width: 800px) { .cat-tiles { --cols: 3; } }
@media (max-width: 520px) { .cat-tiles { --cols: 2; --gap: 10px; } }
/* Mobile: the strip scrolls with a finger instead of looping; the track is wider than the screen on purpose */
.cat-tiles.is-scroll { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; scroll-padding-left: 20px; }
.cat-tiles.is-scroll::-webkit-scrollbar { display: none; }
.cat-tiles.is-scroll .cat-track { animation: none !important; transform: none !important; padding-right: 20px; }
.cat-tiles.is-scroll .cat-track .cat-tile { flex: 0 0 var(--tile-m, 66vw); width: var(--tile-m, 66vw); max-width: 320px; aspect-ratio: 1 / 1; scroll-snap-align: start; }
.cat-tiles.is-scroll .cat-track .cat-tile img { object-position: left top; }   /* banner art carries its own text on the left — keep it in view */
.brands.cat-tiles.is-scroll .cat-track .cat-tile { --tile-m: 30vw; }
.cat-tiles.is-scroll.hint .cat-track { animation: catHint .9s ease-in-out !important; }
@keyframes catHint { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(-28px); } 70% { transform: translateX(6px); } }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 1 / 1.05; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile .t { position: relative; font-weight: 800; font-size: 15px; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; align-self: flex-start; max-width: 100%; line-height: 1.25; }
.cat-tile .t.long { font-size: 12px; padding: 7px 12px; }
.cat-tile .t.xlong { font-size: 11px; padding: 6px 10px; letter-spacing: -.01em; }
@media (max-width: 800px) { .cat-tile { padding: 12px; } .cat-tile .t { font-size: 13px; padding: 7px 12px; } .cat-tile .t.long { font-size: 11px; } .cat-tile .t.xlong { font-size: 10px; } }
.cat-tile .n { position: relative; font-size: 12px; color: var(--text-2); margin-top: 6px; }

/* ---- product card ---- */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .media { position: relative; aspect-ratio: 1 / 1; background: #fff; display: block; }
.card .media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.card .badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; background: var(--lime); color: var(--ink); }
.badge.dark { background: var(--ink); color: #fff; }
.badge.gift { background: #ff3d81; color: #fff; }
.badge.oos { background: #6b7280; color: #fff; }
.badge.save { background: var(--danger); color: #fff; }
.badge.preorder { background: #16a34a; color: #fff; }
.chip.preorder { background: #16a34a; color: #fff; border-color: transparent; }
.preorder-box { border: 1.5px solid #16a34a; background: rgba(22,163,74,.07); border-radius: 14px; padding: 16px; margin-top: 16px; }
.preorder-box b.t { color: #15803d; } html[data-theme="dark"] .preorder-box b.t { color: #4ade80; }
.preorder-box .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; margin-top: 10px; }
@media (max-width: 700px) { .preorder-box .row3 { grid-template-columns: 1fr; } }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .brand { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.card .name { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.stars { display: inline-flex; gap: 1px; color: #f5b301; font-size: 12px; }
.stars .n { color: var(--text-3); margin-left: 4px; }
.price { margin-top: auto; }
.price .was { color: var(--text-3); text-decoration: line-through; font-size: 13px; margin-right: 6px; }
.price .now { font-size: 18px; font-weight: 800; }
.price .av { display: flex; align-items: baseline; gap: 6px; }
.price .av b { font-size: 19px; font-weight: 800; color: var(--text); }
.price .av small { font-size: 12px; color: var(--lime-dark); font-weight: 700; }
html[data-theme="dark"] .price .av small { color: var(--lime); }
.price .from { font-size: 12px; color: var(--text-3); margin-right: 4px; }
.instalment { font-size: 12px; color: var(--text-2); }
.instalment b { font-weight: 700; color: var(--text); }
.card .card-timer { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; background: color-mix(in srgb, var(--lime) 18%, var(--surface-2)); color: var(--text); border: 1px solid color-mix(in srgb, var(--lime) 45%, var(--line)); max-width: 100%; }
.card .card-timer.starts { background: var(--surface-2); border-color: var(--line-2); color: var(--text-2); }
.card .card-timer .countdown.minimal { font-size: 11px; font-weight: 800; }
.card .card-timer svg { color: var(--lime-dark); flex: none; }
html[data-theme="dark"] .card .card-timer svg { color: var(--lime); }
.card .actions { display: flex; gap: 8px; margin-top: 8px; }
.card .actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; }
.card .actions .btn.view { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.card .actions .btn.view svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 640px) {
  .card .actions .btn.view { flex: 0 0 44px; width: 44px; padding: 10px 0; }
  .card .actions .btn.view span { display: none; }
  .card .actions .btn-primary { padding: 10px 8px; }
  .price .av { flex-wrap: wrap; gap: 0 6px; }
  .price .av small { flex-basis: 100%; }
}
.card .quick-gift { font-size: 12px; color: #ff3d81; font-weight: 700; }

/* ---- product carousel ---- */
.carousel { position: relative; }
.carousel .track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .track > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .carousel .track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 640px) { .carousel .track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; } }
.carousel .cnav { position: absolute; top: 40%; width: 40px; height: 40px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; z-index: 3; }
.carousel .cnav.prev { left: -12px; } .carousel .cnav.next { right: -12px; }
.carousel .cnav svg { width: 18px; height: 18px; }

/* ---- campaign block ---- */
.campaign-block { background: var(--ink); color: #fff; border-radius: 24px; padding: 28px; overflow: hidden; position: relative; }
a.campaign-block { transition: transform .15s, box-shadow .15s; }
a.campaign-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
a.campaign-block.soon { background: linear-gradient(135deg, #1a1d24, #2b2f3a); }
.campaign-block::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(180,255,0,.35), transparent 60%); pointer-events: none; }
.campaign-block .head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; position: relative; }
.campaign-block h2 { margin: 0; color: #fff; }
.campaign-block .card { background: #fff; color: var(--ink); border-color: transparent; }
html[data-theme="dark"] .campaign-block .card { background: var(--surface); color: var(--text); }
.countdown { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown .unit { min-width: 46px; padding: 8px 6px; border-radius: 10px; background: var(--lime); color: var(--ink); text-align: center; font-size: 18px; line-height: 1; }
.countdown .unit small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .08em; opacity: .7; margin-top: 3px; }
.countdown .sep { opacity: .5; }
.countdown.minimal { font-size: 14px; }
.timer-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); margin-top: 8px; overflow: hidden; }
.timer-bar i { display: block; height: 100%; background: var(--lime); }

/* ---- promo banners ---- */
.banner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.banner-grid a { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--ink); color: #fff; }
.banner-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.banner-grid a:hover img { transform: scale(1.04); }
.banner-grid .cap { position: absolute; left: 20px; bottom: 18px; right: 20px; }
.banner-grid .cap b { display: block; font-size: 20px; line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.banner-grid .cap span { font-size: 13px; opacity: .85; }
.banner-wide { display: block; border-radius: 24px; overflow: hidden; }
.banner-wide img { width: 100%; }
.band { background: var(--bg-soft); }

/* ---- brand strip (endless marquee, reuses the category marquee engine) ---- */
.brands { --cols: 7; --gap: 12px; }
@media (max-width: 1100px) { .brands { --cols: 5; } } @media (max-width: 800px) { .brands { --cols: 4; } } @media (max-width: 520px) { .brands { --cols: 3; --gap: 10px; } .brands .brand-tile { padding: 8px 10px; aspect-ratio: 1.8 / 1; } .brands .brand-tile img { max-height: 36px; } }
.brands .brand-tile { aspect-ratio: 2 / 1; padding: 16px 20px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); filter: grayscale(1); opacity: .75; transition: .2s; }
.brands .brand-tile:hover { filter: none; opacity: 1; transform: none; box-shadow: var(--shadow); }
.brands .brand-tile img { position: static; width: auto; height: auto; max-width: 100%; max-height: 44px; object-fit: contain; }
html[data-theme="dark"] .brands .brand-tile { background: #fff; }

/* ---- google reviews ---- */
.greviews { background: var(--ink); color: #fff; border-radius: 24px; padding: 40px 28px; text-align: center; }
.greviews .eyebrow { letter-spacing: .2em; font-size: 12px; color: var(--text-3); text-transform: uppercase; }
.greviews h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); }
.greviews h2 em { font-style: normal; background: linear-gradient(90deg, var(--lime), #7dd3fc); -webkit-background-clip: text; color: transparent; }
.greviews .rating-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 10px 18px; border-radius: 999px; margin: 8px 0 22px; font-weight: 700; }
.greviews .track { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 14px; overflow-x: auto; scrollbar-width: none; text-align: left; padding-bottom: 6px; }
.greviews .track::-webkit-scrollbar { display: none; }
.greview { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.greview .who { display: flex; align-items: center; gap: 10px; }
.greview .avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; overflow: hidden; }
.greview .avatar img { width: 100%; height: 100%; object-fit: cover; }
.greview .g { margin-left: auto; font-weight: 800; font-size: 18px; color: #4285F4; }
.greview .text { font-size: 14px; color: rgba(255,255,255,.85); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.greview .verified { font-size: 12px; color: #4ade80; font-weight: 600; }

/* ---- shop / listing ---- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .facets { display: none; }
  .facets.open { display: block; position: fixed; left: 5%; right: 5%; top: max(6%, calc(var(--header-h) + 12px)); bottom: 6%; z-index: 120; background: var(--surface); border-radius: 22px; overflow-y: auto; padding: 18px 20px 20px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px var(--line); animation: pop .22s cubic-bezier(.2,.8,.2,1); }
  .facets-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(11,13,16,.55); backdrop-filter: blur(3px); display: none; animation: fadeIn .2s; }
  .facets-backdrop.show { display: block; }
  .subcats.on-page { display: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.facets .fhead { display: none; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.facets .fhead b { font-size: 18px; }
.facets .f-mobile { display: none; }
@media (max-width: 900px) { .facets .fhead, .facets .f-mobile { display: flex; } .facets .f-mobile { flex-direction: column; gap: 10px; padding: 10px 0 6px; border-bottom: 1px solid var(--line); } .facets .f-mobile .subcats { margin: 0; } .facets .f-mobile .select { width: 100%; } }
body.facets-open { overflow: hidden; }
.facets-backdrop { display: none; }
.facets .group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.facets .group summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.facets .group summary::-webkit-details-marker { display: none; }
.facets .group summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 18px; }
.facets .group[open] summary::after { content: "–"; }
.facets .opts { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; }
.facets .opt { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.facets .opt.sub { padding-left: 18px; font-size: 12px; color: var(--text-2); }
.facets .opt input { accent-color: var(--lime-dark); }
.facets .opt .c { margin-left: auto; color: var(--text-3); font-size: 12px; }
.facets .price-inputs { display: flex; gap: 8px; align-items: center; }
.facets .price-inputs .input { padding: 8px 10px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 600; border: 1px solid var(--line); }
.chip:hover { border-color: var(--text); }
.chip.active, .chip.lime, html[data-theme="dark"] .chip.lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.chip .x { font-weight: 800; opacity: .6; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .count { color: var(--text-2); font-size: 14px; }
.toolbar .select { width: auto; padding: 8px 36px 8px 12px; font-size: 13px; }
.cat-banner { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 22px; min-height: 180px; background: var(--ink); color: #fff; display: flex; align-items: flex-end; padding: 26px; }
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.cat-banner h1 { position: relative; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-3); margin: 14px 0; }
.breadcrumbs a:hover { color: var(--text); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pagination .active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { border-color: var(--text); }
.subcats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.subcats a { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; }
.subcats a img { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; }
.subcats a:hover { border-color: var(--text); }
.empty { text-align: center; padding: 60px 20px; color: var(--text-2); }
.loading { opacity: .5; pointer-events: none; }

/* ---- product page ---- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.pdp > * { min-width: 0; max-width: 100%; }
.pdp-info h1, .pdp-info .meta { overflow-wrap: anywhere; }
.gallery .main { width: 100%; }
.buy-row .btn-primary, .buy-row2 .btn { min-width: 0; white-space: normal; text-align: center; }
@media (max-width: 480px) { .buy-row { flex-wrap: wrap; } .buy-row .qty { width: 100%; justify-content: center; } .buy-row .btn.btn-primary { width: 100%; padding: 16px 18px; min-height: 54px; font-size: 17px; } .buy-row2 { flex-direction: column; } }
#tab-desc.prose { max-width: none; }
.gallery { position: sticky; top: calc(var(--header-total) + 20px); }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery .main { position: relative; aspect-ratio: 1/1; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; cursor: zoom-in; }
.gallery .main .badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery .thumbs button { flex: none; width: 74px; height: 74px; border-radius: 12px; border: 2px solid var(--line); background: #fff; overflow: hidden; padding: 6px; }
.gallery .thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs button.active { border-color: var(--ink); }
html[data-theme="dark"] .gallery .thumbs button.active { border-color: var(--lime); }
.pdp-info .chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pdp-info h1 { font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 8px; }
.pdp-info .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); align-items: center; margin-bottom: 14px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .now { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.pdp-price .was { color: var(--text-3); text-decoration: line-through; font-size: 18px; }
.pdp-price .save { background: var(--danger); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.after-voucher { margin-top: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdp-price b.now { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.sc-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.sc-box .btn { white-space: nowrap; }
.pdp-video { width: 100%; max-width: 100%; }
.pdp-video iframe, .pdp-video video { width: 100%; }
.after-voucher b { font-size: 22px; font-weight: 800; }
.after-voucher .tag { background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.after-voucher .tag small { font-weight: 600; opacity: .8; }
.delivery-box { margin: 18px 0; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.3); display: flex; gap: 12px; align-items: flex-start; }
.delivery-box svg { width: 24px; height: 24px; color: #16a34a; flex: none; }
.delivery-box b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #15803d; }
html[data-theme="dark"] .delivery-box b { color: #4ade80; }
.delivery-box p { margin: 2px 0 0; font-size: 14px; }
.pdp-campaign { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.pdp-campaign.live { border-color: color-mix(in srgb, var(--lime) 50%, var(--line)); background: color-mix(in srgb, var(--lime) 10%, var(--surface-2)); }
.pdp-campaign .countdown { flex-basis: 100%; margin: 2px 0 0; }   /* clock sits on its own line under the text, left-aligned */
.pdp-campaign .countdown.minimal { flex-basis: auto; margin: 0; }
.stock-line { display: flex; justify-content: space-between; font-size: 13px; margin: 14px 0 4px; }
.stock-line b { color: var(--danger); }
.stock-bar { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.stock-bar i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, #7c3aed, var(--danger)); }
.opt-group { margin: 16px 0; }
.opt-group .lbl { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.opt-group .lbl span { font-weight: 500; color: var(--text-2); }
.opts-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-btn { padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 600; background: var(--surface); display: inline-flex; align-items: center; gap: 8px; }
.opt-btn .sw { width: 16px; height: 16px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); }
.opt-btn.active { border-color: var(--ink); background: var(--ink); color: #fff; }
html[data-theme="dark"] .opt-btn.active { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.opt-btn.oos { opacity: .45; text-decoration: line-through; }
.setup { margin: 18px 0; }
.setup .lbl { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.setup .lbl span { font-weight: 500; color: var(--text-2); font-size: 13px; }
.setup-opt { display: block; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; background: var(--surface); }
.setup-opt.active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180,255,0,.35); }
html[data-theme="dark"] .setup-opt.active { border-color: var(--lime); }
.setup-opt .top { display: flex; align-items: center; gap: 10px; }
.setup-opt .radio { width: 18px; height: 18px; border-radius: 999px; border: 2px solid var(--line-2); flex: none; position: relative; }
.setup-opt.active .radio { border-color: var(--ink); } .setup-opt.active .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 999px; background: var(--ink); }
html[data-theme="dark"] .setup-opt.active .radio { border-color: var(--lime); } html[data-theme="dark"] .setup-opt.active .radio::after { background: var(--lime); }
.setup-opt .ttl { font-weight: 700; font-size: 14px; }
.setup-opt .ttl small { font-weight: 500; color: var(--text-2); margin-left: 6px; }
.setup-opt .pr { margin-left: auto; font-weight: 800; white-space: nowrap; }
.setup-opt .items { display: none; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-left: 28px; }
.setup-opt.active .items { display: flex; }
.setup-item { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 12px; font-weight: 600; cursor: pointer; background: var(--surface); }
.setup-item img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; background: #fff; }
.setup-item.active { border-color: var(--ink); background: var(--ink); color: #fff; }
html[data-theme="dark"] .setup-item.active { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.setup-item b { font-weight: 800; }
.gift-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,61,129,.08); border: 1px dashed #ff3d81; margin: 14px 0; }
.gift-banner img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; }
.gift-banner b { color: #ff3d81; }
.gift-banner s { color: var(--text-3); }
.buy-row { display: flex; gap: 10px; align-items: stretch; margin-top: 18px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; height: 50px; }
.qty button { width: 44px; height: 100%; font-size: 20px; font-weight: 600; }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 700; outline: none; }
.buy-row .btn-primary { flex: 1; font-size: 16px; padding: 0 22px; }
.buy-row2 { display: flex; gap: 10px; margin-top: 10px; }
.buy-row2 .btn { flex: 1; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.trust svg { width: 24px; height: 24px; margin: 0 auto 6px; color: var(--text-2); }
.trust b { display: block; font-size: 12px; }
.trust span { font-size: 11px; color: var(--text-3); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button { padding: 12px 16px; font-weight: 700; color: var(--text-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.active { color: var(--text); border-bottom-color: var(--lime); }
.tab-panel { display: none; } .tab-panel.active { display: block; }
.prose { max-width: 900px; line-height: 1.7; }
.prose img, .prose picture, .prose video { display: block; width: 100% !important; max-width: 100%; height: auto !important; border-radius: 12px; margin: 12px 0; }
.prose picture img { margin: 0; }
.prose iframe { max-width: 100%; }
.prose div, .prose p { max-width: 100%; width: auto !important; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 760px; }
.spec-table th { text-align: left; width: 38%; padding: 10px 12px; background: var(--surface-2); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review .who { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-2); margin-bottom: 4px; }
.review .who b { color: var(--text); }
.review .vp { font-size: 11px; color: var(--success); font-weight: 700; }
.rating-summary { display: flex; gap: 24px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.rating-summary .big { font-size: 48px; font-weight: 800; line-height: 1; }
.rating-bars { flex: 1; min-width: 220px; max-width: 360px; }
.rating-bars div { display: flex; align-items: center; gap: 8px; font-size: 12px; margin: 3px 0; }
.rating-bars i { flex: 1; height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; display: block; }
.rating-bars i b { display: block; height: 100%; background: #f5b301; }
.star-input { display: flex; gap: 4px; font-size: 26px; color: var(--line-2); cursor: pointer; }
.star-input span.on { color: #f5b301; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 0; transform: translateY(110%); transition: transform .2s; }
.sticky-bar.show { transform: none; }
.sticky-bar .in { display: flex; align-items: center; gap: 14px; }
.sticky-bar img { width: 46px; height: 46px; border-radius: 8px; object-fit: contain; background: #fff; }
.sticky-bar .t { font-weight: 600; font-size: 13px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-bar .t small { display: block; color: var(--text-2); font-weight: 500; }
.sticky-bar .p { font-weight: 800; font-size: 18px; white-space: nowrap; }
@media (max-width: 640px) { .sticky-bar .t { display: none; } .sticky-bar .in { gap: 10px; } .sticky-bar img { width: 40px; height: 40px; } .sticky-bar .p { font-size: 16px; } .sticky-bar #sticky-add { flex: 1; padding: 14px 12px; } }
.pair-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }

/* ---- cart / checkout ---- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: stretch; }
#cart-summary, #checkout-summary { position: sticky; top: calc(var(--header-total) + 20px); align-self: start; }
@media (max-width: 900px) { #cart-summary, #checkout-summary { position: static; } }
@media (max-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; } .summary { max-height: none; overflow: visible; position: static; } }
.cart-layout > * { min-width: 0; }
.cart-layout .panel, .cart-layout .summary { min-width: 0; max-width: 100%; }
.mini-line { min-width: 0; } .mini-line > div { min-width: 0; flex: 1; }
.ship-opt > div { min-width: 0; }
.pay-opt .methods { padding-left: 0; }
@media (max-width: 600px) { .panel { padding: 16px; border-radius: 14px; } .summary { padding: 16px; } .voucher-row { flex-wrap: wrap; } .voucher-row .btn { flex: 1; } }
html, body { max-width: 100%; overflow-x: clip; }  /* clip, not hidden: hidden would break position: sticky on the checkout summary */
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.cart-line .n { font-weight: 600; font-size: 14px; }
.cart-line .n small { display: block; color: var(--text-2); font-weight: 500; }
.cart-line .child { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); margin-top: 6px; padding-left: 10px; border-left: 2px solid var(--line); }
.cart-line .child .tag { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: var(--surface-2); text-transform: uppercase; }
.cart-line .child .tag.gift { background: #ff3d81; color: #fff; }
.cart-line .pr { text-align: right; font-weight: 800; }
.cart-line .pr s { display: block; color: var(--text-3); font-weight: 500; font-size: 12px; }
.cart-line .ctl { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cart-line .ctl .qty { height: 36px; } .cart-line .ctl .qty button { width: 34px; font-size: 16px; } .cart-line .ctl .qty input { width: 36px; }
.cart-line .rm { font-size: 12px; color: var(--text-3); text-decoration: underline; }
.summary { background: var(--surface-2); border-radius: 18px; padding: 22px; max-height: calc(100vh - var(--header-total) - 40px); overflow-y: auto; }
.summary h3 { margin-bottom: 14px; }
.summary .ln { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.summary .ln.total { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 800; }
.summary .ln .disc { color: var(--success); font-weight: 700; }
.inline-login { margin: 4px 0 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--lime) 50%, var(--line)); background: color-mix(in srgb, var(--lime) 8%, var(--surface-2)); }
.inline-login .il-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.inline-login .il-head svg { flex: none; margin-top: 2px; color: var(--lime-dark); }
html[data-theme="dark"] .inline-login .il-head svg { color: var(--lime); }
.inline-login .il-row { display: flex; gap: 8px; }
.inline-login .il-row .input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .inline-login .il-row { flex-wrap: wrap; } .inline-login .il-row .btn { flex: 1; } }
.pay-opt .pay-fee { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--ink); background: var(--lime); padding: 2px 8px; border-radius: 999px; }
.voucher-row { display: flex; gap: 8px; margin: 12px 0; }
.voucher-row .input { min-width: 0; flex: 1; }
.voucher-row .input { padding: 10px 12px; text-transform: uppercase; }
.applied { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.v-sugg { margin: 6px 0 14px; display: grid; gap: 8px; }
.v-sugg-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1.5px dashed color-mix(in srgb, var(--lime) 45%, var(--line-2)); border-radius: 12px; background: color-mix(in srgb, var(--lime) 6%, var(--surface)); }
.v-sugg-row.min_spend { border-color: var(--line-2); background: var(--surface); }
.v-sugg-row .v-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v-sugg-row .v-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 700; }
.v-sugg-row .v-title b { color: var(--success); white-space: nowrap; }
.v-sugg-row .v-title .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-sugg-row .v-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--text-2); }
.v-sugg-row .code { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.v-sugg-row.min_spend .v-meta .need { color: var(--warning, #d97706); font-weight: 600; }
.v-sugg-row .btn-sm { padding: 7px 12px; font-size: 12px; white-space: nowrap; }
.ship-opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; margin-bottom: 8px; cursor: pointer; background: var(--surface); }
.ship-opt.active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180,255,0,.35); }
html[data-theme="dark"] .ship-opt.active { border-color: var(--lime); }
.ship-opt input { accent-color: var(--lime-dark); }
.ship-opt b { display: block; font-size: 14px; }
.ship-opt small { color: var(--text-2); }
.ship-opt .pr { margin-left: auto; font-weight: 800; white-space: nowrap; }
.ship-opt .pr.free { color: var(--success); }
.pay-opt { display: block; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px; margin-bottom: 10px; cursor: pointer; background: var(--surface); }
.pay-opt.active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180,255,0,.35); }
html[data-theme="dark"] .pay-opt.active { border-color: var(--lime); }
.pay-opt .top { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pay-opt .methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding-left: 28px; }
.pay-opt .methods span { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.checkout-steps { display: flex; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.checkout-steps b { color: var(--text); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 18px; }
.panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.panel h3 .num { width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.mini-line { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mini-line img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.mini-line .q { color: var(--text-3); }
.mini-line .pr { margin-left: auto; font-weight: 700; white-space: nowrap; }
.success-hero { text-align: center; padding: 40px 20px 20px; }
.success-hero .ic { width: 84px; height: 84px; border-radius: 999px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.success-hero .ic svg { width: 44px; height: 44px; stroke-width: 3.5; display: block; margin: 2px 0 0 1px; }
.success-hero .ic.bad { background: var(--danger); color: #fff; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--line); border-top-color: var(--lime-dark); border-radius: 999px; animation: spin .8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.steps div { padding: 16px; border-radius: 12px; background: var(--surface-2); text-align: center; font-size: 13px; }
.steps b { display: block; font-size: 14px; margin-bottom: 4px; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
/* Thank-you page: one section after another, never side by side */
.order-stack { display: grid; gap: 14px; margin: 0 0 22px; }
.order-stack .panel { margin: 0; }
.order-stack .mini-line img { width: 56px; height: 56px; }
.order-stack .mini-line .strong { white-space: normal; }
.os-status { display: grid; gap: 0; padding: 6px 22px; }
.os-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; }
.os-row + .os-row { border-top: 1px solid var(--line); }
.os-row .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); padding-top: 4px; }
.os-row .v { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; min-width: 0; }
.os-row .v .status { white-space: nowrap; }
@media (max-width: 480px) { .os-row { grid-template-columns: 1fr; gap: 6px; padding: 12px 0; } .os-status { padding: 4px 16px; } }
.os-history { display: grid; gap: 0; }
.os-h { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.os-h:last-child { border-bottom: 0; }
.os-h .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--lime); margin-top: 6px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 25%, transparent); }
.os-h:not(:first-child) .dot { background: var(--line-2); box-shadow: none; }
.panel > .steps { margin-bottom: 4px; }

/* ---- account ---- */
.account { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
@media (max-width: 800px) { .account { grid-template-columns: 1fr; } }
.acc-nav { background: var(--surface-2); border-radius: 18px; padding: 12px; }
.acc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.acc-nav a.active, .acc-nav a:hover { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.acc-nav svg { width: 18px; height: 18px; }
.acc-nav .me { display: flex; align-items: center; gap: 10px; padding: 10px 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acc-nav .me img, .acc-nav .me .ph { width: 42px; height: 42px; border-radius: 999px; object-fit: cover; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat b { display: block; font-size: 24px; font-weight: 800; }
.stat span { font-size: 12px; color: var(--text-2); }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--surface-2); }
.status.processing { background: #dbeafe; color: #1d4ed8; } .status.shipped { background: #ede9fe; color: #6d28d9; } .status.completed { background: #dcfce7; color: #15803d; }
.status.pending_payment { background: #fef3c7; color: #b45309; } .status.cancelled, .status.failed { background: #fee2e2; color: #b91c1c; }
/* Voucher tickets (Challenger-style stub + body) */
.vc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.vc-toolbar form { margin: 0; }
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; }
@media (max-width: 420px) { .vc-grid { grid-template-columns: 1fr; } }
.vc { position: relative; display: flex; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vc .stub { flex: 0 0 116px; width: 116px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px 10px; text-align: center; position: relative; }
.vc .stub svg { width: 40px; height: 40px; color: var(--lime); }
.vc .stub .tag { font-weight: 800; font-size: 13px; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vc .stub::after { content: ""; position: absolute; top: 10px; bottom: 10px; right: 0; border-right: 2px dashed rgba(255,255,255,.55); }
.vc::before, .vc::after { content: ""; position: absolute; left: 116px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); transform: translateX(-50%); z-index: 2; }
.vc::before { top: -9px; } .vc::after { bottom: -9px; }
.vc .body { flex: 1; min-width: 0; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.vc .headline { font-size: 20px; line-height: 1.2; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.vc .headline a { color: inherit; text-decoration: none; } .vc .headline a:hover { text-decoration: underline; }
.vc a.stub { text-decoration: none; }
/* Dark mode: light ticket body on the dark page so the perforation and notches read clearly */
html[data-theme=dark] .vc { background: #e9ebef; border-color: #e9ebef; }
html[data-theme=dark] .vc .body { background: #e9ebef; color: #0B0D10; }
html[data-theme=dark] .vc .headline { color: #0B0D10; }
html[data-theme=dark] .vc .sub, html[data-theme=dark] .vc .valid, html[data-theme=dark] .vc .valid a, html[data-theme=dark] .vc .sub a { color: #3a404a; }
html[data-theme=dark] .vc .sub a { color: #0B0D10; }
html[data-theme=dark] .vc .codebox { background: #fff; color: #0B0D10; border-color: #c9ced6; }
html[data-theme=dark] .vc .codebox:hover { border-color: #0B0D10; background: #fff; }
html[data-theme=dark] .vc .codebox svg { color: #3a404a; }
html[data-theme=dark] .vc::before, html[data-theme=dark] .vc::after { background: var(--bg); border-color: var(--bg); }
html[data-theme=dark] .vc .stub::after { border-right-color: rgba(255,255,255,.7); }
.vc .sub { font-size: 13px; color: var(--text-2); margin-top: -4px; }
.vc .codebox { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--text); font: 700 15px/1 var(--mono); letter-spacing: .04em; cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.vc .codebox:hover { border-color: var(--ink); background: var(--surface-2); }
html[data-theme=dark] .vc .codebox:hover { border-color: var(--lime); }
.vc .codebox svg { width: 18px; height: 18px; color: var(--text-2); flex: 0 0 18px; }
.vc .valid { font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.vc .valid a { color: var(--text-2); text-decoration: underline; }
.vc .act { margin-top: 4px; display: flex; }
.vc .act form { margin: 0; }
.vc.used { opacity: .55; }
.vc.used .stub { background: var(--text-3); } .vc.used .stub svg { color: #fff; }
@media (max-width: 480px) { .vc .stub { flex-basis: 96px; width: 96px; padding: 16px 8px; } .vc::before, .vc::after { left: 96px; } .vc .headline { font-size: 18px; } .vc .body { padding: 14px 14px 12px; } }
.vc .sub a { color: var(--text); font-weight: 600; text-decoration: none; }
.vc .sub a:hover { text-decoration: underline; }
.voucher-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .voucher-hero { grid-template-columns: 1fr; } }
.voucher-facts { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; box-shadow: var(--shadow); }
.voucher-facts .fact { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.voucher-facts .fact:last-child { border-bottom: 0; }
.voucher-facts .k { color: var(--text-3); flex: 0 0 auto; }
.voucher-facts .val { font-weight: 600; text-align: right; }
/* legacy class kept for older templates */
.voucher-card { display: flex; border: 1.5px dashed var(--line-2); border-radius: 14px; overflow: hidden; background: var(--surface); }
.voucher-card .left { width: 110px; background: var(--ink); color: var(--lime); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px; text-align: center; }
.voucher-card .right { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.addr { border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: 14px; }
.addr .lbl { font-weight: 800; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.addr .lbl .badge { font-size: 10px; }

/* ---- service centres ---- */
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .sc-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .sc-grid { grid-template-columns: 1fr; } }
.sc { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sc .brand-h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sc .brand-h img { height: 26px; }
.sc .brand-h b { font-size: 16px; }
.sc .t { font-weight: 600; }
.sc .p { color: var(--text-2); }
.sc a.tel { color: var(--lime-dark); font-weight: 700; }
html[data-theme="dark"] .sc a.tel { color: var(--lime); }
.sc .hrs { font-size: 13px; color: var(--text-3); }

/* ---- footer ---- */
.footer { margin-top: 60px; color: #c9ced6; position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 38% 70% at 80% 40%, rgba(110,170,0,.55), transparent 70%),
    radial-gradient(ellipse 30% 60% at 42% 10%, rgba(120,30,110,.55), transparent 70%),
    radial-gradient(ellipse 25% 50% at 60% 90%, rgba(30,45,80,.6), transparent 70%),
    linear-gradient(180deg, #0B0D10 0%, #0f1216 100%); }
.footer::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: 66%; width: 3px; background: var(--lime); transform: rotate(18deg); transform-origin: center; opacity: .9; pointer-events: none; z-index: 0; box-shadow: 0 0 24px rgba(180,255,0,.5); }
.footer > .container { position: relative; z-index: 1; }
.footer .brand { padding: 48px 0 26px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
.footer .brand .about { max-width: 560px; }
.footer .brand .meta { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer .top { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 30px; padding: 30px 0; }
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .footer .top { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: block; padding: 4px 0; font-size: 14px; }
.footer li a:hover { color: var(--lime); }
.footer .fcol-h button { all: unset; cursor: default; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.footer h4.sub { margin-top: 0; }
@media (max-width: 560px) {
  .footer .top { padding: 6px 0 14px; gap: 0; }
  .footer .fcol { border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer .fcol-h { margin: 0; }
  .footer .fcol-h button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .footer .fcol-h button::after { content: ""; width: 28px; height: 28px; flex: none; border-radius: 999px; background: rgba(255,255,255,.08); background-image: linear-gradient(#B4FF00,#B4FF00), linear-gradient(#B4FF00,#B4FF00); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: transform .25s; }
  .footer .fcol.open .fcol-h button::after { transform: rotate(45deg); }
  .footer .fcol-b { display: none; padding: 0 0 18px; }
  .footer .fcol.open .fcol-b { display: block; }
  .footer .fcol-b > h4.sub { margin-top: 4px; }
}
.footer .logo img { height: 34px; margin-bottom: 14px; }
.footer .about { font-size: 14px; max-width: 360px; }
.footer .pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.footer .pay span { border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 4px 8px; font-size: 11px; font-weight: 700; color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #8a9099; }
.footer .social a { display: inline-flex; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.08); align-items: center; justify-content: center; margin-right: 6px; }
.footer .social svg { width: 18px; height: 18px; }

/* ---- floating + overlays ---- */
.admin-float { position: fixed; right: 18px; top: calc(var(--header-real, var(--header-total)) + 14px); z-index: 70; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg); border: 1px solid rgba(180,255,0,.3); opacity: .85; transition: .15s; }
.admin-float:hover { opacity: 1; color: var(--lime); transform: translateY(-1px); }
@media (max-width: 640px) { .admin-float { top: auto; bottom: 150px; right: 18px; padding: 8px 12px; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 999px; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(37,211,102,.7); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid #25D366; animation: waPulse 2.2s ease-out infinite; }
.wa-float::after { animation-delay: 1.1s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.wa-float .tip { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; transition: .2s; pointer-events: none; }
.wa-float:hover .tip { opacity: 1; }
.filter-fab { display: none; position: fixed; left: 18px; bottom: 24px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); align-items: center; gap: 8px; animation: fabIn .5s cubic-bezier(.2,.8,.2,1) both, fabBob 3s ease-in-out 1s infinite; }
.filter-fab svg { width: 18px; height: 18px; animation: fabSpin 6s linear infinite; }
html[data-theme="dark"] .filter-fab { background: var(--lime); color: var(--ink); }
@keyframes fabIn { from { transform: translateY(30px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fabBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes fabSpin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .filter-fab { display: inline-flex; } }

body.has-sticky .wa-float { bottom: 84px; }
body.has-sticky .totop { bottom: 170px; }
@media (max-width: 640px) { body.has-sticky .totop { bottom: 162px; } }
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 90; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-lg); font-size: 13px; display: none; }
.cookie.show { display: block; }
.cookie .btns { display: flex; gap: 8px; margin-top: 10px; }
.toast { position: fixed; bottom: 28px; left: 18px; right: auto; max-width: min(420px, calc(100vw - 110px)); z-index: 120; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px; display: flex; align-items: center; gap: 10px; transform: translateY(10px); opacity: 0; transition: .2s; pointer-events: none; }
.toast.show { transform: none; opacity: 1; }
.toast.error { background: var(--danger); }
.toast .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--lime); }
.modal { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal .box { position: relative; background: var(--surface); border-radius: 20px; max-width: 560px; width: 100%; padding: 26px; box-shadow: var(--shadow-lg); animation: pop .18s ease-out; overflow: hidden; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .close { position: absolute; top: 12px; right: 12px; }
.modal .box img.full { width: 100%; border-radius: 12px; }
.lightbox .box { max-width: 900px; padding: 12px; background: #fff; }
.lightbox .box img { width: 100%; height: 80vh; object-fit: contain; }
.mini-cart .panel { display: flex; flex-direction: column; }
.mini-cart .lines { flex: 1; overflow-y: auto; }
.mini-cart .foot { border-top: 1px solid var(--line); padding-top: 14px; }
.mini-cart .foot .ln { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; margin-bottom: 10px; }

/* ---- theme switch ---- */
.theme-toggle svg.sun { display: none; }
html[data-theme="dark"] .theme-toggle svg.sun { display: block; }
html[data-theme="dark"] .theme-toggle svg.moon { display: none; }
.logo .dark-only { display: none; } .logo .light-only { display: block; }
html[data-theme="dark"] .logo .dark-only { display: block; } html[data-theme="dark"] .logo .light-only { display: none; }

/* ---- decorations (seasonal) ---- */
.deco { pointer-events: none; position: fixed; inset: 0; z-index: 40; overflow: hidden; }
.deco span { position: absolute; top: -40px; font-size: 22px; animation: fall linear infinite; opacity: .9; }
@keyframes fall { to { transform: translateY(110vh) rotate(360deg); } }

/* ---- blog / pages ---- */
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card .b { padding: 16px; }
.post-card .b h3 { font-size: 17px; }
.page-hero { padding: 36px 0 10px; }
.page-hero h1 { margin-bottom: 4px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface-2); border-radius: 18px; padding: 22px; }
.contact-card div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.contact-card div:last-child { border: 0; }
.contact-card svg { width: 20px; height: 20px; color: var(--lime-dark); flex: none; }
.auth-box { max-width: 460px; margin: 30px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.auth-box h1 { font-size: 26px; }
.social-btns { display: grid; gap: 8px; margin: 14px 0; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 12px; margin: 14px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- content pages (contact, delivery, policies, legal) ---- */
.page-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 56px 0 48px; margin-bottom: 36px; isolation: isolate;
  background-image: radial-gradient(ellipse 30% 90% at 85% 30%, rgba(110,170,0,.45), transparent 70%), radial-gradient(ellipse 25% 70% at 30% 0%, rgba(120,30,110,.45), transparent 70%), linear-gradient(180deg, #0B0D10, #12151a); }
.page-band::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 70%; width: 3px; background: var(--lime); transform: rotate(18deg); opacity: .85; box-shadow: 0 0 24px rgba(180,255,0,.5); }
.page-band .container { position: relative; z-index: 1; }
.page-band .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.page-band h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; max-width: 760px; }
.page-band .lead { color: rgba(255,255,255,.78); font-size: 17px; max-width: 640px; margin: 0; }
.page-band .breadcrumbs { color: rgba(255,255,255,.55); margin: 0 0 18px; }
.page-band .breadcrumbs a:hover { color: #fff; }
.page-band .band-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 700px) { .page-band { padding: 34px 0 30px; margin-bottom: 24px; } }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-bottom: 60px; }
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; gap: 24px; } }
.side-stack { position: sticky; top: calc(var(--header-total) + 20px); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .side-stack { position: static; } }
.side-card { background: var(--surface-2); border-radius: 18px; padding: 20px; }
.side-card h4 { margin-bottom: 8px; }
.side-card p { font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.toc b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); font-size: 14px; color: var(--text-2); }
.toc a:hover, .toc a.active { border-left-color: var(--lime); color: var(--text); }

.article { max-width: 780px; font-size: 16px; line-height: 1.75; color: var(--text); }
.article > :first-child { margin-top: 0; }
.article h2 { font-size: 24px; margin: 40px 0 12px; padding-top: 6px; position: relative; scroll-margin-top: calc(var(--header-total) + 20px); }
.article h2::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--lime); margin-bottom: 12px; }
.article h3 { font-size: 18px; margin: 26px 0 8px; }
.article p { margin: 0 0 14px; color: var(--text-2); }
.article strong { color: var(--text); }
.article ul, .article ol { padding-left: 0; margin: 0 0 18px; list-style: none; }
.article li { position: relative; padding-left: 30px; margin-bottom: 8px; color: var(--text-2); }
.article ul li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 999px; background: rgba(180,255,0,.35); }
.article ul li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
html[data-theme="dark"] .article ul li::after { border-color: var(--lime); }
.article ol { counter-reset: n; }
.article ol li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.article a { color: var(--lime-dark); text-decoration: underline; } html[data-theme="dark"] .article a { color: var(--lime); }
.article img { border-radius: 14px; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.article th { background: var(--surface-2); font-weight: 600; }
.article .callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(180,255,0,.12); border: 1px solid rgba(147,212,0,.4); margin: 0 0 18px; }
.article .callout svg { width: 22px; height: 22px; flex: none; color: var(--lime-dark); }
.article .callout p { margin: 0; color: var(--text); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s; }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(180,255,0,.18); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.info-card .ic svg { width: 22px; height: 22px; color: var(--lime-dark); } html[data-theme="dark"] .info-card .ic svg { color: var(--lime); }
.info-card b { font-size: 16px; }
.info-card span, .info-card p { font-size: 14px; color: var(--text-2); margin: 0; }
.info-card .price { font-size: 22px; font-weight: 800; color: var(--text); margin-top: auto; }
.info-card .price small { font-size: 12px; font-weight: 600; color: var(--success); }
.info-card.dark { background: var(--ink); color: #fff; border-color: transparent; }
.info-card.dark span, .info-card.dark p { color: rgba(255,255,255,.75); }
.info-card.dark .price { color: var(--lime); }

.steps-vert { display: grid; gap: 14px; margin: 0 0 24px; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 16px; background: var(--surface-2); }
.step .n { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step b { display: block; font-size: 16px; margin-bottom: 2px; }
.step p { margin: 0; font-size: 14px; color: var(--text-2); }

.contact-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 560px) { .contact-tiles { grid-template-columns: 1fr; } }
.contact-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.contact-tile .ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); flex: none; }
.contact-tile .ic svg { width: 22px; height: 22px; }
.contact-tile.wa .ic { background: #25D366; color: #fff; }
.contact-tile b { display: block; font-size: 15px; }
.contact-tile span { font-size: 14px; color: var(--text-2); }
.contact-tile a.big { font-size: 17px; font-weight: 700; color: var(--text); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--text-3); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text-2); font-size: 15px; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 30px; }
.feature { padding: 22px; border-radius: 18px; background: var(--surface-2); }
.feature .num { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--lime-dark); } html[data-theme="dark"] .feature .num { color: var(--lime); }
.feature b { display: block; font-size: 17px; margin: 6px 0 6px; }
.feature p { margin: 0; font-size: 14px; color: var(--text-2); }

/* Embedded payment page (Airwallex drop-in) */
.pay-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .9fr); gap: 22px; align-items: start; margin-top: 10px; }
@media (max-width: 900px) { .pay-layout { grid-template-columns: 1fr; } .pay-summary { order: -1; position: static; } }
.pay-card { padding: 24px; }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.pay-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--success); background: rgba(22,163,74,.1); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pay-dropin { min-height: 320px; }
.pay-summary { padding: 20px; position: sticky; top: calc(var(--header-total) + 20px); }
.pay-summary .ln { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.pay-summary .ln.total { font-size: 18px; font-weight: 800; border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 10px; }
.pay-summary .ln .disc { color: var(--success); }

/* ---- Back-to-top rocket ---- */
.totop { position: fixed; right: 22px; bottom: 104px; z-index: 49; width: 54px; height: 54px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .25s, box-shadow .2s; overflow: visible; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { box-shadow: 0 0 0 4px rgba(180,255,0,.35), var(--shadow-lg); }
.totop .rocket { position: relative; width: 36px; height: 36px; display: block; transition: transform .2s; }
.totop:hover .rocket { transform: translateY(-2px); }
.totop .rocket svg { width: 36px; height: 36px; display: block; position: relative; z-index: 2; }
.totop .flame { position: absolute; left: 50%; top: 27px; width: 10px; height: 14px; margin-left: -5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(ellipse at 50% 20%, #ffffff 0%, #B4FF00 35%, #93d400 70%, rgba(147,212,0,0) 100%); opacity: 0; transform-origin: 50% 0; z-index: 1; filter: blur(.2px); }
.totop .flame.f1 { animation: flame .18s infinite alternate; }
.totop .flame.f2 { width: 7px; margin-left: -3.5px; height: 20px; animation: flame .22s .05s infinite alternate; opacity: 0; }
.totop .flame.f3 { width: 14px; margin-left: -7px; height: 10px; background: radial-gradient(ellipse at 50% 20%, rgba(180,255,0,.9) 0%, rgba(180,255,0,0) 70%); animation: flame .3s .1s infinite alternate; }
.totop:hover .flame { opacity: .9; }
@keyframes flame { from { transform: scaleY(.6) scaleX(.9); } to { transform: scaleY(1.25) scaleX(1.1); } }
.totop .smoke { position: absolute; left: 50%; top: 40px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: rgba(160,168,180,.6); opacity: 0; }
/* Launch */
.totop.launch { pointer-events: none; }
.totop.launch .rocket { animation: launch .9s cubic-bezier(.5,-.2,.8,.4) forwards; }
.totop.launch .flame { opacity: 1; animation: flame .08s infinite alternate; height: 30px; }
.totop.launch .flame.f2 { height: 40px; }
.totop.launch .smoke { animation: smoke .9s ease-out forwards; }
.totop.launch .smoke.s2 { animation-delay: .1s; margin-left: -12px; }
.totop.launch .smoke.s3 { animation-delay: .18s; margin-left: 4px; }
@keyframes launch { 0% { transform: translateY(0) scale(1); } 15% { transform: translateY(3px) scale(1.05); } 100% { transform: translateY(-110vh) scale(.6); opacity: 0; } }
@keyframes smoke { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: .8; } 100% { opacity: 0; transform: translateY(26px) scale(2.4); } }
@media (max-width: 640px) { .totop { right: 18px; bottom: 98px; width: 48px; height: 48px; } .totop .rocket, .totop .rocket svg { width: 32px; height: 32px; } .totop .flame { top: 24px; } }

/* Mobile / tablet: nothing sticks or scrolls inside its own box — every section sits in the page flow, one after another */
@media (max-width: 900px) {
  .gallery, .side-stack, .pay-summary, #cart-summary, #checkout-summary, .summary { position: static !important; top: auto !important; }
  .summary { max-height: none !important; overflow: visible !important; }
}
