/* Magazine-Style Professional CSS for Collagen Review Site */

:root {
    /* Ultra Professional Palette - Sleek & Trustworthy */
    --midnight: #0F172A;            /* Deep midnight blue for header */
    --slate-800: #1E293B;           /* Dark slate for accents */
    --sapphire: #0066CC;            /* Deep sapphire blue for primary */
    --ocean: #0080E5;               /* Ocean blue for hover states */
    --cta-green: #10B981;           /* Contrasting green for CTAs */
    --cta-green-hover: #059669;     /* Darker green for hover */
    --pure-white: #FFFFFF;          /* Clean white */
    --gray-50: #F9FAFB;             /* Lightest gray background */
    --gray-100: #F3F4F6;            /* Light gray sections */
    --gray-200: #E5E7EB;            /* Borders */
    --gray-500: #4B5563;            /* Darker body text */
    --gray-700: #111827;            /* Much darker headlines */
    --amber: #D97706;               /* Darker amber for better contrast */
    --rose-gold: #DC8F7C;           /* Subtle rose gold accent */
    
    /* ============================================
       UNIFIED TYPOGRAPHY SCALE
       Consistent sizes across all viewports
       ============================================ */

    /* Section Headers (h2) */
    --h2-size: 2rem;              /* 32px desktop */
    --h2-size-tablet: 1.75rem;    /* 28px tablet */
    --h2-size-mobile: 1.5rem;     /* 24px mobile */

    /* Sub-Headers (h3) */
    --h3-size: 1.5rem;            /* 24px desktop */
    --h3-size-tablet: 1.375rem;   /* 22px tablet */
    --h3-size-mobile: 1.25rem;    /* 20px mobile */

    /* Card/Item Headers (h4) */
    --h4-size: 1.25rem;           /* 20px desktop */
    --h4-size-mobile: 1.125rem;   /* 18px mobile */

    /* Body Text */
    --body-size: 1.0625rem;       /* 17px desktop */
    --body-size-mobile: 1rem;     /* 16px mobile */
    --body-line-height: 1.7;

    /* Small Text */
    --small-size: 0.9375rem;      /* 15px */
    --small-size-mobile: 0.875rem; /* 14px */

    /* Legacy variables - mapped to new system */
    --mobile-paragraph-size: var(--body-size-mobile);
    --paragraph-font-size: var(--body-size);
    --paragraph-line-height: var(--body-line-height);
    --pros-cons-font-size: 1rem;

    /* Shared light callout background */
    --callout-bg: linear-gradient(90deg, #E8F0FF 0%, #F5F8FF 100%);
    
    /* Container widths for consistency */
    --container-xl: 1200px;         /* Wide content */
    --container-lg: 800px;          /* Standard content - reduced for readability */
    --container-md: 800px;          /* Reading content */
    --container-sm: 800px;          /* Narrow content */
    --container-text: 800px;        /* Text content width for optimal readability */
    
    /* Functional colors - Optimized for readability */
    --text-primary: #111827;        /* Darker for better contrast (WCAG AAA) */
    --text-secondary: #374151;      /* Darker secondary text (WCAG AA) */
    --text-light: #6B7280;          /* Darker light text for better readability */
    --success: #0066CC;             /* Success blue */
    --danger: #DC2626;              /* Error red */
    
    /* Shadows - crisp and modern */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Legacy mappings */
    --navy-blue: var(--midnight);
    --sage-green: var(--sapphire);
    --light-sage: var(--gray-100);
    --warm-white: var(--gray-50);
    --soft-gray: var(--gray-500);
    --gold-accent: var(--amber);
    --muted-coral: var(--rose-gold);
    --dark-text: var(--text-primary);
    --success-green: var(--success);
    --danger-red: var(--danger);
    --shadow-light: var(--shadow-sm);
    --shadow-medium: var(--shadow-md);
    
    /* Additional mappings for compatibility */
    --charcoal: var(--slate-800);
    --sage: var(--sapphire);
    --stone: var(--gray-200);
    --cream: var(--gray-50);
    --warm-taupe: var(--gray-500);
    --soft-eucalyptus: var(--ocean);
    --pearl: var(--pure-white);
    --moss: var(--sapphire);
    --gold-seal: var(--amber);
    --dusty-rose: var(--rose-gold);
    --ash-gray: var(--gray-500);
    --shadow-soft: var(--shadow-sm);
    --shadow-deep: var(--shadow-lg);
}

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

/* Prevent horizontal scrolling on both html and body */
html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: #FAFBFC;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Consistent container system */
.content-wrapper {
    max-width: var(--container-md);
    margin: 0 auto;
    width: 100%;
}

.content-wrapper-lg {
    max-width: var(--container-lg);
    margin: 0 auto;
    width: 100%;
}

.content-wrapper-xl {
    max-width: var(--container-xl);
    margin: 0 auto;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: var(--gray-700);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.5rem, 1.4vw + 0.7rem, 2.25rem); /* ~24px → 36px */
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 2.5rem 0 1rem;
}

h3 {
    font-size: clamp(1.125rem, 1vw + 0.6rem, 1.75rem); /* ~18px → 28px */
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 2rem 0 0.75rem;
}

h4 {
    font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.5rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1rem, 1vw + 0.25rem, 1.25rem);
    font-weight: 600;
}

p {
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
}

/* Header Styles */
.main-header {
    background: var(--midnight);
    position: relative;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.top-bar {
    background: var(--midnight);
    padding: 1rem 0;
}


.header-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-link:hover {
    opacity: 0.9;
}

.header-logo {
    height: 40px;
    width: auto;
}

.header-links {
    display: flex;
    gap: 1.5rem;
}

.header-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-transform: uppercase;
}

.header-link:hover {
    color: white;
    text-decoration: none;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background: var(--ocean);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Below Bootstrap modals (1050) but above other content */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
}

.close-menu {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-700);
    transition: color 0.3s ease;
}

.close-menu:hover {
    color: var(--sapphire);
}

.mobile-menu-nav {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    padding: 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-link:hover {
    background: var(--gray-50);
    color: var(--sapphire);
    padding-left: 1.5rem;
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* Ensure Bootstrap modals appear above mobile menu */
.modal {
    z-index: 1055 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Skip link visibility utility */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    background: #111827;
    color: #fff;
    padding: 8px 12px;
    z-index: 2000;
}

/* Better keyboard focus outlines */
:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #E8F0FF 0%, #F0F6FF 100%);
    padding: 3rem 0 15px;
    position: relative;
    overflow: hidden;
}

.sponsored-label {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    font-weight: 500;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--slate-800);
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-wrapper {
    margin: 2rem 0 2.5rem;
    text-align: center;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Hero Navigation Buttons */
.hero-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 2rem auto 0;
    max-width: var(--container-sm);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
}

.hero-nav-btn {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    border-right: 1px solid var(--gray-200);
    position: relative;
    letter-spacing: 0.025em;
}

.hero-nav-btn:last-child {
    border-right: none;
}

.hero-nav-btn:hover {
    background: var(--cta-green);
    color: white;
    text-decoration: none;
}

.hero-nav-btn:active {
    transform: translateY(1px);
}

.author-section-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    gap: 2rem;
}

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

