/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global image styles */
img {
    border-radius: 5px;
}

/* Import Google font */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');

/* Discount Popup Styles */
.discount-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.discount-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 280px;
    position: relative;
    border: 2px solid var(--cta-blue);
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.popup-close:hover {
    color: #333;
}

.popup-image {
    text-align: center;
    margin-bottom: 15px;
}

.popup-image img {
    border-radius: 5px;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.popup-text h3 {
    color: var(--cta-blue);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.discount-text {
    color: #333;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin-bottom: 8px;
}

.product-name {
    color: #333;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.popup-cta {
    display: block;
    background: var(--cta-blue);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.popup-cta:hover {
    background: #2e4b99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .discount-popup {
        bottom: 15px;
        right: 15px;
        left: 15px;
    }
    
    .popup-content {
        max-width: none;
        padding: 15px;
    }
    
    .popup-image img {
        width: 100px;
        height: 100px;
    }
    
    .popup-text h3 {
        font-size: 16px;
    }
    
    .discount-text {
        font-size: 14px;
    }
}

:root {
    --primary-color: #424242;
    --secondary-color: #616161;
    --text-color: #212121;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --success-color: #44bd32;
    --cta-blue: #2A52BE;
    --warning-color: #FFA726;
    --pale-red: #F5F5F5;
    --dark-red: #424242;
    --accent-red: #9E9E9E;
    --amber-color: #FFA000;
    --yellow-color: #FDD835;
    --grey-bg: #F5F5F5;
    --grey-border: #E0E0E0;
    --brand-grey: #757575;
}

body {
    font-family: 'Newsreader', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Hero section */
.hero {
    padding: 2rem 0;
    text-align: center;
    border-bottom: none;
    background: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--cta-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 150px;
}

.hero-button:hover {
    background: var(--cta-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 136, 172, 0.3);
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        width: 100%;
        margin: 1.5rem auto;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .hero-button {
        width: 100%;
        max-width: 300px;
    }
}

/* What To Look For Section */
.what-to-look-for {
    background: var(--grey-bg);
    padding: 2rem 0;
    margin: 0;
}

.what-to-look-for h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.what-to-look-for .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.criteria-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.criteria-icon {
    font-size: 1.5rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pale-red);
    flex-shrink: 0;
}

.criteria-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.criteria-content p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .what-to-look-for {
        padding: 1.5rem 0;
    }

    .what-to-look-for h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .criteria-item {
        padding: 1rem;
    }

    .section-intro {
        margin-bottom: 1.5rem;
    }
}

/* Why Take Section */
.why-take {
    padding: 2rem 0;
    background: white;
    margin: 0;
}

.why-take-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.why-take-content {
    min-height: 0;
}

.why-take-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-take-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.why-take-factors {
    margin-top: 2rem;
}

.why-take h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.why-take p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
}

.benefits-list, .factors-list {
    margin: 1.5rem 0 2rem 1.5rem;
    list-style: none;
}

.benefits-list li, .factors-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
}

.benefits-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.factors-list li:before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .why-take {
        padding: 2rem 0;
    }
    
    .why-take-grid {
        gap: 1rem;
    }
    
    .why-take-content {
        padding: 0;
    }
    
    .why-take h2 {
        font-size: 1.75rem;
    }
    
    .why-take-factors {
        padding: 0;
    }
    
    .why-take p, .benefits-list li, .factors-list li {
        font-size: 1rem;
    }
}

/* Benefits Section */
.benefits {
    background: var(--grey-bg);
    padding: 2rem 0;
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--pale-red);
}

.benefit-item h3 {
    color: var(--dark-red);
    font-size: 1.1rem;
}

