/*
Theme Name: 8 Bits y Medio
Theme URI: https://8bitsymedio.com
Author: 8 Bits y Medio
Author URI: https://8bitsymedio.com
Description: Tema WooCommerce de 8 Bits y Medio, el sistema retro llave en mano para Windows, Linux y Android. Estética arcade neón sobre la arquitectura de Emporio (tokens, doble moneda ARS/USD, emails propios) con entrega por Google Drive.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 8.1
License: Proprietary
Text Domain: obm
*/

/* ==========================================================================
   FUENTES (auto-alojadas)
   ========================================================================== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/inter-800.woff2') format('woff2'); }
@font-face { font-family: 'Press Start 2P'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/press-start-2p.woff2') format('woff2'); }

/* ==========================================================================
   TOKENS — la decisión global vive acá; los componentes sólo consumen tokens
   ========================================================================== */
:root {
    /* Superficies */
    --color-bg:              #0B0716;
    --color-bg-elevated:     #120B22;
    --color-bg-raised:       #1A1030;
    --color-bg-media:        #1E1338;
    --color-border:          rgba(181, 160, 255, 0.18);
    --color-border-strong:   rgba(181, 160, 255, 0.34);
    --color-border-accent:   rgba(255, 210, 63, 0.55);

    /* Texto */
    --color-text:            #F5F1FF;
    --color-text-secondary:  rgba(245, 241, 255, 0.74);
    --color-text-muted:      rgba(245, 241, 255, 0.60);

    /* Marca */
    --color-accent:          #FFD23F;   /* moneda: CTA */
    --color-accent-hover:    #FFE070;
    --color-accent-shadow:   #C98F00;
    --color-on-accent:       #1A1030;
    --color-accent-glow:     rgba(255, 210, 63, 0.28);
    --color-accent-subtle:   rgba(255, 210, 63, 0.10);
    --color-hot:             #FF3EA5;   /* urgencia / oferta */
    --color-hot-shadow:      #B3206F;
    --color-hot-glow:        rgba(255, 62, 165, 0.32);
    --color-hot-subtle:      rgba(255, 62, 165, 0.12);
    --color-cyan:            #35F2FF;   /* links / info */
    --color-cyan-subtle:     rgba(53, 242, 255, 0.10);
    --color-violet:          #8B5CF6;
    --color-violet-deep:     #5B34C4;

    /* Estados */
    --color-success:         #3DFF9A;
    --color-success-subtle:  rgba(61, 255, 154, 0.10);
    --color-success-text:    #B8FFD9;
    --color-warning:         #FFB020;
    --color-error:           #FF5C6C;
    --color-error-text:      #FFD0D5;

    /* Superficies de control */
    --surface-subtle:        rgba(255, 255, 255, 0.03);
    --surface-control:       rgba(255, 255, 255, 0.06);
    --surface-control-hover: rgba(255, 255, 255, 0.09);
    --glass-bg:              rgba(26, 16, 48, 0.72);
    --glass-bg-hover:        rgba(38, 24, 68, 0.80);
    --glass-border:          rgba(181, 160, 255, 0.16);
    --glass-blur:            blur(12px);

    /* Tipografía */
    --font-base:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-pixel:   'Press Start 2P', 'Courier New', monospace;
    --font-size-xs:   0.75rem;
    --font-size-sm:   0.875rem;
    --font-size-base: 1rem;
    --font-size-lg:   1.125rem;
    --font-size-xl:   1.25rem;
    --font-size-2xl:  1.5rem;
    --font-size-3xl:  1.875rem;
    --font-size-4xl:  2.25rem;
    --font-size-5xl:  3rem;
    --font-weight-normal:    400;
    --font-weight-semibold:  600;
    --font-weight-bold:      700;
    --font-weight-extrabold: 800;
    --line-height-none:    1;
    --line-height-tight:   1.2;
    --line-height-snug:    1.35;
    --line-height-normal:  1.5;
    --line-height-relaxed: 1.7;
    --line-height-pixel:   1.5;

    /* Espaciado */
    --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
    --space-5: 1.25rem;  --space-6: 1.5rem;  --space-8: 2rem;    --space-10: 2.5rem;
    --space-12: 3rem;    --space-16: 4rem;   --space-20: 5rem;

    /* Forma: esquinas rectas (pixel); radio sólo en chips redondos */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-full: 9999px;
    --border-px: 2px;

    /* Controles */
    --control-min-height: 48px;
    --control-padding-y:  var(--space-3);
    --control-padding-x:  var(--space-4);
    --control-bg:         var(--surface-control);
    --control-bg-focus:   var(--surface-control-hover);
    --control-border:     var(--color-border-strong);
    --focus-ring:         0 0 0 3px var(--color-accent-glow);
    --button-min-height:  44px;

    /* Cards */
    --card-bg:           var(--glass-bg);
    --card-border:       var(--color-border);
    --card-padding:      var(--space-6);
    --shadow-pixel:      4px 4px 0 rgba(0, 0, 0, 0.55);
    --shadow-pixel-lg:   6px 6px 0 rgba(0, 0, 0, 0.55);
    --shadow-glow-accent: 0 0 28px var(--color-accent-glow);
    --shadow-glow-hot:    0 0 28px var(--color-hot-glow);
    --transition-fast: 120ms steps(3);
    --transition-base: 200ms ease;

    /* Layout */
    --container-max:     1180px;
    --container-padding: var(--space-4);
    --header-height:     68px;
    --promo-bar-height:  40px;
    --page-end-space:    var(--space-16);

    /* Capas globales: no usar números nuevos sin token */
    --z-header:        200;
    --z-dropdown:      300;
    --z-nav-overlay:   500;
    --z-floating:      600;
    --z-drawer:        700;
    --z-toast:         750;
    --z-accessibility: 100000;
}

