/* ============================================================================
   Saarde Arvutid 2027 — dark gamer storefront
   Mobile-first. Neon cyan → magenta (from the logo ring) on near-black,
   lime for "in stock", orange kept for the main buy action.
   Motion: transform/opacity only; everything off under reduced-motion.
   ============================================================================ */

@font-face {
    font-family: "InterVariable";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/InterVariable.woff2") format("woff2");
}

:root {
    --bg: #07080d;
    --bg-2: #0b0d15;
    --surface: #10131d;
    --surface-2: #161a27;
    --surface-3: #1d2233;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    --text: #eef1f8;
    --text-soft: #aab1c4;
    --text-mute: #8a93ab; /* was #6f7891 (4.2:1 on surface); now >= 6:1, WCAG AA (31.10) */

    --cyan: #00e5ff;
    --magenta: #ff2bd6;
    --violet: #8b5cff;
    --lime: #b6ff3b;
    --orange: #ff7a1a;
    --red: #ff4d6a;

    --grad: linear-gradient(120deg, var(--cyan) 0%, var(--violet) 50%, var(--magenta) 100%);
    --glow-cyan: 0 0 0 1px rgba(0, 229, 255, 0.35), 0 0 24px rgba(0, 229, 255, 0.25);
    --glow-mag: 0 0 0 1px rgba(255, 43, 214, 0.35), 0 0 24px rgba(255, 43, 214, 0.25);

    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --font: "InterVariable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, monospace;
    --header-h: 64px;
    --ease: cubic-bezier(.2, .8, .2, 1);

    /* Legacy names some plugin/page markup still references */
    --surface-alt: var(--surface);
    --border: var(--line);
    --border-soft: var(--line);
    --brand-orange: var(--orange);
    --brand-orange-dark: var(--orange);
    --brand-blue: var(--cyan);
    --brand-cyan: var(--cyan);
    --brand-magenta: var(--magenta);
    --brand-gradient: var(--grad);
    --success: var(--lime);
    --error: var(--red);
}

