﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ══════════════════════════════════════════════════
   VILCA TECH — Premium Dark CSS
   Default: dark mode. Override with body.light
══════════════════════════════════════════════════ */

:root {
    /* Brand */
    --red:           #C8102E;
    --granate:       #C8102E;          /* alias para compatibilidad */
    --granate-dark:  #8B0A1F;
    --granate-light: #E8243E;
    --gold:          #F5C842;

    /* Backgrounds */
    --bg:            #09090f;
    --bg-card:       #0f0f1a;
    --bg-elevated:   #161622;
    --sidebar-bg:    #0f0f1a;

    /* Borders & text */
    --border:        rgba(255,255,255,0.07);
    --text:          #eeeef8;
    --text-muted:    #6868a0;

    /* Utility */
    --green-wa:      #25D366;
    --green-wa-dark: #1EA855;
    --header-h:      64px;
    --sticky-h:      64px;
    --shadow-sm:     0 1px 6px rgba(0,0,0,0.5);
    --shadow-md:     0 4px 20px rgba(0,0,0,0.7);
    --shadow-glow:   0 0 24px rgba(200,16,46,0.25);
}

/* ── RESET ───────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ── LIGHT MODE OVERRIDE ─────────────────────────── */
body.light {
    --bg:         #c8cae8;
    --bg-card:    #f5f5ff;
    --bg-elevated:#b8bade;
    --sidebar-bg: #dcdeff;
    --border:     rgba(0,0,0,0.13);
    --text:       #0f0f1a;
    --text-muted: #4848a0;
    --shadow-sm:  0 2px 10px rgba(40,40,100,0.13);
    --shadow-md:  0 4px 22px rgba(40,40,100,0.20);
    --shadow-glow:0 0 20px rgba(200,16,46,0.20);
}