@media (max-width: 639px) {
    :root { --page-end-space: var(--space-10); }
}

/* ==========================================================================
   RESET + BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--space-4)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
/* Los paneles fuera de pantalla (menú móvil, mini-carrito) no deben generar scroll horizontal. */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg, video { max-width: 100%; height: auto; }
svg:not([width]) { height: auto; }
img { border: 0; }
a { color: var(--color-cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #9CF8FF; }
p { margin: 0 0 var(--space-4); max-width: 68ch; }
ul, ol { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
h1, h2, h3, h4, h5 { margin: 0 0 var(--space-4); line-height: var(--line-height-tight); color: var(--color-text); font-weight: var(--font-weight-extrabold); }
h1, h2 { font-family: var(--font-pixel); font-weight: 400; line-height: var(--line-height-pixel); letter-spacing: 0; }
h1 { font-size: 1.375rem; }
h2 { font-size: 1.125rem; }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
@media (min-width: 640px) { h1 { font-size: 1.75rem; } h2 { font-size: 1.375rem; } }
@media (min-width: 1100px) { h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } }
strong, b { font-weight: var(--font-weight-bold); }
hr { border: 0; border-top: 2px dashed var(--color-border); margin: var(--space-8) 0; }
::selection { background: var(--color-hot); color: #fff; }
:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: var(--focus-ring); background: var(--control-bg-focus); }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
    padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
    clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: var(--space-3) var(--space-4);
    background: var(--color-accent); color: var(--color-on-accent); position: fixed; top: var(--space-2); left: var(--space-2);
    z-index: var(--z-accessibility); font-weight: var(--font-weight-bold);
}
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-padding); }
@media (min-width: 640px) { :root { --container-padding: var(--space-6); } }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.no-js .js-only { display: none !important; }

/* Sprites inline (pixel art) */
.sprite { image-rendering: pixelated; image-rendering: crisp-edges; display: inline-block; vertical-align: middle; }

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn, .button, button.button, input.button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    min-height: var(--button-min-height);
    padding: var(--space-3) var(--space-6);
    border: var(--border-px) solid #0B0716;
    border-radius: var(--radius-md);
    background: var(--color-bg-raised);
    color: var(--color-text);
    font-family: var(--font-pixel);
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: var(--line-height-pixel);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 0 #000, inset 0 0 0 1px var(--color-border-strong);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { color: var(--color-text); background: var(--color-bg-media); transform: translateY(-1px); }
.btn:active, .button:active { transform: translateY(3px); box-shadow: 0 1px 0 #000, inset 0 0 0 1px var(--color-border-strong); }
.btn--primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order, .single_add_to_cart_button, .woocommerce a.checkout-button {
    background: var(--color-accent);
    color: var(--color-on-accent);
    box-shadow: 0 4px 0 var(--color-accent-shadow), 0 8px 24px var(--color-accent-glow);
}
.btn--primary:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover, .single_add_to_cart_button:hover, .woocommerce a.checkout-button:hover {
    background: var(--color-accent-hover); color: var(--color-on-accent);
}
.btn--primary:active, .single_add_to_cart_button:active { box-shadow: 0 1px 0 var(--color-accent-shadow), 0 4px 12px var(--color-accent-glow); }
.btn--hot { background: var(--color-hot); color: #1A0613; box-shadow: 0 4px 0 var(--color-hot-shadow), 0 8px 24px var(--color-hot-glow); }
.btn--hot:hover { background: #FF6BBB; color: #1A0613; }
.btn--ghost { background: transparent; box-shadow: 0 4px 0 #000, inset 0 0 0 1px var(--color-border-strong); }
.btn--ghost:hover { background: var(--surface-control-hover); }
.btn--sm { min-height: 40px; padding: var(--space-2) var(--space-4); font-size: 0.625rem; }
.btn--lg { min-height: 56px; padding: var(--space-4) var(--space-8); font-size: 0.8125rem; }
.btn--full { width: 100%; }
.btn[disabled], .button.disabled, .button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
@media (max-width: 639px) { .btn--lg { font-size: 0.6875rem; padding-inline: var(--space-5); } }

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */
label { display: block; margin-bottom: var(--space-2); font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); color: var(--color-text); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], textarea, select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single {
    width: 100%;
    min-height: var(--control-min-height);
    padding: var(--control-padding-y) var(--control-padding-x);
    background: var(--control-bg);
    color: var(--color-text);
    border: var(--border-px) solid var(--control-border);
    border-radius: var(--radius-md);
    font: inherit;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-text-secondary) 50%), linear-gradient(135deg, var(--color-text-secondary) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--space-10); }
select option { background: var(--color-bg-raised); color: var(--color-text); }
::placeholder { color: var(--color-text-muted); opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--color-accent); width: 1.15rem; height: 1.15rem; vertical-align: -0.2em; margin-right: var(--space-2); }
.form-row { margin-bottom: var(--space-4); }
.form-row-first, .form-row-last { width: 100%; }
@media (min-width: 640px) { .form-row-first, .form-row-last { width: calc(50% - var(--space-2)); float: left; } .form-row-last { float: right; } .form-row-wide { clear: both; } }
.required { color: var(--color-hot); text-decoration: none; border: 0; }

