/* =========================================
   1. GLOBAL RESET & TYPOGRAPHY
   ========================================= */

/* --- LOCAL FONT LOADING --- */

/* --- INTER (UI & NAV) --- */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --- LIBRE FRANKLIN (HEADINGS) --- */
@font-face {
    font-family: 'Libre Franklin';
    src: url('/fonts/libre-franklin-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Franklin';
    src: url('/fonts/libre-franklin-v20-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Franklin';
    src: url('/fonts/libre-franklin-v20-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Franklin';
    src: url('/fonts/libre-franklin-v20-latin-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --- MERRIWEATHER (BODY TEXT) --- */
@font-face {
    font-family: 'Merriweather';
    src: url('/fonts/merriweather-v33-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/fonts/merriweather-v33-latin-300italic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/fonts/merriweather-v33-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/fonts/merriweather-v33-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- VARIABLES & CORE STYLES --- */

:root {
    /* Brand Colors */
    --brand-black: #111111;
    --brand-red: #d92525;
    --brand-blue: #2563eb;
    --bg-gray: #f9f9f9;
    --border-color: #e2e2e2;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 70px;
}

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

body {
    font-family: 'Merriweather', Georgia, serif;
    background-color: #ffffff;
    color: var(--brand-black);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
    color: var(--brand-black);
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: 2rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--brand-blue);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER & NAVIGATION (White, Clean)
   ========================================= */
body>header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    /* Subtle shadow */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.site-logo {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--brand-black);
    text-decoration: none;
}

/* Search Bar - Centered & Wide */
.search-wrapper {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    /* Space for icon */
    background: #f3f3f3;
    border: 1px solid transparent;
    border-radius: 0;
    /* SHARP */
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.2s;
}

.search-input:focus {
    background: #fff;
    border-color: var(--brand-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Navigation Links */
.main-nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #444;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--brand-red);
}

/* =========================================
   3. HERO SECTION (Magazine Layout)
   ========================================= */
.section-label {
    border-top: 3px solid var(--brand-black);
    margin-top: 40px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #666;
}

/* Two Column Grid: 65% Content / 35% Sidebar */
.editorial-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

/* Hero Card Styling */
.hero-card {
    display: flex;
    flex-direction: column;
    group: hover;
}

.hero-img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #ffffff;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 0;
    /* SHARP */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #ffffff;
    transition: transform 0.4s ease;
}

.hero-card:hover .hero-img {
    transform: scale(1.02);
}

.fresh-tag {
    display: inline-block;
    background-color: var(--brand-red);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 0;
    /* SHARP */
    margin-bottom: 12px;
}

/* =========================================
   4. SIDEBAR (The "Latest News" List)
   ========================================= */
.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Handled by padding in items */
}

.sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-thumb {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 0;
    /* SHARP */
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-text h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}

.sidebar-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #888;
}

/* =========================================
   5. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header-inner {
        flex-direction: column;
        padding: 15px 0;
        gap: 15px;
    }

    .search-wrapper {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    /* Legacy Header Rules Removed */
}

/* =========================================
   6. PROFESSIONAL FOOTER
   ========================================= */
footer {
    background-color: #f9fafb;
    /* Very light gray */
    border-top: 1px solid #e5e7eb;
    padding: 60px 0 30px;
    margin-top: 80px;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* Wide info col, 2 link cols */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--brand-black);
}

.footer-col p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #555;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
}

.affiliate-disclaimer {
    font-size: 0.75rem;
    color: #999;
    margin-top: 15px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 0;
    background: #fff;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   7. ARTICLE LAYOUT (Wirecutter Style)
   ========================================= */

/* The Reader View - Limits text width for better eye-scanning */
.article-container {
    max-width: 800px;
    /* Optimal reading width */
    margin: 0 auto;
    padding: 20px 20px 0 20px;
}

/* Typography refinements for articles */
.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-meta strong {
    color: var(--brand-black);
}

.article-body p {
    font-size: 1.1rem;
    /* Slightly larger for reading */
    margin-bottom: 25px;
    color: #2a2a2a;
}

.article-body h2 {
    margin-top: 50px;
    font-size: 1.8rem;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.article-body h3 {
    margin-top: 35px;
    font-size: 1.4rem;
}

/* COMPONENT: The "Our Pick" Box (The Money Maker) */
.product-box {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Mobile Stack for Product Box */
@media (max-width: 700px) {
    .product-box {
        flex-direction: column;
    }

    .product-box img {
        margin: 0 auto;
    }
}

.product-box img {
    width: 200px;
    height: auto;
    object-fit: contain;
    background-color: #ffffff;
    mix-blend-mode: multiply;
    /* Makes white backgrounds transparent-ish */
}

.pick-badge {
    background: var(--brand-red);
    color: #fff;
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 0;
    /* SHARP */
    margin-bottom: 10px;
}

/* COMPONENT: Pros & Cons Grid */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.pros,
.cons {
    padding: 20px;
    border-radius: 0;
}

.pros {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.cons {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.pros h4 {
    color: #166534;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cons h4 {
    color: #991b1b;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

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

.pros li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.cons li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.pros li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #166534;
    font-weight: bold;
}

.cons li::before {
    content: "✖";
    position: absolute;
    left: 0;
    color: #991b1b;
    font-weight: bold;
}

/* COMPONENT: Spec Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.spec-table tr:nth-child(even) {
    background: #f9fafb;
}

.spec-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
}

.spec-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 35%;
}

/* =========================================
   8. ROUNDUP / LISTICLE STYLES (PREMIUM)
   ========================================= */

/* --- A. TABLE OF CONTENTS (The "Navigator") --- */
.toc-box {
    background: #f8fafc;
    /* Very light blue-grey */
    border-left: 4px solid var(--brand-black);
    /* Accent line on left */
    padding: 25px 30px;
    margin-bottom: 50px;
    font-family: 'Inter', sans-serif;
}

.toc-title {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 15px;
    display: block;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Auto-columns */
    gap: 12px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li a {
    text-decoration: none;
    font-weight: 500;
    color: var(--brand-black);
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.toc-list li a:hover {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
}

/* --- B. PREMIUM COMPARISON TABLE --- */
.table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 0;
    /* SHARP */
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.comp-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: #fff;
    font-family: 'Inter', sans-serif;
}

/* Header Row */
.comp-table thead th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

/* Body Rows */
.comp-table tbody td {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    color: #334155;
}

.comp-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Elements */
.table-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background-color: #ffffff;
    mix-blend-mode: multiply;
}

.table-product-name {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-black);
    display: block;
    margin-bottom: 4px;
}

/* Badges inside Table */
.table-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 0;
    /* SHARP */
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-winner {
    background: #dcfce7;
    color: #166534;
}

/* Green */
.badge-budget {
    background: #fef9c3;
    color: #854d0e;
}

/* Yellow */
.badge-pick {
    background: #e0f2fe;
    color: #075985;
}

/* Blue */

/* Table Button (The "Check Price" pill) */
.table-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    /* SHARP */
    /* Pill shape removed */
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s;
}

.table-btn:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
    text-decoration: none;
}

/* --- C. PRODUCT CARDS (Refined) --- */
.roundup-card {
    border-top: 1px solid #e2e8f0;
    padding-top: 50px;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.roundup-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.rank-circle {
    background: var(--brand-black);
    color: #fff;
    width: 32px;
    height: 32px;
    width: 32px;
    height: 32px;
    border-radius: 0;
    /* SHARP (Square) */
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 6px;
    /* Align with text cap-height */
}

@media(min-width: 768px) {
    .roundup-card {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }

    .roundup-header {
        grid-column: 1 / -1;
    }

    .roundup-img-col {
        grid-column: 1 / 2;
    }

    .roundup-text-col {
        grid-column: 2 / 3;
    }
}

/* =========================================
   9. STAR RATINGS & TABLE EXTRAS
   ========================================= */

/* The Star System */
.star-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--brand-black);
}

.stars {
    color: #fbbf24;
    /* Standard "Review Gold" */
    font-size: 1rem;
    letter-spacing: -1px;
    /* Tighter stars look more premium */
}

/* Detailed Table Tweaks */
.comp-table th {
    white-space: nowrap;
}

/* Prevents headers from breaking awkwardly */
.spec-text {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-top: 4px;
}

/* "Pros" in Table (Optional visual cue) */
.mini-pro {
    font-size: 0.75rem;
    color: #166534;
    background: #dcfce7;
    padding: 2px 6px;
    border-radius: 0;
    /* SHARP */
    display: inline-block;
    margin-top: 4px;
}

/* =========================================
   10. ELABORATE DATA TABLE UPGRADES
   ========================================= */

/* The "Winner" Row Highlight */
.row-winner {
    background-color: #fffbeb;
    /* Light Gold background */
    border-left: 4px solid #f59e0b;
    /* Orange/Gold accent line */
}

/* Spec Pills (Small gray tags for data) */
.spec-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 0;
    /* SHARP */
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 4px;
    margin-bottom: 4px;
    border: 1px solid #e2e8f0;
}

/* Star Rating Container */
.rating-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rating-score {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--brand-black);
}

