/* ======================================================
   PHARMACY WELLNESS — Newsletter Template Styles
   Theme: White/Green/Teal | Clean & Health-Focused
   ====================================================== */

/* ---- RESET & BASE ---- */
body {
    margin: 0;
    padding: 0;
    background-color: #f0faf5;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ---- EMAIL CONTAINER ---- */
.email-wrapper {
    background-color: #f0faf5;
    padding: 20px 10px;
}
.email-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

/* ---- PREHEADER ---- */
.preheader {
    background-color: #2e7d32;
    padding: 8px 30px;
    font-size: 11px;
    color: #c8e6c9;
    text-align: center;
}

/* ---- HEADER ---- */
.header {
    background: #ffffff;
    padding: 20px 30px;
    border-bottom: 3px solid #2e7d32;
}
.header-logo {
    display: block;
    border: 0;
    max-width: 170px;
}
.header-tagline {
    font-size: 11px;
    color: #2e7d32;
    font-weight: 600;
}
.header-hours {
    font-size: 11px;
    color: #888;
}

/* ---- HERO ---- */
.hero {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9, #a5d6a7);
    padding: 40px 35px 30px;
    text-align: center;
}
.hero-heading {
    margin: 0 0 10px;
    font-size: 30px;
    color: #1b5e20;
    font-weight: 700;
    line-height: 1.2;
}
.hero-subtext {
    margin: 0 0 20px;
    font-size: 15px;
    color: #2e7d32;
    line-height: 1.6;
}
.hero-cta {
    display: inline-block;
    padding: 13px 34px;
    background-color: #2e7d32;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
}

/* ---- STATS ---- */
.stats-bar {
    background: #ffffff;
    padding: 20px 25px;
}
.stat-value {
    margin: 0;
    font-size: 26px;
    color: #2e7d32;
    font-weight: bold;
}
.stat-label {
    margin: 2px 0 0;
    font-size: 11px;
    color: #666;
}

/* ---- SECTION ---- */
.section-title {
    padding: 25px 30px 10px;
    text-align: center;
}
.section-title h2 {
    margin: 0;
    font-size: 20px;
    color: #1b5e20;
    font-weight: 600;
}
.section-divider {
    width: 40px;
    height: 3px;
    background: #2e7d32;
    margin: 8px auto;
    border-radius: 2px;
}

/* ---- SERVICE ROWS ---- */
.service-row {
    padding: 5px 30px;
}
.service-item {
    padding: 10px 15px;
    border-radius: 8px;
}
.service-item.alt {
    background: #f0faf5;
}
.service-item.white {
    background: #ffffff;
    border: 1px solid #e8f5e9;
}
.service-icon {
    font-size: 22px;
    text-align: center;
}
.service-name {
    margin: 0;
    font-size: 14px;
    color: #1b5e20;
    font-weight: 600;
}
.service-desc {
    margin: 2px 0 0;
    font-size: 12px;
    color: #888;
}
.service-link {
    font-size: 12px;
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
}

/* ---- WELLNESS PROMO ---- */
.wellness-promo {
    padding: 20px 30px;
}
.wellness-box {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-radius: 12px;
    padding: 25px;
}
.wellness-icon {
    font-size: 40px;
    text-align: center;
}
.wellness-box h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: #1b5e20;
}
.wellness-box p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}
.wellness-cta {
    display: inline-block;
    padding: 9px 24px;
    background-color: #2e7d32;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
}

/* ---- SCREENINGS ---- */
.screening-section {
    padding: 10px 30px;
}
.screening-box {
    padding: 18px 22px;
    background: #ffffff;
    border: 2px dashed #2e7d32;
    border-radius: 12px;
}
.screening-box h3 {
    margin: 0 0 3px;
    font-size: 15px;
    color: #1b5e20;
}
.screening-box p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}
.screening-cta {
    display: inline-block;
    padding: 8px 18px;
    background-color: #2e7d32;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

/* ---- TESTIMONIAL ---- */
.testimonials {
    padding: 15px 30px;
}
.testimonial-box {
    padding: 18px 22px;
    background: #f0faf5;
    border-radius: 8px;
}
.testimonial-text {
    margin: 0 0 6px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    font-style: italic;
}
.testimonial-author {
    margin: 0;
    font-size: 12px;
    color: #2e7d32;
    font-weight: bold;
}

/* ---- CTA ---- */
.cta-section {
    padding: 15px 30px 30px;
    text-align: center;
}
.cta-button {
    display: inline-block;
    padding: 14px 42px;
    background-color: #2e7d32;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
}

/* ---- SOCIAL ---- */
.social-section {
    background: #f0faf5;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #c8e6c9;
}
.social-label {
    margin: 0 0 12px;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ---- FOOTER ---- */
.footer {
    background: #1b5e20;
    padding: 25px 30px;
    text-align: center;
}
.footer-brand {
    margin: 0 0 5px;
    font-size: 12px;
    color: #ffffff;
}
.footer-info {
    margin: 0 0 4px;
    font-size: 11px;
    color: #c8e6c9;
}
.footer-unsubscribe {
    margin: 0 0 10px;
    font-size: 10px;
    color: #a5d6a7;
}
.footer-copyright {
    margin: 0;
    font-size: 10px;
    color: #81c784;
}

/* ---- RESPONSIVE ---- */
@media only screen and (max-width: 600px) {
    table[role="presentation"] {
        width: 100% !important;
    }
    .hero-heading {
        font-size: 26px !important;
    }
    td[style*="width:33%"] {
        width: 100% !important;
        display: block !important;
        padding: 8px 0 !important;
    }
    td[style*="width:50%"] {
        display: block !important;
        width: 100% !important;
    }
    .stat-value {
        font-size: 22px !important;
    }
    .cta-button {
        padding: 12px 32px !important;
        font-size: 14px !important;
    }
}
@media only screen and (max-width: 480px) {
    .hero-heading {
        font-size: 22px !important;
    }
    .hero {
        padding: 25px 20px !important;
    }
    .header {
        padding: 15px 20px !important;
    }
    .stats-bar {
        padding: 12px 15px !important;
    }
    .section-title {
        padding: 20px 15px 5px !important;
    }
    .service-row {
        padding: 3px 15px !important;
    }
    .wellness-promo {
        padding: 15px 20px !important;
    }
    .screening-section {
        padding: 10px 20px !important;
    }
    .testimonials {
        padding: 10px 20px !important;
    }
    .cta-section {
        padding: 10px 20px 25px !important;
    }
    .footer {
        padding: 20px !important;
    }
    .social-section {
        padding: 15px 20px !important;
    }
}
