/* Tema Pharco High Performance (Minimalista, Clean, Deportivo/Clínico) */
:root {
    /* Fondos Claros */
    --bg-main: #F8FAFC; /* Gris muy claro (fondo principal) */
    --bg-white: #FFFFFF; /* Blanco puro (tarjetas, navbar) */
    --bg-alt: #F1F5F9; /* Gris sutil para destacar secciones */
    
    /* Textos (Alta Legibilidad) */
    --text-dark: #0F172A; /* Azul noche casi negro (texto principal y títulos) */
    --text-body: #334155; /* Gris pizarra oscuro para cuerpos de texto */
    --text-muted: #64748B; /* Gris medio */
    
    /* Acento Principal: Verde Menta/Esmeralda Vibrante */
    --primary-color: #10B981; 
    --primary-dark: #059669;
    --success-color: #10B981; 
    
    --border-color: #E2E8F0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* Utilidades */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-primary { color: var(--primary-color); }
.text-accent { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-center { text-align: center; }

/* Secciones */
section {
    padding: 6rem 0;
}

.section-white {
    background-color: var(--bg-white);
}

.section-light {
    background-color: var(--bg-main);
}

.section-blue { /* Mantengo el nombre de la clase para compatibilidad HTML, pero es gris claro */
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.dot { color: var(--primary-color); }

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('img/pharco_producto_banner_horizontal.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente blanco más suave para dejar ver mejor el banner */
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 10%; /* Para que empiece desde la izquierda como en el diseño */
    margin-top: 100px; /* Evita que la barra tape el título */
}

.hero-tag {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 500;
}

.trust-badge-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    width: fit-content;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-badge-hero i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Botones CTAs - Estilo Exacto al Screenshot */
.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1.1rem 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

/* CTA Group */
.cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Two Column Grid */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

.grid-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.benefit-list li {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.benefit-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.grid-image {
    position: relative;
    border-radius: 0; /* Más robusto/deportivo */
    overflow: hidden;
    background: #FFFFFF;
}

.grid-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-color); /* Toque característico de Pharco original */
}

/* Niche Topics / FAQ */
.faq-grid {
    display: grid;
    gap: 2rem;
}

.faq-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    padding: 2.5rem;
    transition: var(--transition);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.faq-card h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Comparative Table (AI-Friendly) */
.comparison-container {
    overflow-x: auto;
    background: #FFFFFF;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-alt);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1rem;
    text-transform: uppercase;
}

.comparison-table th.highlight {
    background: var(--primary-color);
    color: #FFFFFF;
}

.comparison-table td.highlight {
    background: rgba(16, 185, 129, 0.05);
    color: var(--primary-dark);
    font-weight: 700;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Checkout Form (Cash on Delivery) */
.checkout-section {
    background: var(--bg-alt);
    position: relative;
}

.checkout-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary-color);
}

.checkout-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-header h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 1.1rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #FFFFFF;
}

.delivery-note {
    background: rgba(16, 185, 129, 0.1); 
    border-left: 4px solid var(--primary-color);
    padding: 1.2rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--bg-white);
    color: var(--text-muted);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.social-links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    background: var(--bg-alt);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a.social-ig {
    color: #E1306C;
}

.social-links a.social-fb {
    color: #1877F2;
}

.social-links a.social-ig:hover {
    background: #E1306C;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.social-links a.social-fb:hover {
    background: #1877F2;
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Productos y Promociones */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.product-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 20px;
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--primary-color);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.btn-add {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.promo-card {
    background-color: #FFFFFF;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.18);
    border-color: var(--primary-dark);
}

.promo-img {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
}

.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-height: 350px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-card:hover .promo-img img {
    transform: scale(1.08);
}

.promo-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timer-container {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.timer-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    transition: var(--transition);
}

.promo-card:hover .timer-box {
    background: #ecfdf5;
    border-color: #a7f3d0;
    transform: translateY(-2px);
}

.timer-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.timer-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: bold;
}

/* WhatsApp Botón (Floating) */
@keyframes dynamic-whatsapp {
    0% { transform: scale(1) rotate(0deg); }
    10% { transform: scale(1.1) rotate(-15deg); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    20% { transform: scale(1.1) rotate(15deg); }
    30% { transform: scale(1.1) rotate(-15deg); }
    40% { transform: scale(1.1) rotate(15deg); }
    50% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); }
    100% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    animation: dynamic-whatsapp 1.5s infinite;
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.1);
}

/* Sidebar Cart */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #FFF;
    z-index: 1002;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-main);
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.remove-item {
    color: red;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 5px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-dark);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* =========================================
   Estilos exclusivos para la vista de Ofertas
   ========================================= */
