:root {
    /* Paleta Biotech Premium */
    --negro-carbon: #050505;
    --negro-superficie: #0A0A0C;
    --negro-elevado: #121214;
    --rojo-foil: #C8102E;
    --rojo-glow: rgba(200, 16, 46, 0.3);
    --blanco-puro: #FFFFFF;
    --plata-clara: #F3F4F6;
    --gris-texto: #9CA3AF;
    --borde-sutil: rgba(255, 255, 255, 0.05);
    
    /* Tipografías */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Satoshi', sans-serif;

    /* Animaciones */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --navbar-bg: rgba(5, 5, 5, 0.7);
}

body.light-mode {
    --negro-carbon: #ffffff;
    --negro-superficie: #f8f9fa;
    --negro-elevado: #f1f3f5;
    --blanco-puro: #0a0a0a;
    --plata-clara: #333333;
    --gris-texto: #4B5563;
    --borde-sutil: rgba(0, 0, 0, 0.1);
    --navbar-bg: rgba(255, 255, 255, 0.85);
    --rojo-glow: rgba(200, 16, 46, 0.1);
}

/* ---- LIGHT MODE OVERRIDES ---- */
/* Buttons with colored bg must always have white text */
body.light-mode .btn-primary {
    color: #ffffff !important;
}
body.light-mode .btn-usa-blue {
    color: #ffffff !important;
}
body.light-mode .peptilife-btn {
    color: #ffffff !important;
}
body.light-mode .theme-dorado .peptilife-btn,
body.light-mode .theme-plateado .peptilife-btn,
body.light-mode .theme-cobre .peptilife-btn {
    color: #000 !important;
}

/* Cart count badge always white on red */
body.light-mode .cart-count {
    color: #ffffff !important;
}

/* WhatsApp float btn */
body.light-mode .wa-float-btn {
    color: #ffffff !important;
}

/* Main wrapper gradient for light mode */
body.light-mode .main-wrapper {
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.9) 30%, #ffffff 100%);
}

/* Navbar in light mode */
body.light-mode .navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Mobile nav dropdown in light mode */
body.light-mode .nav-links {
    background: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Hero badge readable in light */
body.light-mode .hero-badge {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Hero feature items */
body.light-mode .hero-feature-item {
    color: var(--gris-texto);
}

/* Hero outline button */
body.light-mode .btn-outline-dark {
    color: var(--blanco-puro) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}
body.light-mode .btn-outline-dark:hover {
    border-color: var(--rojo-foil) !important;
}

/* Blog section */
body.light-mode .blog-card .blog-content {
    background: var(--negro-superficie) !important;
    border-color: var(--borde-sutil) !important;
}

/* Footer text */
body.light-mode footer {
    background: var(--negro-superficie) !important;
}

/* Peptilife card image container in light mode */
body.light-mode .peptilife-img-container {
    background: rgba(0, 0, 0, 0.02);
}

/* Cart sidebar in light mode */
body.light-mode .cart-sidebar {
    background: #ffffff;
}
body.light-mode .cart-footer {
    background: var(--negro-superficie);
}
body.light-mode .cart-item {
    background: var(--negro-superficie);
}
body.light-mode .cart-overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* Country modal in light mode */
body.light-mode .country-modal {
    background: #ffffff;
    border-color: var(--rojo-foil);
}
body.light-mode .country-options button {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--blanco-puro);
}

/* Form inputs in light mode */
body.light-mode .form-group input {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    color: #0a0a0a;
}

/* Scanner/calculator in light mode */
body.light-mode .scanner-grid {
    background: rgba(255, 255, 255, 0.9);
}
body.light-mode .scanner-input-group input[type="range"] {
    background: rgba(0, 0, 0, 0.1);
}
body.light-mode .scanner-input-group input[type="text"] {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    color: #0a0a0a;
}
body.light-mode .gender-toggle button {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--gris-texto);
}
body.light-mode .gender-toggle button.active {
    color: var(--blanco-puro);
}
body.light-mode .bmi-bg {
    stroke: rgba(0, 0, 0, 0.08);
}
body.light-mode .recommended-protocol {
    background: rgba(0, 0, 0, 0.03);
}
/* === CALCULADORA LIGHT MODE OVERRIDES === */
body.light-mode .calc-tab-btn {
    color: #333333;
    border-color: rgba(0,0,0,0.2);
}
body.light-mode .calc-tab-btn:hover {
    color: #000000;
    border-color: var(--rojo-foil);
}
body.light-mode .calc-tab-btn.active {
    background: var(--rojo-foil);
    color: #ffffff;
    border-color: var(--rojo-foil);
}
body.light-mode .calc-tab-content {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.1) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
body.light-mode .recon-label {
    color: #111111 !important;
}
body.light-mode .chip-btn {
    background: rgba(0,0,0,0.04) !important;
    border-color: rgba(0,0,0,0.15) !important;
    color: #333333 !important;
}
body.light-mode .chip-btn:hover {
    border-color: rgba(0,0,0,0.4) !important;
    color: #000000 !important;
}
body.light-mode .chip-btn.active {
    background: var(--rojo-foil) !important;
    color: #ffffff !important;
    border-color: var(--rojo-foil) !important;
}
body.light-mode .chip-input {
    color: #111111 !important;
    border-color: rgba(0,0,0,0.2) !important;
    background: #f5f5f5 !important;
}
body.light-mode .chip-unit {
    color: #555 !important;
}
body.light-mode .recon-result-card {
    background: rgba(0,0,0,0.02) !important;
    border-color: rgba(0,0,0,0.1) !important;
}
body.light-mode .big-iu {
    color: var(--rojo-foil) !important;
}
body.light-mode .big-iu-sub {
    color: #555555 !important;
}
body.light-mode .meta-val {
    color: #111111 !important;
}
body.light-mode .syr-lbl {
    color: #333333 !important;
}
body.light-mode .recon-empty {
    color: #777777 !important;
}