.expert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #4CAF50;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.expert-badge i {
    font-size: 1.1rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--sapphire);
}

.author-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
}

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

.author-credentials {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.author-date {
    font-size: 0.8rem;
    color: var(--soft-gray);
    margin-top: 0.25rem;
    display: block;
}

.hero-intro {
    text-align: left;
}

.hero-intro .lead {
    font-size: clamp(var(--mobile-paragraph-size), 1.5vw, 1.125rem);
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
    text-align: left;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: var(--light-sage);
    border-bottom: 1px solid #e5e7eb;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

.modal-title {
    color: var(--navy-blue);
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.modal-body {
    padding: 2rem;
    color: var(--dark-text);
    line-height: 1.7;
}

.modal-body ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.75rem;
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.btn-close {
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 1;
}

/* Content Sections - Consistent padding system */
.content-section {
    padding: 2.5rem 0;
    background: white;
}

@media (max-width: 768px) {
    .content-section {
        padding: 2rem 0;
    }
    
    .content-body p,
    .first-paragraph,
    .callout-box p {
        font-size: var(--mobile-paragraph-size);
        line-height: 1.7;
    }
}

.content-body {
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
}

.content-body p {
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
}

.first-paragraph {
    color: var(--text-primary);
    font-size: var(--paragraph-font-size);
}

.callout-box {
    background: linear-gradient(90deg, #E8F0FF 0%, #F5F8FF 100%);
    border-left: 4px solid var(--sapphire);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.08);
}

.callout-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy-blue);
    text-align: center;
}

.callout-box p {
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    color: var(--text-primary);
}

/* Mobile-specific callout box styles */
@media (max-width: 768px) {
    .callout-box {
        border-left: none;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

.section-subheader {
    font-size: clamp(1.125rem, 1vw + 0.6rem, 1.75rem); /* ~18px → 28px */
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--navy-blue);
    font-weight: 700;
    text-align: center;
}

/* Marine Collagen Info Section */
.marine-collagen-section {
    background: linear-gradient(135deg, #E8F0FF 0%, #F0F6FF 100%);
    padding: 3rem 0;
}

.marine-collagen-section .section-title {
    margin-bottom: 2.5rem;
    font-size: clamp(1.5rem, 1.4vw + 0.7rem, 2.25rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--slate-800);
}

/* Full-width centered image container */
.marine-image-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.marine-collagen-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Full-width text content */
.marine-content-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Marine text styles removed - using default paragraph styles */

.marine-highlight {
    background: linear-gradient(135deg, #E8F0FF 0%, #F0F6FF 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--sapphire);
    font-size: clamp(var(--mobile-paragraph-size), 1vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-primary);
    margin-top: 0.75rem;
}

.marine-highlight strong {
    color: var(--slate-800);
    font-weight: 600;
}

@media (max-width: 991px) {
    .marine-image-container {
        margin-bottom: 2rem;
    }
    
    .marine-content-full {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .marine-collagen-section {
        padding: 2rem 0;
    }
    
    .marine-collagen-section .section-title {
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }
    
    .marine-image-container {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .marine-collagen-image {
        border-radius: 12px;
    }
    
    .marine-content-full {
        padding: 0 1rem;
    }
    
    /* Marine text mobile styles removed - using default paragraph styles */
    
    .marine-highlight {
        padding: 0.75rem;
    }
}

/* Why You Need Collagen Section */
.why-collagen-section {
    padding: 2.5rem 0;
    background: transparent;
}

.why-collagen-section .section-title {
    color: var(--slate-800);
    margin-bottom: 2rem;
}

.collagen-markers {
    background: var(--callout-bg); /* Linked to blue callout light style */
    padding: 2rem;
    border-radius: 12px;
    margin: 0.5rem auto 2rem;
    max-width: 800px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #E0E8FF;
}

.collagen-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.collagen-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.collagen-item i {
    color: #10B981;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1.6;
}

.item-text {
    flex: 1;
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    color: var(--text-primary);
}

.item-text strong {
    font-weight: 600;
    color: var(--gray-700);
}

.highlight-text {
    background: linear-gradient(180deg, transparent 60%, #FEF08A 60%);
    padding: 0 0.125rem;
}

/* Mobile Styles for Why You Need Collagen */
@media (max-width: 768px) {
    .why-collagen-section {
        padding: 2rem 0;
    }
    
    .collagen-markers {
        padding: 1.5rem;
        margin: 0.5rem 1rem 2rem;
    }
    
    .collagen-checklist {
        gap: 1rem;
    }
    
    .collagen-item {
        gap: 0.75rem;
    }
    
    .collagen-item i {
        font-size: 1.25rem;
    }
    
    .item-text {
        font-size: var(--mobile-paragraph-size);
        line-height: var(--paragraph-line-height);
    }
}

/* Signs Section */
.signs-section {
    background: linear-gradient(180deg, #F8FAFB 0%, #EFF4FF 100%);
    padding: 2.5rem 0;
    margin: 0;
}

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

.section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: clamp(1.5rem, 1.4vw + 0.7rem, 2.25rem); /* ~24px → 36px */
    line-height: 1.2;
    color: var(--slate-800);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--sapphire);
    margin: 1rem auto 0;
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    /* Compact title for benefits section */
    .benefits-section .section-title {
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
}

.signs-grid {
    display: grid;
    grid-template-columns: calc(50% - 0.75rem) calc(50% - 0.75rem);
    gap: 1.5rem;
    max-width: 100%;
}

/* Mobile single column layout with higher specificity */
@media (max-width: 768px) {
    .signs-section .signs-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .signs-section .signs-grid .sign-item {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.sign-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.sign-item i {
    color: var(--sapphire);
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.sign-item span {
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    font-weight: 600;
    color: var(--text-primary);
}

/* Benefits Section */
.benefits-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F9FF 100%);
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 3rem 0;
    }
    
    /* Custom gutter for mobile benefits grid */
    .g-mobile-2 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.75rem;
    }
    
    /* Compact benefit cards on mobile */
    .benefit-card {
        padding: 0.75rem;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .benefit-icon i {
        font-size: 1.1rem;
    }
    
    .benefit-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }
    
    .benefit-card p {
        font-size: var(--mobile-paragraph-size);
        line-height: var(--paragraph-line-height);
    }
}

.benefit-card {
    text-align: center;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, var(--sapphire), var(--ocean));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.25rem;
    color: white;
}

.benefit-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    margin-bottom: 0;
}

.disclaimer-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0;
}

/* Ingredients Section */
.ingredients-section {
    background: linear-gradient(180deg, #E8EFFF 0%, #F5F8FF 100%);
    padding: 5rem 0;
}

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

.subsection-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 2rem 0 1.5rem;
    text-align: center;
}

.ingredient-list {
    margin: 2rem 0;
}

.ingredient-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8EFFF;
}

@media (max-width: 768px) {
    .ingredient-item {
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 1rem;
        row-gap: 0.75rem;
        align-items: start;
        text-align: left;
        padding: 1rem;
    }
    
    .ingredient-number {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        grid-row: 1;
        grid-column: 1;
        margin: 0;
        justify-self: center;
    }
    
    .ingredient-content {
        display: contents;
    }
    
    .ingredient-content h4 {
        font-size: 1.15rem;
        margin: 0;
        line-height: 34px;
        grid-row: 1;
        grid-column: 2;
        align-self: center;
    }
    
    .ingredient-content p {
        margin: 0;
        line-height: 1.6;
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

.ingredient-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--sapphire);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.ingredient-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
}

.ingredient-content p {
    color: var(--text-primary);
    line-height: var(--paragraph-line-height);
    font-size: var(--paragraph-font-size);
}

.quality-markers {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 0.5rem auto 2rem;
    max-width: var(--container-text);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #E8EFFF;
}

.quality-checklist-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quality-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quality-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.quality-item i {
    color: #10B981;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1.6;
}

.quality-content {
    flex: 1;
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    color: var(--text-primary);
}

.quality-content strong {
    font-weight: 600;
    color: var(--gray-700);
}

/* What To Avoid Section */
.avoid-markers {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 0.5rem auto 2rem;
    max-width: var(--container-text);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #FFE4E4;
}

.avoid-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.avoid-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.avoid-item i {
    color: #DC2626;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1.6;
}

.avoid-content {
    flex: 1;
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    color: var(--text-primary);
}

.avoid-content strong {
    font-weight: 600;
    color: var(--gray-700);
}

/* Legacy support for old markup if needed */
.quality-list {
    list-style: none;
    padding: 0;
}

.quality-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(0.9375rem, 1vw, 1rem);
}

.quality-list i {
    color: var(--sapphire);
    font-size: 1.25rem;
}

/* Comparison Table */
.comparison-section {
    padding: 3rem 0 5rem;
    background: #FAFBFC;
}

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

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
}

