/* =========================================================
   Napeiz Electronics — Storefront
   Only transform/opacity are animated, to keep scrolling smooth.
   ========================================================= */

:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #eef2f8;
    --text: #0b1424;
    --muted: #5a667b;
    --border: rgba(12, 24, 48, 0.09);
    --brand: #004378;
    --brand-2: #0a64b4;
    --accent: #12b3a8;
    --hot: #ff5d2e;
    --success: #12a150;
    --grad: linear-gradient(120deg, #19c8b9 0%, #2b8cff 55%, #6b5cff 100%);
    --grad-hot: linear-gradient(120deg, #ff8a3d, #ff3d6e);
    --tile: #ffffff;
    --shadow-sm: 0 1px 2px rgba(12, 24, 48, .06), 0 2px 8px rgba(12, 24, 48, .04);
    --shadow: 0 10px 30px -10px rgba(12, 24, 48, .18);
    --shadow-lg: 0 30px 60px -20px rgba(12, 24, 48, .30);
    --header-bg: rgba(245, 247, 251, .78);
    --radius: 20px;
    --radius-sm: 12px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --container: 1280px;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color-scheme: light;
}

[data-theme="dark"] {
    --bg: #060a13;
    --surface: #0d1422;
    --surface-2: #131c2e;
    --text: #e9eef7;
    --muted: #92a0b6;
    --border: rgba(255, 255, 255, 0.08);
    --brand: #5aa8ff;
    --brand-2: #7ab8ff;
    --tile: #f2f4f8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);
    --header-bg: rgba(6, 10, 19, .72);
    color-scheme: dark;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color .4s var(--ease), color .4s var(--ease);
}
body.locked { overflow: hidden; }
[hidden] { display: none !important; }
img, video { 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; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
    white-space: nowrap; position: relative; isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--text); color: var(--bg); box-shadow: var(--shadow); }
.btn-primary::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background: var(--grad); opacity: 0; transition: opacity .3s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px -10px rgba(43, 140, 255, .6); }
.btn-primary:hover::before { opacity: 1; }
.hero .btn-primary { background: #fff; color: #0b1424; }
.hero .btn-primary:hover { color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--border); background: var(--surface); }
.btn-outline:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-light { background: #fff; color: #0b1424; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .7); }

.icon-btn {
    width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
    background: var(--surface); border: 1px solid var(--border); font-size: 16px;
    transition: transform .25s var(--ease), background-color .25s, border-color .25s;
    position: relative; flex-shrink: 0;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--text); }

.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.eyebrow-hot { color: var(--hot); }

/* ===== ANNOUNCEMENT ===== */
.announce { background: #050912; color: rgba(255, 255, 255, .82); font-size: 13px; overflow: hidden; height: 36px; display: flex; align-items: center; }
.announce-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; padding-left: 56px; }
.announce-track span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.announce-track i { color: var(--accent); }

/* ===== HEADER ===== */
.header {
    position: sticky; top: 0; z-index: 50;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; transition: height .3s var(--ease); }
.header.scrolled .header-inner { height: 66px; }
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo-img { height: 46px; width: auto; transition: transform .3s var(--ease); }
.logo:hover .logo-img { transform: scale(1.03); }
.logo-for-dark { display: none; }
[data-theme="dark"] .logo-for-dark { display: block; }
[data-theme="dark"] .logo-for-light { display: none; }

.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--muted); transition: color .2s, background-color .2s; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface-2); }

.search { position: relative; flex: 1; max-width: 420px; margin-left: auto; }
.search input {
    width: 100%; height: 46px; border-radius: 999px; padding: 0 44px 0 46px;
    background: var(--surface); border: 1px solid var(--border); outline: none; font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(18, 179, 168, .15); }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 600 12px var(--font); color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 1px 7px; pointer-events: none; }