/* ==========================================================================
   AVISOS DE WOOCOMMERCE
   ========================================================================== */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
    list-style: none; margin: 0 0 var(--space-6); padding: var(--space-4) var(--space-5);
    background: var(--color-bg-raised); border: var(--border-px) solid var(--color-border-strong); border-left-width: 6px;
    border-radius: var(--radius-md); color: var(--color-text); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between;
}
.woocommerce-message { border-color: var(--color-success); }
.woocommerce-info { border-color: var(--color-cyan); }
.woocommerce-error { border-color: var(--color-error); background: rgba(255, 92, 108, 0.08); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* ==========================================================================
   LAYOUT GLOBAL: promo bar, header, footer
   ========================================================================== */
.promo-bar {
    background: linear-gradient(90deg, var(--color-hot) 0%, var(--color-violet) 100%);
    color: #fff;
    position: relative; z-index: calc(var(--z-header) - 2);
    font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold);
}
.promo-bar__inner {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-2) var(--space-4);
    min-height: var(--promo-bar-height); padding: var(--space-2) var(--container-padding); text-align: center; line-height: 1.3;
}
.promo-bar__tag { font-family: var(--font-pixel); font-size: 0.625rem; background: var(--color-on-accent); color: var(--color-accent); padding: 5px 8px; border-radius: var(--radius-sm); letter-spacing: 0.04em; }
.promo-bar a { color: #fff; font-weight: var(--font-weight-bold); }
.promo-bar a:hover { color: var(--color-accent); }
.countdown { font-family: var(--font-pixel); font-size: 0.6875rem; letter-spacing: 0.04em; white-space: nowrap; }
.countdown__unit { display: inline-block; min-width: 2ch; text-align: center; }
.countdown__sep { opacity: 0.7; padding: 0 1px; }

.site-header {
    position: sticky; top: 0; z-index: var(--z-header);
    border-bottom: var(--border-px) solid var(--color-border);
}
/* El desenfoque va en un pseudo-elemento: un backdrop-filter en el propio header convierte al header en el
   bloque contenedor de sus hijos fixed y el menú móvil (position: fixed) quedaba recortado a 68 px de alto. */
.site-header::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(11, 7, 22, 0.88);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.header-main__inner { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-height); }
.site-logo { display: flex; align-items: center; flex: none; line-height: 0; }
.site-logo__img { width: auto; height: 46px; image-rendering: pixelated; image-rendering: crisp-edges; }
.primary-nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-1); }
.nav__item { margin: 0; }
.nav__link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4);
    color: var(--color-text-secondary); text-decoration: none; font-weight: var(--font-weight-semibold); font-size: var(--font-size-sm);
    border-radius: var(--radius-md);
}
.nav__link:hover, .nav__link--active { color: var(--color-text); background: var(--surface-control); }
.nav__link--active { color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.primary-nav + .header-actions { margin-left: 0; }
.header-icon-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: transparent; color: var(--color-text); border: var(--border-px) solid transparent; border-radius: var(--radius-md); cursor: pointer;
}
.header-icon-btn:hover { background: var(--surface-control-hover); color: var(--color-accent); }
.cart-count {
    position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
    background: var(--color-hot); color: #fff; border-radius: var(--radius-full); font-size: 11px; font-weight: 800; line-height: 20px; text-align: center;
}
.cart-count:empty { display: none; }
.header-cta { display: none; }
@media (min-width: 1100px) { .header-cta { display: inline-flex; } }

/* Selector de moneda ARS / USD */
.currency-switcher__options { display: inline-flex; border: var(--border-px) solid var(--color-border-strong); border-radius: var(--radius-md); overflow: hidden; background: var(--surface-subtle); }
.currency-switcher__option {
    display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 40px; padding: 0 var(--space-3);
    font-family: var(--font-pixel); font-size: 0.625rem; color: var(--color-text-secondary); text-decoration: none;
}
.currency-switcher__option + .currency-switcher__option { border-left: var(--border-px) solid var(--color-border-strong); }
.currency-switcher__option:hover { background: var(--surface-control-hover); color: var(--color-text); }
.currency-switcher__option.is-current { background: var(--color-accent); color: var(--color-on-accent); }
.currency-switcher--mobile { display: none; }