.comparison-table thead {
    background: var(--charcoal);
    color: white;
}

.comparison-table thead th {
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
}

.comparison-table tbody td {
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #eee;
}

.comparison-table tbody tr:hover {
    background: var(--light-gray);
}

.comparison-table .top-product {
    background: linear-gradient(90deg, var(--pearl), white);
    font-weight: 600;
}

.comparison-table i.bi-check-circle-fill {
    font-size: 1.25rem;
}

.comparison-table i.bi-x-circle {
    font-size: 1.25rem;
    opacity: 0.5;
}

/* New Comparison Chart Styles */
.comparison-chart-wrapper {
    margin: 2rem auto;
    max-width: var(--container-lg);
}

.comparison-chart {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.chart-header {
    display: grid;
    grid-template-columns: 140px repeat(5, minmax(120px, 1fr));
    background: white;
    border-bottom: 2px solid #E5E7EB;
}

.chart-cell {
    padding: 0.875rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #E5E7EB;
}

.chart-cell:last-child {
    border-right: none;
}

.corner-cell {
    background: var(--gray-50);
}

.product-header-cell {
    flex-direction: column;
    padding: 0.75rem 0.25rem;
    background: white;
}

.product-header-cell:first-of-type {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F4 100%);
    position: relative;
}

.product-header-cell:first-of-type::before {
    content: "BEST CHOICE";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cta-green);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0 0 8px 8px;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.product-info h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-800);
    margin: 0 0 0.25rem 0;
    text-align: center;
}

.product-info p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

.chart-section-header {
    grid-column: 1 / -1;
    background: var(--gray-100);
    padding: 0.75rem 1rem;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.chart-section-header.danger-section {
    background: #FEE2E2;
}

.chart-section-header.info-section {
    background: #DBEAFE;
}

.section-title-cell {
    text-align: left;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.section-title-cell h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--slate-800);
    text-align: left;
}

.danger-section h3 {
    color: #DC2626;
}

.info-section h3 {
    color: #1E40AF;
}

.chart-row {
    display: grid;
    grid-template-columns: 140px repeat(5, minmax(120px, 1fr));
    border-bottom: 1px solid #F3F4F6;
}

.chart-row:hover {
    background: var(--gray-50);
}

.feature-label {
    padding: 0.875rem 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: left;
    background: var(--gray-50);
    border-right: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.chart-row .chart-cell {
    padding: 0.875rem 0.5rem;
    border-right: 1px solid #F3F4F6;
}

.chart-row .chart-cell:first-of-type {
    background: linear-gradient(90deg, #E8F5E9, #F5FAF6);
}

/* Style for Font Awesome check and cross icons in comparison chart */
.chart-cell .fa-circle-check {
    font-size: 1.4rem;
    color: #10B981;
}

.chart-cell .fa-circle-xmark {
    font-size: 1.4rem;
    color: #DC2626;
}

/* Mobile Comparison Chart - Fits within container */
.comparison-chart-mobile {
    padding: 0.25rem;
    overflow-x: hidden;
}

.mobile-comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    width: 100%;
}

.mobile-chart-row {
    display: grid;
    grid-template-columns: minmax(70px, 1.5fr) repeat(5, 1fr);
    border-bottom: 1px solid #F3F4F6;
    width: 100%;
}

.mobile-header-row {
    background: white;
    border-bottom: 2px solid #E5E7EB;
}

.mobile-chart-cell {
    padding: 0.5rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #F3F4F6;
    font-size: 0.65rem;
    text-align: center;
}

.mobile-chart-cell:last-child {
    border-right: none;
}

.mobile-corner {
    background: var(--gray-50);
}

.mobile-product-header {
    flex-direction: column;
    padding: 0.5rem 0.25rem;
    position: relative;
}

.mobile-product-header:nth-child(2) {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F4 100%);
}

.mobile-product-thumb {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-bottom: 0.25rem;
}

.mobile-product-name {
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--slate-800);
    text-align: center;
    line-height: 1.2;
}

.mobile-best-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cta-green);
    color: white;
    padding: 0.1rem 0.3rem;
    font-size: 0.45rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 0 0 4px 4px;
}

.mobile-feature-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    padding: 0.5rem 0.35rem;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.2;
}

.mobile-chart-row:first-child .mobile-chart-cell:nth-child(2) {
    background: linear-gradient(90deg, #E8F5E9, #F5FAF6);
}

.mobile-section-header {
    grid-column: 1 / -1;
    background: var(--gray-100);
    padding: 0.5rem;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-800);
}

.mobile-section-header.danger-header {
    background: #FEE2E2;
    color: #DC2626;
}

.mobile-section-header.info-header {
    background: #DBEAFE;
    color: #1E40AF;
}

.mobile-chart-cell i {
    font-size: 0.9rem;
}

/* Style for Font Awesome check and cross icons in mobile chart */
.mobile-chart-cell .fa-circle-check {
    font-size: 1rem;
    color: #10B981;
}

.mobile-chart-cell .fa-circle-xmark {
    font-size: 1rem;
    color: #DC2626;
}

/* Override container padding for comparison section on mobile */
@media (max-width: 991px) {
    .comparison-section .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Responsive adjustments for very small screens */
@media (max-width: 380px) {
    .mobile-chart-row {
        grid-template-columns: minmax(60px, 1.5fr) repeat(5, 1fr);
    }
    
    .mobile-product-thumb {
        width: 30px;
        height: 30px;
    }
    
    .mobile-product-name {
        font-size: 0.5rem;
    }
    
    .mobile-feature-label {
        font-size: 0.55rem;
        padding: 0.4rem 0.25rem;
    }
    
    .mobile-chart-cell {
        padding: 0.4rem 0.2rem;
    }
    
    .mobile-chart-cell i {
        font-size: 0.8rem;
    }
}

/* How We Rated Section */
.how-we-rated-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F0F5FF 0%, #E8EFFF 100%);
}