/* Close cart btn */
body.light-mode .close-cart {
    color: var(--gris-texto);
}

/* Section dark backgrounds adapt */
body.light-mode .section-dark {
    background: var(--negro-superficie) !important;
}

/* Checkout form back button */
body.light-mode .btn-outline-dark[onclick="hideCheckoutForm()"] {
    color: var(--blanco-puro) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--negro-carbon);
    color: var(--blanco-puro);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.video-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}
.video-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-video-desktop {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preloader-video-mobile {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .preloader-video-desktop {
        display: none !important;
    }
    .preloader-video-mobile {
        display: block !important;
        object-position: center;
    }
}

/* ==========================================================================
   CANVAS INTERACTIVO (Fondo)
   ========================================================================== */
#moleculeCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: all; /* Para detectar el mouse */
}

/* Wrapper para asegurar que el contenido flote sobre el canvas */
.main-wrapper {
    position: relative;
    z-index: 10;
    /* Un ligero degradado para oscurecer el fondo a medida que scrolleas */
    background: linear-gradient(to bottom, transparent 0%, rgba(5,5,5,0.9) 30%, var(--negro-carbon) 100%);
}

/* ==========================================================================
   TIPOGRAFÍA Y UTILIDADES
   ========================================================================== */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--blanco-puro) 0%, var(--gris-texto) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-red { color: var(--rojo-foil); }

.tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    color: var(--rojo-foil);
    display: block;
    margin-bottom: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--rojo-foil);
    color: var(--blanco-puro);
    border: 1px solid var(--rojo-foil);
    box-shadow: 0 10px 30px var(--rojo-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-smooth);
    z-index: -1;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(200,16,46,0.5); }

.btn-usa-blue {
    background: #1E3A8A;
    color: var(--blanco-puro) !important;
    border: 1px solid #3B82F6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-usa-blue::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-smooth);
    z-index: -1;
}
.btn-usa-blue:hover::before { left: 100%; }
.btn-usa-blue:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6); 
    background: #2563EB;
    border-color: #2563EB;
    color: var(--blanco-puro) !important;
}

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--borde-sutil);
    color: var(--blanco-puro);
}
.btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.05);
}


.btn-nav-top {
    color: var(--blanco-puro) !important;
    border: 1px solid var(--borde-sutil) !important;
    padding: 8px 20px !important;
    text-decoration: none !important;
    border-radius: 30px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    background: transparent !important;
    transition: var(--transition-smooth) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-nav-top:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}
body.light-mode .btn-nav-top:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #FFF;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}
.float-wa:hover { transform: translateY(-5px) scale(1.05); }

