/* ==========================================================================
   ACCESSIBILITY & E-COMMERCE STYLES FOR SENIORS 
   (Berry Twilight Palette)
   ========================================================================== */

:root {
    /* Color Palette - Berry Twilight */
    --bg-deep-berry: #3B2B36;     /* Dark muted plum for main background to rest eyes */
    --bg-soft-berry: #4A3845;     /* Slightly lighter berry for alternating sections */
    
    --bg-card-cream: #FAF9F6;     /* Warm cream for reading cards */
    
    --text-light: #FDFBF7;        /* Warm white for text on dark backgrounds */
    --text-main-dark: #333333;    /* Dark charcoal for text inside cream cards */
    --text-muted-dark: #666666;
    
    --cta-green: #25D366;         /* WhatsApp Green pops perfectly on berry backgrounds */
    --cta-hover: #1EBE5D;
    
    --accent-gold: #DAA520;       /* Gold for stars, badges */
    --alert-red: #FF6B6B;         /* Accessible bright red/pink for scarcity text */

    /* Typography */
    --font-main: 'Roboto', sans-serif;
    --base-size: 18px;            /* Minimum 18px for paragraph text */
    --line-height: 1.65;

    /* Spacing & UI */
    --radius-soft: 12px;
    --shadow-very-soft: 0 4px 15px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow for dark mode */
}

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

body {
    font-family: var(--font-main);
    font-size: var(--base-size);
    color: var(--text-light);
    background-color: var(--bg-deep-berry);
    line-height: var(--line-height);
}

/* Helpers */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }
.bg-pastel { background-color: var(--bg-soft-berry); }

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
    background-color: #261A23; /* Even darker berry for top bar */
    color: var(--accent-gold);
    text-align: center;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-header {
    background-color: var(--bg-deep-berry);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.header-icons {
    display: flex;
    gap: 20px;
    color: var(--text-light);
}

/* ==========================================================================
   PRODUCT BUY BOX (HERO)
   ========================================================================== */
.buy-box-section {
    padding: 40px 0 60px;
}

.buy-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

/* Columna Izquierda: Galería */
.product-gallery {
    flex: 1;
    min-width: 300px;
}

.main-product-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-soft);
    border: 1px solid rgba(255,255,255,0.1);
    background-color: #FFFFFF; /* White background makes the bag pop */
    padding: 20px;
    display: block;
    margin: 0 auto;
}

.thumbnail-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background-color: #FFFFFF;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.active-thumb {
    border-color: var(--accent-gold);
}

/* Columna Derecha: Información */
.product-info {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-light);
}

.social-proof-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 18px;
}

.stars-gold {
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.price-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.price-sale {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-light);
}

.price-regular {
    font-size: 24px;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
}

.discount-badge {
    background-color: var(--accent-gold);
    color: #000000;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
}

.scarcity-block {
    background-color: rgba(255, 107, 107, 0.1); 
    border-left: 4px solid var(--alert-red);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.scarcity-text {
    font-size: 18px;
    margin-bottom: 5px;
}

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

/* BOTÓN DE COMPRA ACCESIBLE */
.btn-main-cta {
    display: block;
    width: 100%;
    background-color: var(--cta-green);
    color: #FFFFFF;
    font-size: 22px;        /* Huge font size for readability */
    font-weight: 700;
    text-align: center;
    padding: 24px 20px;     /* Huge padding for large touch target */
    border: none;
    border-radius: var(--radius-soft);
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
    transition: background-color 0.2s ease;
}

.btn-main-cta:hover {
    background-color: var(--cta-hover);
}

.secure-checkout-text {
    text-align: center;
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-top: 15px;
}

/* ==========================================================================
   LOGÍSTICA Y CONFIANZA
   ========================================================================== */
.logistics-section {
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logistics-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.logistics-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.logistics-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.logistics-item p {
    font-size: 18px;
    color: var(--text-light);
}

/* ==========================================================================
   DESCRIPCIÓN Y BENEFICIOS
   ========================================================================== */
.description-section {
    padding: 70px 0;
}

.description-container {
    max-width: 800px;
    margin: 0 auto;
}

.hook-question {
    font-size: 28px;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.text-block p {
    margin-bottom: 20px;
    font-size: 20px; 
}

.benefits-title {
    font-size: 26px;
    margin: 50px 0 25px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 50px;
}

.benefits-list li {
    font-size: 20px;
    margin-bottom: 20px;
    padding-left: 10px;
    line-height: 1.5;
}

/* High Contrast Reading Box */
.usage-block {
    padding: 30px;
    border-radius: var(--radius-soft);
    margin-bottom: 40px;
    background-color: var(--bg-card-cream);
    color: var(--text-main-dark);
}

.usage-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--bg-deep-berry);
    font-weight: 700;
}

.usage-block p {
    font-size: 19px;
}

.closing-message {
    font-size: 24px;
    color: var(--accent-gold);
    margin-top: 50px;
}

/* ==========================================================================
   RESEÑAS (TESTIMONIOS)
   ========================================================================== */
.reviews-section {
    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--text-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--bg-card-cream);
    padding: 35px 25px;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-very-soft);
    color: var(--text-main-dark);
}

.review-text {
    font-size: 19px;
    font-style: italic;
    color: var(--text-muted-dark);
    margin: 20px 0;
}

.review-author {
    font-size: 18px;
    color: var(--text-main-dark);
}

/* ==========================================================================
   PRICING / OFFER SECTION
   ========================================================================== */
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background-color: var(--bg-card-cream);
    color: var(--text-main-dark);
    border-radius: var(--radius-soft);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-very-soft);
}

.pricing-card.premium-plan {
    border: 4px solid var(--accent-gold);
    transform: scale(1.02);
}

.bestseller-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: #000;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-main-dark);
}

.plan-subtitle {
    font-weight: 700;
    color: var(--bg-deep-berry);
    margin-bottom: 10px;
    font-size: 18px;
}

.plan-qty {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-muted-dark);
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-main-dark);
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.plan-features li {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.btn-whatsapp.outline-purple {
    display: block;
    width: 100%;
    background-color: transparent;
    color: var(--bg-deep-berry);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    border: 2px solid var(--bg-deep-berry);
    border-radius: var(--radius-soft);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-whatsapp.outline-purple:hover {
    background-color: rgba(59, 43, 54, 0.1);
}

/* ==========================================================================
   INLINE IMAGES (CONTENT)
   ========================================================================== */
.inline-image-wrapper {
    text-align: center;
    margin: 40px 0;
    padding: 0 15px;
}

.inline-info-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-soft);
    display: block;
    margin: 0 auto;
    background-color: #FFF; /* In case of transparent PNGs, give them white backing so text inside them is legible */
    padding: 10px;
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #261A23;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
}

.secure-payments {
    margin-bottom: 20px;
}

.payment-icons {
    font-size: 24px;
    margin-top: 10px;
}

.copyright {
    font-size: 15px;
}

/* ==========================================================================
   RESPONSIVE (MÓVIL)
   ========================================================================== */
@media (max-width: 768px) {
    .buy-box-section {
        padding: 20px 0 40px;
    }
    
    .buy-box-container {
        gap: 30px;
    }

    .product-title {
        font-size: 26px;
    }

    .price-sale {
        font-size: 36px;
    }

    .btn-main-cta {
        font-size: 20px;
        padding: 20px 15px;
    }

    .hook-question {
        font-size: 24px;
    }

    .text-block p, .benefits-list li, .usage-block p {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }
}