.rating-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: -1px;
}

/* Table "Verdict" Text */
.table-verdict {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.3;
    margin-top: 5px;
    max-width: 200px;
}

/* Buy Button in Table */
.table-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #FF9900;
    /* Amazon Orange */
    color: #fff;
    /* Amazon Blue-Black text is standard, but white pops more */
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 0;
    /* SHARP */
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
}

.table-buy-btn:hover {
    background: #e68a00;
    color: #fff;
}

/* =========================================
   11. VISUAL POLISH (Table Breakout & Minimal Pros/Cons)
   ========================================= */

/* 1. THE TABLE BREAKOUT (Wider than text) 
   This allows the table to stretch to 1200px while the reading text stays at 800px.
   This prevents the table from feeling "squished." */
.wide-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 2. MINIMALIST PROS & CONS (Editorial Style) 
   This replaces the "heavy boxes" with clean text and icons. */

/* The Grid Container */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    gap: 40px;
    /* Space between them */
    margin: 40px 0;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #eee;
    /* Subtle separator line */
    padding-top: 20px;
}

/* Stack them on mobile phones */
@media (max-width: 700px) {
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Remove the old background colors */
.pros,
.cons {
    background: transparent;
    border: none;
    padding: 0;
}

/* The Headers ("What We Love" / "Flaws") */
.pros-header,
.cons-header {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Green Line for Pros, Red Line for Cons */
.pros-header {
    color: #166534;
    border-color: #166534;
}

.cons-header {
    color: #991b1b;
    border-color: #991b1b;
}

/* The Lists */
.pros ul,
.cons ul {
    list-style: none;
    /* Remove default bullets */
    padding: 0;
    margin: 0;
}

.pros li,
.cons li {
    position: relative;
    padding-left: 24px;
    /* Make room for the icon */
    margin-bottom: 12px;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* THE ICONS (SVG Checkmarks and Xs) */
/* Green Checkmark */
.pros li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23166534' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Red X */
.cons li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23991b1b' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* =========================================
   12. HOMEPAGE REDESIGN (Final Polish)
   ========================================= */

/* --- A. MINIMALIST CATEGORY GRID --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0 60px;
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-align: center;
    background: #fff;
    border: 2px solid #000;
    /* BOLD SHARP BORDER */
    padding: 25px 15px;
    border-radius: 0;
    /* SHARP */
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-card:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.cat-icon {
    margin-bottom: 12px;
    color: #333;
}

.cat-info h4 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-info p {
    display: none;
}

/* Deals Highlight */
.cat-card.is-deal {
    border-color: var(--brand-red);
    /* BOLD RED */
    background: #fff;
    /* CLEAN WHITE */
}

.cat-card.is-deal h4 {
    color: #dc2626;
}

.cat-card.is-deal:hover {
    border-color: #dc2626;
}


/* --- B. THE MANIFESTO (Trust Section) --- */
.trust-band {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 60px 0;
    margin-top: 80px;
    margin-bottom: 60px;
    background-color: #fff;
}

.trust-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.trust-intro h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.trust-intro p {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

@media (max-width: 700px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.trust-item {
    text-align: center;
    /* Center align for authority */
}

.trust-item h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #000;
    display: inline-block;
    border-bottom: 2px solid var(--brand-red);
    /* Visual accent */
    padding-bottom: 5px;
}

.trust-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* =========================================
   13. MOBILE HEADER (Grid Layout Fix)
   ========================================= */

/* A. Desktop Default: Hide mobile trigger */
.nav-toggle,
.nav-toggle-label {
    display: none;
}

/* B. Mobile Layout */
@media (max-width: 900px) {

    /* 1. THE GRID SYSTEM (Forces the layout) */
    /* 1. THE GRID SYSTEM (Forces the layout) */

    body>header {
        position: relative;
        height: auto;
        border-bottom: none;
        box-shadow: none;
    }

    .header-inner {
        display: grid;
        padding-top: 70px;
        /* Aligned with shorter 57px logo */
        /* Column 1: Flexible (Search), Column 2: Fixed (Button) */
        grid-template-columns: 1fr 48px;
        grid-template-areas:
            "search button"
            "menu menu";
        gap: 15px 12px;
        padding-bottom: 15px;
        padding-left: 20px;
        padding-right: 20px;
        align-items: center;
    }

    /* 2. Slot Assignments */

    /* LOGO: Fixed to Top */
    .site-logo {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        z-index: 1002;
        /* Force exact height to match progress bar line */
        height: 57px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        border-bottom: none;
        /* Remove logo line */
        text-align: center;
        grid-area: auto;
        /* Remove from grid flow */
    }





    /* SEARCH: Left side of second row */
    .search-wrapper {
        grid-area: search;
        width: 100%;
        /* Force full width of its slot */
        max-width: none;
        /* Remove desktop restrictions */
        margin: 0;
        /* Remove desktop margins */
    }

    /* BUTTON: Right side of second row */
    .nav-toggle-label {
        grid-area: button;
        /* Visual styling for the button */
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        width: 48px;
        height: 48px;
        background: #f4f4f5;
        border-radius: 0;
        /* SHARP */
        color: #333;
        cursor: pointer;
    }

    /* MENU: Spans the full bottom row (Hidden by default) */
    .main-nav {
        grid-area: menu;
        width: 100%;
        display: none;
        /* Hidden until toggled */
        flex-direction: column;
        border-top: 1px solid #eee;
        padding-top: 5px;
    }

    /* 3. Logic & Polish */

    /* Search Input Sizing */
    .search-input {
        width: 100%;
        height: 48px;
        /* Matches button height */
        font-size: 16px;
        /* No iOS zoom */
        border-radius: 0;
        /* SHARP */
    }

    /* Show Menu when Checkbox is Checked */
    #nav-toggle:checked~.main-nav {
        display: flex;
        animation: fadeIn 0.2s ease-out;
    }

    /* Hide the raw checkbox */
    .nav-toggle {
        display: none;
    }

    /* Link Styling */
    .nav-link {
        display: block;
        padding: 15px 5px;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1rem;
        text-align: left;
    }

    .nav-link.archive-link {
        border-left: none !important;
        padding-left: 5px !important;
        margin-left: 0 !important;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* =========================================
   Global/Footer Styles (Reading Progress)
   ========================================= */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--brand-red, #d92525);
    z-index: 9999;
    transition: width 0.1s;
}

@media (max-width: 900px) {
    .reading-progress-bar {
        top: 57px;
        /* Matches fixed logo height */
        z-index: 2000;
        /* Ensure it floats above everything */
    }
}

/* FORCE SHARP CORNERS GLOBALLY */
.buy-btn,
.btn-buy,
.table-buy-btn,
.btn,
button,
input[type="submit"],
.cat-card,
.product-box,
.pros,
.cons {
    border-radius: 0 !important;
}

/* REDESIGNED VERDICT BOX (Premium Look) */
.verdict-box {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    /* Sharp as requested */
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.verdict-box p {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Flex Container for Score + Button */
.verdict-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    flex-direction: row;
    flex-wrap: nowrap;
}

.verdict-score {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-black);
    letter-spacing: -1px;
}

.verdict-score span {
    color: var(--brand-blue);
    /* Highlight the score number */
}

/* Ensure Button is Consistent */
.verdict-box .btn-buy,
.verdict-box .buy-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    background: #FF9900;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s;
    border-radius: 0 !important;
    /* Force Sharp */
}

.verdict-box .btn-buy:hover {
    background: #e68a00;
}

/* Mobile Stack */
@media (max-width: 600px) {
    .verdict-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .verdict-box .btn-buy {
        width: 100%;
        text-align: center;
    }
}

/* Mobile Spacing Fix for Articles */
@media (max-width: 900px) {
    .article-container {
        padding-top: 0 !important;
    }
}

/* Headline Badges (Sharp) */
.headline-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.headline-badge {
    font-size: 0.4em;
    vertical-align: middle;
    padding: 4px 8px;
    border-radius: 0;
    /* Enforced Sharp */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.badge-good {
    background: #dcfce7;
    color: #166534;
}

.badge-bad {
    background: #fee2e2;
    color: #991b1b;
}