/* ==========================================================================
   NAVEGACIÓN
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--borde-sutil);
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--blanco-puro);
    text-decoration: none;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    color: var(--gris-texto);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--rojo-foil); }

/* ==========================================================================
   HERO EXACTO (Pero Futurista)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-badge {
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blanco-puro);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    font-weight: 300;
}
.hero h1 strong { font-weight: 700; }

.hero-features {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gris-texto);
    font-weight: 500;
}

.hero-feature-item svg {
    color: var(--rojo-foil);
}

.hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--gris-texto);
    max-width: 800px;
}

/* ==========================================================================
   TRUST BAR (Mini Beneficios debajo del Hero)
   ========================================================================== */
.trust-bar {
    border-top: 1px solid var(--borde-sutil);
    border-bottom: 1px solid var(--borde-sutil);
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 5%;
}

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

.trust-item {
    text-align: left;
    padding-left: 20px;
    border-left: 2px solid var(--rojo-foil);
}

.trust-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blanco-puro);
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--gris-texto);
    line-height: 1.5;
}

/* ==========================================================================
   CATÁLOGO COMPLETO (Grid Masiva Premium)
   ========================================================================== */
.catalog-section {
    padding: 100px 5%;
    background: var(--negro-carbon);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--negro-superficie);
    border: 1px solid var(--borde-sutil);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(200, 16, 46, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 40px rgba(200,16,46,0.03);
}

.product-card-header {
    padding: 24px;
    border-bottom: 1px solid var(--borde-sutil);
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.product-mg {
    float: right;
    font-family: var(--font-heading);
    color: var(--rojo-foil);
    font-weight: 700;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.product-card .cat {
    font-size: 0.75rem;
    color: var(--gris-texto);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-card-body {
    padding: 24px;
    flex-grow: 1;
}

.product-card-body p {
    font-size: 0.9rem;
    color: var(--gris-texto);
    line-height: 1.6;
}

.product-card-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--borde-sutil);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--negro-elevado);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.add-link {
    color: var(--rojo-foil);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.add-link:hover { color: var(--blanco-puro); }

/* ==========================================================================
   TABLA COMPARATIVA Y ESTADÍSTICAS
   ========================================================================== */
.stats-section {
    padding: 100px 5%;
    background: var(--negro-elevado);
    border-top: 1px solid var(--borde-sutil);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto 80px;
    background: var(--negro-superficie);
    border: 1px solid var(--borde-sutil);
    border-radius: 4px;
}

.comp-row { display: flex; border-bottom: 1px solid var(--borde-sutil); }
.comp-row:last-child { border-bottom: none; }
.comp-col { flex: 1; padding: 24px; text-align: center; font-size: 0.95rem; }

.comp-header {
    background: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.col-brand {
    border-left: 1px solid var(--rojo-foil);
    border-right: 1px solid var(--rojo-foil);
    color: var(--blanco-puro);
    background: rgba(200, 16, 46, 0.02);
}

.col-gen { color: var(--gris-texto); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--rojo-foil);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--gris-texto);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials {
    padding: 100px 5%;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.test-card {
    background: var(--negro-superficie);
    padding: 40px 30px;
    border: 1px solid var(--borde-sutil);
    border-radius: 4px;
}

.test-card p {
    font-size: 1rem;
    color: var(--plata-clara);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.test-author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--rojo-foil);
}

.test-loc {
    font-size: 0.8rem;
    color: var(--gris-texto);
}

/* ==========================================================================
   GARANTÍAS Y FOOTER
   ========================================================================== */
.guarantee-section {
    padding: 80px 5%;
    background: linear-gradient(180deg, var(--negro-carbon) 0%, #0A0203 100%);
    text-align: center;
    border-top: 1px solid var(--borde-sutil);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.g-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(200, 16, 46, 0.2);
    padding: 30px;
}

.g-card h4 { margin-bottom: 10px; color: var(--blanco-puro); }
.g-card p { color: var(--gris-texto); font-size: 0.9rem; }

@media (max-width: 768px) {
    .guarantee-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .comp-row { flex-direction: column; }
    .col-brand { border: none; border-top: 1px solid var(--rojo-foil); }
}

/* ==========================================================================
   CARRITO DE COMPRAS Y BOTONES
   ========================================================================== */
.cart-icon-btn {
    background: transparent;
    border: none;
    color: var(--blanco-puro);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}
.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--rojo-foil);
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
    position: fixed;
    top: 0; right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--negro-elevado);
    z-index: 10001;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-sidebar.open { right: 0; }

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--borde-sutil);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h2 { font-size: 1.2rem; }
.close-cart {
    background: transparent; border: none; color: var(--gris-texto);
    font-size: 1.5rem; cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}
