/* DigiTrend store: every store page (home, category, product, thank-you).
 *
 * Design system (keep it consistent):
 *  - One accent: the DigiTrend logo blue. --accent for text/icons/focus on dark, --accent-strong for
 *    filled buttons (white text passes WCAG AA). Coral (--sale) is only for crossed-out prices and the
 *    % off tag. WhatsApp green only on WhatsApp buttons.
 *  - Type: Anton for display headlines (brand), Geist for everything else.
 *  - Corners: controls (buttons, inputs) 12px, cards and tiles 16px, large panels 24px,
 *    filter chips and badges are pills.
 *  - Dark theme only (brand decision).
 */
:root {
  --bg: #07090e;
  --bg-2: #0a0d14;
  --surface: #0e121b;
  --surface-2: #141a26;
  --surface-3: #1b2232;
  --line: rgba(206, 222, 255, 0.08);
  --line-2: rgba(206, 222, 255, 0.16);
  --text: #eef3fb;
  --text-2: #c3cddc;
  --muted: #8b96a8;
  --accent: #2aa0fb;
  --accent-strong: #0b6fe0;
  --accent-hover: #1680f2;
  --accent-soft: rgba(42, 160, 251, 0.12);
  --accent-line: rgba(42, 160, 251, 0.38);
  --sale: #ff7a8c;
  --sale-line: #ff3d5a;
  --sale-bg: #ff6177;
  --danger: #ff6b7d;
  --wa: #25d366;
  --good: #34d399; /* thumbs up (reviews only) */
  --bad: #ff6b7d;  /* thumbs down (reviews only) */
  --display: Anton, Impact, "Arial Narrow", sans-serif;
  --body: Geist, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-ctl: 12px;
  --r-card: 16px;
  --r-panel: 24px;
  --r-pill: 999px;
  --shadow: 0 18px 44px rgba(2, 8, 22, 0.55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1240px;
  --nav-h: 68px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 70px); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
svg { flex: none; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.grad-text { color: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: 0.005em; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--r-ctl); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, opacity 0.2s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-main { background: var(--accent-strong); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 26px rgba(11, 111, 224, 0.28); }
.btn-main:hover { background: var(--accent-hover); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(206, 222, 255, 0.26); }
.btn-wa { background: var(--wa); color: #04210f; }
.btn-wa:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-ctl); display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); transition: background 0.2s, border-color 0.2s, transform 0.15s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.11); border-color: var(--line-2); }
.icon-btn:active { transform: scale(0.96); }