.search input:focus ~ .search-kbd { opacity: 0; }
.search-results {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 60;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    padding: 6px; max-height: 420px; overflow-y: auto;
    opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transform-origin: top;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.search-results.open { opacity: 1; transform: none; pointer-events: auto; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; width: 100%; text-align: left; }
.sr-item:hover, .sr-item.focused { background: var(--surface-2); }
.sr-item .thumb { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; }
.sr-item .sr-name { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item .sr-price { font-size: 13px; color: var(--muted); }
.sr-empty, .sr-all { padding: 12px; font-size: 14px; color: var(--muted); text-align: center; display: block; width: 100%; }
.sr-all { color: var(--accent); font-weight: 600; border-top: 1px solid var(--border); margin-top: 4px; }

.header-actions { display: flex; gap: 10px; align-items: center; }
#themeToggle .fa-sun { display: none; }
[data-theme="dark"] #themeToggle .fa-sun { display: block; }
[data-theme="dark"] #themeToggle .fa-moon { display: none; }
#themeToggle i { animation: spinIn .5s var(--ease); }
.cart-count {
    position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: var(--hot); color: #fff; font-size: 11px; font-weight: 700;
    display: grid; place-items: center; border: 2px solid var(--bg);
    transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
.menu-btn { display: none; }
.menu-btn span { position: absolute; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: min(92vh, 860px); display: flex; align-items: center;
    color: #fff; overflow: hidden; background: #050912; padding: 80px 0 110px;
}
.hero-media { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 70% at 85% 30%, rgba(43, 140, 255, .22), transparent 60%),
        radial-gradient(50% 60% at 10% 90%, rgba(25, 200, 185, .22), transparent 60%),
        linear-gradient(90deg, rgba(5, 9, 18, .94) 0%, rgba(5, 9, 18, .75) 45%, rgba(5, 9, 18, .35) 100%),
        linear-gradient(0deg, rgba(5, 9, 18, .9) 0%, transparent 35%);
}
.hero-grid {
    position: absolute; inset: 0; opacity: .35;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; font-weight: 500;
    color: rgba(255, 255, 255, .9);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ee6a6; box-shadow: 0 0 0 0 rgba(46, 230, 166, .7); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 800; letter-spacing: -0.035em; margin: 24px 0 22px; line-height: 1; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .75); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 44px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); max-width: 520px; }
.hero-stats strong { display: block; font: 700 clamp(28px, 3vw, 36px)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 14px; color: rgba(255, 255, 255, .6); }