.cart-item {
    background: var(--negro-superficie);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid var(--borde-sutil);
}
.cart-item-info h4 { font-size: 1rem; margin-bottom: 10px; }
.cart-item-controls {
    display: flex; align-items: center; gap: 15px;
}
.cart-item-controls button,
body.light-mode .cart-item-controls button,
body .cart-sidebar .cart-item-controls button {
    background: transparent !important;
    border: 1px solid var(--gris-texto) !important;
    color: var(--blanco-puro) !important;
    width: 25px !important;
    height: 25px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-weight: bold !important;
    transition: all 0.2s !important;
    opacity: 1 !important;
}
.cart-item-controls button:hover,
body.light-mode .cart-item-controls button:hover,
body .cart-sidebar .cart-item-controls button:hover {
    background: rgba(200, 16, 46, 0.1) !important;
    border-color: var(--rojo-foil) !important;
    color: var(--rojo-foil) !important;
}
.cart-item-price {
    margin-top: 10px; font-weight: bold; color: var(--rojo-foil);
    display: flex; justify-content: space-between;
}
.remove-btn { background: transparent; border: none; cursor: pointer; opacity: 0.7; }

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--borde-sutil);
    background: var(--negro-superficie);
}
.cart-total-row {
    display: flex; justify-content: space-between;
    font-size: 1.2rem; font-weight: bold; margin-bottom: 20px;
}
.cart-secure-text {
    font-size: 0.8rem; color: var(--gris-texto); text-align: center; margin-top: 15px;
}

/* Modificaciones al Catálogo */
.product-image-real {
    height: 300px;
    background: var(--negro-elevado);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--borde-sutil);
    overflow: hidden;
}
.product-card:hover .product-image-real img {
    transform: scale(1.05);
}

.btn-add {
    background: transparent; border: 1px solid var(--rojo-foil);
    color: var(--rojo-foil); padding: 8px 15px; cursor: pointer;
    border-radius: 2px; font-weight: bold; transition: all 0.3s;
}
.btn-add:hover { background: var(--rojo-foil); color: #fff; }

/* Modal País Multimoneda */
.country-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(15px);
    z-index: 20000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.country-modal-overlay.open { opacity: 1; pointer-events: all; }
.country-modal {
    background: var(--negro-elevado); padding: 50px 40px; border-radius: 8px;
    border: 1px solid var(--rojo-foil); text-align: center; width: 90%; max-width: 450px;
    box-shadow: 0 30px 60px rgba(200,16,46,0.15);
}
.country-modal h2 { margin-bottom: 15px; color: var(--blanco-puro); font-size: 2rem; }
.country-modal p { color: var(--gris-texto); margin-bottom: 40px; line-height: 1.5; }
.country-options { display: flex; flex-direction: column; gap: 20px; }
.country-options button {
    padding: 20px; background: rgba(255,255,255,0.02); border: 1px solid var(--borde-sutil);
    color: var(--blanco-puro); font-family: var(--font-heading); font-size: 1.2rem;
    cursor: pointer; transition: all 0.3s; border-radius: 4px; font-weight: 600;
}
.country-options button:hover {
    border-color: var(--rojo-foil); background: rgba(200,16,46,0.1); transform: translateY(-3px);
}

/* Formularios de Checkout */
.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.85rem; color: var(--gris-texto); }
.form-group input { 
    width: 100%; padding: 12px; background: var(--negro-carbon); 
    border: 1px solid var(--borde-sutil); color: var(--blanco-puro); 
    border-radius: 4px; font-family: var(--font-body); outline: none; transition: border-color 0.3s;
}
.form-group input:focus { border-color: var(--rojo-foil); }

/* PRELOADER */
body.no-scroll { overflow: hidden; }

.video-preloader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000;
    z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}
.video-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.video-preloader video {
    width: 100%; height: 100%;
    object-fit: cover;
    background: #000;
}