/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(139, 92, 255, 0.10), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(0, 229, 255, 0.07), transparent 60%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: #7ff3ff; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 800; color: #fff; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--magenta); color: #fff; }
.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(14px, 3vw, 28px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--cyan); color: #000; padding: 8px 14px; border-radius: var(--r-sm); }
.skip-link:focus { left: 8px; }
.text-neon { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
mark { background: rgba(0, 229, 255, .18); color: #fff; border-radius: 3px; padding: 0 2px; }
hr { border: 0; border-top: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; }
.icon { flex: none; }

/* Buttons ------------------------------------------------------------------ */
.btn, .button, button.button, a.button, input[type="submit"], .wp-element-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 44px; padding: .65em 1.2em;
    font: 700 .95rem/1.1 var(--font); letter-spacing: .01em;
    color: #fff; background: var(--surface-3);
    border: 1px solid var(--line-2); border-radius: 999px;
    cursor: pointer; text-decoration: none;
    transition: transform .15s var(--ease), box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { color: #fff; border-color: var(--cyan); box-shadow: var(--glow-cyan); transform: translateY(-1px); background: var(--surface-3); }
.btn:active, .button:active { transform: translateY(0) scale(.98); }
.btn-primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .single_add_to_cart_button, .checkout-button,
.woocommerce a.button.add_to_cart_button, .wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
    background: linear-gradient(135deg, #ff8a2a, #ff4d6a) !important; color: #fff !important; border: 0 !important;
    box-shadow: 0 8px 24px -8px rgba(255, 90, 60, .6);
    border-radius: 999px !important;
}
.btn-primary:hover, .woocommerce a.button.alt:hover, .single_add_to_cart_button:hover, .woocommerce a.button.add_to_cart_button:hover { box-shadow: 0 10px 30px -6px rgba(255, 90, 60, .8) !important; }
.btn-neon { position: relative; background: #0a0c14; border: 0; isolation: isolate; }
.btn-neon::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: var(--grad); z-index: -2; background-size: 200% 200%; animation: hue 6s linear infinite; }
.btn-neon::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: #0a0c14; z-index: -1; }
.btn-neon:hover { box-shadow: var(--glow-mag); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 36px; padding: .45em .9em; font-size: .85rem; }
.btn-lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; margin-top: .75rem; }
.btn[disabled], button[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--magenta); color: #fff; font-size: .72rem; font-weight: 800; }
@keyframes hue { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Forms -------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"],
select, textarea, .input-text, .select2-container--default .select2-selection--single {
    width: 100%; min-height: 44px; padding: .6em .9em;
    font: 500 1rem var(--font); color: var(--text);
    background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm);
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, .18); }
::placeholder { color: var(--text-mute); }
label { color: var(--text-soft); font-size: .9rem; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aab1c4' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8em center; padding-right: 2.2em; }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 8, 13, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad); opacity: .55; }
.site-header[data-scrolled] { background: rgba(7, 8, 13, .92); }
.topbar { font-size: .78rem; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 1.1rem; min-height: 32px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.topbar-item { display: inline-flex; align-items: center; gap: .4em; }
.topbar-item .icon { color: var(--lime); }
.topbar-spacer { flex: 1; }
.topbar-link { color: var(--text-soft); }
.topbar-hide-sm { display: none; }
.masthead-inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "burger brand actions" "search search search"; align-items: center; gap: .6rem .75rem; padding-block: .6rem; }
.masthead-burger { grid-area: burger; display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 44px; height: 44px; padding: 0 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.masthead-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: .6rem; color: #fff; min-width: 0; }
.brand-ring { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; padding: 2px; background: var(--grad); box-shadow: 0 0 18px rgba(0, 229, 255, .35); flex: none; }
.brand-ring img { width: 100%; height: 100%; border-radius: 50%; background: #000; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong { font-size: 1.1rem; font-weight: 900; letter-spacing: -.02em; }
.brand-text strong span { margin-left: .2em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { display: none; color: var(--text-mute); font-size: .72rem; }
.masthead-search { grid-area: search; position: relative; display: flex; align-items: center; }
.masthead-search > .icon { position: absolute; z-index: 2; left: 14px; color: var(--text-mute); pointer-events: none; }
.masthead-search input[type="search"] { height: 46px; padding-left: 44px; padding-right: 52px; border-radius: 999px; background: var(--surface); border-color: var(--line-2); }
.masthead-search input[type="search"]:focus { box-shadow: var(--glow-cyan); }
.masthead-kbd { display: none; position: absolute; right: 56px; font: 600 .75rem var(--mono); color: var(--text-mute); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; }
.masthead-search-submit { position: absolute; right: 4px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--grad); color: #000; cursor: pointer; }
.masthead-actions { grid-area: actions; display: flex; gap: .35rem; }
.masthead-action { position: relative; display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding: 0 10px; color: var(--text); border-radius: 12px; }
.masthead-action:hover { background: var(--surface); color: #fff; }
.masthead-action-label { display: none; font-weight: 600; font-size: .9rem; }
.cart-count { position: absolute; top: 3px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--magenta); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 12px rgba(255, 43, 214, .6); }
.cart-count[hidden] { display: none; }
.primary-nav { display: none; }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; }
.mobile-drawer[hidden] { display: none; }
.mobile-drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
.mobile-drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 360px); background: var(--bg-2); border-right: 1px solid var(--line); overflow-y: auto; padding: 1rem; animation: slideIn .25s var(--ease); }
@keyframes slideIn { from { transform: translateX(-100%); } }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.mobile-drawer-close { width: 44px; height: 44px; font-size: 1.6rem; background: var(--surface); color: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.mobile-drawer-nav { list-style: none; margin: 0; padding: 0; }
.mobile-drawer-nav a, .mobile-drawer-nav summary { display: block; padding: .8rem .4rem; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); cursor: pointer; }
.mobile-drawer-nav ul { list-style: none; padding: 0 0 0 .8rem; margin: 0; }
.mobile-drawer-nav ul a { font-weight: 500; color: var(--text-soft); }
.mobile-drawer-nav .is-accent { color: var(--lime); }
.mobile-drawer-divider { height: 1rem; }

@media (min-width: 768px) {
    .topbar-hide-sm { display: inline-flex; }
    .masthead-inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions"; gap: 1.25rem; padding-block: .75rem; }
    .masthead-burger { display: none; }
    .brand-text small { display: block; }
    .masthead-kbd { display: inline-block; }
    .masthead-action-label { display: inline; }
    .masthead-search { max-width: 680px; }
}
@media (min-width: 1024px) {
    .primary-nav { display: block; border-top: 1px solid var(--line); }
    .primary-nav-list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
    .primary-nav-item { position: relative; }
    .primary-nav-item > a { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem .9rem; color: var(--text-soft); font-weight: 600; font-size: .92rem; }
    .primary-nav-item > a:hover, .primary-nav-item:focus-within > a { color: #fff; }
    .primary-nav-item > a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .2s var(--ease); }
    .primary-nav-item:hover > a::after { transform: scaleX(1); }
    .primary-nav-item--accent { margin-left: auto; }
    .primary-nav-item--accent > a { color: var(--lime); }
    .mega-menu { position: absolute; top: 100%; left: 0; min-width: 280px; padding: .5rem; background: rgba(16, 19, 29, .97); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease); }
    .primary-nav-item:hover .mega-menu, .primary-nav-item:focus-within .mega-menu { opacity: 1; visibility: visible; transform: none; }
    .mega-menu ul { list-style: none; margin: 0; padding: 0; }
    .mega-menu a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-radius: 10px; color: var(--text); font-size: .92rem; }
    .mega-menu a span { color: var(--text-mute); font-size: .8rem; }
    .mega-menu a:hover { background: var(--surface-3); color: #fff; }
    .mega-all a { color: var(--cyan); }
}

/* Instant search dropdown ---------------------------------------------------- */
.has-suggest { position: relative; }
.has-suggest.is-loading::after { content: ""; position: absolute; right: 52px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--line-2); border-top-color: var(--cyan); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 150; max-height: min(70vh, 560px); overflow-y: auto; padding: .4rem; background: rgba(16, 19, 29, .98); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), var(--glow-cyan); animation: pop .15s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.suggest-group { padding: .5rem .6rem .25rem; font: 700 .7rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-mute); }
.suggest-item, .suggest-cat, .suggest-all { display: flex; align-items: center; gap: .75rem; padding: .5rem .6rem; border-radius: 10px; color: var(--text); }
.suggest-item img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.suggest-name { flex: 1; font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.suggest-meta strong { color: #fff; }
.suggest-meta em { font-style: normal; font-size: .72rem; font-weight: 700; }
.is-in { color: var(--lime); }
.is-out { color: var(--text-mute); }
.suggest-cat span { margin-left: auto; color: var(--text-mute); font-size: .8rem; }
.suggest-all { justify-content: center; margin-top: .3rem; color: var(--cyan); font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.suggest .is-active, .suggest a:hover { background: var(--surface-3); color: #fff; }
.suggest-empty { padding: 1rem; color: var(--text-soft); font-size: .92rem; }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; padding-block: clamp(3rem, 9vw, 7rem); border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 13, .96) 0%, rgba(7, 8, 13, .82) 38%, rgba(7, 8, 13, .25) 75%, rgba(7, 8, 13, .55) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-grid { position: absolute; inset: -50% -10% 0; z-index: 1; background-image: linear-gradient(rgba(0, 229, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, .09) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(700px) rotateX(62deg) translateY(30%); transform-origin: bottom; mask-image: linear-gradient(0deg, #000 10%, transparent 70%); -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 70%); animation: gridmove 6s linear infinite; }
@keyframes gridmove { to { background-position: 0 48px, 0 0; } }
.hero-orb { position: absolute; z-index: 1; width: 42vmax; height: 42vmax; border-radius: 50%; filter: blur(70px); opacity: .28; mix-blend-mode: screen; }
.hero-orb--a { background: var(--cyan); left: -14vmax; top: -16vmax; animation: float 14s ease-in-out infinite; }
.hero-orb--b { background: var(--magenta); right: -16vmax; bottom: -20vmax; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(6vmax, 4vmax) scale(1.1); } }
.hero-scan { position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); pointer-events: none; }
.hero-inner { position: relative; z-index: 3; max-width: 1360px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; padding: .35rem .8rem; font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); background: rgba(0, 229, 255, .08); border: 1px solid rgba(0, 229, 255, .25); border-radius: 999px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(182, 255, 59, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(182, 255, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(182, 255, 59, 0); } }
.hero-title { font-size: clamp(2.4rem, 8vw, 5.2rem); font-weight: 900; letter-spacing: -.045em; line-height: .98; max-width: 14ch; margin-bottom: 1.25rem; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.glitch { position: relative; display: inline-block; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hue 5s linear infinite; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text; opacity: .8; }
.glitch::before { animation: glitch 3.2s steps(2) infinite; clip-path: inset(0 0 60% 0); transform: translateX(-2px); filter: hue-rotate(40deg); }
.glitch::after { animation: glitch 2.6s steps(2) infinite reverse; clip-path: inset(55% 0 0 0); transform: translateX(2px); filter: hue-rotate(-40deg); }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 93% { transform: translate(-4px, 1px); } 95% { transform: translate(4px, -1px); } 97% { transform: translate(-2px, 0); } }
.hero-lead { max-width: 56ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-soft); margin-bottom: 1.5rem; }
.hero-search { position: relative; display: flex; align-items: center; max-width: 620px; margin-bottom: 1.25rem; }
.hero-search > .icon { position: absolute; z-index: 2; left: 18px; color: var(--text-mute); pointer-events: none; }
.hero-search input[type="search"] { height: 58px; padding-left: 50px; padding-right: 110px; font-size: 1.05rem; border-radius: 999px; background: rgba(16, 19, 29, .85); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.hero-search input[type="search"]:focus { box-shadow: var(--glow-cyan); }
.hero-search .btn { position: absolute; right: 6px; min-height: 46px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(1rem, 4vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: clamp(1.15rem, 2.5vw, 1.6rem); font-weight: 900; color: #fff; }
.hero-stats span { font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-mute); }

@media (max-width: 767px) {
    .hero-media::after { background: linear-gradient(180deg, rgba(7, 8, 13, .55) 0%, rgba(7, 8, 13, .86) 45%, var(--bg) 100%); }
    .hero-poster, .hero-video { object-position: 62% center; }
}

/* Sections ----------------------------------------------------------------- */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }
.section-link { font-weight: 700; white-space: nowrap; }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cat-tile { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.1rem 1rem; color: var(--text); background: radial-gradient(240px circle at var(--mx) var(--my), rgba(0, 229, 255, .12), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.cat-tile:hover { color: #fff; transform: translateY(-3px); border-color: rgba(0, 229, 255, .45); box-shadow: 0 16px 40px -12px rgba(0, 229, 255, .35); }
.cat-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: .4rem; color: var(--cyan); background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .2); border-radius: 14px; transition: color .2s, box-shadow .2s; }
.cat-tile:hover .cat-icon { color: var(--magenta); border-color: rgba(255, 43, 214, .4); box-shadow: 0 0 20px rgba(255, 43, 214, .35); }
.cat-name { font-weight: 800; line-height: 1.2; }
.cat-sub { font-size: .8rem; color: var(--text-mute); }
.cat-tile.is-soon { opacity: .6; }
.cat-tile.is-soon .cat-sub { font: 700 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }

.builder-band { position: relative; display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 3rem); background: linear-gradient(135deg, rgba(0, 229, 255, .08), rgba(255, 43, 214, .08)), var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.builder-band::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none; }
.builder-band p { color: var(--text-soft); max-width: 60ch; }
.builder-band-steps { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.builder-band-steps li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; font-weight: 700; font-size: .88rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; }
.builder-band-steps .icon { color: var(--cyan); }
.builder-band .btn { justify-self: start; }
@media (min-width: 1024px) { .builder-band { grid-template-columns: 1.3fr 1fr auto; align-items: center; } }

.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-grid li { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.trust-grid .icon { color: var(--lime); margin-bottom: .4rem; }
.trust-grid span { font-size: .85rem; color: var(--text-soft); }

.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Product cards (all WC loops) --------------------------------------------- */
.woocommerce ul.products, ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0 0 1.5rem !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
@media (min-width: 768px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1200px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-layout ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .shop-layout ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .shop-layout ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.woocommerce ul.products li.product, ul.products li.product {
    --mx: 50%; --my: 0%;
    position: relative; display: flex; flex-direction: column; width: auto !important; margin: 0 !important; float: none !important;
    padding: .65rem; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(139, 92, 255, .12), transparent 60%), var(--surface);
    border: 1px solid var(--line); border-radius: var(--r);
    transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
ul.products li.product:hover { transform: translateY(-4px); border-color: rgba(139, 92, 255, .5); box-shadow: 0 20px 50px -16px rgba(139, 92, 255, .45); }
ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--text); }
ul.products li.product a img { width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0 0 .65rem !important; padding: 8%; background: #fff; border-radius: 10px; transition: transform .35s var(--ease); }
ul.products li.product:hover a img { transform: scale(1.03); }
ul.products li.product .woocommerce-loop-product__title { font-size: .9rem !important; font-weight: 700; line-height: 1.3; padding: 0 !important; margin: 0 0 .4rem; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
ul.products li.product .price { order: 3; display: block; margin: auto 0 .5rem !important; font-size: 1.15rem !important; font-weight: 900; color: #fff !important; }
ul.products li.product .price del { color: var(--text-mute); font-weight: 500; font-size: .85rem; }
ul.products li.product .price ins { text-decoration: none; color: var(--lime); }
ul.products li.product .onsale { position: absolute; top: 14px; left: 14px; z-index: 2; min-height: 0; min-width: 0; margin: 0; padding: .2rem .55rem; line-height: 1.3; font-size: .72rem; font-weight: 800; border-radius: 999px; background: var(--magenta); color: #fff; box-shadow: 0 0 16px rgba(255, 43, 214, .6); }
ul.products li.product .button { display: flex !important; justify-content: center; text-align: center; width: 100%; min-height: 40px; margin: 0 !important; font-size: .85rem; }
ul.products li.product .added_to_cart { display: block; text-align: center; font-size: .8rem; padding-top: .35rem; }
.card-specs { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0 0 .55rem; padding: 0; }
.card-specs li { padding: .12rem .45rem; font: 600 .7rem/1.5 var(--mono); color: var(--cyan); background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .2); border-radius: 6px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.card-specs--lg { margin: .25rem 0 1rem; }
.card-specs--lg li { font-size: .8rem; padding: .25rem .6rem; }
.compare-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; margin-top: .45rem; padding: .35rem; font: 600 .78rem var(--font); color: var(--text-mute); background: none; border: 0; cursor: pointer; }
.compare-toggle:hover { color: #fff; }
.compare-toggle.is-on { color: var(--lime); }
.compare-toggle--single { margin: 0 0 1rem; padding: .4rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; }
ul.products li.product .star-rating { display: none; }
@media (max-width: 479px) { ul.products li.product .button { font-size: .78rem; padding-inline: .5em; } }

/* Shop archive + facets ---------------------------------------------------- */
.shop-wrap, .single-wrap { padding-block: 1rem 3rem; }
.woocommerce-breadcrumb { margin: 0 0 .75rem !important; font-size: .82rem !important; color: var(--text-mute) !important; }
.woocommerce-breadcrumb a { color: var(--text-soft) !important; }
.shop-head { margin-bottom: 1rem; }
.shop-title { margin-bottom: .3rem; }
.term-description { color: var(--text-soft); max-width: 75ch; font-size: .95rem; }
.shop-layout { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } .shop-layout.no-facets { grid-template-columns: 1fr; } }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.shop-toolbar .woocommerce-result-count { margin: 0 !important; color: var(--text-mute); font-size: .85rem; }
.shop-toolbar .woocommerce-ordering { margin: 0 0 0 auto !important; }
.shop-toolbar .woocommerce-ordering select { min-height: 40px; width: auto; font-size: .88rem; border-radius: 999px; }
.is-filtering .shop-results { opacity: .45; pointer-events: none; transition: opacity .15s; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; font-size: .82rem; font-weight: 600; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; }
.chip--active { border-color: rgba(0, 229, 255, .45); color: #fff; }
.chip--active:hover { border-color: var(--red); color: #fff; }
.chip--clear { color: var(--text-mute); background: none; }

.facets { display: flex; flex-direction: column; gap: .5rem; }
.facets-head { display: flex; align-items: center; gap: .6rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.facets-head strong { font-size: 1.05rem; }
.facets-total { color: var(--text-mute); font-size: .85rem; }
.facets-close { display: none; margin-left: auto; width: 40px; height: 40px; font-size: 1.5rem; color: #fff; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.facet { border-bottom: 1px solid var(--line); padding-block: .5rem; }
.facet summary { display: flex; justify-content: space-between; align-items: center; padding: .35rem 0; font-weight: 700; font-size: .92rem; color: #fff; cursor: pointer; list-style: none; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: "+"; font: 600 1.1rem var(--mono); color: var(--text-mute); }
.facet[open] summary::after { content: "−"; }
.facet-list { list-style: none; margin: .25rem 0 0; padding: 0; }
.facet-list.is-collapsible li:nth-child(n+8) { display: none; }
.facet-list.is-expanded li { display: list-item !important; }
.facet-opt, .facet-list--cats a { display: flex; align-items: center; gap: .6rem; min-height: 36px; padding: .2rem .35rem; color: var(--text-soft); font-size: .9rem; border-radius: 8px; }
.facet-opt:hover, .facet-list--cats a:hover { background: var(--surface-2); color: #fff; }
.facet-box { width: 18px; height: 18px; flex: none; border: 1.5px solid var(--line-2); border-radius: 5px; transition: .15s; }
.facet-opt.is-selected { color: #fff; }
.facet-opt.is-selected .facet-box { background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--cyan); box-shadow: 0 0 10px rgba(0, 229, 255, .5); }
.facet-name { flex: 1; }
.facet-count { margin-left: auto; font: 600 .75rem var(--mono); color: var(--text-mute); }
.facet-more { margin: .25rem 0 0; padding: .25rem .35rem; font: 700 .82rem var(--font); color: var(--cyan); background: none; border: 0; cursor: pointer; }
.facet--toggle { padding-block: .75rem; }
.switch { display: flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 600; font-size: .9rem; }
.switch-track { position: relative; width: 40px; height: 22px; flex: none; background: var(--surface-3); border: 1px solid var(--line-2); border-radius: 99px; transition: .2s; }
.switch-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-soft); transition: transform .2s var(--ease), background .2s; }
.switch.is-on .switch-track { background: rgba(182, 255, 59, .2); border-color: var(--lime); }
.switch.is-on .switch-thumb { transform: translateX(18px); background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.facet-price { display: flex; align-items: center; gap: .4rem; margin-top: .4rem; }
.facet-price label { flex: 1; }
.facet-price input { min-height: 38px; padding: .35em .5em; font-size: .9rem; }
.facet-price-unit { color: var(--text-mute); }
.facets-apply { display: none; }
.facets-open { display: inline-flex; }
.facets-backdrop { display: none; }
@media (max-width: 1023px) {
    .facets { position: fixed; inset: 0 0 0 auto; z-index: 210; width: min(92vw, 380px); padding: 1rem 1rem 6rem; overflow-y: auto; background: var(--bg-2); border-left: 1px solid var(--line-2); transform: translateX(105%); transition: transform .28s var(--ease); }
    .facets-open-body, body.facets-open { overflow: hidden; }
    body.facets-open .facets { transform: none; box-shadow: -30px 0 80px rgba(0, 0, 0, .6); }
    body.facets-open .facets-backdrop { display: block; position: fixed; inset: 0; z-index: 205; background: rgba(0, 0, 0, .55); }
    .facets-close { display: grid; place-items: center; }
    .facets-apply { display: flex; position: sticky; bottom: 0; margin-top: 1rem; }
}
@media (min-width: 1024px) {
    .facets { position: sticky; top: calc(var(--header-h) + 64px); max-height: calc(100vh - 140px); overflow-y: auto; padding-right: .5rem; scrollbar-width: thin; }
    .facets-open { display: none; }
}
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: .35rem; border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; padding: .55em .8em !important; border-radius: 10px; background: var(--surface); color: var(--text) !important; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--grad) !important; color: #000 !important; font-weight: 800; }
.empty-state { display: grid; justify-items: center; gap: .6rem; padding: 3rem 1rem; text-align: center; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty-state .icon { color: var(--violet); }
.empty-state p { color: var(--text-soft); }

/* Single product ----------------------------------------------------------- */
.woocommerce div.product { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; } .woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper, .woocommerce div.product div.images img { background: #fff; border-radius: var(--r); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: .5rem; margin-top: .5rem; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 64px !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 8px; opacity: .6; border: 1px solid var(--line); }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--cyan); }
.woocommerce div.product div.summary { position: relative; padding: clamp(1rem, 3vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
@media (min-width: 900px) { .woocommerce div.product div.summary { position: sticky; top: calc(var(--header-h) + 70px); } }
.woocommerce div.product .product_title { font-size: clamp(1.4rem, 3vw, 2rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 2rem !important; font-weight: 900; color: #fff !important; margin-bottom: .5rem; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--lime); }
.woocommerce div.product .stock { font-weight: 700; }
.woocommerce div.product .stock.in-stock { color: var(--lime) !important; }
.woocommerce div.product .stock.out-of-stock, .woocommerce div.product .stock.available-on-backorder { color: var(--orange) !important; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-soft); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 !important; }
.woocommerce div.product form.cart .quantity .qty { width: 80px; min-height: 52px; text-align: center; border-radius: 999px; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 1.05rem; }
.woocommerce div.product .product_meta { font-size: .82rem; color: var(--text-mute); border-top: 1px solid var(--line); padding-top: .75rem; }
.woocommerce div.product .product_meta a { color: var(--text-soft); }
.woocommerce div.product .woocommerce-tabs { margin-top: 1rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: .35rem; overflow-x: auto; padding: 0 !important; margin: 0 0 1rem !important; scrollbar-width: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: .6rem 1.1rem !important; color: var(--text-soft) !important; font-weight: 700; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #000 !important; background: var(--grad); border-color: transparent; }
.woocommerce div.product .woocommerce-tabs .panel { padding: clamp(1rem, 3vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text-soft); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.spec-table { display: grid; gap: 1rem; }
@media (min-width: 900px) { .spec-table { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.spec-table table { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec-table caption { padding: .6rem .9rem; text-align: left; font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); background: var(--surface-2); }
.spec-table th, .spec-table td { padding: .55rem .9rem; text-align: left; font-size: .9rem; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 45%; color: var(--text-mute); font-weight: 600; }
.spec-table td { color: #fff; font-weight: 600; }
.related > h2, .upsells > h2 { margin-top: 1.5rem; }

/* Compare ------------------------------------------------------------------ */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom)); background: rgba(11, 13, 21, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); box-shadow: 0 -20px 50px rgba(0, 0, 0, .5); animation: up .25s var(--ease); }
.compare-bar[hidden] { display: none; }
@keyframes up { from { transform: translateY(100%); } }
.compare-bar-inner { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
.compare-page.is-loading { opacity: .5; }
.compare-diff { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; color: var(--text); }
.compare-diff input { width: 18px; height: 18px; min-height: 0; accent-color: var(--cyan); }
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.compare-table { min-width: 640px; background: var(--surface); }
.compare-table th, .compare-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .9rem; }
.compare-table thead th { position: relative; width: 22%; }
.compare-table thead th:first-child, .compare-table tbody th { width: 18%; color: var(--text-mute); font-weight: 600; }
.compare-table thead a { display: grid; gap: .5rem; color: #fff; font-weight: 700; }
.compare-table thead img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; }
.compare-price { display: block; margin-top: .4rem; font-size: 1.15rem; color: #fff; }
.stock-in { color: var(--lime); font-size: .8rem; font-weight: 700; }
.stock-out { color: var(--text-mute); font-size: .8rem; font-weight: 700; }
.compare-remove { position: absolute; top: .5rem; right: .5rem; width: 30px; height: 30px; color: #fff; background: var(--surface-3); border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; }
.compare-table tr.differs td { color: #fff; font-weight: 700; background: rgba(139, 92, 255, .06); }
.diff-only .compare-table tbody tr:not(.differs) { display: none; }
.compare-empty { padding: 2rem; text-align: center; color: var(--text-soft); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); }

/* PC builder --------------------------------------------------------------- */
.pc-builder { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .pc-builder { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.pcb-steps { display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.pcb-step { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.pcb-step.is-picked { border-color: rgba(182, 255, 59, .45); }
.pcb-step-head { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "label label btn" "pick pick pick"; gap: .4rem .75rem; align-items: center; padding: .85rem 1rem; }
@media (min-width: 700px) { .pcb-step-head { grid-template-columns: 180px 1fr auto; grid-template-areas: "label pick btn"; } }
.pcb-step-label { grid-area: label; font-weight: 800; color: #fff; }
.pcb-step-label::before { content: counter(step, decimal-leading-zero); margin-right: .6rem; font: 700 .8rem var(--mono); color: var(--cyan); }
.pcb-step-label small { color: var(--text-mute); font-weight: 500; }
.pcb-pick { grid-area: pick; color: var(--text-mute); font-size: .9rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pcb-pick a { color: #fff; font-weight: 600; }
.pcb-pick strong { color: var(--lime); }
.pcb-step-head [data-choose] { grid-area: btn; }
.pcb-clear { width: 26px; height: 26px; color: var(--text-soft); background: var(--surface-3); border: 0; border-radius: 50%; cursor: pointer; }
.pcb-options { border-top: 1px solid var(--line); padding: .6rem; max-height: 420px; overflow-y: auto; }
.pcb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.pcb-option { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .45rem .6rem; color: var(--text); text-align: left; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font: inherit; }
.pcb-option:hover { border-color: var(--cyan); }
.pcb-option img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.pcb-option-name { flex: 1; font-size: .9rem; }
.pcb-empty, .pcb-loading { padding: .75rem; color: var(--text-soft); font-size: .9rem; }
.pcb-summary { position: sticky; top: calc(var(--header-h) + 70px); display: grid; gap: .75rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.pcb-total { font-size: 1.05rem; color: var(--text-soft); }
.pcb-total strong { display: block; font-size: 2rem; font-weight: 900; color: #fff; }
.pcb-note { font-size: .82rem; color: var(--text-mute); margin: 0; }

/* Pages, prose, notices ---------------------------------------------------- */
.page-content { color: var(--text-soft); }
.page-content h1 { color: #fff; }
.page-content h2, .page-content h3, .page-content strong { color: var(--text); }
/* WCAG AA on dark (31.10): old content carries light-theme inline colours (e.g. color:#475569 = 2.6:1). */
.page-body p, .page-body li, .page-body td, .page-body .lead { color: var(--text-soft); }
.page-body [style*="color:#"], .page-body [style*="color: #"] { color: var(--text-soft) !important; }
.page-body [style*="background:#"], .page-body [style*="background: #"], .page-body .company-card {
    background: var(--surface) !important; border-color: var(--line-2) !important; color: var(--text) !important;
}
.page-body .lead { font-size: 1.125rem; line-height: 1.7; }
.page-body a { text-decoration: underline; text-underline-offset: 3px; }
.page-body table th, .page-body table td { padding: .5rem .75rem; border: 1px solid var(--line); }
.page-header { border-bottom-color: var(--line) !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
    color: var(--text) !important; background: var(--surface) !important; border: 1px solid var(--line-2) !important; border-left: 3px solid var(--cyan) !important; border-radius: var(--r) !important;
}
.woocommerce-error, .wc-block-components-notice-banner.is-error { border-left-color: var(--red) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cyan) !important; }

/* Cart & checkout (blocks) ------------------------------------------------- */
.wc-block-cart, .wc-block-checkout { color: var(--text); }
.wc-block-components-sidebar, .wc-block-components-totals-wrapper, .wp-block-woocommerce-checkout-order-summary-block { background: var(--surface); border-color: var(--line) !important; border-radius: var(--r); }
.wc-block-components-text-input input, .wc-block-components-text-input input[type], .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-combobox .wc-block-components-combobox-control input {
    background: var(--bg-2) !important; color: var(--text) !important; border-color: var(--line-2) !important; border-radius: var(--r-sm) !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select__label, .wc-block-components-combobox label { color: var(--text-mute) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--line-2) !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--cyan) !important; }
.wc-block-components-radio-control__input { background: var(--bg-2) !important; border-color: var(--line-2) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--cyan) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background: var(--bg-2); border-color: var(--line-2); }
.wc-block-components-order-summary-item__image img, .wc-block-cart-item__image img { background: #fff; border-radius: 8px; }
.wc-block-components-product-name { color: #fff !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: #fff; font-weight: 900; }
.wc-block-components-panel__button, .wc-block-components-totals-coupon-link { color: var(--cyan) !important; }
.wc-block-components-checkout-step__title { color: #fff; }
.wc-block-components-checkout-step__container::after { border-color: var(--line) !important; }
.wc-block-components-payment-method-label img { max-height: 24px; }
/* Stripe card fields stay visible on dark: keep their iframe on a light tile. */
.wc-block-components-radio-control-accordion-content .wc-stripe-upe-element, #wc-stripe-upe-form, .wc-upe-form { padding: .75rem; background: #fff; border-radius: var(--r-sm); }

/* ESTO "Maksa pangas" bank tiles: compact 3/4/5-per-row grid comes from mu-plugin mrv-esto-tiles.php
   (workq #2130, Harri d2026-10-30-28); white tiles already read well on dark, so no theme override. */

/* My account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: .3rem; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: .6rem .9rem; color: var(--text-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: #000; background: var(--grad); }
.woocommerce table.shop_table { border-color: var(--line) !important; border-radius: var(--r) !important; background: var(--surface); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line) !important; }

/* Footer ------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; margin-top: 4rem; padding: 3rem 0 calc(1.5rem + env(safe-area-inset-bottom)); background: var(--bg-2); border-top: 1px solid var(--line); font-size: .92rem; }
.footer-glow { position: absolute; left: 50%; top: -1px; width: min(900px, 90%); height: 1px; transform: translateX(-50%); background: var(--grad); box-shadow: 0 0 40px 6px rgba(139, 92, 255, .45); }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { display: block; font-size: 1.35rem; font-weight: 900; color: #fff; margin-bottom: .6rem; }
.footer-logo span { margin-left: .2em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-brand p { color: var(--text-soft); max-width: 40ch; }
.footer-trust { display: grid; gap: .35rem; font-size: .85rem; color: var(--text-soft); }
.footer-trust strong { color: #fff; }
.stars { color: #ffc83d; letter-spacing: .05em; }
.footer-h { font: 700 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer ul a { color: var(--text-soft); }
.site-footer ul a:hover { color: #fff; }
.footer-company { margin-top: 1rem; font-size: .8rem; color: var(--text-mute); line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--text-mute); }
body:has(.compare-bar:not([hidden])) .site-footer { padding-bottom: 5rem; }

/* Cookie banner / third-party light boxes: keep readable on dark */
.cmplz-cookiebanner { background: var(--surface) !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; }

/* Reduced motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .hero-video { display: none; }
    .js-reveal .reveal { opacity: 1; transform: none; }
}