body.light .card-img-wrap      { background: #eaeaf8; }
body.light .shimmer {
    background: linear-gradient(90deg, #c8cae8 25%, #b8bade 50%, #c8cae8 75%);
    background-size: 1200px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}
body.light .steps-bar          { background: #dcdeff; }
body.light .trust-card         { background: #f5f5ff; }
body.light .faq-section        { background: #dcdeff; }
body.light .faq-item p         { background: #c8cae8; }
body.light .faq-item summary:hover { background: #c8cae8; }
body.light .products-grid.view-list .product-card:hover { background: #ffffff; }
body.light .ticker-wrap        { background: #1a1a1a; }
body.light .site-header        { background: #060610; }
body.light .product-card       { background: #f5f5ff; }
body.light .sidebar            { border-right: 1px solid rgba(0,0,0,0.12); }
body.light .sidebar-search     { background: #c8cae8; border-color: rgba(0,0,0,0.15); }
body.light .sidebar-search:focus { background: #ffffff; }
body.light .sort-select        { background: #f5f5ff; }
body.light .stats-bar          { background: #dcdeff; border-color: rgba(0,0,0,0.10); }

/* ── DARK MODE (body.dark = mismo que :root) ────── */
body.dark {
    --bg:         #09090f;
    --bg-card:    #0f0f1a;
    --bg-elevated:#161622;
    --sidebar-bg: #0f0f1a;
    --border:     rgba(255,255,255,0.07);
    --text:       #eeeef8;
    --text-muted: #6868a0;
    --shadow-sm:  0 1px 6px rgba(0,0,0,0.5);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.7);
    --shadow-glow:0 0 24px rgba(200,16,46,0.25);
}

body.dark .steps-bar         { background: var(--bg-card); }
body.dark .trust-card        { background: var(--bg-card); }
body.dark .faq-section       { background: var(--bg-card); }
body.dark .card-img-wrap     { background: #111120; }
body.dark .sidebar-search:focus { background: #111120; }
body.dark .faq-item p        { background: #111120; }
body.dark .faq-item summary:hover { background: #111120; }
body.dark .products-grid.view-list .product-card:hover { background: #111120; }

body.dark .shimmer {
    background: linear-gradient(90deg, #0f0f1a 25%, #161622 50%, #0f0f1a 75%);
    background-size: 1200px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

body.dark .fav-btn,
body.dark .share-btn { background: rgba(22,22,34,0.92); color: #888; }
body.dark .fav-btn:hover,
body.dark .share-btn:hover { background: #1e1e30; }

/* ── STICKY TOP WRAPPER ──────────────────────────── */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ── HEADER ─────────────────────────────────────── */
.site-header {
    height: var(--header-h);
    background: #060610;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
}

/* Dot-grid texture */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

/* Gradient border bottom: red → gold → red */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
    pointer-events: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.logo-icon { font-size: 26px; }

.logo-name {
    font-size: clamp(13px, 3.8vw, 22px);
    font-weight: 900;
    letter-spacing: clamp(0px, 0.6vw, 3px);
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-name span { color: var(--gold); }

.dark-toggle {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    font-size: 19px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.dark-toggle:hover { background: rgba(255,255,255,0.14); }

/* ── HERO SLIM ───────────────────────────────────── */
.hero-slim {
    background: #0d0d1c;
    border-bottom: 1px solid rgba(200,16,46,0.3);
    padding: 14px 24px;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}
body.light .hero-slim {
    background: #1a1a2e;
    color: rgba(255,255,255,0.9);
}

.hero-slim strong { color: #fff; }

.hero-slim-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-counts {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    white-space: nowrap;
}

.hero-counts strong { color: var(--gold); }
.hero-sep { opacity: 0.4; }

.hero-dolar {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    border-left: 1px solid rgba(255,255,255,0.12);
    padding-left: 18px;
}
.hero-dolar strong { color: var(--gold); font-weight: 700; }

/* ── TICKER ──────────────────────────────────────── */
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-wrap {
    background: #07070e;
    display: flex;
    align-items: center;
    height: 36px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ticker-label {
    flex-shrink: 0;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-viewport {
    overflow: hidden;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll linear infinite;
    will-change: transform;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 28px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    border-right: 1px solid rgba(255,255,255,0.06);
    cursor: default;
}

.ticker-item-name  { color: rgba(255,255,255,0.85); font-weight: 500; }
.ticker-item-price { color: var(--gold); font-weight: 700; }
.ticker-dot        { color: #333; font-size: 16px; }

/* ── LAYOUT ──────────────────────────────────────── */
.layout {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    min-height: calc(100vh - var(--header-h) - 50px);
    position: relative;
}

/* ── SIDEBAR ─────────────────────────────────────── */
.sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    padding: 24px 14px;
    position: sticky;
    top: var(--sticky-h);
    height: calc(100vh - var(--sticky-h));
    overflow-y: auto;
}

.sidebar-close { display: none; }

.sidebar-section { margin-bottom: 28px; }

.sidebar-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

/* Busqueda sidebar */
.sidebar-search {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}

.sidebar-search:focus {
    border-color: var(--red);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(200,16,46,0.15);
}

/* Filtros de lista */
.filter-list { display: flex; flex-direction: column; gap: 2px; }

.filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    text-align: left;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.filter-item:hover { background: var(--bg-elevated); }

.filter-item.active {
    background: rgba(200,16,46,0.1);
    color: var(--red);
    font-weight: 600;
}

.filter-count {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 500;
    min-width: 28px;
    text-align: center;
}

.filter-item.active .filter-count {
    background: rgba(200,16,46,0.12);
    color: var(--red);
}

/* Boton mobile filtros */
.filter-toggle {
    display: none;
    position: fixed;
    bottom: 28px;
    left: 28px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 90;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(200,16,46,0.45);
    font-family: inherit;
}

.filter-toggle svg { width: 17px; height: 17px; }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 110;
}

/* ── CONTENIDO PRINCIPAL ─────────────────────────── */
.main-content {
    flex: 1;
    padding: 24px 20px;
    min-width: 0;
}

/* ── STATS BAR ───────────────────────────────────── */
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#productCount { color: var(--red); font-weight: 700; }

.sort-select {
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.sort-select:focus { border-color: var(--red); }

/* ── CARD ACTIONS (FAV + SHARE) ──────────────────── */
.product-card { position: relative; }

.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.fav-btn, .share-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(15,15,26,0.85);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: opacity 0.2s, transform 0.15s, background 0.15s;
    opacity: 0;
    line-height: 1;
    padding: 0;
    color: var(--text-muted);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.fav-btn svg, .share-btn svg { pointer-events: none; }

.product-card:hover .fav-btn,
.product-card:hover .share-btn { opacity: 1; }

.fav-btn.active { opacity: 1; }

.fav-btn:hover, .share-btn:hover {
    transform: scale(1.12);
    background: rgba(22,22,34,0.95);
    color: var(--text);
}

.share-btn.copied { background: #25D366; color: #fff; }

.products-grid.view-list .card-actions {
    position: static;
    flex-shrink: 0;
}
.products-grid.view-list .fav-btn,
.products-grid.view-list .share-btn { opacity: 1; }

/* ── BADGES ESPECIALES ───────────────────────────── */
.badge-special {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    align-self: flex-start;
    white-space: nowrap;
}

.badge-hot     { background: #FF6B00; color: #fff; }
.badge-new     { background: #16A34A; color: #fff; }
.badge-offer   { background: var(--red); color: #fff; }
.badge-agotado { background: #374151; color: #9ca3af; }

/* ── FILTRO DE PRECIO ────────────────────────────── */
.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -moz-appearance: textfield;
}

.price-input::-webkit-inner-spin-button,
.price-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.price-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}

.price-sep {
    font-size: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ── FILTROS POR SPECS ───────────────────────────── */
.spec-filter-group { margin-bottom: 14px; }
.spec-filter-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.spec-chips-row { display: flex; flex-wrap: wrap; gap: 5px; }
.spec-chip-filter {
    padding: 4px 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    white-space: nowrap;
}
.spec-chip-filter:hover { border-color: var(--red); color: var(--text); }
.spec-chip-filter.active { background: rgba(200,16,46,.15); border-color: var(--red); color: var(--red); }

/* ── BOTÓN WA EN CARD (GRID) ─────────────────────── */
.product-card .btn-whatsapp {
    margin-top: auto;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
}
.update-note { color: var(--text-muted); }

/* ── STATS BAR DERECHA ───────────────────────────── */
.stats-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.view-btns {
    display: flex;
    gap: 4px;
}

.view-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 7px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: all 0.15s;
    line-height: 0;
}

.view-btn svg { width: 16px; height: 16px; }

.view-btn:hover { background: var(--bg-elevated); color: var(--text); }

.view-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* ── GRILLA DE PRODUCTOS ─────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 16px;
}

/* ── TARJETA — VISTA GRILLA ──────────────────────── */
.product-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand-color, var(--red));
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow  0.35s ease,
                border-color 0.2s ease;
    box-shadow: var(--shadow-sm);
    animation: cardFadeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(var(--i, 0) * 40ms);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.6),
                0 0 28px rgba(var(--brand-rgb, 200,16,46), 0.18);
    border-color: rgba(255,255,255,0.12);
}

.product-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    align-self: flex-start;
    white-space: nowrap;
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.45;
    flex: 1;
}

.product-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--red);
    text-shadow: 0 0 18px rgba(200,16,46,0.35);
}

.product-price-ars {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: -6px;
}

/* ── TARJETA — IMAGEN ────────────────────────────── */
.card-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    background: #111120;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.card-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 900;
    color: var(--brand-color, #444);
    opacity: 0.08;
    user-select: none;
    letter-spacing: -2px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.4s;
    position: relative;
}

.card-img.loaded { opacity: 1; }

/* ── TARJETA — VISTA LISTA ───────────────────────── */
.products-grid.view-list {
    grid-template-columns: 1fr;
    gap: 8px;
}

.products-grid.view-list .card-img-wrap { display: none; }

.products-grid.view-list .product-card {
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 14px;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: 3px solid var(--brand-color, var(--red));
    transform: none !important;
}

.products-grid.view-list .product-card:hover {
    box-shadow: var(--shadow-md);
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.products-grid.view-list .product-badge {
    min-width: 76px;
    text-align: center;
    flex-shrink: 0;
}

.products-grid.view-list .product-name {
    font-size: 14px;
    flex: 1;
}

.products-grid.view-list .product-price {
    font-size: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 90px;
    text-align: right;
}

.products-grid.view-list .btn-whatsapp {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--green-wa);
    color: #fff;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn-whatsapp:hover {
    background: var(--green-wa-dark);
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.btn-whatsapp svg {
    width: 17px;
    height: 17px;
    fill: #fff;
    flex-shrink: 0;
}

/* ── STEPS BAR ───────────────────────────────────── */
.steps-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 24px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 32px;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(200,16,46,0.4);
}

.step-icon { font-size: 26px; }

.step-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.step-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.step-arrow {
    font-size: 20px;
    color: var(--border);
    flex-shrink: 0;
}

/* ── SECCIÓN DE CONFIANZA ────────────────────────── */
.trust-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.trust-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.trust-icon { font-size: 36px; margin-bottom: 12px; }

.trust-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-list li {
    font-size: 14px;
    color: var(--text-muted);
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
}

.faq-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 28px;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 18px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.15s, color 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { background: var(--bg-elevated); }

.faq-item[open] summary {
    color: var(--red);
    background: rgba(200,16,46,0.06);
}

.faq-arrow {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.faq-item[open] .faq-arrow { transform: rotate(90deg); color: var(--red); }

.faq-item p {
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}

/* ── WHATSAPP FLOTANTE ───────────────────────────── */
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.9); opacity: 0; }
}

.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 300;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.wa-float::before,
.wa-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: waPulse 2.4s ease-out infinite;
    z-index: -1;
}

.wa-float::after { animation-delay: 1.2s; }

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.wa-float svg { width: 32px; height: 32px; }

.wa-float-tooltip {
    position: absolute;
    right: 70px;
    background: #0f0f1a;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid var(--border);
}

.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* ── SKELETON LOADING ────────────────────────────── */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.shimmer {
    background: linear-gradient(90deg, #0f0f1a 25%, #161622 50%, #0f0f1a 75%);
    background-size: 1200px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 1;
}

.skeleton-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-badge {
    height: 20px;
    width: 52px;
    border-radius: 20px;
}

.skeleton-line {
    height: 11px;
    border-radius: 6px;
    width: 100%;
}

.skeleton-line.s2 { width: 70%; }
.skeleton-line.s3 { width: 50%; }

.skeleton-price {
    height: 26px;
    width: 42%;
    border-radius: 6px;
    margin-top: 4px;
}

/* ── CARD FADE-IN ────────────────────────────────── */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── ESTADOS ─────────────────────────────────────── */
.state-box {
    text-align: center;
    padding: 70px 20px;
    color: var(--text-muted);
    font-size: 16px;
}

.spinner {
    width: 46px;
    height: 46px;
    border: 4px solid var(--border);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin: 0 auto 16px;
    box-shadow: 0 0 16px rgba(200,16,46,0.2);
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn-retry {
    margin-top: 16px;
    padding: 10px 28px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(200,16,46,0.35);
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-retry:hover {
    background: var(--granate-light);
    box-shadow: 0 6px 22px rgba(200,16,46,0.5);
}

.hidden { display: none !important; }

/* ── SELECTOR DE CANTIDAD ────────────────────────── */
.page-size-btns {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ps-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-right: 2px;
}

.ps-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.ps-btn:hover { background: var(--bg-elevated); color: var(--text); }

.ps-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(200,16,46,0.3);
}

/* ── PAGINACIÓN ──────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 0 8px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--red);
    color: var(--red);
    background: rgba(200,16,46,0.08);
}

.page-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(200,16,46,0.4);
}

.page-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.page-dots {
    font-size: 14px;
    color: var(--text-muted);
    padding: 0 4px;
    line-height: 36px;
}

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 28px 20px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--red); }

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.admin-link {
    display: inline-block;
    color: rgba(255,255,255,0.15);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.admin-link:hover { color: var(--text-muted); }

/* ── BOTÓN CARRITO (HEADER) ──────────────────────── */
.cart-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.cart-btn:hover { background: rgba(255,255,255,0.14); }
.cart-btn svg { flex-shrink: 0; }

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold);
    color: #0f0f1a;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    display: none;
}
.cart-count.visible { display: flex; }

/* ── CARRITO DRAWER ──────────────────────────────── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 300;
    display: none;
}
.cart-overlay.visible { display: block; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-card);
    z-index: 310;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 40px rgba(0,0,0,0.6);
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
}
.cart-drawer.open { right: 0; }

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-drawer-head h2 { font-size: 18px; font-weight: 800; color: var(--text); }
.cart-drawer-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 6px;
}
.cart-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}
.cart-drawer-close:hover { background: var(--bg-elevated); color: var(--text); }

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
}
.cart-empty p { font-size: 16px; font-weight: 600; color: var(--text); }
.cart-empty span { font-size: 13px; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.cart-item-initial {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--brand-color, #6868a0);
    flex-shrink: 0;
    opacity: 0.4;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-price { font-size: 15px; font-weight: 800; color: var(--red); margin-top: 2px; }
.cart-item-ars { font-size: 11px; color: var(--text-muted); }

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    font-family: inherit;
}
.qty-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.qty-num { font-size: 14px; font-weight: 700; color: var(--text); min-width: 18px; text-align: center; }

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s;
    flex-shrink: 0;
}
.cart-item-remove:hover { color: #DC2626; }

/* ── FOOTER DEL CARRITO ──────────────────────────── */
.cart-drawer-footer {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.cart-total-row strong { font-size: 22px; color: var(--red); text-shadow: 0 0 16px rgba(200,16,46,0.3); }
.cart-total-ars { font-size: 13px; color: var(--text-muted); text-align: right; margin-top: -6px; }
.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(200,16,46,0.4);
}
.cart-checkout-btn:hover {
    background: var(--granate-light);
    box-shadow: 0 6px 28px rgba(200,16,46,0.55);
    transform: translateY(-1px);
}

/* ── SPECS DE PRODUCTO (RAM / STORAGE) ───────────── */
.product-specs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin: 4px 0 2px;
}
.spec-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    white-space: nowrap;
}
.spec-ram     { border-color: #818CF8; color: #818CF8; }
.spec-storage { border-color: #22D3EE; color: #22D3EE; }
.spec-red     { border-color: #4ADE80; color: #4ADE80; }
.spec-bat     { border-color: #FACC15; color: #FACC15; }
.spec-cam     { border-color: #F472B6; color: #F472B6; }
.spec-screen  { border-color: #60A5FA; color: #60A5FA; }

/* ── SELECTOR DE VARIANTES (en card) ─────────────── */
.variant-selector {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin: 2px 0;
}
.variant-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
    border: 1px solid var(--border);
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    font-family: inherit;
    white-space: nowrap;
}
.variant-pill:hover { border-color: var(--red); color: var(--red); background: rgba(200,16,46,0.05); }
.variant-pill.active { background: rgba(200,16,46,0.1); border-color: var(--red); color: var(--red); font-weight: 700; }

/* ── BOTÓN AGREGAR AL CARRITO (en card) ──────────── */
.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s,
                box-shadow 0.2s,
                transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: inherit;
    width: 100%;
    box-shadow: 0 3px 14px rgba(200,16,46,0.35);
    letter-spacing: 0.3px;
}
.btn-add-cart:hover {
    background: var(--granate-light);
    box-shadow: 0 6px 22px rgba(200,16,46,0.55);
    transform: translateY(-2px);
}
.btn-add-cart:active {
    transform: translateY(0);
}
.btn-add-cart.in-cart {
    background: #0d3320;
    border: 1px solid #4ADE80;
    color: #4ADE80;
    box-shadow: 0 3px 14px rgba(74,222,128,0.2);
}
.btn-add-cart.in-cart:hover {
    background: #102b1d;
    box-shadow: 0 6px 22px rgba(74,222,128,0.3);
    transform: translateY(-2px);
}
.btn-add-cart.out-of-stock {
    background: #1f2937;
    border: 1px solid #374151;
    color: #6b7280;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.btn-add-cart.out-of-stock:hover { transform: none; box-shadow: none; background: #1f2937; }

/* ── CHECKOUT PANEL ──────────────────────────────── */
.checkout-panel {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-card);
    z-index: 320;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 40px rgba(0,0,0,0.65);
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
}
.checkout-panel.open { right: 0; }

.checkout-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg-card);
}
.checkout-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
}
.checkout-back {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
}
.checkout-back:hover { color: var(--text); border-color: var(--text-muted); }

.checkout-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-summary {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
}
.checkout-summary-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text);
    padding: 4px 0;
    gap: 8px;
}
.checkout-summary-item span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.checkout-summary-item span:last-child { font-weight: 700; color: var(--red); flex-shrink: 0; }
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-weight: 800;
    font-size: 15px;
    color: var(--text);
}
.checkout-summary-total span:last-child { color: var(--red); font-size: 18px; }
.checkout-summary-ars { text-align: right; font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.checkout-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin: 0 0 14px;
}
.checkout-form { display: flex; flex-direction: column; gap: 12px; }
.checkout-field { display: flex; flex-direction: column; gap: 6px; }
.checkout-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.checkout-field label small { font-weight: 400; color: var(--text-muted); }
.checkout-field .req { color: var(--red); }
.checkout-field input,
.checkout-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    resize: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.checkout-field input::placeholder,
.checkout-field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.checkout-field input:focus,
.checkout-field textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}
.checkout-field input.error,
.checkout-field textarea.error { border-color: #DC2626; }

.checkout-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    font-family: inherit;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}
.checkout-send-btn:hover {
    background: #1EB85A;
    box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}
.checkout-send-btn:active { transform: scale(0.98); }

.checkout-success {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.checkout-success-icon { font-size: 56px; line-height: 1; }
.checkout-success h3 { font-size: 20px; font-weight: 800; color: var(--text); margin: 0; }
.checkout-success p { font-size: 14px; color: var(--text-muted); line-height: 1.5; max-width: 300px; margin: 0; }
.checkout-done-btn {
    margin-top: 8px;
    padding: 12px 28px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(200,16,46,0.35);
}
.checkout-done-btn:hover {
    background: var(--granate-light);
    box-shadow: 0 6px 24px rgba(200,16,46,0.5);
}

/* ── PRODUCTO DETALLE MODAL ──────────────────────── */
.product-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.product-overlay.open { opacity: 1; pointer-events: all; }
.product-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    box-shadow: 0 32px 80px rgba(0,0,0,0.75);
}
.product-overlay.open .product-modal { transform: translateY(0); }
.product-modal-close {
    position: sticky;
    top: 12px;
    float: right;
    margin: 12px 12px 0 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.15s;
}
.product-modal-close:hover { background: var(--border); color: var(--text); }
.product-modal-body { padding: 20px 24px 28px; }
.pm-top {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
    margin-bottom: 24px;
}
@media (max-width: 520px) { .pm-top { grid-template-columns: 1fr; } }
.pm-img-wrap {
    aspect-ratio: 1;
    background: #111120;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pm-img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.pm-img-placeholder { font-size: 64px; font-weight: 900; opacity: 0.12; color: var(--brand-color, #6868a0); }
.pm-info { display: flex; flex-direction: column; gap: 10px; }
.pm-brand-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px; color: #fff; width: fit-content; }
.pm-name { font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.25; }
.pm-specs { display: flex; gap: 6px; flex-wrap: wrap; }

/* Specs enriquecidas en el modal */
.pm-detail-section {
    margin: 10px 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.pm-detail-row {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}
.pm-detail-row:last-child { border-bottom: none; }
.pm-detail-icon { font-size: 15px; width: 22px; text-align: center; flex-shrink: 0; opacity: 0.7; }
.pm-detail-label { font-size: 12px; color: var(--text-muted); flex: 1; font-weight: 500; }
.pm-detail-val { font-size: 13px; font-weight: 600; color: var(--text); text-align: right; }

/* Grid de specs en modal */
.pm-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin: 12px 0 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.pm-spec-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.pm-spec-cell:nth-last-child(-n+2) { border-bottom: none; }
.pm-spec-icon { font-size: 14px; flex-shrink: 0; opacity: .8; }
.pm-spec-body { display: flex; flex-direction: column; min-width: 0; }
.pm-spec-label { font-size: 10px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.pm-spec-val { font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Score bars en modal */
.pm-scores-section { margin: 10px 0; display: flex; flex-direction: column; gap: 7px; }
.pm-score-row { display: flex; align-items: center; gap: 8px; }
.pm-score-label { font-size: 11px; color: var(--text-muted); width: 90px; flex-shrink: 0; }
.pm-score-bar-wrap { flex: 1; height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.pm-score-bar { height: 100%; border-radius: 3px; transition: width .6s ease; }
.pm-score-val { font-size: 12px; font-weight: 700; width: 22px; text-align: right; flex-shrink: 0; }

body.light .pm-detail-grid { background: rgba(0,0,0,0.03); }

.pm-price { font-size: 30px; font-weight: 900; color: var(--red); text-shadow: 0 0 24px rgba(200,16,46,0.4); }
.pm-ars { font-size: 14px; color: var(--text-muted); margin-top: -6px; }
.pm-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-top: auto;
    box-shadow: 0 4px 20px rgba(200,16,46,0.4);
}
.pm-add-btn:hover {
    background: var(--granate-light);
    box-shadow: 0 6px 28px rgba(200,16,46,0.55);
    transform: translateY(-2px);
}
.pm-add-btn.in-cart { background: #0d3320; border: 1px solid #4ADE80; color: #4ADE80; box-shadow: 0 4px 18px rgba(74,222,128,0.2); }
.pm-add-btn.in-cart:hover { background: #102b1d; }
.pm-related-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.pm-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.pm-related-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
    text-align: center;
}
.pm-related-card:hover { border-color: var(--red); transform: translateY(-2px); }
.pm-related-initial { font-size: 28px; font-weight: 900; opacity: 0.15; color: var(--brand-color, #6868a0); margin-bottom: 4px; }
.pm-related-img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 4px; display: block; margin-inline: auto; }
.pm-related-name { font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm-related-price { font-size: 13px; font-weight: 800; color: var(--red); }
.product-card { cursor: pointer; }

/* ── SCROLL TO TOP ───────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.2s, bottom 0.3s;
    box-shadow: 0 4px 18px rgba(200,16,46,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* ── HISTORIAL RECIENTES ─────────────────────────── */
.recent-list { display: flex; flex-direction: column; gap: 4px; }

.recent-item {
    font-size: 12px;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 7px;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent-item:hover { background: var(--bg-elevated); color: var(--text); }

/* ── BOTÓN COMPARAR (en card) ────────────────────── */
.btn-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    width: 100%;
}
.btn-compare:hover { border-color: var(--red); color: var(--red); }
.btn-compare.active {
    background: rgba(200,16,46,0.1);
    border-color: var(--red);
    color: var(--red);
    font-weight: 600;
}

/* ── COMPARADOR BANDEJA ──────────────────────────── */
.compare-tray {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--red);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
    z-index: 240;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 12px 24px;
}
.compare-tray.visible { transform: translateY(0); }

.compare-tray-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.compare-tray-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compare-items {
    display: flex;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}

.compare-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(200,16,46,0.1);
    border: 1px solid var(--red);
    border-radius: 20px;
    padding: 5px 10px 5px 14px;
    font-size: 13px;
    color: var(--red);
    font-weight: 500;
    max-width: 180px;
}
.compare-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-chip-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--red);
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.compare-chip-remove:hover { opacity: 1; }

.compare-tray-btns { display: flex; gap: 8px; flex-shrink: 0; }

.compare-clear-btn {
    padding: 8px 16px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.compare-clear-btn:hover { border-color: var(--text-muted); color: var(--text); }

.compare-open-btn {
    padding: 8px 20px;
    background: var(--red);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    font-family: inherit;
    box-shadow: 0 3px 14px rgba(200,16,46,0.35);
}
.compare-open-btn:hover:not(:disabled) {
    background: var(--granate-light);
    box-shadow: 0 5px 20px rgba(200,16,46,0.5);
}
.compare-open-btn:disabled { opacity: 0.45; cursor: default; }

/* ── COMPARADOR MODAL ────────────────────────────── */
.compare-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.compare-overlay.visible { opacity: 1; pointer-events: auto; }

.compare-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 780px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.75);
    transform: translateY(20px);
    transition: transform 0.25s;
}
.compare-overlay.visible .compare-modal { transform: translateY(0); }

.compare-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.compare-modal-head h2 { font-size: 18px; font-weight: 800; color: var(--text); }

.compare-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.compare-modal-close:hover { background: var(--bg-elevated); color: var(--text); }

.compare-modal-body {
    overflow-y: auto;
    padding: 24px;
    flex: 1;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.compare-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    border-bottom: 2px solid var(--red);
    background: rgba(200,16,46,0.06);
}
.compare-table th:first-child { color: var(--text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.compare-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}
.compare-table td:first-child { color: var(--text-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.compare-table tr:last-child td { border-bottom: none; }
.cmp-price { font-size: 18px; font-weight: 800; color: var(--red); }
.cmp-section-header td {
    background: rgba(200,16,46,0.07);
    color: var(--text) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    border-top: 1px solid rgba(200,16,46,0.25);
}
/* Cabecera de producto en comparador */
.cmp-label-th { width: 130px; min-width: 110px; }
.cmp-row-label { color: var(--text-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.cmp-product-th { text-align: center !important; padding: 16px 12px !important; border-left: 1px solid var(--border); vertical-align: top; }
.cmp-product-img-wrap { width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 10px; overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; border: 2px solid var(--brand-color, var(--border)); }
.cmp-product-img { width: 100%; height: 100%; object-fit: contain; }
.cmp-product-initial { font-size: 28px; font-weight: 900; color: var(--brand-color, var(--text-muted)); opacity: .4; }
.cmp-product-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 4px; }
.cmp-product-price { font-size: 18px; font-weight: 900; color: var(--red); }
.cmp-product-ars { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cmp-add-btn { margin-top: 8px; padding: 6px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; font-size: 11px; font-weight: 700; color: var(--text); cursor: pointer; font-family: inherit; transition: all .15s; white-space: nowrap; }
.cmp-add-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
/* Ganador resaltado */
.cmp-winner { background: rgba(74,222,128,.08) !important; }
.cmp-winner strong, .cmp-winner span { color: #4ADE80 !important; }
.cmp-null { color: var(--text-muted); }
/* Score bars en comparador */
.cmp-score-row { display: flex; align-items: center; gap: 6px; }
.cmp-score-bar-wrap { flex: 1; height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; min-width: 40px; }
.cmp-score-bar { height: 100%; border-radius: 3px; }
.cmp-score-num { font-size: 12px; font-weight: 700; width: 22px; text-align: right; flex-shrink: 0; }
.compare-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
}

/* Ajustes cuando la bandeja esta visible */
body.tray-open .wa-float      { bottom: 90px; }
body.tray-open .scroll-top    { bottom: 160px; }
body.tray-open .filter-toggle { bottom: 90px; }

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 768px)
══════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Header */
    .dark-toggle { order: -1; }
    .logo-icon { font-size: 20px; }
    .logo-name { font-size: 13px; letter-spacing: 0.5px; white-space: nowrap; }

    /* Hero slim */
    .hero-slim { padding: 12px 16px; }
    .hero-slim-inner { flex-direction: column; gap: 5px; }
    .hero-slim p { font-size: 13px; }

    /* Steps — apilados verticalmente */
    .steps-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 4px;
    }
    .step { padding: 8px 0; gap: 12px; }
    .step-icon { font-size: 22px; }
    .step-text strong { font-size: 13px; }
    .step-arrow { display: none; }

    /* Layout */
    .layout { flex-direction: column; }

    /* Sidebar — overlay deslizable */
    .sidebar {
        position: fixed;
        top: 0;
        left: -270px;
        width: 270px;
        height: 100vh;
        z-index: 120;
        transition: left 0.28s ease;
        box-shadow: 4px 0 32px rgba(0,0,0,0.5);
        padding-top: 54px;
    }
    .sidebar.open { left: 0; }
    .sidebar-overlay.visible { display: block; }
    .sidebar-close {
        display: block;
        position: absolute;
        top: 14px;
        right: 14px;
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: var(--text-muted);
        padding: 4px 8px;
    }
    .filter-toggle { display: flex; }

    /* Contenido principal */
    .main-content { padding: 14px 12px 100px; }

    /* Stats bar */
    .stats-bar { flex-wrap: nowrap; gap: 8px; padding: 8px 12px; }
    .stats-right { gap: 8px; }
    .page-size-btns { display: none; }
    .view-btn { padding: 5px 6px; }
    .view-btn svg { width: 15px; height: 15px; }

    /* Grilla — 2 columnas */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Vista lista en mobile */
    .products-grid.view-list { grid-template-columns: 1fr; gap: 6px; }
    .products-grid.view-list .product-card {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 3px 8px;
        padding: 10px 12px;
    }
    .products-grid.view-list .product-badge,
    .products-grid.view-list .product-specs,
    .products-grid.view-list .product-price-ars,
    .products-grid.view-list .badge-special,
    .products-grid.view-list .btn-compare,
    .products-grid.view-list .card-actions  { display: none !important; }
    .products-grid.view-list .product-name  {
        flex: 1 1 100%;
        font-size: 13px;
        line-height: 1.3;
        min-width: 0;
        order: 1;
    }
    .products-grid.view-list .product-price {
        flex: 1 0 auto;
        font-size: 15px;
        font-weight: 700;
        white-space: nowrap;
        order: 2;
    }
    .products-grid.view-list .btn-add-cart {
        flex: 0 0 38px;
        order: 2;
        font-size: 0; padding: 0;
        width: 38px; height: 38px;
        border-radius: 10px;
        position: relative;
        align-self: center;
    }
    .products-grid.view-list .btn-add-cart::before         { content: '🛒'; font-size: 17px; }
    .products-grid.view-list .btn-add-cart.in-cart::before { content: '✓';  font-size: 19px; font-weight: 900; }

    /* Precios */
    .product-price { font-size: 18px; }

    /* Seccion confianza — 1 columna */
    .trust-section { padding: 32px 16px; }
    .trust-grid { grid-template-columns: 1fr; gap: 14px; }
    .trust-card { padding: 20px 18px; }

    /* FAQ */
    .faq-section { padding: 32px 16px; }
    .faq-title { font-size: 19px; }
    .faq-item summary { font-size: 14px; padding: 14px 14px; }

    /* Tooltip WA — oculto en touch */
    .wa-float-tooltip { display: none; }

    /* WA float y filtro — esquinas opuestas */
    .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
    .wa-float svg { width: 28px; height: 28px; }
    .filter-toggle { bottom: 20px; left: 20px; padding: 10px 16px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOVIL CHICO (≤ 400px)
══════════════════════════════════════════════════ */
@media (max-width: 400px) {

    .logo-name { font-size: 16px; letter-spacing: 1.5px; }
    .logo-icon { font-size: 22px; }

    /* 1 sola columna en pantallas muy chicas */
    .products-grid { grid-template-columns: 1fr; }

    .product-card { padding: 14px; }
    .product-name { font-size: 13px; }
    .product-price { font-size: 20px; }

    .steps-bar { padding: 12px 14px; }
    .step-num { width: 24px; height: 24px; font-size: 11px; }
}

/* ══════════════════════════════════════════════════
   PANEL DE STOCK
══════════════════════════════════════════════════ */
.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}
.stock-card {
    background: var(--surface, #111);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    transition: border-color .2s, opacity .2s;
}
.stock-card.stock-agotado {
    opacity: .55;
    border-color: #374151;
}
.stock-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}
.stock-card-info {
    font-size: 11px;
    color: var(--muted, #888);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stock-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.stock-toggle input { display: none; }
.stock-toggle-track {
    width: 40px;
    height: 22px;
    background: var(--border);
    border-radius: 11px;
    position: relative;
    flex-shrink: 0;
    transition: background .2s;
}
.stock-toggle input:checked + .stock-toggle-track { background: #4ade80; }
.stock-toggle-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: left .2s;
}
.stock-toggle input:checked + .stock-toggle-track .stock-toggle-thumb { left: 21px; }
.stock-toggle-label { font-size: 12px; color: var(--muted, #888); }

/* ══════════════════════════════════════════════════
   CALCULADORA DE PRECIO
══════════════════════════════════════════════════ */
.calc-result {
    background: var(--bg-elevated, #161622);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 4px;
}
.calc-result-row { display: flex; flex-direction: column; gap: 4px; }
.calc-result-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted, #888);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.calc-big {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold, #F5C842);
    line-height: 1.1;
}

/* ══════════════════════════════════════════════════
   PANEL INICIO / ONBOARDING
══════════════════════════════════════════════════ */
.ob-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 960px;
}
.ob-section {
    background: var(--surface, #111);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.ob-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted, #888);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 16px;
}
.ob-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}
.ob-stat-val {
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.ob-stat-val.blue { color: var(--accent, #C8102E); }
.ob-stat-val.gold { color: var(--gold, #F5C842); }
.ob-stat-label {
    font-size: 11px;
    color: var(--muted, #888);
    margin-top: 4px;
}
.ob-checklist { display: flex; flex-direction: column; gap: 6px; }
.ob-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
    border: 1px solid transparent;
    font-size: 13px;
}
.ob-check-item:hover {
    background: var(--bg-elevated, #161622);
    border-color: var(--border);
}
.ob-check-label { flex: 1; }
.ob-check-arrow { font-size: 12px; color: var(--muted, #888); }
.ob-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.ob-link-btn {
    background: var(--bg-elevated, #161622);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    padding: 10px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    text-align: left;
    font-family: inherit;
}
.ob-link-btn:hover {
    border-color: var(--accent, #C8102E);
    background: var(--surface, #111);
}