/* BOTÓN WHATSAPP FLOTANTE */
@keyframes waFloatPulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.8);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.wa-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 10000;
    transition: all 0.3s ease;
    gap: 10px;
    animation: waFloatPulse 3s infinite ease-in-out;
}
.wa-float-btn:hover {
    animation-play-state: paused;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20BA56;
    color: white;
}
.wa-float-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .wa-float-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px; /* Restored padding to fit text */
    }
    .wa-float-text {
        display: inline; /* Changed from none to inline to show text */
        font-size: 0.85rem; /* Smaller text for mobile */
    }
}

/* ==========================================================================
   ESCÁNER BIOMÉTRICO (Calculadora)
   ========================================================================== */
.scanner-section {
    padding: 120px 5% 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.scanner-header {
    text-align: center;
    margin-bottom: 40px;
}

.scanner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--borde-sutil);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
@media (max-width: 900px) {
    .scanner-grid { grid-template-columns: 1fr; padding: 20px; }
}

.scanner-input-group {
    margin-bottom: 30px;
}
.scanner-input-group label {
    display: flex;
    justify-content: space-between;
    color: var(--gris-texto);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.scanner-input-group input[type="range"] {
    width: 100%;
    accent-color: var(--rojo-foil);
    height: 4px;
    background: rgba(255,255,255,0.2);
    outline: none;
    border-radius: 2px;
    -webkit-appearance: none;
}
.scanner-input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    background: var(--rojo-foil);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--rojo-glow);
    transition: transform 0.2s;
}
.scanner-input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.scanner-input-group input[type="text"] {
    width: 100%; padding: 12px; background: rgba(255,255,255,0.02);
    border: 1px solid var(--borde-sutil); color: var(--blanco-puro);
    border-radius: 4px; font-family: var(--font-body);
}

.gender-toggle {
    display: flex; gap: 10px;
}
.gender-toggle button {
    flex: 1; padding: 12px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--borde-sutil);
    color: var(--gris-texto); border-radius: 4px; cursor: pointer; transition: 0.3s;
    font-family: var(--font-heading); font-weight: 600;
}
.gender-toggle button.active {
    border-color: var(--rojo-foil); color: var(--blanco-puro);
    background: rgba(200, 16, 46, 0.1);
}

.scanner-results {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; border-left: 1px solid var(--borde-sutil); padding-left: 40px;
}
@media (max-width: 900px) {
    .scanner-results { border-left: none; border-top: 1px solid var(--borde-sutil); padding-left: 0; padding-top: 40px; }
}

.bmi-circle {
    position: relative; width: 200px; height: 200px; margin-bottom: 30px;
}
.bmi-circle svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.bmi-circle circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.bmi-bg { stroke: rgba(255,255,255,0.05); }
.bmi-progress { stroke: var(--rojo-foil); stroke-dasharray: 565; stroke-dashoffset: 565; transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.5s; }

.bmi-value-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.bmi-value-text h3 { font-size: 3rem; margin: 0; line-height: 1; font-family: var(--font-heading); }
.bmi-value-text span { font-size: 0.8rem; color: var(--gris-texto); text-transform: uppercase; letter-spacing: 0.1em; }

.bmi-status { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; font-family: var(--font-heading); transition: color 0.3s;}
.bmi-desc { color: var(--gris-texto); font-size: 0.95rem; line-height: 1.5; margin-bottom: 30px; min-height: 60px; }

.recommended-protocol {
    background: rgba(255,255,255,0.02); border: 1px solid var(--borde-sutil);
    padding: 20px; border-radius: 4px; width: 100%; margin-bottom: 30px;
    transition: var(--transition-smooth);
}
.protocol-name { font-family: var(--font-heading); font-size: 1.2rem; color: var(--blanco-puro); margin-bottom: 5px; }
.protocol-desc { font-size: 0.85rem; color: var(--gris-texto); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* -------------------------------------
   ESTILO CATÁLOGO PEPTILIFE REPLICADO 
--------------------------------------*/
@keyframes floatVial {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes auraPulse {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.12); }
}

.peptilife-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    text-align: center;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.peptilife-card:hover {
    transform: translateY(-8px);
    box-shadow: none !important;
}
.peptilife-img-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--borde-sutil);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Pulsing background aura glow */
.peptilife-img-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    animation: auraPulse 6s ease-in-out infinite;
    transition: transform 0.5s ease;
}

