/*
 * Consumer Tested Reviews - Car Scratch Removers
 * Main Stylesheet - Visual Match Version
 * Architecture: Component-based with utility helpers
 * Layout: CSS Grid and Flexbox hybrid
 */

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    /* Brand Colors */
    --clr-brand-primary: #54595F;
    --clr-brand-green: #7DBE31;
    --clr-brand-dark: #3a3a3a;
    --clr-brand-accent: #09a29d;

    /* Button Colors */
    --clr-btn-green: #61CE70;
    --clr-btn-green-hover: #54b862;
    --clr-btn-red: #E74C3C;

    /* Text Colors */
    --clr-text-primary: #3a3a3a;
    --clr-text-secondary: #4B4F58;
    --clr-text-muted: #7A7A7A;
    --clr-text-light: #aaaaaa;

    /* Background Colors */
    --clr-bg-white: #ffffff;
    --clr-bg-light: #F5F5F5;
    --clr-bg-gray: #E5E5E5;
    --clr-bg-dark: #3a3a3a;

    /* Accent Colors */
    --clr-star: #f0ad4e;
    --clr-success: #3f6f57;
    --clr-success-bg: #dbfce7;
    --clr-danger: #ff0000;

    /* Typography */
    --ff-base: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ff-heading: 'Montserrat', sans-serif;

    --fs-xs: 12px;
    --fs-sm: 14px;
    --fs-base: 15px;
    --fs-md: 17px;
    --fs-lg: 18px;
    --fs-xl: 20px;
    --fs-2xl: 24px;
    --fs-3xl: 32px;
    --fs-4xl: 50px;

    /* Spacing */
    --sp-1: 5px;
    --sp-2: 10px;
    --sp-3: 15px;
    --sp-4: 20px;
    --sp-5: 25px;
    --sp-6: 30px;
    --sp-8: 40px;
    --sp-10: 50px;

    /* Layout */
    --max-width: 1140px;
    --header-height: 70px;

    /* Borders */
    --border-light: 1px solid #E5E5E5;
    --border-medium: 2px solid #ddd;
    --border-dark: 2px solid #000;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-base);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--clr-text-secondary);
    background-color: var(--clr-bg-light);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--clr-text-primary);
}

p {
    margin-bottom: var(--sp-3);
}

strong, b {
    font-weight: 600;
}

/* ========================================
   Layout Wrapper
   ======================================== */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* ========================================
   Site Header / Masthead
   ======================================== */