.hero-spotlight { position: relative; }
.spot-glow { position: absolute; inset: 10% 5%; background: var(--grad); filter: blur(70px); opacity: .45; border-radius: 50%; animation: float 8s ease-in-out infinite; }
.spot-card {
    position: relative; border-radius: 28px; padding: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
    animation: float 7s ease-in-out infinite;
}
.spot-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.spot-tag { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--grad-hot); }
.spot-dots { display: flex; gap: 6px; }
.spot-dots button { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: width .35s var(--ease), background-color .35s; }
.spot-dots button.active { width: 22px; background: #fff; }
.spot-stage { position: relative; aspect-ratio: 1 / 1.08; }
.spot-skel { position: absolute; inset: 0; border-radius: 18px; }
.spot-slide {
    position: absolute; inset: 0; display: flex; flex-direction: column; text-align: left; width: 100%;
    opacity: 0; transform: translateX(30px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none;
}
.spot-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.spot-slide.leaving { opacity: 0; transform: translateX(-30px) scale(.98); }
.spot-slide .thumb { flex: 1; border-radius: 18px; }
.spot-slide .thumb img { padding: 24px; }
.spot-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 16px; }
.spot-info h3 { font-size: 18px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-info small { color: rgba(255, 255, 255, .6); font-size: 13px; }
.spot-price { text-align: right; flex-shrink: 0; }
.spot-price strong { display: block; font: 700 22px var(--font-display); }
.spot-price s { font-size: 13px; color: rgba(255, 255, 255, .5); }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 999px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollCue 1.8s var(--ease) infinite; }

/* ===== BRAND MARQUEE ===== */
.brands { border-bottom: 1px solid var(--border); background: var(--surface); }
.marquee { overflow: hidden; padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track button { font: 800 26px var(--font-display); letter-spacing: -0.02em; color: var(--muted); opacity: .55; text-transform: uppercase; white-space: nowrap; transition: opacity .25s, color .25s; }
.marquee-track button:hover { opacity: 1; color: var(--text); }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-tight { padding: 40px 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
.section-head.center { justify-content: center; text-align: center; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); transition: color .2s, gap .25s var(--ease); }
.link-arrow:hover { color: var(--text); gap: 12px; }

/* ===== BENTO ===== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.bento-tile { position: relative; border-radius: var(--radius); overflow: hidden; text-align: left; isolation: isolate; background: #0b1424; }
.bento-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.bento-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 9, 18, .85) 0%, rgba(5, 9, 18, .1) 60%); transition: opacity .4s; }
.bento-tile:hover img { transform: scale(1.07); }
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile-body { position: absolute; left: 24px; right: 24px; bottom: 22px; color: #fff; display: flex; flex-direction: column; }
.tile-body small { font-size: 13px; opacity: .75; }
.tile-body strong { font: 700 clamp(20px, 2vw, 26px)/1.15 var(--font-display); margin: 4px 0 8px; }
.tile-xl .tile-body strong { font-size: clamp(28px, 3vw, 40px); }
.tile-body em { font-style: normal; font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.bento-tile:hover em, .bento-tile:focus-visible em { opacity: 1; transform: none; }

/* ===== PRODUCT CARD ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card {
    position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 10px; display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
    min-width: 0; content-visibility: auto; contain-intrinsic-block-size: auto 400px;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card.enter { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }

.thumb { position: relative; background: var(--tile); border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; transition: transform .6s var(--ease), opacity .4s; opacity: 0; }
.thumb img.loaded { opacity: 1; }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa6b8; font-size: 40px; }
.thumb img.loaded + .ph { display: none; }
.card:hover .thumb img { transform: scale(1.06); }
.card .thumb { cursor: pointer; }

.badges { position: absolute; top: 18px; left: 18px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: .02em; color: #fff; }
.badge-off { background: var(--grad-hot); }
.badge-new { background: #0b1424; }
[data-theme="dark"] .badge-new { background: #2b8cff; }
.badge-out { background: #6b7280; }

.quick-add {
    position: absolute; right: 18px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; background: #0b1424; color: #fff; display: grid; place-items: center;
    opacity: 0; transform: translateY(-6px) scale(.8); transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
    top: 18px;
}
.quick-add:hover { background: var(--accent); }
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }

.card-body { padding: 14px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.card-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card-name { font: 600 15px/1.35 var(--font); margin: 4px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; cursor: pointer; }
.card-name:hover { color: var(--brand-2); }
.card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.price strong { font: 700 19px var(--font-display); display: block; letter-spacing: -0.01em; }
.price s { font-size: 13px; color: var(--muted); }
.price small { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.add-btn {
    height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: 14px;
    display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.add-btn:hover { background: var(--text); color: var(--bg); }
.add-btn:active { transform: scale(.94); }
.add-btn:disabled { opacity: .45; cursor: not-allowed; background: var(--surface-2); color: var(--muted); }
.add-btn.added { background: var(--success); color: #fff; }

/* Skeletons */
.skeleton, .skeleton-card {
    background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%);
    background-size: 300% 100%; animation: shimmer 1.4s linear infinite;
}
.skeleton-card { height: 380px; border: 0; }
.hero .skeleton { background: linear-gradient(100deg, rgba(255,255,255,.06) 30%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.06) 70%); background-size: 300% 100%; }

/* ===== DEALS CAROUSEL ===== */
.deals-meta { display: flex; align-items: center; gap: 16px; }
.countdown { display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; font-weight: 700; }
.countdown span { font-size: 13px; font-weight: 500; color: var(--muted); margin-right: 6px; }
.countdown b { background: var(--text); color: var(--bg); padding: 6px 8px; border-radius: 8px; min-width: 38px; text-align: center; font-family: var(--font-display); }
.carousel-nav { display: flex; gap: 8px; }
.carousel {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 60px) / 4)); gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 24px; margin: -8px -4px 0;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }

/* ===== TOOLBAR ===== */
.toolbar {
    position: sticky; top: 66px; z-index: 20; display: flex; gap: 14px; align-items: center; justify-content: space-between;
    padding: 12px; margin: 0 -12px 28px; border-radius: 18px;
    background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transition: box-shadow .3s;
}
.toolbar.stuck { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .4); border: 1px solid var(--border); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 30px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
    background: var(--surface); border: 1px solid var(--border); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.chip small { opacity: .55; margin-left: 4px; font-size: 12px; }
.chip:hover { border-color: var(--text); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.toolbar-selects { display: flex; gap: 10px; flex-shrink: 0; }
.select { position: relative; display: flex; align-items: center; }
.select i { position: absolute; left: 14px; font-size: 13px; color: var(--muted); pointer-events: none; }
.select select {
    appearance: none; -webkit-appearance: none; height: 42px; padding: 0 36px 0 36px; border-radius: 999px; font-size: 14px; font-weight: 500;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2392a0b6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1px solid var(--border); cursor: pointer; outline: none; max-width: 200px;
}
.select select:focus { border-color: var(--accent); }
.result-count { color: var(--muted); font-size: 15px; }
.grid-footer { display: flex; justify-content: center; margin-top: 40px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pagination:empty { display: none; }
.page-nums { display: flex; gap: 6px; align-items: center; }
.page-num, .page-step {
    height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 15px;
    background: var(--surface); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-variant-numeric: tabular-nums;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.page-num { padding: 0; }
.page-num:hover, .page-step:hover:not(:disabled) { border-color: var(--text); transform: translateY(-2px); }
.page-num.active { background: var(--text); color: var(--bg); border-color: var(--text); transform: none; }
.page-step:disabled { opacity: .4; cursor: not-allowed; }
.page-gap { min-width: 20px; text-align: center; color: var(--muted); }
.page-of { display: none; font-size: 14px; color: var(--muted); }
.empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; }
.empty i { font-size: 44px; color: var(--muted); opacity: .5; margin-bottom: 18px; }
.empty h3 { font-size: 22px; margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 20px; }

/* ===== PROMOS ===== */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; border-radius: 28px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; cursor: pointer; isolation: isolate; background: #0b1424; }
.promo img, .promo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, rgba(5, 9, 18, .9), rgba(5, 9, 18, .1) 70%); }
.promo:hover img, .promo:hover video { transform: scale(1.05); }
.promo-body { padding: 36px; color: #fff; }
.promo-body h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; margin-bottom: 20px; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 36px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { position: absolute; right: 22px; top: 14px; font: 800 64px var(--font-display); opacity: .06; }
.step-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--grad); margin-bottom: 22px; box-shadow: 0 12px 24px -10px rgba(43, 140, 255, .6); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.perks { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.perk { background: var(--surface); padding: 24px; display: flex; gap: 14px; align-items: center; }
.perk i { font-size: 22px; color: var(--accent); width: 28px; text-align: center; }
.perk strong { display: block; font-size: 15px; }
.perk span { font-size: 13px; color: var(--muted); }

/* ===== NEWSLETTER ===== */
.newsletter { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 64px; background: #070d1a; color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.newsletter-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -200px; background: var(--grad); filter: blur(90px); opacity: .55; border-radius: 50%; animation: float 10s ease-in-out infinite; }
.newsletter h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 10px; }
.newsletter p { color: rgba(255, 255, 255, .7); }
.newsletter-form { display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.newsletter-form input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 18px; color: #fff; font-size: 15px; }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter .btn-primary { background: #fff; color: #0b1424; }
.newsletter .btn-primary:hover { color: #fff; }

/* ===== FOOTER ===== */
.footer { background: #050912; color: rgba(255, 255, 255, .7); padding: 80px 0 0; margin-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer ul a, .footer ul button { transition: color .2s; text-align: left; }
.footer ul a:hover, .footer ul button:hover { color: #fff; }
.contact-list li { display: flex; gap: 12px; }
.contact-list i { color: var(--accent); margin-top: 5px; width: 16px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background-color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding: 26px 24px; font-size: 14px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.credit a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.credit a:hover { color: var(--accent); }

/* ===== FLOATING ===== */
.fab-whatsapp {
    position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 28px;
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease);
}
.fab-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2.4s ease-out infinite; }
.fab-whatsapp:hover { transform: scale(1.08) rotate(-6deg); }
.to-top {
    position: fixed; right: 30px; bottom: 92px; z-index: 40; width: 42px; height: 42px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ===== OVERLAYS ===== */
.overlay {
    position: fixed; inset: 0; z-index: 100; background: rgba(3, 6, 12, .6);
    display: grid; place-items: center; padding: 20px; overflow: hidden;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.overlay.open { opacity: 1; visibility: visible; }
.modal {
    position: relative; width: 100%; max-width: 1000px; max-height: calc(100vh - 40px); overflow-y: auto;
    background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg);
    transform: translateY(30px) scale(.97); transition: transform .45s var(--ease);
}
.overlay.open .modal { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 28px; }
.pd-gallery { position: sticky; top: 0; align-self: start; }
.pd-gallery .thumb { border-radius: 20px; }
.pd-gallery .thumb img { padding: 32px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pd-thumbs button { width: 68px; height: 68px; flex-shrink: 0; border-radius: 12px; border: 2px solid transparent; overflow: hidden; background: var(--tile); }
.pd-thumbs button.active { border-color: var(--accent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.pd-info { display: flex; flex-direction: column; padding-right: 30px; }
.pd-info h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 6px 0 10px; }
.pd-meta { font-size: 14px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.pd-meta .in { color: var(--success); font-weight: 600; }
.pd-meta .out { color: var(--hot); font-weight: 600; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.pd-price strong { font: 800 34px var(--font-display); }
.pd-price s { color: var(--muted); }
.pd-price .badge { font-size: 12px; }
.pd-desc { color: var(--muted); margin-bottom: 18px; white-space: pre-line; }
.pd-features { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.pd-features li { display: flex; gap: 10px; font-size: 15px; }
.pd-features i { color: var(--accent); margin-top: 5px; font-size: 13px; }
.pd-specs { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 20px; overflow: hidden; }
.pd-specs summary { padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.pd-specs summary::-webkit-details-marker { display: none; }
.pd-specs summary i { transition: transform .3s var(--ease); }
.pd-specs[open] summary i { transform: rotate(180deg); }
.pd-specs dl { display: grid; grid-template-columns: auto 1fr; font-size: 14px; }
.pd-specs dt, .pd-specs dd { padding: 10px 16px; border-top: 1px solid var(--border); }
.pd-specs dt { color: var(--muted); }
.pd-specs dd { font-weight: 500; }
.pd-assure { display: grid; gap: 8px; margin-bottom: 22px; }
.pd-assure div { display: flex; gap: 10px; font-size: 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); }
.pd-assure i { color: var(--accent); margin-top: 4px; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.pd-actions .btn { flex: 1; min-width: 160px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; height: 48px; }
.qty button { width: 40px; height: 100%; font-size: 18px; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.pd-skel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 28px; }
.pd-skel > div { border-radius: 20px; aspect-ratio: 1; }

/* Drawer */
.overlay-drawer { place-items: stretch end; padding: 0; }
.drawer {
    width: min(440px, 100vw); height: 100%; background: var(--surface); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .5s var(--ease); box-shadow: var(--shadow-lg);
}
.overlay.open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 22px; }
.drawer-head h3 span { color: var(--muted); font-weight: 500; font-size: 16px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--border); }
.drawer-foot:empty { display: none; }
.ci { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); animation: fadeUp .4s var(--ease) both; }
.ci .thumb { width: 76px; height: 76px; border-radius: 14px; }
.ci .thumb img { padding: 8px; }
.ci-name { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-brand { font-size: 12px; color: var(--muted); }
.ci .qty { height: 34px; margin-top: 8px; }
.ci .qty button { width: 30px; font-size: 15px; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.ci-side strong { font-family: var(--font-display); white-space: nowrap; }
.ci-remove { color: var(--muted); font-size: 13px; }
.ci-remove:hover { color: var(--hot); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cart-total strong { font: 800 26px var(--font-display); }
.cart-note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.cart-empty { text-align: center; padding: 70px 10px; }
.cart-empty .bag { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 34px; color: var(--muted); animation: float 4s ease-in-out infinite; }
.cart-empty h4 { font-size: 20px; margin-bottom: 6px; }
.cart-empty p { color: var(--muted); margin-bottom: 22px; }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
    display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
    background: #0b1424; color: #fff; box-shadow: var(--shadow-lg); animation: toastIn .45s var(--ease) both; max-width: 90vw;
}
[data-theme="dark"] .toast { background: #fff; color: #0b1424; }
.toast i { color: #2ee6a6; }
.toast.error i { color: var(--hot); }
.toast.out { animation: toastOut .3s var(--ease) both; }

/* Fly-to-cart dot */
.fly { position: fixed; z-index: 300; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); pointer-events: none; box-shadow: 0 0 20px rgba(43, 140, 255, .7); }

/* ===== REVEAL ===== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== KEYFRAMES ===== */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -150% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, .7); } 70% { box-shadow: 0 0 0 10px rgba(46, 230, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); } }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.25); } 70% { transform: scale(.92); } }
@keyframes spinIn { from { transform: rotate(-90deg) scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav { display: none; }
    .menu-btn { display: inline-grid; }
    .nav.open {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 20px 20px; box-shadow: var(--shadow);
        animation: fadeUp .3s var(--ease);
    }
    .nav.open a { padding: 14px 16px; font-size: 17px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-spotlight { max-width: 440px; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .perks { grid-template-columns: repeat(2, 1fr); }
    .carousel { grid-auto-columns: minmax(240px, calc((100% - 40px) / 3)); }
}

@media (max-width: 820px) {
    .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
    .header.scrolled .header-inner { height: auto; }
    .header-actions { margin-left: auto; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .search-kbd { display: none; }
    .logo-img { height: 38px; }
    .toolbar { top: 118px; flex-direction: column; align-items: stretch; }
    .chips { padding-right: 20px; }
    .toolbar-selects .select { flex: 1; }
    .toolbar-selects select { max-width: none; width: 100%; }
    .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 12px; }
    .tile-xl { grid-column: span 2; grid-row: span 1; }
    .tile-body em { opacity: 1; transform: none; }
    .promos { grid-template-columns: 1fr; }
    .promo { min-height: 300px; }
    .steps { grid-template-columns: 1fr; }
    .newsletter { grid-template-columns: 1fr; padding: 40px 28px; }
    .pd, .pd-skel { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .pd-info { padding-right: 0; }
    .pd-gallery { position: static; }
    .section { padding: 72px 0; }
    .carousel { grid-auto-columns: minmax(220px, 62%); }
    .deals-meta .carousel-nav { display: none; }
    .quick-add { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
    .pagination { justify-content: space-between; row-gap: 14px; }
    .page-nums { order: -1; flex-basis: 100%; justify-content: center; gap: 4px; }
    .page-num { height: 38px; min-width: 38px; font-size: 14px; }
    .page-gap { min-width: 12px; }
    .page-of { display: block; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .hero { padding: 56px 0 90px; min-height: auto; }
    .hero-stats { gap: 26px; }
    .hero-ctas .btn { flex: 1; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .card { padding: 6px; border-radius: 16px; }
    .card-body { padding: 10px 6px 6px; }
    .card-name { font-size: 14px; }
    .price strong { font-size: 16px; }
    .card-foot { flex-direction: column; align-items: stretch; }
    .add-btn { justify-content: center; height: 38px; }
    .badges { top: 12px; left: 12px; }
    .quick-add { display: none; }
    .perks { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .newsletter-form { flex-direction: column; border-radius: 22px; }
    .newsletter-form input { padding: 12px 14px; }
    .section-head { margin-bottom: 28px; }
    .overlay { padding: 0; place-items: end stretch; }
    .modal { border-radius: 24px 24px 0 0; max-height: 92vh; transform: translateY(100%); }
    .countdown span { display: none; }
    .fab-whatsapp { width: 52px; height: 52px; font-size: 25px; right: 16px; bottom: 16px; }
    .to-top { right: 21px; bottom: 80px; }
}

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