/* Metallic glass shimmer */
.peptilife-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12) 20%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.12) 80%,
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}
.peptilife-card:hover .peptilife-img-container::after {
    left: 150%;
}

.peptilife-img-container img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    z-index: 3;
    animation: floatVial 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

/* On hover, pause float, zoom, shift up slightly, and deepen drop shadow */
.peptilife-card:hover .peptilife-img-container img {
    animation-play-state: paused;
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.45));
}
.peptilife-info {
    padding: 0 10px;
}
.peptilife-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--blanco-puro);
    font-family: var(--font-heading);
}
.peptilife-info .product-price {
    font-size: 1.15rem;
    color: var(--gris-texto);
    display: block;
    margin-bottom: 20px;
}
.peptilife-btn {
    width: auto;
    display: inline-block;
    background: var(--rojo-foil);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 auto;
}
.peptilife-btn:hover {
    background: #a00b23;
}

/* ==========================================================================
   TEMAS DE COLORES (AURAS)
   ========================================================================== */
/* Rojo Neón */
.theme-rojo .peptilife-img-container { border-color: rgba(200, 16, 46, 0.4); box-shadow: 0 0 20px rgba(200, 16, 46, 0.1); }
.theme-rojo .peptilife-img-container::before { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(200,16,46,0.15) 0%, transparent 60%); pointer-events: none; }
.theme-rojo .peptilife-btn { background: #C8102E; }
.theme-rojo .peptilife-btn:hover { background: #a00b23; box-shadow: 0 0 15px rgba(200,16,46,0.6); }

/* Dorado Premium */
.theme-dorado .peptilife-img-container { border-color: rgba(212, 175, 55, 0.4); box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
.theme-dorado .peptilife-img-container::before { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 60%); pointer-events: none; }
.theme-dorado .peptilife-btn { background: #D4AF37; color: #000; }
.theme-dorado .peptilife-btn:hover { background: #b5952f; box-shadow: 0 0 15px rgba(212,175,55,0.6); }

/* Plateado / Blanco Brillante */
.theme-plateado .peptilife-img-container { border-color: rgba(220, 220, 220, 0.4); box-shadow: 0 0 20px rgba(220, 220, 220, 0.1); }
.theme-plateado .peptilife-img-container::before { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); pointer-events: none; }
.theme-plateado .peptilife-btn { background: #E5E7EB; color: #000; }
.theme-plateado .peptilife-btn:hover { background: #D1D5DB; box-shadow: 0 0 15px rgba(255,255,255,0.4); }

/* Azul Neón */
.theme-azul .peptilife-img-container { border-color: rgba(0, 163, 255, 0.4); box-shadow: 0 0 20px rgba(0, 163, 255, 0.1); }
.theme-azul .peptilife-img-container::before { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0,163,255,0.15) 0%, transparent 60%); pointer-events: none; }
.theme-azul .peptilife-btn { background: #00A3FF; }
.theme-azul .peptilife-btn:hover { background: #0082cc; box-shadow: 0 0 15px rgba(0,163,255,0.6); }

/* Cobre / Turquesa (GHK-Cu) */
.theme-cobre .peptilife-img-container { border-color: rgba(64, 224, 208, 0.4); box-shadow: 0 0 20px rgba(64, 224, 208, 0.1); }
.theme-cobre .peptilife-img-container::before { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(64,224,208,0.15) 0%, transparent 60%); pointer-events: none; }
.theme-cobre .peptilife-btn { background: #40E0D0; color: #000; }
.theme-cobre .peptilife-btn:hover { background: #32b5a8; box-shadow: 0 0 15px rgba(64,224,208,0.6); }

/* ==========================================================================
   OCULTAR PRECIOS (Modo Cotización)
   ========================================================================== */
.product-price, .cart-total-row {
    display: none !important;
}

/* ==========================================================================
   RESPONSIVO / MOBILE
   ========================================================================== */
/* ==========================================================================
   CONTROLES DE NAVBAR (Siempre visibles)
   ========================================================================== */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--borde-sutil);
    color: var(--blanco-puro);
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1rem;
    flex-shrink: 0;
}
.theme-toggle-btn:hover { border-color: var(--rojo-foil); }

.cart-icon-btn {
    background: transparent;
    border: none;
    color: var(--blanco-puro);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
}
.cart-icon-btn .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--rojo-foil);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 5px;
    min-width: 18px;
    text-align: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--blanco-puro);
    font-size: 1.7rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVO / MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--negro-superficie);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 25px 30px;
        border-bottom: 1px solid var(--borde-sutil);
        gap: 22px;
        align-items: flex-start;
        box-shadow: 0 15px 40px rgba(0,0,0,0.7);
        z-index: 99999;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1rem; }

    .navbar { padding: 16px 5%; }

    .hero h1 { font-size: 2rem; line-height: 1.3; }
    .hero-features { flex-direction: column; gap: 12px; align-items: center; }

    .contact-container { flex-direction: column; padding: 20px; }
    .footer-container { flex-direction: column; text-align: center; gap: 40px; }

    .cart-sidebar { width: 100%; right: -100%; }

    .peptilife-img-container { height: 250px; }

    .country-modal { width: 90%; padding: 25px 20px; }

}