@media (max-width: 768px) {
    .how-we-rated-section {
        padding: 3rem 0;
    }
}

/* h2 styling now uses .section-title class for consistency */

.text-sage {
    color: var(--moss);
}

.how-we-rated-section .lead {
    color: var(--dark-text);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    max-width: var(--container-text);
    margin: 0 auto;
}

.rating-criteria {
    margin-top: 3rem;
}

.criteria-card {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8EFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.criteria-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--sapphire), var(--ocean));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.criteria-icon i {
    font-size: 2.25rem;
    color: white;
    display: block;
}

.criteria-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-blue);
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Product Reviews */
.reviews-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #F5F7F9 0%, #EEF2F5 100%);
}

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

.section-header {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-blue);
    position: relative;
    padding-bottom: 1rem;
}

.section-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--sage-green);
    margin: 1rem auto 0;
}

.product-review {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
}

.product-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-product {
    border: 2px solid var(--amber);
    position: relative;
    background: linear-gradient(135deg, #FFFEF5 0%, #FFF9F0 100%);
    overflow: visible;
}

@media (max-width: 768px) {
    .product-review {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .product-review.featured-product {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.product-image-wrapper {
    position: relative;
    padding: 1rem;
    text-align: center;
    overflow: visible;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    max-width: 220px;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .product-image-wrapper {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
        overflow: visible;
    }
    
    .product-image {
        max-width: 180px;
    }
}

.best-choice-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
    z-index: 10;
    transform: rotate(-15deg);
    border: 3px solid white;
    text-align: center;
    line-height: 1.1;
}

.best-choice-badge .stars {
    font-size: 0.8rem;
    margin-top: 3px;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .best-choice-badge {
        width: 70px;
        height: 70px;
        font-size: 0.7rem;
        top: 5px;
        left: 5px;
    }
    
    .best-choice-badge .stars {
        font-size: 0.65rem;
    }
}

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.25rem;
    z-index: 8;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
    border: 2px solid white;
}

@media (max-width: 768px) {
    .rating-badge {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
        top: 5px;
        right: 5px;
    }
}

.product-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.product-title-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-info h3 {
    margin: 0;
}

.product-info p {
    margin: 0;
}

.product-rating-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.product-rating-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.stars-large {
    display: flex;
    gap: 0.25rem;
}

.stars-large i {
    color: var(--amber);
    font-size: 1.5rem;
}

.rating-text-large {
    font-weight: 700;
    color: var(--navy-blue);
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .product-review-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    .product-title-left {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .product-rating-right {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .product-top-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .product-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        justify-content: center;
        padding-left: 0;
    }
    
    .product-header .product-number {
        position: static;
        transform: none;
        margin: 0 auto 0.5rem;
    }
    
    .product-header > div {
        text-align: center;
        width: 100%;
    }
    
    .product-rating-badge {
        align-items: center;
    }
    
    .stars-large i {
        font-size: 1.25rem;
    }
    
    .rating-text-large {
        font-size: 1.1rem;
    }
}

/* Tablet fixes (Bootstrap md starts at 768px). Some mobile rules use max-width: 768px
   and will still trigger at exactly 768px. These overrides ensure proper tablet layout
   between 768px and 991.98px. */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Keep header horizontal with rating on the right */
    .product-review-header {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 0 !important;
    }
    .product-title-left { align-items: center !important; }
    .product-rating-right { align-items: center !important; margin-left: auto !important; }

    /* Prevent columns from stacking at 768 */
    .product-review .row { flex-direction: row !important; }

    /* Footer horizontal with CTA on right */
    .product-footer {
        flex-direction: row !important;
        text-align: left !important;
        gap: 0 !important;
    }
    .btn-shop { width: auto !important; }
}

.product-number {
    width: 40px;
    height: 40px;
    background: var(--slate-800);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .product-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.product-name {
    font-size: clamp(1.375rem, 2vw + 0.5rem, 1.75rem);
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .product-name {
        text-align: center;
    }
}

.product-brand {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.1vw + 0.2rem, 1.125rem);
    margin: 0;
    text-align: left;
}

/* Align titles to far left for products 2-5 while keeping rating right (desktop only) */
@media (min-width: 769px) {
    /* Remove left padding from content column */
    .product-review:not(.featured-product) .col-md-8 {
        padding-left: 0;
    }
    /* Match featured product right column padding to others */
    .product-review.featured-product .col-md-8 {
        padding-left: 0;
    }
    
    /* Position header elements to far left and let it flex naturally */
    .product-review:not(.featured-product) .product-header {
        flex: 1 1 auto !important; /* allow header to take remaining space and shrink if needed */
        min-width: 0; /* enable text to wrap within flex container */
        justify-content: flex-start;
        align-items: center;
        margin-left: 0;
        padding-left: 0;
        gap: 0.75rem;
    }
    
    .product-review:not(.featured-product) .product-header > div {
        text-align: left;
    }
    
    .product-review:not(.featured-product) .product-name {
        text-align: left;
    }
    
    .product-review:not(.featured-product) .product-brand {
        text-align: left;
    }
    
    .product-review.featured-product .product-brand {
        text-align: left;
    }
    
    .product-review:not(.featured-product) .product-top-section {
        justify-content: space-between;
        padding-left: 0;
        margin-left: 0;
        flex-wrap: wrap; /* prevent overflow on long titles */
        row-gap: 0.5rem;
    }
    
    .product-review:not(.featured-product) .product-number {
        margin-right: 0.75rem;
        margin-left: 0;
    }
    
    /* Ensure content starts from left edge */
    .product-review:not(.featured-product) .product-content {
        padding-left: 0;
    }
}

/* Keep rating badge pinned to the right and prevent wrapping */
@media (min-width: 769px) {
    .product-rating-badge {
        flex: 0 0 auto;
        margin-left: auto; /* push to far right */
        white-space: nowrap; /* keep stars and text on one line */
    }
}

/* Allow long product names to wrap cleanly without breaking layout */
.product-name {
    word-break: break-word;
}

.product-rating {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .product-rating {
        text-align: center;
        margin-bottom: 1.25rem;
    }
}

.stars i {
    color: var(--amber);
    font-size: 1.125rem;
}

.rating-text {
    margin-left: 1rem;
    font-weight: 600;
    color: var(--navy-blue);
}

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

@media (max-width: 768px) {
    .product-description {
        text-align: left;
        padding: 0;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
}

.pros-title, .cons-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .pros-title, .cons-title {
        margin-left: 0;
        padding-left: 0;
    }
}

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

.pros-list li, .cons-list li {
    padding: 0.35rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: var(--pros-cons-font-size);
    font-weight: 500;
}

@media (max-width: 768px) {
    .pros-list li, .cons-list li {
        padding-left: 1.25rem;
        font-size: inherit; /* keep desktop sizing unless overridden below */
    }
    
    /* Ensure proper alignment on mobile */
    .product-review .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .product-review .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Smartphone font sizing: match product-description (0.95rem) */
@media (max-width: 576px) {
    .pros-list li, .cons-list li {
        font-size: 0.95rem;
    }
}

.pros-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sapphire);
    font-weight: bold;
}

.cons-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--danger-red);
    font-weight: bold;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .product-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cta-green);
    white-space: nowrap; /* prevent awkward line breaks like £8.99- 9.50 */
}