/* Hamburguesa */
.nav-toggle { position: relative; display: none; width: 44px; height: 44px; background: transparent; border: var(--border-px) solid var(--color-border-strong); border-radius: var(--radius-md); cursor: pointer; color: var(--color-text); }
.nav-toggle span { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--color-accent); transition: transform var(--transition-base), opacity var(--transition-base); }
.nav-toggle span:nth-child(1) { top: 13px; } .nav-toggle span:nth-child(2) { top: 20px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.close-cross { position: relative; display: block; width: 20px; height: 20px; }
.close-cross::before, .close-cross::after { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--color-accent); }
.close-cross::before { transform: rotate(45deg); } .close-cross::after { transform: rotate(-45deg); }
.primary-nav__mobile-header { display: none; }

@media (max-width: 1099px) {
    .nav-toggle { display: inline-block; }
    .primary-nav {
        position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); margin: 0;
        background: var(--color-bg-elevated); border-left: var(--border-px) solid var(--color-border-strong);
        padding: var(--space-4) var(--space-5) var(--space-8); transform: translateX(105%); visibility: hidden;
        transition: transform var(--transition-base), visibility 0s linear 200ms; z-index: var(--z-drawer); overflow-y: auto;
    }
    .primary-nav.is-open { transform: none; visibility: visible; transition: transform var(--transition-base); }
    .primary-nav__mobile-header { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: var(--space-4); }
    .primary-nav__mobile-title { font-family: var(--font-pixel); font-size: 0.75rem; color: var(--color-accent); }
    .primary-nav__mobile-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: var(--border-px) solid var(--color-border-strong); border-radius: var(--radius-md); cursor: pointer; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__link { width: 100%; min-height: 52px; font-size: var(--font-size-base); border-bottom: 1px dashed var(--color-border); border-radius: 0; }
    .primary-nav .currency-switcher--mobile { display: block; margin-top: var(--space-6); }
    .header-actions .currency-switcher--header { display: none; }
    /* El panel vive dentro del header (z-index 200): el velo tiene que quedar por debajo de él. */
    .nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: calc(var(--z-header) - 1); opacity: 0; visibility: hidden; transition: opacity var(--transition-base); }
    .nav-overlay.is-open { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 479px) { .site-logo__img { height: 38px; } .header-main__inner { gap: var(--space-2); } }

/* Mini-carrito (drawer) */
.mini-cart-drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; pointer-events: none; }
.mini-cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.mini-cart-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity var(--transition-base); }
.mini-cart-drawer.is-open .mini-cart-drawer__overlay { opacity: 1; }
.mini-cart-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(94vw, 420px); background: var(--color-bg-elevated); border-left: var(--border-px) solid var(--color-border-strong);
    display: flex; flex-direction: column; transform: translateX(105%); transition: transform var(--transition-base);
}
.mini-cart-drawer.is-open .mini-cart-drawer__panel { transform: none; }
.mini-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: var(--border-px) solid var(--color-border); }
.mini-cart-drawer__title { margin: 0; font-size: 0.8125rem; color: var(--color-accent); }
.mini-cart-drawer__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: var(--border-px) solid var(--color-border-strong); border-radius: var(--radius-md); cursor: pointer; }
.widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; overflow-y: auto; padding: var(--space-4) var(--space-5) var(--space-6); }
.mini-cart-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.mini-cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-bottom: 1px dashed var(--color-border); }
.mini-cart-item__img { width: 64px; height: 64px; object-fit: cover; image-rendering: pixelated; border: var(--border-px) solid var(--color-border); background: var(--color-bg-media); }
.mini-cart-item__name { font-weight: var(--font-weight-bold); color: var(--color-text); text-decoration: none; display: block; line-height: 1.3; }
.mini-cart-item__meta { color: var(--color-text-muted); font-size: var(--font-size-sm); }
.mini-cart-item .remove { color: var(--color-text-muted); font-size: 1.4rem; text-decoration: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.mini-cart-item .remove:hover { color: var(--color-hot); }
.mini-cart-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: var(--font-weight-bold); padding: var(--space-3) 0; }
.mini-cart-actions { display: grid; gap: var(--space-3); margin-top: auto; }
.mini-cart-empty { text-align: center; padding: var(--space-10) 0; color: var(--color-text-secondary); }
.mini-cart-empty .sprite { margin-bottom: var(--space-3); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { margin-top: var(--page-end-space); background: var(--color-bg-elevated); border-top: var(--border-px) solid var(--color-border-strong); position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: repeating-linear-gradient(90deg, var(--color-hot) 0 24px, var(--color-accent) 24px 48px, var(--color-cyan) 48px 72px, var(--color-violet) 72px 96px); }
.footer__top { display: grid; gap: var(--space-8); padding-block: var(--space-12) var(--space-8); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand p { color: var(--color-text-secondary); font-size: var(--font-size-sm); }
.footer__logo { height: 52px; width: auto; margin-bottom: var(--space-4); image-rendering: pixelated; }
.footer__title { font-family: var(--font-pixel); font-size: 0.6875rem; color: var(--color-accent); margin-bottom: var(--space-4); letter-spacing: 0.04em; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin: 0; }
.footer__list a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; color: var(--color-text-secondary); text-decoration: none; font-size: var(--font-size-sm); }
.footer__list a:hover { color: var(--color-cyan); }
.footer__social { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }
.footer__social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: var(--border-px) solid var(--color-border-strong); border-radius: var(--radius-md); color: var(--color-text); }
.footer__social a:hover { color: var(--color-accent); border-color: var(--color-accent); }
.footer__payments { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 12px; font-weight: 700; color: var(--color-text-secondary); border: var(--border-px) solid var(--color-border); border-radius: var(--radius-md); background: var(--surface-subtle); }
.footer__legal { padding-block: var(--space-6); border-top: 1px dashed var(--color-border); color: var(--color-text-muted); font-size: var(--font-size-xs); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: space-between; }
.footer__legal p { margin: 0; max-width: none; }
.footer__legal a { color: var(--color-text-secondary); }
@media (max-width: 639px) { .site-footer { padding-bottom: 76px; } }