.site-masthead {
    background-color: #000000;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.masthead-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

.masthead-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.brand-identity .brand-link {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: #ffffff;
}

.brand-icon {
    font-size: 28px;
    color: var(--clr-brand-green);
}

.brand-divider {
    color: var(--clr-bg-gray);
    font-weight: 300;
}

.brand-text {
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.masthead-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
}

.advertorial-badge {
    background-color: transparent;
    color: #ffffff;
    padding: var(--sp-1) var(--sp-3);
    font-size: var(--fs-sm);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* Social Share Buttons */
.social-share-buttons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-btn:hover {
    transform: scale(1.15);
    opacity: 0.9;
}

.social-facebook { background-color: #3b5998; }
.social-twitter { background-color: #000000; }
.social-pinterest { background-color: #BD081C; }
.social-whatsapp { background-color: #25D366; }
.social-email { background-color: #4a4a4a; }

/* ========================================
   Hero Banner
   ======================================== */
.hero-banner {
    position: relative;
    background-color: #2c2c2c;
    background-size: cover;
    background-position: center;
    padding: var(--sp-10) 0;
    min-height: 350px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

.hero-content {
    max-width: 850px;
}

.hero-headline {
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: var(--sp-4);
    text-wrap: balance;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.verified-badge i {
    font-size: 18px;
    color: #4CAF50;
}

.update-date {
    color: #ffffff;
    font-size: var(--fs-md);
}

.disclosure-trigger {
    position: relative;
    display: inline-block;
}

.disclosure-btn {
    color: #ffffff;
    font-size: var(--fs-sm);
    padding: var(--sp-1) 0;
    background: transparent;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

.disclosure-btn i {
    margin-right: var(--sp-1);
    width: 16px;
    height: 16px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.disclosure-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    width: 350px;
    background-color: var(--clr-bg-white);
    color: var(--clr-text-secondary);
    padding: var(--sp-4);
    border-radius: 5px;
    box-shadow: var(--shadow-lg);
    margin-top: var(--sp-2);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.disclosure-popup.visible {
    display: block;
}

.close-popup {
    display: block;
    margin-top: var(--sp-3);
    color: var(--clr-brand-primary);
    font-size: var(--fs-sm);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
}

.trust-badge {
    position: absolute;
    right: var(--sp-4);
    top: 50%;
    transform: translateY(-50%);
}

.trust-badge img {
    max-width: 180px;
}

/* ========================================
   Introduction Section
   ======================================== */
.intro-section {
    background-color: var(--clr-bg-white);
    padding: var(--sp-8) 0;
}

.intro-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

.intro-text {
    max-width: 900px;
    font-family: var(--ff-heading);
    font-size: 19px;
    line-height: 1.7;
    color: var(--clr-text-secondary);
}

.intro-text p {
    margin-bottom: var(--sp-4);
}

.brand-notice {
    background-color: var(--clr-bg-light);
    padding: var(--sp-4);
    margin: var(--sp-6) 0;
    border-radius: 5px;
}

.brand-notice p:first-child {
    font-weight: 600;
    margin-bottom: var(--sp-2);
}

.brand-notice p:last-child {
    margin-bottom: 0;
    font-size: var(--fs-sm);
}

.disclosure-links {
    display: flex;
    gap: var(--sp-4);
    margin-top: var(--sp-4);
    position: relative;
}

.info-btn {
    color: var(--clr-text-secondary);
    font-size: var(--fs-sm);
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
}

.info-btn i {
    margin-right: var(--sp-1);
    width: 16px;
    height: 16px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.info-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    width: 400px;
    max-width: 90vw;
    background-color: var(--clr-bg-white);
    color: var(--clr-text-secondary);
    padding: var(--sp-4);
    border-radius: 5px;
    box-shadow: var(--shadow-lg);
    margin-top: var(--sp-2);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.info-popup.visible {
    display: block;
}

/* ========================================
   Product Comparison Grid
   ======================================== */
.comparison-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--sp-6) var(--sp-4);
}

.product-card {
    background-color: var(--clr-bg-white);
    border: var(--border-medium);
    margin-bottom: var(--sp-4);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
}

.product-card.featured-product {
    border: var(--border-dark);
    box-shadow: var(--shadow-lg);
}

.product-layout {
    display: grid;
    grid-template-columns: 240px 1fr 180px 200px;
    gap: 0;
}

.product-media {
    padding: 50px 20px 25px 20px;
    text-align: center;
    position: relative;
    border-right: 1px solid #c1c1c1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-media a {
    display: block;
}

.product-image {
    max-width: 190px;
    width: 100%;
    margin: 0 auto 15px auto;
    display: block;
}

.product-name {
    font-size: 14px;
    font-weight: 400;
    color: #7A7A7A;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Ribbon-style rank label with slanted edge */
.rank-label {
    position: absolute;
    top: 10px;
    left: -5px;
    background-color: #000;
    color: #ffffff;
    padding: 8px 18px 8px 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

/* Shadow/fold effect under the ribbon */
.rank-label::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 5px;
    height: 5px;
    background-color: #1a1a1a;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.rank-number {
    position: absolute;
    top: 10px;
    left: -5px;
    min-width: 32px;
    height: 32px;
    background-color: #2d2d2d;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px 0 8px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    z-index: 10;
}

.rank-number::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 5px;
    height: 5px;
    background-color: #1a1a1a;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.product-details {
    padding: var(--sp-5) var(--sp-4);
    border-right: 1px solid #c1c1c1;
}

.feature-list {
    margin-bottom: var(--sp-3);
}

.feature-list li {
    font-size: 17px;
    line-height: 1.25;
    padding: 4px 0;
    padding-left: 28px;
    position: relative;
    color: #333333;
}

.feature-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 16px;
    color: #4CAF50;
}

.drawback-list .drawback {
    font-size: 16px;
    line-height: 1.35;
    padding: 7px 0;
    padding-left: 28px;
    position: relative;
    color: #333333;
}

.drawback-list .drawback::before {
    content: '\f057';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 16px;
    color: #E74C3C;
}

.product-rating {
    padding: var(--sp-5) var(--sp-4);
    text-align: center;
    border-right: 1px solid #c1c1c1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rating-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 400;
}

.rating-value {
    font-size: 72px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.star-display {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
}

.star-display .fa-star {
    color: #E5E5E5;
    font-size: 16px;
}

.star-display .fa-star.filled {
    color: #f0ad4e;
}

.user-feedback {
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
    max-width: 140px;
}

.product-cta {
    padding: var(--sp-5) var(--sp-4);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.sale-tooltip {
    background-color: #E74C3C;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.4;
}

.sale-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #E74C3C;
}

.sale-tooltip strong {
    display: block;
    font-size: 16px;
    text-decoration: underline;
    margin-bottom: 2px;
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 160px;
    background-color: #61CE70;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: #54b862;
    color: #ffffff;
    transform: translateY(-1px);
}

.retailer-logo {
    max-width: 80px;
    margin: 5px auto;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: #2d2d2d;
}

.original-price {
    font-size: 16px;
    color: #aaaaaa;
    text-decoration: line-through;
}

.discount-tag {
    background-color: #E74C3C;
    color: #ffffff;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
}

.shipping-info {
    font-size: 12px;
    color: #7A7A7A;
}

/* ========================================
   Evaluation Section
   ======================================== */
.evaluation-section {
    background-color: var(--clr-bg-white);
}

.evaluation-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin: 0;
    padding: var(--sp-5) var(--sp-4);
    background-color: #3a3a3a;
    color: #ffffff;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background-color: var(--clr-bg-white);
    border-bottom: 1px solid #e5e5e5;
}

.criteria-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-5) var(--sp-4);
    background-color: var(--clr-bg-white);
    border-right: 1px solid #e5e5e5;
}

.criteria-item:last-child {
    border-right: none;
}

.criteria-icon {
    width: auto;
    height: auto;
    background-color: transparent;
    color: #D4A437;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.criteria-name {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin: 0;
}

/* ========================================
   Winner Spotlight
   ======================================== */
.winner-spotlight {
    background-color: var(--clr-bg-white);
    padding: var(--sp-8) 0;
}

.spotlight-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--sp-8);
    align-items: start;
}

.spotlight-headline {
    font-size: var(--fs-2xl);
    font-weight: 600;
    margin-bottom: var(--sp-4);
}

.spotlight-text p {
    margin-bottom: var(--sp-3);
    line-height: 1.8;
}

.spotlight-cta {
    margin-top: var(--sp-6);
    text-align: center;
}

.large-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    max-width: none;
    padding: var(--sp-3) var(--sp-6);
    font-size: var(--fs-md);
}

.large-cta i {
    font-size: var(--fs-lg);
}

.promo-text {
    display: block;
    margin-top: var(--sp-2);
    font-size: var(--fs-md);
}

.highlight-red {
    color: var(--clr-danger);
}

.spotlight-media {
    text-align: center;
}

.spotlight-image {
    max-width: 100%;
    border-radius: 5px;
}

/* ========================================
   Author Section
   ======================================== */
.author-block {
    background-color: var(--clr-bg-light);
    padding: var(--sp-8) 0;
}

.author-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--sp-4);
    background-color: var(--clr-bg-white);
    border-radius: 5px;
    display: flex;
    gap: var(--sp-4);
}

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

.author-info {
    flex: 1;
}

.author-byline {
    font-size: var(--fs-base);
    margin-bottom: var(--sp-1);
}

.author-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--sp-2);
}