.price-period {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.btn-shop {
    padding: 0.875rem 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .btn-shop {
        width: 100%;
        padding: 1rem;
    }
    
    /* Extra CTA button spacing for featured product */
    .featured-product .mb-3 {
        margin-top: 1rem;
    }
}

.btn-primary {
    background: var(--cta-green);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--cta-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    color: white;
}

.btn-outline-primary {
    color: var(--cta-green);
    border-color: var(--cta-green);
    border-width: 2px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--cta-green);
    border-color: var(--cta-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

/* Redesigned Product Review Box - Test Template */
.product-review-redesign {
    background: white;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    overflow: visible;
    position: relative;
}

.product-review-redesign:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Full-width title bar */
.product-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    width: 100%;
    min-height: 70px;
}

.product-info-top {
    flex: 1;
    padding: 0 1rem;
}

.product-info-top .product-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--navy-blue);
    font-weight: 700;
}

.product-info-top .product-brand {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.product-rating-top {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.product-rating-top .stars {
    display: flex;
    gap: 0.25rem;
}

.product-rating-top .stars i {
    color: var(--amber);
    font-size: 1.125rem;
}

.product-rating-top .rating-text {
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 0.95rem;
}

/* Content body with reduced image */
.product-body {
    padding: 1.5rem;
}

.product-image-small {
    max-width: 150px;
    margin: 0 auto;
    text-align: center;
}

.product-image-small img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   PRODUCT REVIEW REDESIGN - REFACTORED
   ======================================== */

/* CSS Variables for consistent values */
.product-review-redesign {
    --review-padding: 1.5rem;
    --review-padding-mobile: 1rem;
    --review-image-width: 200px;
    --review-image-max: 160px;
    --review-gap: 2rem;
    --review-gap-mobile: 1rem;
    --review-text-color: #4b5563;
    --review-pros-color: #10b981;
    --review-cons-color: #ef4444;
}

/* Base layout - Mobile First Approach */
.product-review-redesign .pros-cons {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.product-review-redesign .pros-list,
.product-review-redesign .cons-list {
    flex: 1;
    width: 100%;
}

.product-review-redesign .pros-list h4,
.product-review-redesign .cons-list h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.product-review-redesign .pros-list ul,
.product-review-redesign .cons-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-review-redesign .pros-list li,
.product-review-redesign .cons-list li {
    padding: 0.25rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: var(--pros-cons-font-size);
    color: #4b5563;
}

.product-review-redesign .pros-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.product-review-redesign .cons-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

/* Desktop rating badge styling */
.product-review-redesign .product-title-bar .rating-text {
    background: #22c55e;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    margin-left: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.25);
}

/* B+ rating gets lime green */
.product-review-redesign .product-title-bar .rating-text {
    background: #84cc16; /* Lime green for B+ rating */
}

/* Make stars more prominent */
.product-review-redesign .stars {
    color: #fbbf24;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
}

.product-review-redesign .stars i {
    color: #fbbf24;
    font-size: 1.125rem;
}

/* Desktop footer CTA */
.product-review-redesign .product-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    margin-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    border-radius: 0 0 16px 16px;
}

.product-review-redesign .product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.product-review-redesign .btn-shop {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
}

.product-review-redesign .btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.35);
}