/* ==========================================================================
   SECCIONES (home y páginas comerciales)
   ========================================================================== */
.section { padding-block: var(--space-16); position: relative; }
.section--alt { background: var(--color-bg-elevated); border-block: var(--border-px) solid var(--color-border); }
.section--tight { padding-block: var(--space-10); }
@media (max-width: 639px) { .section { padding-block: var(--space-12); } }
.section__header { max-width: 760px; margin: 0 auto var(--space-10); text-align: center; }
.section__header--left { margin-inline: 0; text-align: left; }
.section__eyebrow { display: inline-block; font-family: var(--font-pixel); font-size: 0.625rem; color: var(--color-cyan); margin-bottom: var(--space-4); letter-spacing: 0.06em; text-transform: uppercase; }
.section__title { margin-bottom: var(--space-4); }
.section__lead { color: var(--color-text-secondary); font-size: var(--font-size-lg); margin-inline: auto; }
.section__header--left .section__lead { margin-inline: 0; }
.glow-text { text-shadow: 0 0 18px var(--color-hot-glow), 2px 2px 0 rgba(0, 0, 0, 0.6); }
.hl-accent { color: var(--color-accent); } .hl-hot { color: var(--color-hot); } .hl-cyan { color: var(--color-cyan); }

/* Tarjetas */
.card {
    background: var(--card-bg); border: var(--border-px) solid var(--card-border); border-radius: var(--radius-md); padding: var(--card-padding);
    box-shadow: var(--shadow-pixel); position: relative;
}
.card--emphasis { border-color: var(--color-border-accent); box-shadow: var(--shadow-pixel), 0 0 40px var(--color-accent-glow); }
.card--hot { border-color: var(--color-hot); box-shadow: var(--shadow-pixel), 0 0 40px var(--color-hot-glow); }
@media (hover: hover) { .card--hover { transition: transform var(--transition-base), border-color var(--transition-base); } .card--hover:hover { transform: translate(-2px, -2px); border-color: var(--color-border-accent); } }
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Badges / chips */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font-family: var(--font-pixel); font-size: 0.5625rem; letter-spacing: 0.04em; text-transform: uppercase; border-radius: var(--radius-sm); border: var(--border-px) solid transparent; line-height: 1.2; }
.badge--hot { background: var(--color-hot); color: #1A0613; }
.badge--accent { background: var(--color-accent); color: var(--color-on-accent); }
.badge--cyan { background: var(--color-cyan-subtle); color: var(--color-cyan); border-color: rgba(53, 242, 255, 0.4); }
.badge--ghost { background: var(--surface-control); color: var(--color-text-secondary); border-color: var(--color-border); }
.blink { animation: obm-blink 1.1s steps(2, jump-none) infinite; }
@keyframes obm-blink { 0% { opacity: 1; } 100% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .blink { animation: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative; overflow: hidden; padding-block: var(--space-12) var(--space-16);
    background:
        radial-gradient(60% 55% at 78% 40%, rgba(139, 92, 246, 0.32), transparent 70%),
        radial-gradient(40% 40% at 10% 90%, rgba(255, 62, 165, 0.16), transparent 70%),
        var(--color-bg);
}
.hero::before { /* piso de grilla en perspectiva */
    content: ''; position: absolute; left: -10%; right: -10%; bottom: 0; height: 38%;
    background:
        linear-gradient(transparent, var(--color-bg) 92%),
        repeating-linear-gradient(90deg, rgba(139, 92, 246, 0.35) 0 2px, transparent 2px 64px),
        repeating-linear-gradient(0deg, rgba(139, 92, 246, 0.35) 0 2px, transparent 2px 36px);
    transform: perspective(380px) rotateX(58deg); transform-origin: bottom; opacity: 0.55; pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.15fr 0.85fr; } .hero { padding-block: var(--space-16) var(--space-20); } }
.hero__eyebrow { display: inline-flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); }
.hero__title { font-size: 1.25rem; line-height: 1.55; margin-bottom: var(--space-5); }
@media (min-width: 640px) { .hero__title { font-size: 1.75rem; } }
@media (min-width: 1100px) { .hero__title { font-size: 2.125rem; line-height: 1.5; } }
.hero__lead { font-size: var(--font-size-lg); color: var(--color-text-secondary); max-width: 54ch; margin-bottom: var(--space-6); }
.hero__lead strong { color: var(--color-text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-6); }
.hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-6); }
.hero__price-now { font-family: var(--font-pixel); font-size: 1.125rem; color: var(--color-accent); }
.hero__price-was { color: var(--color-text-muted); text-decoration: line-through; }
.hero__price-note { color: var(--color-text-secondary); font-size: var(--font-size-sm); }
.trust-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.trust-row li { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--color-text-secondary); font-size: var(--font-size-sm); margin: 0; }
.trust-row .sprite { width: 32px; height: 32px; }
.crt {
    position: relative; border: 4px solid #000; border-radius: 12px; background: var(--color-bg-raised);
    box-shadow: 0 0 0 2px var(--color-border-strong), 0 0 60px rgba(139, 92, 246, 0.45), 8px 8px 0 rgba(0, 0, 0, 0.5); overflow: hidden;
}
.crt::after { /* scanlines */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px);
    mix-blend-mode: multiply;
}
.crt img { display: block; width: 100%; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; background: var(--color-bg-raised); }
.hero__art { max-width: 420px; margin-inline: auto; width: 100%; }
.float-y { animation: obm-bob 3.4s ease-in-out infinite; }
@keyframes obm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-y { animation: none; } }