.benefits h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Product Review */
.product-reviews-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.product-review {
    background: white;
    padding: 2rem;
    margin-bottom: 4rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.product-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.product-image {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.product-image img,
.product-image picture {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image .award-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(15deg);
    z-index: 1;
}

.product-image .award-badge .year {
    font-size: 1.2rem;
    font-weight: bold;
}

.product-image .award-badge .award {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
}

.ranking-circle {
    width: 140px;
    height: 140px;
    border: 5px solid var(--success-color)!important;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 1rem;
}

.ranking-circle .score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.ranking-circle .label {
    font-size: 0.9rem;
    color: var(--text-color);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
}

.product-title {
    flex-grow: 1;
}

.product-title h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-title h2 a {
    color: inherit;
    text-decoration: none;
}

.product-title .brand {
    color: var(--brand-grey);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.grade-section {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.grade {
    font-size: 3rem;
    font-weight: 700;
    color: var(--success-color);
}

.grade-label {
    font-size: 1.2rem;
    color: var(--text-color);
    text-transform: uppercase;
    font-weight: 500;
}

/* Ranking Metrics */
.ranking-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--pale-red);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.metric-name {
    color: #666;
}

.metric-score {
    font-weight: 600;
    color: var(--dark-red);
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros h3, .cons h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pros ul, .cons ul {
    list-style: none;
}

.pros li, .cons li {
    margin-bottom: 0.5rem;
    padding-left: 40px;
    position: relative;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.pros li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('img/tick.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cons li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('img/cross.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Our Verdict */
.bottom-line {
    padding: 1.5rem;
    background: #E8F5E9;
    border-radius: 8px;
    border: 1px solid #81C784;
}

.bottom-line h2,
.bottom-line p {
    color: #2E7D32;
    line-height: 1.6;
}

.bottom-line h2 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.bottom-line h3 {
    margin-bottom: 1rem;
    color: #2E7D32;
}

/* Product CTA */
.product-cta {
    text-align: center;
    border-radius: 8px;
}

.coupon-code {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.shop-now-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
}

.shop-now-button:hover {
    background: var(--dark-red);
}

/* Top Supplement Section */
.top-supplement {
    background: var(--grey-bg);
    padding: 2rem 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.top-supplement h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.top-supplement h2 .highlight {
    color: var(--primary-color);
}

.top-supplement-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--pale-red);
    padding: 2rem 1rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.product-showcase {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
}

.product-showcase img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-description {
    flex: 1;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.return-policy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 0.75rem;
    background: white;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.05);
}

.feature p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    text-transform: uppercase;
    margin-top: 0.5rem;
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
}

.top-supplement .shop-now-button {
    font-size: 1.2rem;
    padding: 1.2rem 4rem;
    background: var(--success-color);
}

.top-supplement .shop-now-button:hover {
    background: #43a047;
}

@media (max-width: 768px) {
    .top-supplement {
        padding: 1.5rem 1rem;
        margin: 1rem;
    }

    .top-supplement-content {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .product-showcase {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .product-showcase img {
        width: 100%;
        height: auto;
    }

    .product-description {
        text-align: center;
    }

    .description-text {
        margin-bottom: 1rem;
    }

    .features {
        margin-bottom: 1rem;
    }
}

/* FAQ Section */
.faqs {
    background: white;
    padding: 2rem 0;
    margin: 0;
}

.faqs h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    background: var(--pale-red);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: #444;
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .faqs {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }

    .faqs h2 {
        margin-bottom: 1.5rem;
    }

    .faq-list {
        gap: 1rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: var(--grey-bg);
    padding: 2rem 0;
    margin: 0;
    border-top: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--dark-red);
}

.disclaimer {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
}

.disclaimer.active {
    max-height: 200px;
    opacity: 1;
    margin: 1rem 0;
    transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
}

.disclaimer p {
    margin: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-header {
        display: grid;
        grid-template-areas: 
            "title"
            "image-rank";
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .product-title {
        grid-area: title;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .product-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .ranking-circle {
        width: 120px;
        height: 120px;
        border: 5px solid var(--success-color)!important;
        margin: 0 auto;
    }

    .featured-content,
    .top-supplement-content {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-showcase {
        width: 100%;
        max-width: 250px;
        margin: 0 auto 1.5rem;
    }

    .features {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .feature {
        width: 100%;
        max-width: 200px;
    }

    .pros-cons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 1.5rem 0;
    }

    .product-showcase {
        max-width: 200px;
    }

    .ranking-circle {
        width: 100px;
        height: 100px;
        border: 5px solid var(--success-color)!important;
    }

    .ranking-circle .score {
        font-size: 1.8rem;
    }

    .ranking-circle .label {
        font-size: 0.7rem;
    }
}

.d3-k2-benefits {
    background: var(--pale-red);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.d3-k2-benefits h3 {
    color: var(--dark-red);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .d3-k2-benefits {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .d3-k2-benefits h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

/* Featured Supplement Section */
.featured-supplement {
    background: white;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.featured-supplement h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.featured-supplement h2 .highlight {
    color: var(--primary-color);
}

.featured-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.featured-supplement .product-showcase {
    flex: 0 0 300px;
    position: relative;
}

.featured-supplement .product-showcase img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.award-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--success-color);
    color: #ffffff;
    padding: 1rem;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(15deg);
    z-index: 2;
    text-align: center;
}

.award-badge .year {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.award-badge .award {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
}

.product-details {
    flex: 1;
}

.product-details h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.rating {
    margin-bottom: 2rem;
}

.rating .score {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--success-color);
}

.rating .max {
    font-size: 1.5rem;
    color: var(--text-color);
}

.key-features {
    list-style: none;
    margin-bottom: 2rem;
}

.key-features li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-section {
    text-align: center;
}

.special-offer {
    font-size: 1.2rem;
    color: var(--success-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.featured-supplement .shop-now-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--success-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
}

.featured-supplement .shop-now-button:hover {
    background: #43a047;
}

@media (max-width: 768px) {
    .featured-supplement {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }

    .featured-supplement h2 {
        margin-bottom: 1.5rem;
    }

    .featured-content {
        padding: 1rem;
    }

    .product-details h3 {
        margin-bottom: 0.75rem;
    }

    .rating {
        margin-bottom: 1rem;
    }

    .key-features {
        margin-bottom: 1rem;
    }

    .award-badge {
        width: 70px;
        height: 70px;
        top: -10px;
        right: -10px;
        padding: 0.5rem;
    }
    
    .award-badge .year {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    
    .award-badge .award {
        font-size: 0.8rem;
    }
}

/* Additional styles moved from index.html */
@media (max-width: 600px) {
    .product-showcase,
    .product-image {
        max-width: 300px;
    }
    picture source[srcset*="600x600"] {
        display: none;
    }
}

@media (min-width: 601px) {
    picture source[srcset*="300x300"] {
        display: none;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Move back-to-top button up when popup is visible */


.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cta-blue);
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.back-to-top-link:hover {
    background: #3855a5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.back-to-top-arrow {
    font-size: 16px;
    font-weight: bold;
}

/* General section styles */
section {
    padding: 2rem 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Enhanced spacing for new sections */
.glutathione-benefits,
.aging-decline,
.before-after {
    padding: 2.5rem 0;
}

.glutathione-benefits .container,
.aging-decline .container,
.before-after .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Benefits detailed section spacing */
.benefits-detailed {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-detail {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--success-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-detail h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-detail p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Aging decline section spacing */
.aging-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

.aging-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.aging-main-point,
.aging-impact {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.aging-main-point h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.aging-main-point p,
.aging-impact p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.aging-graph {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.aging-graph img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0 auto;
}

/* Before after section spacing */
.before-after-image-centered {
    text-align: center;
    padding: 2rem 0;
}

.before-after h2,
.before-after .section-intro {
    text-align: center;
}

.before-after-image-centered img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    padding: 1.5rem;
    text-align: center;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.transformation-benefits h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.benefit-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-paragraph {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--success-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.benefit-paragraph h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-paragraph p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    section {
        padding: 1.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* New sections mobile styles */
    .glutathione-benefits,
    .aging-decline,
    .before-after {
        padding: 1.5rem 0;
    }

    /* Benefits detailed section mobile */
    .benefits-detailed {
        gap: 1rem;
        margin-top: 1rem;
    }

    .benefit-detail {
        padding: 1rem;
    }

    .benefit-detail h3 {
        font-size: 1.1rem;
    }

    /* Aging decline section mobile */
    .aging-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .aging-text {
        gap: 1rem;
    }

    .aging-main-point,
    .aging-impact {
        padding: 1rem;
    }

    .aging-main-point h3 {
        font-size: 1.1rem;
    }

    .aging-graph {
        padding: 1rem;
    }

    /* Before after section mobile */
    .before-after-image-centered {
        padding: 1rem 0;
        margin: 1.5rem 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .benefit-card {
        padding: 1rem;
    }

    .benefit-icon {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .benefit-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .transformation-benefits h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    /* Back to Top Button Mobile */
    .back-to-top {
        bottom: 20px;
        left: 20px;
    }

    .back-to-top-link {
        padding: 10px 14px;
        font-size: 13px;
    }

    .back-to-top-arrow {
        font-size: 14px;
    }

    /* Product header mobile */
    .product-header {
        display: grid;
        grid-template-areas: 
            "title"
            "image-rank";
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .product-title {
        grid-area: title;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .product-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .ranking-circle {
        width: 120px;
        height: 120px;
        border: 5px solid var(--success-color)!important;
        margin: 0 auto;
    }

    .featured-content,
    .top-supplement-content {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-showcase {
        width: 100%;
        max-width: 250px;
        margin: 0 auto 1.5rem;
    }

    .features {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .feature {
        width: 100%;
        max-width: 200px;
    }

    .pros-cons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 1.5rem 0;
    }

    .product-showcase {
        max-width: 200px;
    }

    .ranking-circle {
        width: 100px;
        height: 100px;
        border: 5px solid var(--success-color)!important;
    }

    .ranking-circle .score {
        font-size: 1.8rem;
    }

    .ranking-circle .label {
        font-size: 0.7rem;
    }
}

/* Add ranking-specific styles */
.product-review:nth-of-type(1) .ranking-circle {
    border: 5px solid var(--success-color)!important;
}

.product-review:nth-of-type(1) .ranking-circle .score {
    color: var(--success-color);
}

.product-review:nth-of-type(1) .ranking-circle .label {
    color: var(--success-color);
}

.product-review:nth-of-type(1) .grade {
    color: var(--success-color);
}

/* Hunter & Gather - Rank 4 */
.product-review:nth-of-type(2) .ranking-circle {
    border: 5px solid #FFB300!important;
}

.product-review:nth-of-type(2) .ranking-circle .score {
    color: #FFB300;
}

.product-review:nth-of-type(2) .ranking-circle .label {
    color: #FFB300;
}

.product-review:nth-of-type(2) .grade {
    color: #FFB300;
}

/* Wellgard - Rank 5 */
.product-review:nth-of-type(3) .ranking-circle {
    border: 5px solid #FF9800!important;
}

.product-review:nth-of-type(3) .ranking-circle .score {
    color: #FF9800;
}

.product-review:nth-of-type(3) .ranking-circle .label {
    color: #FF9800;
}

.product-review:nth-of-type(3) .grade {
    color: #FF9800;
}

/* Rheal - Rank 6 */
.product-review:nth-of-type(4) .ranking-circle {
    border: 5px solid #F57C00!important;
}

.product-review:nth-of-type(4) .ranking-circle .score {
    color: #F57C00;
}

.product-review:nth-of-type(4) .ranking-circle .label {
    color: #F57C00;
}

.product-review:nth-of-type(4) .grade {
    color: #F57C00;
}

/* Absolute - Rank 7 */
.product-review:nth-of-type(5) .ranking-circle {
    border: 5px solid #E65100!important;
}

.product-review:nth-of-type(5) .ranking-circle .score {
    color: #E65100;
}

.product-review:nth-of-type(5) .ranking-circle .label {
    color: #E65100;
}

.product-review:nth-of-type(5) .grade {
    color: #E65100;
}

/* Update verdict-specific styles */
.product-review:nth-of-type(2) .bottom-line,
.product-review:nth-of-type(3) .bottom-line,
.product-review:nth-of-type(4) .bottom-line,
.product-review:nth-of-type(5) .bottom-line {
    background: var(--grey-bg);
    border-color: var(--grey-border);
}

.product-review:nth-of-type(2) .bottom-line h2,
.product-review:nth-of-type(2) .bottom-line p,
.product-review:nth-of-type(3) .bottom-line h2,
.product-review:nth-of-type(3) .bottom-line p,
.product-review:nth-of-type(4) .bottom-line h2,
.product-review:nth-of-type(4) .bottom-line p,
.product-review:nth-of-type(5) .bottom-line h2,
.product-review:nth-of-type(5) .bottom-line p {
    color: var(--text-color);
}

@media (max-width: 768px) {
    section {
        padding: 1.5rem 0;
    }

    .top-supplement {
        margin: 0;
    }

    .featured-supplement {
        margin: 0;
    }
}

.product-review:nth-of-type(1) .shop-now-button {
    background: var(--success-color);
}

.product-review:nth-of-type(1) .shop-now-button:hover {
    background: #43a047;
} 

img.supps-banner {
    display: block;
    width: 100% !important;
    max-width: 800px !important;
    height: auto !important;
    border-radius: 5px !important;
}

@media (max-width: 768px) {
    img.supps-banner {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    img.supps-banner {
        border-radius: 4px !important;
    }
}

/* Image aspect ratio container */
.image-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img,
.image-container picture {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    object-fit: contain;
}

/* Hero image container */
.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Product image styles */
.product-image {
    position: relative;
    width: 300px;
    height: auto;
    margin: 0 auto;
}

.product-image img,
.product-image picture {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    object-fit: contain;
}

/* Font loading optimization */
@font-face {
    font-family: 'Newsreader', serif;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');
}

/* Why Take section fixes */
.why-take-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.why-take-content {
    min-height: 0;
}

.why-take-factors {
    margin-top: 2rem;
}

/* Product showcase fixes */
.product-showcase {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
}

/* Featured content layout */
.featured-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .product-showcase {
        margin: 0 auto;
    }
}

/* Prevent layout shifts from dynamic content */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

/* Ensure consistent spacing */
section {
    overflow: hidden;
}

/* Reserve space for web fonts */
h1, h2, h3, .hero-button {
    font-family: 'Newsreader', serif;
    font-display: swap;
}

/* Main logo styles */
img[src*="main-logo"] {
    display: block;
    width: auto;
    height: 32px;
    margin: 0;
}

@media (max-width: 768px) {
    img[src*="main-logo"] {
        height: 28px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    img[src*="main-logo"] {
        height: 24px;
    }
}

/* Header styles */
.header {
    width: 100%;
    background: #2A52BE;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: relative;
    z-index: 100;
}

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

.author-byline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.researched-by {
    font-size: 0.9rem;
    color: #666;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
}

.last-updated {
    text-align: right;
}

.update-label {
    font-size: 0.9rem;
    color: #666;
}

.update-date {
    font-weight: 600;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .author-byline {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem 0;
        margin: 0.75rem 0;
    }

    .author-info {
        gap: 0.75rem;
    }

    .author-avatar {
        width: 36px;
        height: 36px;
    }

    .researched-by {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .author-name {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .last-updated {
        text-align: right;
        font-size: 0.8rem;
    }

    .update-label {
        display: none;
    }

    .update-date {
        font-size: 0.8rem;
        color: #666;
        font-weight: normal;
    }
}