/* Tablet Refinements (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Tighten spacing and image size on small tablets */
    .product-review-redesign {
        --review-image-width: 160px;
        --review-image-max: 140px;
        --review-gap: 1rem;
    }

    /* Allow title bar to wrap so content doesn't overflow */
    .product-review-redesign .product-title-bar {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .product-review-redesign .product-body {
        padding: var(--review-padding);
    }
    
    .product-review-redesign .product-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .product-review-redesign .pros-list h4,
    .product-review-redesign .cons-list h4 {
        font-size: 0.95rem;
    }
    
    .product-review-redesign .pros-list li,
    .product-review-redesign .cons-list li {
        font-size: inherit;
    }
    
    .product-review-redesign .product-description {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .product-review-redesign .product-footer {
        padding: 1rem 1.25rem;
        margin-top: 1rem;
    }
    
    .product-review-redesign .product-price {
        font-size: 1.25rem;
    }
    
    .product-review-redesign .btn-shop {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
    }

    /* On small tablets, ensure inner cols have no gutter and content can use full width */
    .product-review-redesign .product-body .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Slightly reduce top title sizing to prevent crowding */
    .product-review-redesign .product-info-top .product-name {
        font-size: 1.375rem;
    }
    .product-review-redesign .product-rating-top .rating-text {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Desktop and Tablet Layout (768px+) */
@media (min-width: 768px) {
    /* Main layout structure */
    .product-review-redesign .product-body .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    
    /* Image column configuration */
    .product-review-redesign .product-body .row > [class*="col-"]:first-child {
        max-width: var(--review-image-width);
        flex: 0 0 var(--review-image-width);
        padding-right: var(--review-gap);
    }
    
    /* Content column configuration */
    .product-review-redesign .product-body .row > [class*="col-"]:last-child {
        flex: 1 1 auto;
        max-width: none;
        width: auto;
    }
    
    .product-review-redesign .product-image-small {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
    }
    
    .product-review-redesign .product-image-small img {
        max-width: var(--review-image-max);
        width: 100%;
        height: auto;
    }
    
    /* Pros/Cons two-column layout */
    .product-review-redesign .pros-cons {
        display: flex;
        gap: var(--review-gap);
        flex-wrap: nowrap;
    }
    
    .product-review-redesign .pros-cons > div {
        flex: 1;
        max-width: 50%;
        width: 50%;
        padding: 0;
    }
    
    .product-review-redesign .pros-list,
    .product-review-redesign .cons-list {
        width: 100%;
        background: transparent;
        padding: 0;
    }
}

/* Enhanced Desktop Layout (1024px+) - Optimized spacing for pros/cons */
@media (min-width: 1024px) {
    /* Increase gap between pros and cons columns for better separation */
    .product-review-redesign .pros-cons {
        gap: 4rem !important; /* Increased from 2rem for desktop */
    }
    
    /* Ensure columns use full available width */
    .product-review-redesign .pros-cons > div {
        flex: 1 1 0 !important; /* Equal flex basis for better distribution */
        max-width: none !important; /* Remove 50% constraint */
        width: auto !important; /* Let flexbox handle width */
    }
    
    /* Override Bootstrap column constraints */
    .product-review-redesign .pros-cons .col-md-6 {
        flex: 1 1 0 !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Ensure list items don't wrap unnecessarily */
    .product-review-redesign .pros-list li,
    .product-review-redesign .cons-list li {
        white-space: normal;
        word-wrap: break-word;
    }
}

/* Mobile Layout (< 768px) */
/* Ensure small tablets (>=768 and <992) stack Pros/Cons as single column */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Two-column pros/cons at small tablets (user request) */
    .product-review-redesign .pros-cons {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: var(--review-gap);
        justify-content: space-between;
    }
    .product-review-redesign .pros-cons > div {
        flex: 0 0 calc(50% - var(--review-gap) / 2) !important;
        max-width: calc(50% - var(--review-gap) / 2) !important;
        width: calc(50% - var(--review-gap) / 2) !important;
        padding: 0 !important;
    }
}

@media (max-width: 767.98px) {
    /* Hide desktop title bar on mobile only */
    .product-review-redesign .product-title-bar {
        display: none;
    }
    
    /* Create mobile-specific header */
    .product-review-redesign .product-body {
        padding: 0;
    }
    
    /* Mobile header structure */
    .product-review-redesign .product-body::before {
        content: "";
        display: block;
        padding: 1.25rem 1rem 1rem;
        background: white;
    }
    
    /* Mobile product number badge */
    .product-review-redesign .product-number {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
        z-index: 10;
    }
    
    /* Mobile product info */
    .product-review-redesign .product-body {
        position: relative;
        padding-top: 3.5rem;
    }
    
    /* Mobile title and brand */
    .product-review-redesign h3.product-name {
        font-size: 1.125rem;
        font-weight: 600;
        text-align: center;
        margin: 0 1rem 0.25rem;
        color: #1f2937;
        line-height: 1.3;
    }
    
    .product-review-redesign .product-brand {
        font-size: 0.875rem;
        color: #6b7280;
        text-align: center;
        margin-bottom: 0.75rem;
    }
    
    /* Mobile rating */
    .product-review-redesign .product-rating {
        text-align: center;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .product-review-redesign .stars {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .product-review-redesign .rating-text {
        background: #84cc16;
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-size: 0.875rem;
        font-weight: 600;
        display: inline-block;
        margin-left: 0.5rem;
    }
    
    /* Mobile image */
    .product-review-redesign .product-image-small {
        max-width: 200px;
        margin: 0 auto 1.25rem;
        padding: 0 1rem;
    }
    
    .product-review-redesign .product-image-small img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    /* Mobile description */
    .product-review-redesign .product-description {
        padding: 0 1rem;
        margin-bottom: 1.25rem;
        font-size: 0.9375rem;
        line-height: 1.6;
        color: #4b5563;
    }
    
    /* Mobile pros and cons - stacked layout */
    .product-review-redesign .pros-cons {
        display: block;
        padding: 0 var(--review-padding-mobile);
        margin-bottom: 1.25rem;
        width: 100%;
    }
    
    /* Reset Bootstrap columns for mobile */
    .product-review-redesign .pros-cons > div[class*="col-"] {
        max-width: 100%;
        flex: none;
        width: 100%;
        padding: 0;
        display: block;
    }
    
    .product-review-redesign .pros-list,
    .product-review-redesign .cons-list {
        background: transparent;
        border-radius: 0;
        padding: 0;
        margin: 0 0 var(--review-gap-mobile) 0;
        width: 100%;
        display: block;
    }
    
    .product-review-redesign .pros-list h4,
    .product-review-redesign .cons-list h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    
    .product-review-redesign .pros-list h4::before {
        content: "✓";
        color: var(--review-pros-color);
        font-weight: bold;
        font-size: 1.125rem;
    }
    
    .product-review-redesign .cons-list h4::before {
        content: "✗";
        color: var(--review-cons-color);
        font-weight: bold;
        font-size: 1.125rem;
    }
    
    .product-review-redesign .pros-list ul,
    .product-review-redesign .cons-list ul {
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .product-review-redesign .pros-list li,
    .product-review-redesign .cons-list li {
        padding: 0.25rem 0;
        padding-left: 1.25rem;
        position: relative;
    }
    
    .product-review-redesign .pros-list li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #10b981;
    }
    
    .product-review-redesign .cons-list li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #ef4444;
    }
    
    /* Mobile footer CTA */
    .product-review-redesign .product-footer {
        background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
        border-top: 1px solid #e5e7eb;
        padding: 1.25rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-review-redesign .product-price {
        text-align: center;
        font-size: 1.25rem;
        font-weight: 600;
        color: #1f2937;
    }
    
    .product-review-redesign .btn-shop {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
        transition: all 0.3s ease;
    }
    
    .product-review-redesign .btn-shop:active {
        transform: scale(0.98);
    }
}

@media (max-width: 576px) {
    .product-body .col-md-3,
    .product-body .col-sm-4 {
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 1rem;
    }
    
    .product-body .col-md-9,
    .product-body .col-sm-8 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .product-description {
        text-align: left;
        font-size: 0.95rem;
    }
    
    /* mobile: pros/cons equal to product-description */
    .pros-list li, .cons-list li,
    .product-review-redesign .pros-list li,
    .product-review-redesign .cons-list li {
        font-size: 0.95rem;
    }
}

/* Ensure pros/cons work in the new layout */
.product-review-redesign .pros-list,
.product-review-redesign .cons-list {
    font-size: 0.95rem;
}

.product-review-redesign .product-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}

@media (max-width: 768px) {
    .product-review-redesign .product-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .product-review-redesign .btn-shop {
        width: 100%;
    }
}

/* Small mobile screen optimization (320px) */
@media (max-width: 359px) {
    /* Tighter padding for very small screens */
    .product-review-redesign .product-body {
        padding-top: 3rem;
    }
    
    .product-review-redesign .product-number {
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
    }
    
    .product-review-redesign h3.product-name {
        font-size: 1rem;
        margin: 0 0.75rem 0.25rem;
    }
    
    .product-review-redesign .product-brand {
        font-size: 0.8125rem;
    }
    
    .product-review-redesign .product-image-small {
        max-width: 180px;
        padding: 0 0.75rem;
    }
    
    .product-review-redesign .product-description {
        padding: 0 0.75rem;
        font-size: 0.875rem;
    }
    
    .product-review-redesign .pros-cons {
        padding: 0 0.75rem;
    }
    
    .product-review-redesign .product-footer {
        padding: 1rem 0.75rem;
    }
    
    .product-review-redesign .product-price {
        font-size: 1.125rem;
    }
    
    .product-review-redesign .btn-shop {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
}

/* Our Choice Section - Using Product Box Patterns */
.our-choice-section {
    background: linear-gradient(135deg, #E8F0FF 0%, #F5F9FF 100%);
    padding: 3rem 0;
}

/* Winner Product - Extends product-review class */
.winner-product {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFF 100%);
    border: 2px solid #0066CC;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.12);
    position: relative;
    overflow: visible;
}

/* Trophy Badge for Header */
.winner-trophy-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a202c;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 1rem;
}

.winner-trophy-badge i {
    font-size: 1.25rem;
}

/* Winner Highlights Grid */
.winner-highlights-grid {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Winner Product Price Alignment */
.winner-product .product-footer .price {
    margin-right: auto;
    white-space: nowrap;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.highlight-item i {
    color: #10B981;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.highlight-item span {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
}

/* Horizontal Winner Card - Ultra Sleek - LEGACY HIDDEN */
.winner-card-horizontal {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: visible;
    margin: 2rem auto;
    max-width: var(--container-lg);
}

.winner-content-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.winner-image-compact {
    flex-shrink: 0;
    width: 200px;
}

.winner-image-compact img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.winner-details {
    flex: 1;
    padding: 1rem 0;
}

.winner-product-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--slate-800);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.winner-brand {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.winner-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rating-stars i {
    color: var(--amber);
    font-size: 1.125rem;
}

.review-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.winner-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.winner-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.winner-highlights i {
    color: var(--sapphire);
    font-size: 1rem;
}

.winner-cta {
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.btn-winner-shop {
    background: var(--cta-green);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-winner-shop:hover {
    background: var(--cta-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    color: white;
    text-decoration: none;
}

.winner-badge-corner {
    position: absolute;
    top: -5px;
    right: 40px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    width: 100px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-weight: 800;
    font-size: 0.9rem;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
    z-index: 10;
    text-align: center;
    padding-top: 20px;
}

.winner-badge-corner i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.winner-badge-corner span {
    line-height: 0.95;
    font-size: 0.8rem;
    font-weight: 800;
    display: block;
    margin: 0;
}

.badge-stars {
    font-size: 0.7rem;
    margin-top: 0.15rem;
    letter-spacing: 0.5px;
}

.winner-testimonial {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto 0;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #0066CC;
}

.winner-testimonial p {
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
    color: var(--text-primary);
    margin: 0;
    font-style: italic;
    text-align: center;
}

.winner-testimonial i.bi-quote {
    color: #0066CC;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Legacy winner card - hidden */
.winner-card {
    display: none;
}













/* Tips List */
.tips-list {
    margin-top: 2rem;
}

.tip-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(90deg, #F5F8FF 0%, #EFF4FF 100%);
    border-radius: 8px;
    border: 1px solid #E0E8FF;
}

.tip-item h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.tip-item p {
    margin: 0;
    color: var(--text-primary);
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
}

/* Footer */
.site-footer {
    background: var(--slate-800);
    color: var(--gray-200);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.site-footer h6 {
    color: #66B3FF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.site-footer p {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.9;
}

.citations, .disclaimer, .about-testing, .affiliate-disclosure {
    margin-bottom: 2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-links {
    font-size: 0.9rem;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline !important;
}

/* Mobile Responsive - Winner Card */
@media (max-width: 768px) {
    .winner-card-horizontal {
        margin: 1rem 0;
    }
    
    .winner-content-wrapper {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .winner-image-compact {
        width: 150px;
    }
    
    .winner-product-name {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .winner-brand {
        text-align: center;
    }
    
    .winner-rating {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .winner-highlights {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .winner-highlights li {
        font-size: 0.875rem;
    }
    
    .winner-cta {
        padding: 1rem 0 0 0;
        width: 100%;
    }
    
    .btn-winner-shop {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }
    
    .winner-badge-corner {
        width: 85px;
        height: 95px;
        font-size: 0.75rem;
        right: 15px;
        top: -5px;
        padding-top: 15px;
    }
    
    .winner-badge-corner i {
        font-size: 1.125rem;
        margin-bottom: 0.125rem;
    }
    
    .winner-testimonial {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .winner-testimonial p {
        font-size: 0.95rem;
    }
}

/* Mobile Padding - Simplified and consistent */
@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    section {
        overflow-x: hidden;
    }
    
    p, ul, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-logo {
        height: 30px;
    }
    
    /* Header links hidden on mobile - handled by hamburger menu */
    
    .hero-section {
        padding: 2rem 0 15px;
    }
    
    .sponsored-label {
        font-size: 0.65rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
        line-height: 1.1;
        font-weight: 800;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .hero-nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
        margin: 1.5rem 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }
    
    .hero-nav-btn {
        width: 100%;
        padding: 0.875rem 1rem;
        background: white;
        color: var(--sage-green);
        font-size: 1.1rem;
        font-weight: 600;
        border: 2px solid var(--sage-green);
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }
    
    .hero-nav-btn:hover,
    .hero-nav-btn:active {
        background: var(--cta-green);
        color: white;
    }
    
    .hero-nav-btn:last-child {
        border: 2px solid var(--sage-green);
    }
    
    .hero-image-wrapper {
        margin: 2rem 0;
        padding: 0 1rem;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    /* Section spacing on mobile - Already handled in individual sections */

    /* h2 now uses .section-title with clamp() for responsive sizing */
    .section-header {
        font-size: 1.75rem;
    }
    
    /* Typography already handled by clamp() values */
    
    .subsection-title {
        font-size: 1.1rem !important;
    }
    
    .how-we-rated-section .lead {
        font-size: 1rem;
    }
    
    .criteria-icon {
        width: 70px;
        height: 70px;
    }
    
    .criteria-icon i {
        font-size: 1.75rem;
        display: block;
    }
    
    .criteria-card h5 {
        font-size: 0.8rem;
    }
    
    /* Mobile adjustments for product cards are now handled by individual component media queries above */
    
    .author-section-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .author-info {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
        flex: 1;
        min-width: 0;
    }
    
    .expert-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        gap: 0.2rem;
        flex-shrink: 0;
        white-space: nowrap;
        align-self: flex-start;
        margin-left: 0;
    }
    
    .expert-badge i {
        font-size: 0.9rem;
    }
    
    .author-photo {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .author-details {
        text-align: left;
        font-size: 0.875rem;
        min-width: 0;
        flex: 1;
    }
    
    .author-name {
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .author-credentials {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .author-date {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    
    .quality-checklist-title {
        font-size: 1.25rem;
    }
    
    .quality-item {
        gap: 0.75rem;
    }
    
    .quality-item i {
        font-size: 1.25rem;
    }
    
    .quality-content {
        font-size: var(--mobile-paragraph-size);
    }
    
    .avoid-item {
        gap: 0.75rem;
    }
    
    .avoid-item i {
        font-size: 1.25rem;
    }
    
    .avoid-content {
        font-size: var(--mobile-paragraph-size);
    }
    
    .product-review .row {
        flex-direction: column;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.5rem 0.25rem;
    }
    
    .winner-name {
        font-size: 1.75rem;
    }
    
    .btn-cta {
        width: 100%;
    }
}

/* Very small mobile devices - for optimal text layout */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem !important;
        padding: 0 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .author-section-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0 0.25rem;
    }
    
    .author-info {
        width: 100%;
        justify-content: center;
    }
    
    .expert-badge {
        width: auto;
        margin: 0;
        align-self: flex-start;
        margin-left: calc(45px + 0.5rem);
    }
    
    .author-details {
        text-align: center;
    }
    
    .author-name {
        font-size: 0.85rem;
    }
    
    .author-credentials {
        font-size: 0.7rem;
        white-space: normal;
    }
    
    .author-date {
        font-size: 0.65rem;
    }
}/* Tablet Responsive (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .winner-product .product-review-header {
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .winner-trophy-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .winner-highlights-grid {
        margin: 1.25rem 0;
    }
    
    .highlight-item span {
        font-size: 0.9375rem;
    }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
    .our-choice-section {
        padding: 2rem 0;
    }
    
    .winner-product {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Header stacks vertically on mobile */
    .winner-product .product-review-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    .winner-trophy-badge {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    /* Product image centered on mobile */
    .winner-product .product-image-wrapper {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .winner-product .product-image {
        max-width: 180px;
    }
    
    /* Highlights responsive */
    .winner-highlights-grid {
        margin: 1rem 0;
        gap: 0.625rem;
    }
    
    .highlight-item {
        gap: 0.625rem;
    }
    
    .highlight-item i {
        font-size: 1.125rem;
    }
    
    .highlight-item span {
        font-size: 0.9375rem;
    }
    
    /* Footer stacks on mobile */
    .winner-product .product-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .winner-product .btn-shop {
        width: 100%;
    }
    
    /* Testimonial mobile */
    .winner-testimonial {
        padding: 1.5rem;
        margin: 1rem 0 0;
    }
    
    .winner-testimonial p {
        font-size: 0.9375rem;
    }
}

/* Small Mobile (max-width: 375px) */
@media (max-width: 375px) {
    .winner-product {
        padding: 1rem;
    }
    
    .winner-trophy-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
    }
    
    .winner-product .product-image {
        max-width: 150px;
    }
    
    .highlight-item span {
        font-size: 0.875rem;
    }
    
    .winner-testimonial {
        padding: 1.25rem;
    }
}

/* ============================================
   UNIFIED TYPOGRAPHY NORMALIZATION
   Ensures consistent font sizes across ALL viewports
   ============================================ */

/* -----------------------------------------
   DESKTOP (BASE) TYPOGRAPHY - 769px+
   h2: 2rem (32px)
   h3: 1.5rem (24px)
   h4: 1.25rem (20px)
   body: 1.0625rem (17px)
   ----------------------------------------- */

/* All h2 section headers - consistent sizing */
.section-title,
.section-subheader + .section-title,
.content-section h2,
.marine-collagen-section h2,
.signs-section h2,
.benefits-section h2,
.ingredients-section h2,
.how-we-rated-section h2,
.comparison-section h2,
.reviews-section h2,
.our-choice-section h2 {
    font-size: var(--h2-size);
    font-weight: 800;
    line-height: 1.2;
    color: var(--slate-800);
    margin-bottom: 1.5rem;
}

/* All h3 sub-headers - consistent sizing */
.section-subheader,
h3.section-subheader,
.content-section h3:not(.product-name):not(.product-number):not(.callout-box h3) {
    font-size: var(--h3-size);
    font-weight: 700;
    line-height: 1.25;
    color: var(--slate-800);
    margin-bottom: 1rem;
    text-align: center;
}

/* Callout box headers */
.callout-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* h4 card/item headers - consistent sizing */
.benefit-card h4,
.ingredient-content h4 {
    font-size: var(--h4-size);
    font-weight: 600;
    line-height: 1.3;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
}

/* All body text - consistent sizing */
.content-body p,
.content-section p:not(.product-brand):not(.price-period),
.marine-content-full p,
.first-paragraph,
.callout-box p,
.ingredient-content p,
.quality-content,
.avoid-content,
.tip-item p,
.tips-list p,
.product-description,
.winner-testimonial p,
.how-we-rated-section .lead {
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    color: var(--text-primary);
}

/* List items - consistent sizing */
.styled-list li,
.content-body ul li,
.content-body ol li {
    font-size: var(--body-size);
    line-height: 1.6;
}

/* Signs section text */
.sign-item span {
    font-size: var(--body-size);
    line-height: 1.5;
}

/* Benefit cards - slightly smaller for card context */
.benefit-card p {
    font-size: var(--small-size);
    line-height: 1.5;
}

/* -----------------------------------------
   TABLET TYPOGRAPHY - 769px to 1024px
   h2: 1.75rem (28px)
   h3: 1.375rem (22px)
   body: 1rem (16px)
   ----------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-title,
    .content-section h2,
    .marine-collagen-section h2,
    .signs-section h2,
    .benefits-section h2,
    .ingredients-section h2,
    .how-we-rated-section h2,
    .comparison-section h2,
    .reviews-section h2,
    .our-choice-section h2 {
        font-size: var(--h2-size-tablet);
    }

    .section-subheader,
    h3.section-subheader,
    .content-section h3:not(.product-name):not(.product-number):not(.callout-box h3) {
        font-size: var(--h3-size-tablet);
    }

    .content-body p,
    .content-section p:not(.product-brand):not(.price-period),
    .marine-content-full p,
    .first-paragraph,
    .callout-box p,
    .ingredient-content p,
    .quality-content,
    .avoid-content,
    .tip-item p,
    .tips-list p,
    .product-description,
    .winner-testimonial p,
    .how-we-rated-section .lead,
    .styled-list li,
    .content-body ul li,
    .content-body ol li,
    .sign-item span {
        font-size: var(--body-size-mobile);
    }
}

/* -----------------------------------------
   MOBILE TYPOGRAPHY - 768px and below
   h2: 1.5rem (24px)
   h3: 1.25rem (20px)
   h4: 1.125rem (18px)
   body: 1rem (16px)
   ----------------------------------------- */
@media (max-width: 768px) {
    /* h2 section headers */
    .section-title,
    .content-section h2,
    .marine-collagen-section h2,
    .signs-section h2,
    .benefits-section h2,
    .ingredients-section h2,
    .how-we-rated-section h2,
    .comparison-section h2,
    .reviews-section h2,
    .our-choice-section h2 {
        font-size: var(--h2-size-mobile) !important;
        margin-bottom: 1rem;
    }

    /* h3 sub-headers */
    .section-subheader,
    h3.section-subheader,
    .content-section h3:not(.product-name):not(.product-number):not(.callout-box h3) {
        font-size: var(--h3-size-mobile) !important;
        margin-bottom: 0.75rem;
    }

    /* h4 card/item headers */
    .benefit-card h4,
    .ingredient-content h4 {
        font-size: var(--h4-size-mobile) !important;
    }

    /* Criteria card labels - smaller to fit in cards */
    .criteria-card h5 {
        font-size: 0.75rem !important;
        letter-spacing: 0.5px;
    }

    /* Callout box headers */
    .callout-box h3 {
        font-size: 1.125rem;
    }

    /* All body text */
    .content-body p,
    .content-section p:not(.product-brand):not(.price-period),
    .marine-content-full p,
    .first-paragraph,
    .callout-box p,
    .ingredient-content p,
    .quality-content,
    .avoid-content,
    .tip-item p,
    .tips-list p,
    .product-description,
    .winner-testimonial p,
    .how-we-rated-section .lead {
        font-size: var(--body-size-mobile) !important;
        line-height: 1.7;
    }

    /* List items */
    .styled-list li,
    .content-body ul li,
    .content-body ol li {
        font-size: var(--body-size-mobile) !important;
        line-height: 1.6;
    }

    /* Signs section text */
    .sign-item span {
        font-size: var(--body-size-mobile) !important;
    }

    /* Benefit cards text - slightly smaller */
    .benefit-card p {
        font-size: var(--small-size-mobile) !important;
        line-height: 1.5;
    }
}