/* ---------- Top bar + nav ---------- */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--text-2); text-align: center; padding: 8px 12px; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(7, 9, 14, 0.76); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 22px; }
.brand img { height: 34px; width: auto; }
.links { display: flex; gap: 2px; }
.links a { padding: 8px 12px; border-radius: var(--r-ctl); font-weight: 600; font-size: 15px; color: var(--text-2); transition: background 0.2s, color 0.2s; white-space: nowrap; }
.links a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.links a.on { color: #fff; background: rgba(255, 255, 255, 0.07); }
/* Menu group dropdown (e.g. Games ▾): opens on hover, focus or click */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-ctl); font-weight: 600; font-size: 15px; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.dd-btn svg { transition: transform 0.25s var(--ease); }
.dd-btn:hover, .dd-btn.on, .dd-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.07); color: #fff; }
.dd-menu { position: absolute; left: -8px; top: 100%; z-index: 50; width: 380px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd-btn[aria-expanded="true"] + .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd:hover .dd-btn svg, .dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-menu > * { background: var(--surface); }
.dd-all { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: var(--r-card) var(--r-card) 0 0; font-weight: 700; color: #fff; }
.dd-all small { color: var(--muted); font-weight: 500; font-size: 13px; }
.dd-all svg { margin-left: auto; color: var(--accent); }
.dd-all:hover { background: var(--surface-2); }
.dd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 8px; border: 1px solid var(--line-2); border-radius: 0 0 var(--r-card) var(--r-card); box-shadow: var(--shadow); }
.dd-grid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.dd-grid a small { color: var(--muted); font-size: 12px; font-weight: 500; }
.dd-grid a:hover, .dd-grid a.on { background: rgba(255, 255, 255, 0.07); color: #fff; }
.nav-search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.nav-search input { width: 100%; height: 42px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); padding: 0 14px 0 40px; font-size: 14px; outline: none; transition: border-color 0.2s, background 0.2s; }
.nav-search input::placeholder { color: var(--muted); }
.nav-search input:focus { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.08); }
.nav-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 12px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); font-weight: 700; font-size: 15px; transition: background 0.2s; }
.cart-btn:hover { background: rgba(255, 255, 255, 0.1); }
.cart-btn .count { position: absolute; top: -7px; left: 22px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--accent-strong); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; transform: scale(0); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.cart-btn .count.on { transform: scale(1); }
.cart-btn.bump { animation: bump 0.4s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

/* Menu button + dropdown menu (tablets and phones, where the menu links don't fit) */
.menu-btn { display: none; flex: none; width: 42px; height: 42px; place-items: center; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); transition: background 0.2s; }
.menu-btn:hover { background: rgba(255, 255, 255, 0.1); }
.menu-btn svg:last-child, .menu-btn[aria-expanded="true"] svg:first-child { display: none; }
.menu-btn[aria-expanded="true"] svg:last-child { display: block; }
.mscrim { position: fixed; inset: 0; z-index: 64; background: rgba(3, 6, 14, 0.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: tIn 0.2s ease-out; }
.mnav { position: fixed; z-index: 65; top: 0; bottom: 0; right: 0; width: min(340px, 86vw); display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line-2); box-shadow: -30px 0 80px rgba(2, 8, 22, 0.55); animation: mIn 0.32s var(--ease); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--nav-h); padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.mnav-head .brand img { height: 30px; }
.mnav-in { display: grid; align-content: start; gap: 4px; padding: 12px 12px 28px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.mnav-main { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: var(--r-ctl); font-weight: 700; font-size: 16px; transition: background 0.2s; }
.mnav-main svg:first-child { color: var(--accent); }
.mnav-main .go { margin-left: auto; color: var(--muted); }
.mnav-main:hover, .mnav-main.on { background: rgba(255, 255, 255, 0.06); }
.mnav-label { margin: 14px 12px 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mnav-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mnav-cats a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: background 0.2s, border-color 0.2s; }
.mnav-cats a:hover { background: rgba(255, 255, 255, 0.08); }
.mnav-cats a.on { background: var(--accent-soft); border-color: var(--accent-line); }
.mnav-cats small { color: var(--muted); font-size: 12px; font-weight: 500; }
.mnav-wa { width: 100%; margin-top: 18px; }
.mnav-group summary { list-style: none; cursor: pointer; }
.mnav-group summary::-webkit-details-marker { display: none; }
.mnav-group .caret { transition: transform 0.25s var(--ease); }
.mnav-group[open] .caret { transform: rotate(180deg); color: var(--accent); }
.mnav-group[open] summary { background: rgba(255, 255, 255, 0.06); }
.mnav-group .mnav-cats { padding: 8px 0 10px; }
.mnav-cats a.all { grid-column: 1 / -1; background: var(--accent-soft); border-color: var(--accent-line); color: #fff; }
@keyframes mIn { from { transform: translateX(100%); } }
@media (min-width: 1081px) { .mnav, .mscrim { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 35%; height: 150%; background: radial-gradient(closest-side, rgba(11, 111, 224, 0.22), transparent 72%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; min-height: 540px; padding: 56px 0 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.eyebrow.is-save { background: var(--accent-soft); border-color: var(--accent-line); color: #cfe8ff; }
.eyebrow.is-save svg { color: var(--accent); }
.eyebrow.is-save b { color: #fff; font-weight: 800; }
.hero h1 { font-size: clamp(56px, 7.6vw, 112px); margin: 18px 0 16px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 31em; }
.lead b { color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-btns:empty { display: none; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { color: var(--accent); }

.hero-wall { position: relative; height: 520px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: perspective(1400px) rotateY(-14deg) rotateZ(4deg); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
.wall-col { display: flex; flex-direction: column; gap: 14px; animation: wall 46s linear infinite; }
.wall-col:nth-child(2) { animation-duration: 58s; animation-direction: reverse; }
.wall-col:nth-child(3) { animation-duration: 52s; }
.wall-col img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); box-shadow: 0 14px 30px rgba(2, 8, 22, 0.5); background: var(--surface-2); }
@keyframes wall { to { transform: translateY(-50%); } }
@keyframes wallx { to { transform: translateX(-50%); } }

/* ---------- Trust bar: slides right to left (pauses on hover, still for reduced motion) ---------- */
.trust { position: relative; overflow: hidden; padding: 20px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.trust-track { display: flex; width: max-content; animation: trust 44s linear infinite; }
.trust:hover .trust-track { animation-play-state: paused; }
.trust li { flex: none; display: flex; align-items: center; gap: 12px; margin-right: 64px; }
.trust svg { color: var(--accent); }
.trust b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.trust span { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
@keyframes trust { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section.block { padding: 64px 0 0; }
.sec-title { font-size: clamp(34px, 4vw, 52px); margin-bottom: 22px; }
.page-head { padding: 34px 0 0; }
.page-head h1 { font-size: clamp(44px, 6vw, 80px); margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--text-2); font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs b { color: #fff; font-weight: 700; }
.is-list section.block#shop { padding-top: 26px; }

/* Category tiles: image grid */
.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; isolation: isolate; background: var(--surface-2); border: 1px solid var(--line); transition: border-color 0.25s, transform 0.3s var(--ease); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 14, 0) 30%, rgba(7, 9, 14, 0.92) 100%); }
.cat-tile-txt { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.cat-tile b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; text-transform: uppercase; color: #fff; }
.cat-tile small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.cat-tile:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.cat-tile:hover img { transform: scale(1.06); }

/* Deals: horizontal rail */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.rail-head .sec-title { margin-bottom: 0; }
.rail-nav { display: flex; gap: 8px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 252px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }

/* Featured: spotlight bento (cell count always matches the number of products) */
.spotlight { display: grid; gap: 16px; }
.spotlight.n1 { grid-template-columns: 1fr; }
.spotlight.n2 { grid-template-columns: 1.6fr 1fr; }
.spotlight.n3 { grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; }
.spotlight.n3 > .spot { grid-row: span 2; }
.spotlight.n4 { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; }
.spotlight.n4 > .spot, .spotlight.n4 > :nth-child(2) { grid-row: span 2; }
.spotlight.n5 { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; }
.spotlight.n5 > .spot { grid-row: span 2; }
.spot { position: relative; min-height: 420px; border-radius: var(--r-card); overflow: hidden; isolation: isolate; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: flex-end; transition: border-color 0.25s; }
.spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 14, 0.05) 20%, rgba(7, 9, 14, 0.94) 92%); }
.spot:hover { border-color: var(--accent-line); }
.spot:hover img { transform: scale(1.04); }
.spot-body { padding: 26px; width: 100%; }
.spot .tag-top { position: static; display: inline-block; margin-bottom: 12px; }
.spot-name { display: block; font-family: var(--display); font-size: clamp(32px, 3.2vw, 46px); line-height: 1; text-transform: uppercase; color: #fff; }
.spot-name:hover { color: #dff0ff; }
.spot p { color: var(--text-2); max-width: 40em; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-buy { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.spot-buy .price { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }

/* ---------- Shop toolbar + catalog grid ---------- */
.toolbar { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(7, 9, 14, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); margin: 0 -16px 22px; padding: 12px 16px; }
.toolbar-in { display: flex; align-items: center; gap: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.chip small { font-weight: 500; color: var(--muted); font-size: 12px; }
.chip:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.chip.on { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.chip.on small { color: rgba(255, 255, 255, 0.75); }
.sort { flex: none; height: 38px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text-2); padding: 0 12px; font-weight: 600; font-size: 14px; outline: none; }
.sort option { background: var(--surface); }
.result-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 16px; color: var(--muted); font-size: 14px; }
.result-info b { color: #fff; }
.result-info .clear { color: var(--accent); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s var(--ease), border-color 0.25s, box-shadow 0.3s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.card .thumb { position: relative; display: block; width: 100%; aspect-ratio: 460 / 215; background: var(--surface-2); overflow: hidden; }
.card .thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .thumb img { transform: scale(1.05); }
.card .thumb .fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; padding: 10px; text-align: center; font-family: var(--display); font-size: 22px; line-height: 1.05; text-transform: uppercase; color: var(--text-2); }
.tag-top { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 3px 9px; border-radius: var(--r-pill); background: rgba(7, 9, 14, 0.82); backdrop-filter: blur(6px); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; border: 1px solid var(--line-2); }
.off-tag { position: absolute; right: 10px; top: 10px; z-index: 2; padding: 3px 8px; border-radius: var(--r-pill); background: var(--sale-bg); color: #1d0408; font-size: 12px; font-weight: 800; }
.card .body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card .name { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card .name:hover { color: var(--accent); }
.card .meta { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.card .price { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.add { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s; }
.add:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.add:active { transform: scale(0.97); }
.add.in { background: var(--accent-soft); border-color: var(--accent-line); color: #cfe8ff; }
.add.in:hover { background: rgba(255, 107, 125, 0.14); border-color: rgba(255, 107, 125, 0.45); color: var(--danger); }
.add .lbl-rm { display: none; }
.add.in:hover .lbl-in { display: none; }
.add.in:hover .lbl-rm { display: inline; }
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; border-radius: var(--r-card); border: 1px dashed var(--line-2); color: var(--muted); }
.empty b { display: block; color: #fff; font-size: 20px; margin-bottom: 6px; }
.empty .btn { margin-top: 16px; }
.skeleton .thumb, .skeleton .sk { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.4s ease infinite; }
.skeleton .sk { height: 12px; border-radius: 6px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Original price (coral, red strike) and savings */
.card .price s, .spot-buy s, .pdp-price s, .line .t s { color: var(--sale); font-weight: 700; text-decoration: line-through; text-decoration-color: var(--sale-line); text-decoration-thickness: 2px; }
.card .price s { font-size: 14px; margin-left: 6px; }
.spot-buy s { font-size: 17px; margin-left: 8px; }
.line .t s { font-size: 13px; margin-left: 6px; }

/* ---------- Help: how it works + questions (two columns, no accordion) ---------- */
.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.how { display: grid; gap: 22px; }
.how li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.how svg { box-sizing: content-box; padding: 12px; border-radius: var(--r-ctl); background: var(--accent-soft); color: var(--accent); }
.how b { display: block; font-size: 18px; font-weight: 700; margin: 2px 0 4px; }
.how p { color: var(--muted); font-size: 15px; }
.qa > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.qa > div:first-child { padding-top: 4px; }
.qa > div:last-child { border-bottom: 0; }
.qa dt { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.qa dd { color: var(--muted); font-size: 15px; max-width: 60ch; }
.qa a { color: var(--accent); font-weight: 600; }

/* ---------- Footer ---------- */
footer { margin-top: 90px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 120px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-brand img { height: 30px; margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 32ch; }
.foot-brand .pay { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-2); font-weight: 600; }
.foot-brand .pay svg { color: var(--accent); }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--text-2); transition: color 0.2s, background 0.2s; }
.socials a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.foot-col a:hover { color: #fff; }
.legal-note { margin-top: 22px; font-size: 12.5px; color: #6c7688; max-width: 820px; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(3, 6, 14, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line-2); transform: translateX(104%); transition: transform 0.36s var(--ease); box-shadow: -30px 0 80px rgba(2, 8, 22, 0.55); }
.drawer.on { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dr-head h3 { font-size: 20px; font-weight: 800; }
.dr-items { flex: 1; overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line a { flex: none; }
.line img, .line .ph { width: 86px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--surface-2); flex: none; }
.line .t { flex: 1; min-width: 0; }
.line .t b { display: block; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line .t span { font-size: 13px; color: var(--muted); }
.line .rm { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.line .rm:hover { background: rgba(255, 107, 125, 0.12); color: var(--danger); }
.dr-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.dr-empty b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.dr-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.sum-row span { color: var(--muted); font-weight: 500; }
.sum-row b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.save-row { margin-bottom: 6px; }
.save-row span { color: var(--accent); }
.save-row b { color: var(--accent); font-size: 18px; }
.field { position: relative; margin-bottom: 10px; display: block; }
.field input { width: 100%; height: 52px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); padding: 0 16px 0 46px; font-size: 16px; outline: none; transition: border-color 0.2s; }
.field input::placeholder { color: var(--muted); }
.field input:focus { border-color: var(--accent-line); }
.field input.bad { border-color: var(--danger); }
.field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.field-hint { font-size: 12.5px; color: var(--muted); margin: -2px 0 12px; }
.dr-foot .btn { width: 100%; min-height: 56px; font-size: 17px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: center; }
.err { display: none; margin-top: 10px; padding: 10px 12px; border-radius: var(--r-ctl); background: rgba(255, 107, 125, 0.12); border: 1px solid rgba(255, 107, 125, 0.35); color: #ffc7cf; font-size: 14px; }
.err.on { display: block; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Floating bits ---------- */
.cartbar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: var(--r-card); background: rgba(14, 18, 27, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: var(--shadow); transform: translateY(140%); transition: transform 0.3s var(--ease); }
.cartbar.on { transform: none; }
.cartbar b { display: block; font-size: 15px; }
.cartbar span { font-size: 13px; color: var(--muted); }
.cartbar .btn { min-height: 46px; padding: 0 18px; }
.wa-float { position: fixed; z-index: 44; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35); transition: transform 0.2s, bottom 0.3s; }
.wa-float:hover { transform: scale(1.06); }
.toasts { position: fixed; z-index: 90; left: 50%; top: calc(var(--nav-h) + 16px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100% - 24px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-ctl); background: rgba(20, 26, 38, 0.97); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; animation: tIn 0.25s ease-out; }
.toast svg { color: var(--accent); }
.toast.out { animation: tOut 0.25s ease-in forwards; }
@keyframes tIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes tOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* ---------- Product page ---------- */
.pdp { padding-top: 26px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 18px; }
.gallery { position: sticky; top: calc(var(--nav-h) + 20px); }
.g-main { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font-family: var(--display); font-size: 40px; text-transform: uppercase; background: var(--surface-2); }
.tag-top.big { left: 14px; top: 14px; font-size: 12px; padding: 5px 11px; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.g-thumbs::-webkit-scrollbar { display: none; }
.g-thumbs button { flex: none; width: 104px; aspect-ratio: 16 / 10; border-radius: var(--r-ctl); overflow: hidden; border: 2px solid transparent; opacity: 0.65; transition: opacity 0.2s, border-color 0.2s; }
.g-thumbs button.on, .g-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.buybox .tags a { padding: 5px 12px; border-radius: var(--r-pill); background: var(--accent-soft); border: 1px solid var(--accent-line); color: #cfe8ff; font-size: 13px; font-weight: 600; }
.buybox h1 { font-size: clamp(40px, 4.6vw, 64px); margin-bottom: 14px; }
.buybox .lead { max-width: none; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.pdp-price b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; }
.pdp-price s { font-size: 30px; }
.pdp-price .off { padding: 4px 10px; border-radius: var(--r-pill); background: var(--sale-bg); color: #1d0408; font-weight: 800; font-size: 15px; }
.pdp-save { color: var(--accent); font-weight: 600; font-size: 15px; margin: 0 0 20px; }
.pdp-actions .btn { width: 100%; min-height: 60px; font-size: 18px; }
.buybox .perks { display: grid; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.buybox .perks > div { display: flex; gap: 14px; align-items: center; }
.buybox .perks svg { color: var(--accent); }
.buybox .perks span { font-size: 14px; color: var(--muted); }
.buybox .perks b { display: block; color: #fff; font-size: 15px; }
.pdp-desc { margin-top: 64px; max-width: 860px; }
.pdp-desc h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 18px; }
.rich { color: var(--text-2); font-size: 16.5px; line-height: 1.7; }
.rich p { margin-bottom: 14px; }
.rich ul { margin: 0 0 16px 20px; list-style: disc; }
.rich li { margin-bottom: 6px; }
.rich b { color: #fff; }
.rich a { color: var(--accent); text-decoration: underline; }
.notfound { text-align: center; padding: 90px 0 40px; }
.notfound h1 { font-size: clamp(56px, 10vw, 110px); margin-bottom: 12px; }
.notfound .lead { margin: 0 auto 26px; }

/* ---------- Thank-you page ---------- */
.is-thanks main.ty { width: min(620px, calc(100% - 32px)); margin: 0 auto; padding: 50px 0 20px; text-align: center; }
.ty-icon { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: var(--r-panel); display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); }
.ty-icon.ok { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); animation: pop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.ty-icon .spin { width: 38px; height: 38px; border-width: 4px; border-color: rgba(255, 255, 255, 0.18); border-top-color: var(--accent); }
.ty h1 { font-size: clamp(46px, 9vw, 76px); margin-bottom: 14px; }
.ty .sub { color: var(--text-2); font-size: 18px; }
.ty .sub b { color: #fff; }
.panel { margin-top: 28px; text-align: left; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.panel-head b { color: #fff; }
.panel ul { max-height: 300px; overflow-y: auto; }
.panel li { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.panel li:last-child { border-bottom: 0; }
.panel li img, .panel li .ph { width: 72px; height: 40px; border-radius: 7px; object-fit: cover; background: var(--surface-2); flex: none; }
.tips { margin-top: 18px; display: grid; gap: 10px; text-align: left; }
.tips div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.tips svg { color: var(--accent); margin-top: 2px; }
.ty .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- In-page payment window ---------- */
.paybox { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(3, 6, 14, 0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: tIn 0.2s ease-out; }
.paybox-in { width: min(520px, 100%); height: min(820px, calc(100dvh - 40px)); display: flex; flex-direction: column; border-radius: var(--r-panel); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(2, 8, 22, 0.7); }
.paybox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); }
.paybox-head b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.paybox-head b svg { color: var(--accent); }
.paybox-head span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.paybox-frame { position: relative; flex: 1; background: #f6f7fb; }
.paybox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.25s; }
.paybox.ready .paybox-frame iframe { opacity: 1; }
.paybox.ready .paybox-loading { display: none; }
.paybox-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #4a5470; font-weight: 600; }
.paybox-loading .spin { border-color: rgba(0, 0, 0, 0.15); border-top-color: var(--accent-strong); }
.paybox-foot { padding: 10px 16px; font-size: 12.5px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
.paybox-foot a { color: var(--accent); font-weight: 600; }

/* ---------- Search suggestions (nav) ---------- */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; padding: 6px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); max-height: min(70vh, 460px); overflow-y: auto; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.suggest a:hover, .suggest a.on { background: rgba(255, 255, 255, 0.07); }
.suggest img, .suggest .ph { width: 68px; height: 32px; border-radius: 6px; object-fit: cover; background: var(--surface-2); flex: none; }
.suggest .s-t { flex: 1; min-width: 0; }
.suggest .s-t b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest .s-t small { color: var(--muted); font-size: 12px; }
.suggest .s-p { font-weight: 800; }
.suggest .s-all { justify-content: center; color: var(--accent); font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; padding-top: 12px; }

/* ---------- Section heads, tabs, see-all ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head .sec-title { margin-bottom: 0; }
.sec-sub { color: var(--muted); font-size: 16px; margin-top: 8px; max-width: 46em; }
.sec-tools { display: flex; align-items: center; gap: 14px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 15px; white-space: nowrap; }
.see-all:hover { color: #7cc4ff; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -6px 0 20px; padding: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.tab.on { background: #fff; border-color: #fff; color: #07090e; }

/* ---------- Card extras: platform line, rating, flash tag ---------- */
.card .ptags { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rate { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); min-height: 2.9em; }
.stars { display: inline-flex; gap: 2px; color: rgba(255, 255, 255, 0.18); }
.stars svg.on { color: #ffc23d; }
.stars svg.half { color: #ffc23d; -webkit-mask-image: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, 0.25) 50%); mask-image: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, 0.25) 50%); }
.tag-flash { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-strong); border-color: var(--accent-strong); }

/* ---------- Flash deals ---------- */
.flash-in { border-radius: var(--r-panel); padding: 28px; background: linear-gradient(140deg, rgba(11, 111, 224, 0.2), rgba(11, 111, 224, 0.04) 55%), var(--surface); border: 1px solid var(--accent-line); }
.countdown { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.countdown .cd-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.countdown .cd-label svg { color: var(--accent); align-self: center; }
.countdown b { min-width: 46px; padding: 6px 0; text-align: center; border-radius: 10px; background: rgba(7, 9, 14, 0.7); border: 1px solid var(--line-2); font-size: 22px; font-weight: 800; }
.countdown i { font-style: normal; font-size: 13px; color: var(--muted); margin-right: 6px; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why.n2, .why.n1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why.n5, .why.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.why li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.why.n5 li:nth-child(3n + 1), .why.n6 li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.why svg { color: var(--accent); margin-bottom: 16px; }
.why b { display: block; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 15px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.steps li { position: relative; padding: 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.step-n { display: block; font-family: var(--display); font-size: 54px; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.steps b { display: block; font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Reviews: thumbs up/down ---------- */
.thumbs-sum { display: inline-flex; align-items: center; gap: 8px; }
.thumbs-sum b { font-size: 1.15em; font-weight: 800; color: #fff; }
.thumbs-sum span { color: var(--muted); font-size: 14px; }
.thumb-up { color: var(--good); }
.thumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.thumb.is-up { color: var(--good); }
.thumb.is-down { color: var(--bad); }
.rate b { color: #fff; font-weight: 800; }

.rev-sum { display: flex; align-items: center; gap: 10px; }
.rev-sum b { font-size: 22px; font-weight: 800; }
.rev-sum span { color: var(--muted); font-size: 14px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.review blockquote { color: var(--text-2); font-size: 15.5px; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 12.5px; font-weight: 700; }
.rev-meta { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.rev-meta a { color: var(--text-2); font-weight: 600; }
.rev-meta a:hover { color: #fff; }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--muted); transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq .rich { padding: 0 0 18px; font-size: 15.5px; max-width: 70ch; }
.faq .rich p:last-child { margin-bottom: 0; }

/* ---------- Newsletter ---------- */
.news { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px; border-radius: var(--r-panel); background: radial-gradient(120% 140% at 100% 0%, rgba(11, 111, 224, 0.24), transparent 60%), var(--surface); border: 1px solid var(--line-2); }
.news-copy > svg { color: var(--accent); margin-bottom: 14px; }
.news .sec-title { margin-bottom: 0; }
.news-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.news-form .field { margin: 0; }
.news-form .btn { min-height: 52px; }
.news-msg { grid-column: 1 / -1; font-size: 14px; min-height: 1.4em; }
.news-msg.ok { color: var(--accent); font-weight: 600; }
.news-msg.bad { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Shop page filters ---------- */
.page-lead { margin-top: 12px; }
.filters { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 10px; }
.fsel { position: relative; display: block; min-width: 0; }
.fsel[hidden] { display: none; }
.fsel span { position: absolute; left: 14px; top: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.fsel select { width: 100%; height: 52px; padding: 18px 36px 4px 13px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%238b96a8'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") no-repeat right 13px center / 14px; border: 1px solid var(--line-2); color: #fff; font-weight: 600; font-size: 15px; outline: none; -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; transition: border-color 0.2s, background-color 0.2s; }
.fsel select:hover { background-color: rgba(255, 255, 255, 0.08); }
.fsel select:focus-visible { border-color: var(--accent-line); outline: 2px solid var(--accent); outline-offset: 1px; }
.fsel option, .fsel optgroup { background: var(--surface); color: var(--text); }
.fsel optgroup { font-weight: 800; }

/* ---------- Options: "From" prices, sold out, product-page picker ---------- */
.from { font-size: 0.62em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.sold { font-size: 14px; font-weight: 700; color: var(--muted); }
.card a.add { text-decoration: none; }
.opts { border: 0; margin: 22px 0 6px; display: grid; gap: 10px; }
.opts legend { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.opt-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.opt-card:hover { background: rgba(255, 255, 255, 0.06); }
.opt-card input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 2px solid var(--line-2); background: transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.opt-card input:checked { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--accent); }
.opt-card:has(input:checked) { border-color: var(--accent-line); background: var(--accent-soft); }
.opt-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-main { flex: 1; min-width: 0; }
.opt-main b { display: block; font-size: 16px; }
.opt-main small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.opt-price { font-weight: 800; font-size: 18px; white-space: nowrap; }
.opt-price s { color: var(--sale); font-size: 14px; font-weight: 700; margin-left: 6px; text-decoration-color: var(--sale-line); }
.opt-card.is-out { opacity: 0.5; cursor: not-allowed; }

/* ---------- Product page extras ---------- */
.pdp-rating { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-size: 14px; color: var(--muted); }
.pdp-rating b { color: #fff; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.specs div { padding: 8px 14px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.specs dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.specs dd { font-weight: 700; font-size: 15px; }
.pdp-flash { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); border: 1px solid var(--accent-line); color: #cfe8ff; font-size: 14px; font-weight: 600; }
.pdp-flash svg { color: var(--accent); }

/* ---------- Motion: sections rise in as they enter the screen ---------- */
.will-reveal { opacity: 0; transform: translateY(24px); }
.will-reveal.revealed { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.will-reveal .cat-tile, .will-reveal .rail > .card, .will-reveal .spotlight > * { opacity: 0; transform: translateY(14px); }
.will-reveal.revealed .cat-tile, .will-reveal.revealed .rail > .card, .will-reveal.revealed .spotlight > * { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.will-reveal.revealed :is(.cat-tile, .rail > .card, .spotlight > *):nth-child(2) { transition-delay: 0.06s; }
.will-reveal.revealed :is(.cat-tile, .rail > .card, .spotlight > *):nth-child(3) { transition-delay: 0.12s; }
.will-reveal.revealed :is(.cat-tile, .rail > .card, .spotlight > *):nth-child(4) { transition-delay: 0.18s; }
.will-reveal.revealed :is(.cat-tile, .rail > .card, .spotlight > *):nth-child(5) { transition-delay: 0.24s; }
.will-reveal.revealed :is(.cat-tile, .rail > .card, .spotlight > *):nth-child(n + 6) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall-col { animation: none; }
  .trust-track { animation: none; width: auto; flex-wrap: wrap; row-gap: 12px; }
  .trust .dup { display: none; }
  .mnav { animation: none; }
  .will-reveal, .will-reveal * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .links { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 900px) {
  .why, .why.n3, .why.n5, .why.n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why li, .why li + li { padding: 22px 18px 22px 0; border-left: 0; }
  .why li:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
  .steps, .reviews { grid-template-columns: minmax(0, 1fr); }
  .news { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 36px 0 30px; gap: 26px; }
  .hero-wall { height: 210px; grid-template-columns: repeat(4, 1fr); transform: none; gap: 10px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .wall-col { gap: 10px; }
  .help { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .pdp-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .gallery { position: static; }
  .pdp-desc { margin-top: 44px; }
  .spotlight.n3, .spotlight.n4, .spotlight.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .spotlight.n2 { grid-template-columns: minmax(0, 1fr); }
  .spotlight > .spot { grid-column: 1 / -1; grid-row: auto !important; min-height: 340px; }
  .spotlight > :nth-child(2) { grid-row: auto !important; }
  .spotlight.n4 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .topbar { font-size: 12px; }
  .nav-in { gap: 10px; }
  .brand img { height: 28px; }
  .nav-search { max-width: none; }
  .nav-search input { height: 40px; font-size: 16px; }
  .cart-btn .sum { display: none; }
  .cart-btn { padding: 0 11px; }
  /* Phone hero: bright game covers across the top, fading into the page; headline + one button below */
  .hero-in { position: static; display: block; padding: 226px 0 30px; }
  .hero-copy { position: relative; z-index: 2; }
  .eyebrow { font-size: 12.5px; padding: 5px 12px; background: rgba(7, 9, 14, 0.6); }
  .hero h1 { font-size: 54px; margin: 12px 0 10px; text-shadow: 0 2px 24px rgba(7, 9, 14, 0.6); }
  .lead { font-size: 15px; }
  .hero .lead { color: #d6deea; }
  .hero-btns { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hero-btns .btn { width: 100%; }
  .hero-checks { display: none; } /* the trust bar right below says the same on phones */
  .hero-wall { position: absolute; z-index: 0; top: -80px; left: -34%; right: -34%; height: 420px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(-10deg); mask-image: none; -webkit-mask-image: none; pointer-events: none; }
  .wall-col { gap: 10px; }
  .wall-col img { border-radius: 10px; box-shadow: 0 8px 20px rgba(2, 8, 22, 0.45); border-color: var(--line-2); }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.25) 0, rgba(7, 9, 14, 0) 60px, rgba(7, 9, 14, 0.1) 120px, rgba(7, 9, 14, 0.7) 190px, rgba(7, 9, 14, 0.94) 250px, var(--bg) 300px); }
  .hero::before { display: none; }
  /* Trust bar: compact sliding line */
  .trust { padding: 13px 0; }
  .trust-track { animation-duration: 30s; }
  .trust li { gap: 8px; margin-right: 32px; }
  .trust svg { width: 18px; height: 18px; }
  .trust b { font-size: 13px; }
  .trust span { display: none; }
  .menu-btn { width: 40px; height: 40px; }
  .mnav-main { padding: 13px 10px; }
  section.block { padding-top: 48px; }
  .sec-title { margin-bottom: 16px; }
  /* Category tiles: 2 per row */
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile-txt { left: 12px; right: 12px; bottom: 10px; }
  .cat-tile small { font-size: 12px; }
  .cat-tile b { font-size: 21px; }
  .rail-nav { display: none; }
  .sec-head { margin-bottom: 16px; }
  .sec-sub { font-size: 14.5px; }
  .see-all { font-size: 14px; }
  .flash-in { padding: 20px 16px; margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .countdown b { min-width: 36px; font-size: 18px; }
  .countdown .cd-label { margin-right: 4px; }
  .why, .why.n2, .why.n3, .why.n5, .why.n6 { grid-template-columns: minmax(0, 1fr); }
  .why li, .why li + li, .why li:nth-child(2n) { padding: 18px 0; border-left: 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
  .why svg { margin: 2px 0 0; grid-row: span 2; }
  .why b { font-size: 16px; margin-bottom: 2px; }
  .step-n { font-size: 40px; margin-bottom: 8px; }
  .steps li { padding: 20px; }
  .faq summary { font-size: 15.5px; padding: 16px 0; }
  .news { padding: 22px 18px; gap: 18px; }
  .news-form { grid-template-columns: minmax(0, 1fr); }
  .news-form .btn { width: 100%; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .filters .fsel:first-child { grid-column: 1 / -1; }
  .fsel select { height: 48px; font-size: 14.5px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .suggest { position: fixed; left: 8px; right: 8px; }
  .rail { grid-auto-columns: 62%; margin: 0 -16px; padding: 4px 16px 8px; scroll-padding-left: 16px; }
  .spot { min-height: 300px; }
  .spot-body { padding: 18px; }
  .spot p { font-size: 14.5px; }
  .toolbar-in { flex-direction: column; align-items: stretch; gap: 10px; }
  .grid, .spotlight.n3, .spotlight.n4, .spotlight.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card .body { padding: 10px 10px 12px; }
  .card .name { font-size: 13.5px; }
  .card .meta { font-size: 11.5px; }
  .card .foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .card .price { font-size: 16px; }
  .card .price s { font-size: 13px; margin-left: 4px; }
  .off-tag { right: 6px; top: 6px; font-size: 11px; padding: 2px 7px; }
  .add { justify-content: center; height: 36px; font-size: 13px; }
  .help { gap: 40px; }
  .pdp-price b { font-size: 52px; }
  .g-thumbs button { width: 84px; }
  .cartbar { display: flex; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  body.has-cart .wa-float { bottom: 90px; }
  .paybox { padding: 0; }
  .paybox-in { width: 100%; height: 100%; border-radius: 0; border: 0; }
}
/* Single-image products (designed graphics with their own text): zoom into the right side so
   their text stays out from under the tile label. */
.cat-tile img.fit-end { object-position: right center; transform: scale(1.75); transform-origin: right center; }
.cat-tile:hover img.fit-end { transform: scale(1.82); }
/* ---------- Buyer review page (/review/) ---------- */
.rv-page { max-width: 760px; padding: 40px 0 20px; }
.rv-head h1 { font-size: clamp(44px, 7vw, 72px); margin: 16px 0 12px; }
.rv-msg { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 14px 16px; border-radius: var(--r-card); font-weight: 600; }
.rv-msg.ok { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.4); color: #b6f5dc; }
.rv-msg.ok svg { color: var(--good); }
.rv-msg.bad { background: rgba(255, 107, 125, 0.12); border: 1px solid rgba(255, 107, 125, 0.35); color: #ffc7cf; }
.rv-form { display: grid; gap: 14px; margin-top: 28px; }
.rv-item { border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--surface); padding: 18px; display: grid; gap: 14px; min-width: 0; }
.rv-prod { display: flex; align-items: center; gap: 14px; }
.rv-prod img { width: 92px; height: 43px; object-fit: cover; border-radius: 8px; }
.rv-prod b { font-size: 17px; }
.rv-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rv-thumbs label { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-weight: 700; cursor: pointer; color: var(--text-2); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.rv-thumbs input { position: absolute; opacity: 0; pointer-events: none; }
.rv-thumbs label:hover { background: rgba(255, 255, 255, 0.08); }
.rv-up:has(input:checked) { background: rgba(52, 211, 153, 0.14); border-color: var(--good); color: var(--good); }
.rv-down:has(input:checked) { background: rgba(255, 107, 125, 0.14); border-color: var(--bad); color: var(--bad); }
.rv-thumbs label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rv-item textarea, .rv-name input { width: 100%; border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--text); font: inherit; padding: 12px 14px; outline: none; }
.rv-item textarea { min-height: 84px; resize: vertical; }
.rv-item textarea:focus, .rv-name input:focus { border-color: var(--accent-line); }
.rv-name span { display: block; font-weight: 700; margin-bottom: 6px; }
.rv-name small { color: var(--muted); font-weight: 500; }
.rv-name input { height: 50px; }
.rv-form .btn { width: 100%; min-height: 56px; font-size: 17px; }
.rv-done { display: grid; gap: 10px; margin-top: 24px; }
.rv-done > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.rv-done span:last-child { margin-left: auto; color: var(--muted); font-size: 14px; }