/* ==========================================================================
   FRANJA DE OFERTA SEMANAL
   ========================================================================== */
.offer-strip { padding-block: var(--space-8); }
.offer-card {
    display: grid; gap: var(--space-6); align-items: center; padding: var(--space-6);
    background: linear-gradient(135deg, rgba(255, 62, 165, 0.16), rgba(139, 92, 246, 0.16)), var(--color-bg-raised);
    border: var(--border-px) solid var(--color-hot); border-radius: var(--radius-md); box-shadow: var(--shadow-pixel-lg), var(--shadow-glow-hot);
}
@media (min-width: 900px) { .offer-card { grid-template-columns: 1.2fr 1fr auto; padding: var(--space-8); } }
.offer-card__title { font-size: 1rem; margin-bottom: var(--space-2); }
.offer-card__text { color: var(--color-text-secondary); margin: 0; }
.offer-card__clock { text-align: center; }
.offer-card__label { font-family: var(--font-pixel); font-size: 0.5625rem; color: var(--color-hot); display: block; margin-bottom: var(--space-3); letter-spacing: 0.06em; }
.clock { display: inline-flex; gap: var(--space-2); }
.clock__cell { min-width: 62px; padding: var(--space-3) var(--space-2); background: #000; border: var(--border-px) solid var(--color-border-strong); border-radius: var(--radius-md); text-align: center; }
.clock__num { display: block; font-family: var(--font-pixel); font-size: 1.125rem; color: var(--color-accent); line-height: 1.2; text-shadow: 0 0 12px var(--color-accent-glow); }
.clock__lab { display: block; font-size: 10px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
@media (max-width: 479px) { .clock__cell { min-width: 56px; } .clock__num { font-size: 0.9375rem; } }
.offer-ended { display: none; }
.is-expired .clock { display: none; }
.is-expired .offer-ended { display: block; font-weight: 700; }

/* ==========================================================================
   NOSTALGIA
   ========================================================================== */
.memory-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .memory-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .memory-grid { grid-template-columns: repeat(4, 1fr); } }
.memory { padding: var(--space-6); background: var(--glass-bg); border: var(--border-px) solid var(--card-border); border-radius: var(--radius-md); box-shadow: var(--shadow-pixel); }
.memory .sprite { width: 48px; height: 48px; margin-bottom: var(--space-4); }
.memory__title { font-size: var(--font-size-lg); margin-bottom: var(--space-2); }
.memory p { color: var(--color-text-secondary); margin: 0; font-size: var(--font-size-sm); }
.memory:nth-child(1) { border-top-color: var(--color-accent); } .memory:nth-child(2) { border-top-color: var(--color-hot); }
.memory:nth-child(3) { border-top-color: var(--color-cyan); } .memory:nth-child(4) { border-top-color: var(--color-violet); }
.story { max-width: 720px; margin: var(--space-10) auto 0; padding: var(--space-6) var(--space-6); border-left: 6px solid var(--color-hot); background: var(--surface-subtle); font-size: var(--font-size-lg); color: var(--color-text); }
.story p { max-width: none; margin-bottom: var(--space-3); }
.story p:last-child { margin: 0; color: var(--color-accent); font-weight: var(--font-weight-bold); }

/* ==========================================================================
   COMPARATIVA
   ========================================================================== */
.compare { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: var(--space-6); border: var(--border-px) solid var(--color-border); border-radius: var(--radius-md); background: var(--surface-subtle); }
.compare__col--us { border-color: var(--color-accent); background: var(--color-accent-subtle); box-shadow: var(--shadow-pixel), var(--shadow-glow-accent); }
.compare__title { font-size: var(--font-size-lg); display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) 0; border-bottom: 1px dashed var(--color-border); margin: 0; }
.compare li:last-child { border: 0; }
.compare__x, .compare__ok { flex: none; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; border-radius: var(--radius-sm); font-size: 13px; margin-top: 2px; }
.compare__x { background: rgba(255, 92, 108, 0.16); color: var(--color-error); }
.compare__ok { background: var(--color-success-subtle); color: var(--color-success); }

