:root {
    --primary: #FF9900; /* Naranja Acción */
    --primary-dark: #e68a00;
    --secondary: #232F3E; /* Azul oscuro Amazon */
    --bg: #F2F4F8;
    --white: #ffffff;
    --text: #333;
    --red: #D32F2F;
}

body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; margin: 0; background: var(--bg); color: var(--text); padding-top: 74px; padding-bottom: 90px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; border: none; }
* { box-sizing: border-box; }

/* BARRAS SUPERIORES */
.sticky-header-group { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.top-bar-urgency { background: #000; color: #fff; text-align: center; padding: 12px 0; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.marquee-bar { background: #FFC107; color: #000; overflow: hidden; white-space: nowrap; padding: 12px 0; font-weight: 800; font-size: 0.85rem; border-bottom: 1px solid #e0a800; }
.marquee-content { display: inline-block; animation: marquee 25s linear infinite; padding-left: 100%; }
@keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }

/* CONTENEDOR PRINCIPAL */
.container { max-width: 600px; margin: 0 auto; background: var(--white); min-height: 100vh; position: relative; }

/* --- NUEVO CONTADOR REGRESIVO (MARGEN AUMENTADO) --- */
.timer-box { background: #FFF0F0; border: 1px solid #FFCDCD; padding: 10px; border-radius: 8px; margin: 20px 0; text-align: center; color: var(--red); }
.timer-text { font-weight: bold; font-size: 0.9rem; margin-bottom: 5px; }
.timer-digits { font-size: 1.4rem; font-weight: 800; letter-spacing: 2px; font-variant-numeric: tabular-nums; }

/* --- ICONOS TRACKING MEJORADOS --- */
.tracking-widget { display: flex; justify-content: space-between; text-align: center; margin: 25px 0; position: relative; padding: 0 15px; }
.tracking-line { position: absolute; top: 20px; left: 15%; right: 15%; height: 4px; background: #E0E0E0; z-index: 0; border-radius: 2px; }
.track-step { position: relative; z-index: 1; width: 30%; }
.track-icon { background: var(--secondary); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: 1.2rem; box-shadow: 0 4px 6px rgba(0,0,0,0.2); border: 3px solid white; }
.track-date { font-weight: 800; font-size: 0.8rem; display: block; margin-top: 4px; color: var(--secondary); }
.track-label { font-size: 0.75rem; color: #666; }

/* PRODUCTO INFO - Estilos base (se sobreescriben con nuevas clases abajo para la mejora) */
.product-info { padding: 20px; }
.price-area { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.price-big { font-size: 2.4rem; font-weight: 900; color: #B12704; }
.price-old { text-decoration: line-through; color: #777; font-size: 1.1rem; }
.badge-save { background: var(--red); color: white; padding: 4px 8px; border-radius: 4px; font-weight: bold; transform: skew(-10deg); font-size: 0.85rem; }

/* BOTONES */
.btn-main { background: linear-gradient(to bottom, #FFC400, #FF9900); color: #111; font-weight: 800; font-size: 1.2rem; padding: 15px; border: 1px solid #e68a00; border-radius: 50px; width: 100%; cursor: pointer; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.btn-pulse { animation: pulse 2s infinite; }
.sticky-bottom { position: fixed; bottom: 0; left: 0; width: 100%; background: white; padding: 12px; box-shadow: 0 -4px 15px rgba(0,0,0,0.1); z-index: 900; display: flex; justify-content: center; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(255, 153, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); } }

/* --- CHECKBOX FORMULARIO --- */
.confirm-box { background: #e8f0fe; padding: 10px; border-radius: 6px; border: 1px solid #bcdff1; display: flex; gap: 10px; align-items: flex-start; margin-top: 15px; font-size: 0.9rem; color: #0c5460; }
.confirm-box input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--secondary); }

/* HOME PAGE SUPER WEB */
.hero-section { background: linear-gradient(135deg, #1a1a1a 0%, #232F3E 100%); color: white; text-align: center; padding: 60px 20px; border-radius: 0 0 25px 25px; margin-bottom: 20px; }
.hero-title { font-size: 2.5rem; font-weight: 900; margin: 0; color: var(--primary); letter-spacing: -1px; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 15px; padding: 0 15px; max-width: 1000px; margin: 0 auto; }
.prod-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.2s; }
.prod-card:hover { transform: translateY(-5px); }
.prod-card img { width: 100%; height: 170px; object-fit: cover; }
.prod-card-body { padding: 12px; text-align: center; }
.btn-grid { background: var(--primary); color: white; padding: 8px; border-radius: 6px; font-weight: bold; display: block; margin-top: 8px; font-size: 0.9rem; }

/* MODAL */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1000; justify-content: center; align-items: flex-end; }
.modal-content { background: #f8f9fa; width: 100%; max-width: 600px; height: 85vh; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; animation: slideUp 0.3s; }
.modal-body { padding: 20px; overflow-y: auto; }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 12px; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* REVIEWS */
.review-card { background: white; padding: 15px; border-radius: 8px; border: 1px solid #eee; margin-bottom: 10px; }
.review-img { display: block; margin: 10px auto 0 auto; border-radius: 6px; max-height: 200px; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.avatar { width: 32px; height: 32px; background: #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #555; }

/* ==============================================
   NUEVAS MEJORAS SOLICITADAS
   Agregadas al final para no romper dependencias
   ============================================== */

/* 1. TITULO IMPACTANTE */
.title-impact {
    font-size: 2rem;
    font-weight: 900;
    color: #111;
    text-align: center;
    line-height: 1.1;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* 2. PRECIOS CON ETIQUETAS ENCIMA */
.price-area-modern {
    display: flex;
    align-items: flex-end;
    justify-content: center; /* Centrado para mayor impacto */
    gap: 15px;
    margin: 15px 0 20px 0;
    background: #fdfdfd;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

.price-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-label-small {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #777;
    margin-bottom: 2px;
}
.label-now {
    color: var(--red); /* Destacar "Ahora" */
}

/* 3. IMAGENES CARACTERISTICAS SIN MARGENES (FULL WIDTH) */
.feature-img-full {
    display: block;
    /* El cálculo compensa el padding de 20px del contenedor padre (.product-info) */
    width: calc(100% + 40px); 
    margin-left: -20px;
    margin-right: -20px;
    margin-top: 10px; /* CORREGIDO: Sin margen superior */
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    padding: 0;
    max-width: none; /* Permite que exceda el ancho del contenedor para tocar bordes */
}

/* 4. TEXTO AHORRO CON IMPACTO */
.badge-impact {
    background: #00C851; /* Verde vibrante (Éxito/Dinero) en vez de rojo */
    color: #fff;
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 5px rgba(0,200,81,0.3);
    transform: none; /* Quitamos el skew para que sea más legible */
    border: 1px solid #007E33;
}