/* ---------------------------------------------------
   LEAD CAPTURE MODAL (Compact 1:1 format)
--------------------------------------------------- */
.lead-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.lead-modal-overlay.open {
    opacity: 1;
}
.lead-modal {
    background: var(--negro-elevado);
    border: 1px solid var(--borde-sutil);
    border-radius: 12px;
    width: 92%;
    max-width: 360px;
    /* Square-ish: limit height so it doesn't fill screen */
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 22px 22px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
body.light-mode .lead-modal {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0,0,0,0.1);
}
.lead-modal-overlay.open .lead-modal {
    transform: translateY(0) scale(1);
}
.lead-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--gris-texto);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.lead-modal-close:hover { color: var(--rojo-foil); }
.lead-modal-content { text-align: center; }
.lead-modal-content h2 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    line-height: 1.25;
    padding-right: 20px; /* avoid overlap with X button */
}
.lead-modal-content > p {
    color: var(--gris-texto);
    font-size: 0.8rem;
    margin-bottom: 14px;
    line-height: 1.4;
}
.lead-form-group {
    margin-bottom: 8px;
}
.lead-form-group input {
    width: 100%;
    padding: 9px 12px;
    border-radius: 7px;
    border: 1px solid var(--borde-sutil);
    background: rgba(255,255,255,0.05);
    color: var(--blanco-puro);
    font-family: inherit;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}
.lead-form-group input:focus {
    outline: none;
    border-color: var(--rojo-foil);
}
body.light-mode .lead-form-group input {
    background: #f5f5f5;
    color: #111111;
    border-color: rgba(0,0,0,0.15);
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 12px;
}
.form-checkbox input { margin-top: 3px; accent-color: var(--rojo-foil); }
.form-checkbox label {
    font-size: 0.72rem;
    color: var(--gris-texto);
    line-height: 1.3;
}

/* ---------------------------------------------------
   CALCULATOR 2.0 (TABS & RECONSTITUTION UI)
--------------------------------------------------- */
.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--borde-sutil);
    padding-bottom: 15px;
}
.calc-tab-btn {
    background: transparent;
    color: var(--gris-texto);
    border: 1px solid var(--borde-sutil);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.calc-tab-btn:hover {
    color: var(--blanco-puro);
    border-color: var(--rojo-foil);
}
.calc-tab-btn.active {
    background: var(--rojo-foil);
    color: white;
    border-color: var(--rojo-foil);
}
.calc-tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.calc-tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reconstitution UI */
.recon-section { margin-bottom: 25px; }
.recon-label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris-texto);
    margin-bottom: 10px;
    font-weight: 600;
}
.chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.chip-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    border: 1px solid var(--borde-sutil);
    background: transparent;
    color: var(--gris-texto);
    font-family: inherit;
    transition: all 0.2s ease;
}
.chip-btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: var(--blanco-puro);
}
body.light-mode .chip-btn:hover {
    border-color: rgba(0,0,0,0.4);
}
.chip-btn.active {
    background: var(--rojo-foil);
    color: #ffffff;
    border-color: var(--rojo-foil);
}
.chip-input {
    font-size: 0.9rem;
    width: 90px;
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid var(--borde-sutil);
    background: rgba(255,255,255,0.05);
    color: var(--blanco-puro);
    font-family: inherit;
    transition: border-color 0.2s;
}
.chip-input:focus { outline: none; border-color: var(--rojo-foil); }
.chip-unit { font-size: 0.85rem; color: var(--gris-texto); margin-left: 5px; }