/* ==========================================================================
   PASOS
   ========================================================================== */
.steps { display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: var(--space-8) var(--space-6) var(--space-6); background: var(--glass-bg); border: var(--border-px) solid var(--card-border); border-radius: var(--radius-md); box-shadow: var(--shadow-pixel); }
.step__num { position: absolute; top: -18px; left: var(--space-5); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-on-accent); border: var(--border-px) solid #000; border-radius: var(--radius-md); font-family: var(--font-pixel); font-size: 1rem; box-shadow: 0 4px 0 var(--color-accent-shadow); }
.step__title { font-size: var(--font-size-xl); margin-bottom: var(--space-2); }
.step p { color: var(--color-text-secondary); margin: 0; }
.step .sprite { width: 48px; height: 48px; margin-bottom: var(--space-3); }

/* ==========================================================================
   PLATAFORMAS
   ========================================================================== */
.platform { padding: var(--space-6); text-align: center; }
.platform .sprite { width: 64px; height: 64px; margin-bottom: var(--space-4); }
.platform h3 { font-size: var(--font-size-xl); margin-bottom: var(--space-2); }
.platform__req { list-style: none; margin: var(--space-4) 0 0; padding: 0; text-align: left; font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.platform__req li { padding: var(--space-2) 0; border-top: 1px dashed var(--color-border); margin: 0; display: flex; gap: var(--space-2); }
.platform__req li::before { content: '▸'; color: var(--color-accent); flex: none; }

/* ==========================================================================
   QUÉ INCLUYE
   ========================================================================== */
.feature { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); background: var(--surface-subtle); border: var(--border-px) solid var(--color-border); border-radius: var(--radius-md); }
.feature .sprite { width: 48px; height: 48px; flex: none; }
.feature h3 { font-size: var(--font-size-base); margin-bottom: var(--space-1); }
.feature p { margin: 0; color: var(--color-text-secondary); font-size: var(--font-size-sm); }

/* ==========================================================================
   GARANTÍA
   ========================================================================== */
.guarantee { display: grid; gap: var(--space-6); align-items: center; padding: var(--space-8); background: linear-gradient(135deg, rgba(61, 255, 154, 0.10), rgba(53, 242, 255, 0.06)), var(--color-bg-raised); border: var(--border-px) solid var(--color-success); border-radius: var(--radius-md); box-shadow: var(--shadow-pixel-lg); }
@media (min-width: 768px) { .guarantee { grid-template-columns: auto 1fr; } }
.guarantee .sprite { width: 96px; height: 96px; margin-inline: auto; }
.guarantee h2 { font-size: 1.125rem; margin-bottom: var(--space-3); }
.guarantee p { color: var(--color-text-secondary); }
.guarantee__list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.guarantee__list li { display: flex; gap: var(--space-2); margin: 0; font-size: var(--font-size-sm); }
.guarantee__list li::before { content: '✔'; color: var(--color-success); font-weight: 800; }

/* ==========================================================================
   CARD DE PRODUCTO EN HOME
   ========================================================================== */
.product-feature { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 900px) { .product-feature { grid-template-columns: 0.9fr 1.1fr; } }
.product-feature__art { max-width: 460px; margin-inline: auto; width: 100%; }
.product-feature__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3) var(--space-4); margin: var(--space-5) 0; }
.product-feature__list { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: var(--space-3); }
.product-feature__list li { display: flex; gap: var(--space-3); margin: 0; align-items: flex-start; }
.product-feature__list li::before { content: '▸'; color: var(--color-accent); font-weight: 800; flex: none; }