.author-rating .fa-star {
    color: var(--clr-bg-gray);
    font-size: var(--fs-sm);
}

.author-rating .fa-star.filled {
    color: var(--clr-star);
}

.author-bio {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================================
   CTR Recommends Section with Sidebar
   ======================================== */
.ctr-recommends-section {
    background-color: var(--clr-bg-white);
    padding: var(--sp-6) 0;
}

.ctr-recommends-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-4);
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--sp-6);
    align-items: start;
}

.ctr-main-content {
    min-width: 0;
}

/* CTR Recommends Box */
.ctr-recommends-box {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    margin-bottom: var(--sp-6);
    background-color: var(--clr-bg-white);
}

.ctr-header {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4);
    border-bottom: 1px solid #e5e5e5;
}

.approved-badge {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.ctr-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin: 0;
    color: var(--clr-text-primary);
}

.ctr-body {
    display: flex;
    padding: var(--sp-4);
    gap: var(--sp-4);
}

.ctr-pros {
    flex: 1;
}

.pros-heading {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-3);
    color: var(--clr-text-primary);
}

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

.pros-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: var(--sp-2);
    font-size: var(--fs-sm);
    line-height: 1.5;
    color: var(--clr-text-secondary);
}

.pros-list li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #7DBE31;
    font-size: var(--fs-sm);
}

.ctr-product-image {
    flex-shrink: 0;
    width: 200px;
}

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

/* Winner Content inside CTR section */
.winner-content {
    margin-bottom: var(--sp-6);
}

.winner-content .spotlight-headline {
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin-bottom: var(--sp-4);
}

.winner-content p {
    margin-bottom: var(--sp-3);
    line-height: 1.8;
    color: var(--clr-text-secondary);
}

.winner-content .spotlight-cta {
    margin-top: var(--sp-6);
    text-align: left;
}