.recon-result-card {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--borde-sutil);
    border-radius: 12px;
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}
body.light-mode .recon-result-card {
    background: rgba(255,255,255,0.6);
}
.recon-empty {
    grid-column: 1 / -1;
    color: var(--gris-texto);
    text-align: center;
    padding: 20px 0;
}
.big-iu {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--rojo-foil);
    line-height: 1;
    margin-bottom: 5px;
}
.big-iu-sub {
    font-size: 1rem;
    color: var(--gris-texto);
    margin-bottom: 20px;
}
.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.meta-box {
    background: rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}
body.light-mode .meta-box {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.05);
}
.meta-lbl { font-size: 0.75rem; text-transform: uppercase; color: var(--gris-texto); letter-spacing: 1px; }
.meta-val { font-size: 1.1rem; font-weight: 600; color: var(--blanco-puro); margin-top: 4px; }

.syr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid var(--borde-sutil);
}
.syr-lbl { font-size: 0.85rem; color: var(--gris-texto); font-weight: 600; }

.recon-alert {
    display: none;
    font-size: 0.9rem;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid;
}
.recon-alert.warning { background: rgba(255, 165, 0, 0.1); border-color: rgba(255, 165, 0, 0.4); color: #FFA500; }
.recon-alert.danger { background: rgba(200, 16, 46, 0.1); border-color: rgba(200, 16, 46, 0.4); color: #ff4444; }
.recon-alert.show { display: block; }

.peptide-selector select {
    width: 100%;
    background: var(--negro-elevado);
    border: 1px solid var(--borde-sutil);
    color: var(--blanco-puro);
    padding: 12px 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 20px;
    appearance: none;
    cursor: pointer;
}
body.light-mode .peptide-selector select {
    background: #ffffff;
    color: #0a0a0a;
}
.recon-buy-btn {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
@media (max-width: 768px) {
    .recon-result-card { grid-template-columns: 1fr; }
    .syr-container { display: none; }
}

/* ==========================================================================
   PAGINACIÓN DEL CATÁLOGO (COMPATIBILIDAD DOBLE MODO CLARO/OSCURO)
   ========================================================================== */
.pagination-link {
    color: var(--blanco-puro) !important;
    border: 1px solid var(--borde-sutil) !important;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 5px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pagination-link:hover {
    background: var(--borde-sutil) !important;
    border-color: var(--rojo-foil) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pagination-link.active {
    background: var(--rojo-foil) !important;
    border-color: var(--rojo-foil) !important;
    color: #ffffff !important; /* Active text is always readable white */
    box-shadow: 0 4px 15px var(--rojo-glow);
}

/* ==========================================================================
   CONTENEDOR DE BENEFICIOS PREMIUM (TRUST BAR)
   ========================================================================== */
.trust-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 auto 50px auto;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--borde-sutil);
    border-radius: 50px;
    backdrop-filter: blur(15px);
    max-width: 850px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-bar-container:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.08);
}

body.light-mode .trust-bar-container {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    border: 1px solid var(--borde-sutil);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .trust-icon-wrapper {
    background: rgba(0, 0, 0, 0.03);
}

.trust-bar-item:hover .trust-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--rojo-foil);
    box-shadow: 0 0 15px var(--rojo-glow);
}

.trust-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.trust-truck {
    width: 22px;
    height: 22px;
    color: var(--rojo-foil);
}

.trust-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blanco-puro);
    letter-spacing: 0.03em;
}

.trust-bar-divider {
    width: 1px;
    height: 25px;
    background: var(--borde-sutil);
}

@media (max-width: 768px) {
    .trust-bar-container {
        flex-direction: column;
        gap: 15px;
        padding: 18px 20px;
        border-radius: 20px;
        margin-left: 15px;
        margin-right: 15px;
        max-width: calc(100% - 30px);
    }
    .trust-bar-divider {
        display: none;
    }
    .trust-bar-item {
        gap: 12px;
    }
    .trust-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    .trust-flag {
        width: 18px;
        height: 12px;
    }
    .trust-truck {
        width: 16px;
        height: 16px;
    }
    .trust-text {
        font-size: 0.85rem;
    }
}