/* ==========================================================================
   FAQ (details nativo)
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: var(--space-3); }
.faq-group { margin-top: var(--space-8); }
.faq-group__title { font-size: 0.8125rem; color: var(--color-cyan); margin-bottom: var(--space-4); }
.faq__item { border: var(--border-px) solid var(--color-border); border-radius: var(--radius-md); background: var(--surface-subtle); }
.faq__item[open] { border-color: var(--color-border-accent); background: var(--glass-bg); }
.faq__q { cursor: pointer; list-style: none; padding: var(--space-4) var(--space-5); font-weight: var(--font-weight-bold); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; font-family: var(--font-pixel); color: var(--color-accent); font-size: 1rem; flex: none; }
.faq__item[open] .faq__q::after { content: '–'; }
.faq__a { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-secondary); }
.faq__a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-banner { text-align: center; padding: var(--space-12) var(--space-6); background: radial-gradient(60% 100% at 50% 0%, rgba(255, 62, 165, 0.25), transparent 70%), linear-gradient(135deg, var(--color-bg-raised), var(--color-bg-elevated)); border: var(--border-px) solid var(--color-border-accent); border-radius: var(--radius-md); box-shadow: var(--shadow-pixel-lg), var(--shadow-glow-accent); }
.cta-banner__title { margin-bottom: var(--space-3); }
.cta-banner p { margin-inline: auto; color: var(--color-text-secondary); }
.cta-banner .clock { margin: var(--space-4) 0 var(--space-6); }
.cta-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }

/* Opiniones reales */
.review-card { padding: var(--space-6); }
.review-card__stars { color: var(--color-accent); letter-spacing: 3px; margin-bottom: var(--space-3); }
.review-card__text { font-size: var(--font-size-base); }
.review-card__author { color: var(--color-text-muted); font-size: var(--font-size-sm); margin: 0; }

/* ==========================================================================
   PÁGINAS DE CONTENIDO
   ========================================================================== */
.content-page { padding-block: var(--space-12) 0; }
.content-page__header { max-width: 820px; margin-bottom: var(--space-8); }
.content-page__header h1 { margin-bottom: var(--space-4); }
.content-page__lead { font-size: var(--font-size-lg); color: var(--color-text-secondary); }
.content-page__body { max-width: 820px; }
.content-page__body h2 { font-size: 1.0625rem; margin-top: var(--space-10); }
.content-page__body h3 { margin-top: var(--space-6); }
.content-page__body li { margin-bottom: var(--space-2); }
.legal-card { padding: var(--space-5) var(--space-6); border: var(--border-px) solid var(--color-border); border-left: 6px solid var(--color-cyan); background: var(--surface-subtle); border-radius: var(--radius-md); margin-block: var(--space-6); }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card--warn { border-left-color: var(--color-warning); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.breadcrumb a { color: var(--color-text-secondary); } .breadcrumb span[aria-hidden] { opacity: 0.6; }
.page-end { padding-bottom: var(--page-end-space); }
.contact-strip { display: grid; gap: var(--space-4); margin-top: var(--space-10); }
@media (min-width: 640px) { .contact-strip { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.contact-chip { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4) var(--space-5); border: var(--border-px) solid var(--color-border); border-radius: var(--radius-md); background: var(--surface-subtle); color: var(--color-text); text-decoration: none; min-height: 64px; }
.contact-chip:hover { border-color: var(--color-border-accent); color: var(--color-text); }
.contact-chip small { display: block; color: var(--color-text-muted); font-weight: 400; }
.contact-chip svg { flex: none; color: var(--color-accent); }

/* Formularios de página (arrepentimiento / contacto) */
.withdrawal-form, .contact-form { display: grid; gap: var(--space-4); max-width: 720px; }
.withdrawal-form__grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .withdrawal-form__grid { grid-template-columns: 1fr 1fr; } }
.withdrawal-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.withdrawal-form p, .contact-form p { margin: 0; max-width: none; }
.withdrawal-form small, .contact-form small { display: block; color: var(--color-text-muted); margin-top: var(--space-2); }
.withdrawal-alert { padding: var(--space-4) var(--space-5); border: var(--border-px) solid; border-radius: var(--radius-md); margin-bottom: var(--space-6); display: grid; gap: var(--space-1); }
.withdrawal-alert--success { border-color: var(--color-success); background: var(--color-success-subtle); color: var(--color-success-text); }
.withdrawal-alert--error { border-color: var(--color-error); background: rgba(255, 92, 108, 0.08); color: var(--color-error-text); }

/* 404 / vacío */
.page-state { text-align: center; padding-block: var(--space-16); }
.page-state .sprite { width: 96px; height: 96px; margin-bottom: var(--space-6); }
.page-state p { margin-inline: auto; color: var(--color-text-secondary); }

/* Barra de compra fija en celulares */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-floating); display: none; padding: var(--space-3) var(--container-padding) calc(var(--space-3) + env(safe-area-inset-bottom)); background: rgba(11, 7, 22, 0.96); border-top: var(--border-px) solid var(--color-border-accent); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); transform: translateY(110%); transition: transform var(--transition-base); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__inner { display: flex; gap: var(--space-3); align-items: center; justify-content: space-between; }
.sticky-buy__price { font-family: var(--font-pixel); font-size: 0.875rem; color: var(--color-accent); line-height: 1.3; }
.sticky-buy__price small { display: block; font-family: var(--font-base); font-size: 11px; color: var(--color-hot); font-weight: 700; }
@media (max-width: 899px) { .sticky-buy { display: block; } }

/* Impresión sencilla */
@media print { .promo-bar, .site-header, .site-footer, .sticky-buy, .mini-cart-drawer { display: none !important; } body { background: #fff; color: #000; } }