/* Author Block inside CTR section */
.ctr-main-content .author-block {
    background-color: transparent;
    padding: 0;
}

.ctr-main-content .author-wrapper {
    max-width: none;
    padding: var(--sp-4);
    background-color: var(--clr-bg-light);
}

/* Content Sidebar */
.content-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-stats {
    background-color: var(--clr-bg-white);
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: var(--sp-4);
    margin-bottom: var(--sp-4);
}

.sidebar-image {
    float: right;
    max-width: 35%;
    margin-left: var(--sp-2);
    margin-bottom: var(--sp-2);
}

.sidebar-stats .stats-headline {
    font-size: var(--fs-xl);
    font-weight: 700;
    display: block;
    margin-bottom: var(--sp-2);
    color: var(--clr-text-primary);
}

.sidebar-stats p {
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--clr-text-secondary);
    margin: 0;
    clear: both;
}

.sidebar-methodology {
    background-color: var(--clr-bg-white);
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: var(--sp-4);
}

.sidebar-methodology h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-2);
    color: var(--clr-text-primary);
}

.sidebar-methodology p {
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--clr-text-secondary);
    margin: 0;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-block {
    background-color: var(--clr-bg-white);
    padding: var(--sp-8) 0;
}

.stats-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
}

.stats-content {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
}

.stats-image {
    max-width: 35%;
    border-radius: 5px;
    float: right;
    margin-left: var(--sp-4);
}

.stats-headline {
    font-size: var(--fs-2xl);
    font-weight: 700;
    display: block;
    margin-bottom: var(--sp-2);
}

.methodology-block h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-2);
}

.accent-text {
    color: var(--clr-brand-accent);
}

/* ========================================
   Site Footer
   ======================================== */
.site-footer {
    background-color: var(--clr-bg-dark);
    color: #ffffff;
    padding: var(--sp-8) 0;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

.footer-heading {
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: var(--sp-3);
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: var(--fs-sm);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-text {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.footer-brand .brand-link {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: #ffffff;
    margin-bottom: var(--sp-3);
}

.footer-brand .brand-icon {
    color: var(--clr-brand-green);
}

.company-info p {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--sp-1);
}

/* ========================================
   Scroll to Top
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--clr-bg-gray);
    color: var(--clr-text-primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
    cursor: pointer;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--clr-text-muted);
    color: #ffffff;
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media screen and (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 200px 1fr 160px 180px;
    }

    .rating-value {
        font-size: 56px;
        font-weight: 700;
    }

    .spotlight-content {
        grid-template-columns: 1fr 220px;
    }

    .criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-badge {
        display: none;
    }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media screen and (max-width: 768px) {
    :root {
        --fs-4xl: 28px;
        --fs-3xl: 24px;
        --fs-2xl: 20px;
    }
    .hero-headline {
        line-height: 1.35;
    }

    .masthead-inner {
        height: auto;
        padding: var(--sp-3) 0;
    }

    .social-share-buttons {
        gap: 5px;
    }

    .social-btn {
        width: 26px;
        height: 26px;
    }

    .social-btn svg {
        width: 12px;
        height: 12px;
    }

    .advertorial-badge {
        display: none;
    }

    .hero-banner {
        padding: var(--sp-6) 0;
        min-height: auto;
    }

    .hero-headline {
        font-size: var(--fs-2xl);
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-media,
    .product-details,
    .product-rating,
    .product-cta {
        border-right: none;
        border-bottom: 1px solid #c1c1c1;
    }

    .product-cta {
        border-bottom: none;
    }

    .rank-label,
    .rank-number {
        position: absolute;
        top: 10px;
        left: -5px;
    }

    .spotlight-content {
        grid-template-columns: 1fr;
    }

    .spotlight-media {
        order: -1;
    }

    .spotlight-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .ctr-recommends-wrapper {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        display: none;
    }

    .ctr-body {
        flex-direction: column;
    }

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

    .ctr-title {
        font-size: var(--fs-lg);
    }

    .author-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .author-rating {
        justify-content: center;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
    }

    .stats-content {
        flex-direction: column;
        text-align: center;
    }

    .stats-image {
        float: none;
        max-width: 200px;
        margin: 0 auto var(--sp-4);
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--sp-6);
    }

    .footer-brand .brand-link {
        justify-content: center;
    }

    .criteria-grid {
        grid-template-columns: 1fr 1fr;
    }

    .disclosure-links {
        flex-direction: column;
        gap: var(--sp-2);
    }
}

@media screen and (max-width: 480px) {
    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .price-display {
        flex-direction: column;
        gap: var(--sp-1);
    }
}