.page-offers { background-color: var(--bg-main); }
.offer-hero-title { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900; color: var(--text-dark); text-transform: uppercase; letter-spacing: -1px; }

.premium-offer-showcase {
    margin: 30px auto 60px;
    max-width: 820px;
}

.ofertas-page-card {
    position: relative;
    background: #ffffff;
    border: 3px solid var(--primary-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ofertas-page-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.22);
    border-color: var(--primary-dark);
}

.ofertas-page-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
    z-index: 10;
}

.ofertas-page-card:hover::before {
    left: 200%;
}

.offer-img-box {
    flex: 1;
    min-width: 280px;
    background: radial-gradient(circle, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    overflow: hidden;
    position: relative;
}

.offer-img-box img {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.12));
}

.ofertas-page-card:hover .offer-img-box img {
    transform: scale(1.12) rotate(-2deg);
    filter: drop-shadow(0 25px 35px rgba(16, 185, 129, 0.25));
}

.offer-details-box {
    flex: 1.2;
    padding: 2.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.badge-pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.offer-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
}

.perk-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    /* Global scaling for mobile to make everything smaller */
    html {
        font-size: 14px;
    }
    
    /* Change Hero Background specifically for Mobile */
    .hero {
        background-image: url('img/pharco_productos_banner.webp');
        background-size: contain;
        background-position: right 50%;
        background-repeat: no-repeat;
        background-color: var(--bg-main);
    }
    
    /* Clamp large inline fonts on mobile */
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.6rem !important; }
    h3 { font-size: 1.4rem !important; }
    p, span { max-width: 100% !important; }
    
    /* Force grids to single column */
    .faq-grid, .product-grid, .section-grid {
        grid-template-columns: 1fr !important;
    }

    /* Navbar Mobile */
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 1.5rem;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* General layout */
    .section-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .grid-image {
        max-width: 75%;
        margin: 0 auto;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-overlay {
        display: block;
        background: linear-gradient(to bottom right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 90%);
    }

    .hero-content {
        margin: 100px 0 2rem 0;
        padding: 0 1.5rem;
        text-align: left;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        width: 100%;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-tag {
        font-size: 0.7rem;
    }
    
    .benefit-list li {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .cta-group {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .cta-group a {
        width: 100%;
        padding: 0.8rem 1rem;
    }
    
    .trust-badge-hero {
        margin: 0 auto 1.5rem auto;
        font-size: 0.8rem;
    }
    
    /* Promos & Ofertas Mobile */
    .promo-card {
        flex-direction: column;
        padding: 1rem;
    }
    
    .promo-content {
        padding: 0;
        text-align: center;
    }
    
    .promo-content h3 {
        text-align: center !important;
        font-size: 1.5rem !important;
    }
    
    .promo-content p {
        text-align: center !important;
        font-size: 0.95rem !important;
    }
    
    .ofertas-page-card {
        flex-direction: column;
    }
    
    .offer-img-box {
        padding: 15px;
        min-width: 100%;
    }
    
    .offer-img-box img {
        max-width: 180px;
    }
    
    .offer-details-box {
        padding: 1.5rem 1rem;
    }
    
    .offer-hero-title {
        font-size: 1.8rem;
    }
    
    /* Timers & Buttons */
    .timer-container {
        gap: 8px;
        justify-content: center;
    }
    
    .timer-box {
        padding: 10px;
        min-width: 60px;
    }
    
    .timer-val {
        font-size: 1.4rem;
    }
    
    .offer-perks {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .promo-content > div:nth-child(5) {
        text-align: center !important;
    }
    
    .promo-content > div:last-child {
        flex-direction: column;
        gap: 15px !important;
    }
    
    .offer-details-box > div:nth-child(5) {
        justify-content: center;
    }
    
    .offer-details-box > div:last-child {
        flex-direction: column;
    }
}

/* =========================================
   Product Detail Modal
   ========================================= */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 900px;
    background: var(--bg-white);
    border-radius: 20px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: scale(1.1) rotate(90deg);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
}

.modal-image-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-img-container {
    background: var(--bg-main);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
}

.main-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.gallery-thumbs {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.gallery-thumb:hover {
    opacity: 1;
}

.gallery-thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.modal-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .product-modal {
        width: 95%;
        border-radius: 15px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
}

/* E-commerce Layout Additions */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}
.shop-sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 768px) {
    .shop-layout {
        display: flex;
        flex-direction: column-reverse;
    }
    .shop-sidebar {
        position: static;
        margin-top: 20px;
    }
    .pdp-container {
        grid-template-columns: 1fr !important;
    }
}
