/*
Theme Name: HulpmiddelenWijzer
Theme URI: https://hulpmiddelenwijzer.nl
Description: Premium product review & comparison theme for HulpmiddelenWijzer.nl - Onafhankelijke reviews, vergelijkingen en eerlijke scores voor hulpmiddelen.
Version: 3.0.0
Author: SeedInov
Author URI: https://seedinov.com
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hulpmiddelenwijzer
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
    /* Primary - Amber */
    --hw-amber: #D97706;
    --hw-amber-dark: #B45309;
    --hw-amber-light: #F59E0B;
    --hw-amber-50: #FFFBEB;
    --hw-amber-100: #FEF3C7;
    --hw-amber-200: #FDE68A;
    --hw-amber-glow: rgba(217, 119, 6, 0.12);

    /* Dark charcoal */
    --hw-charcoal: #1a1a2e;
    --hw-charcoal-light: #2d2d44;
    --hw-charcoal-lighter: #3a3a55;

    /* Neutrals */
    --hw-heading: #1a1a2e;
    --hw-body: #4a4a68;
    --hw-muted: #6b7280;
    --hw-white: #ffffff;
    --hw-bg: #FAFAF8;
    --hw-bg-white: #ffffff;
    --hw-border: #e5e5e0;
    --hw-border-light: #f0f0eb;

    /* Semantic - Pros/Cons */
    --hw-green: #059669;
    --hw-green-bg: #ECFDF5;
    --hw-red: #DC2626;
    --hw-red-bg: #FEF2F2;
    --hw-blue: #2563EB;

    /* Typography */
    --hw-font-h: 'Poppins', sans-serif;
    --hw-font-b: 'Roboto', sans-serif;

    /* Spacing */
    --hw-xs: 0.25rem;
    --hw-sm: 0.5rem;
    --hw-md: 1rem;
    --hw-lg: 1.5rem;
    --hw-xl: 2rem;
    --hw-2xl: 3rem;
    --hw-3xl: 4rem;
    --hw-4xl: 6rem;

    /* Layout */
    --hw-max-w: 1200px;
    --hw-narrow: 780px;
    --hw-sidebar-w: 340px;
    --hw-header-h: 64px;

    /* Borders & Shadows */
    --hw-radius: 16px;
    --hw-radius-sm: 12px;
    --hw-radius-xs: 8px;
    --hw-radius-full: 9999px;
    --hw-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --hw-shadow: 0 2px 12px rgba(0,0,0,0.06);
    --hw-shadow-md: 0 4px 20px rgba(0,0,0,0.07);
    --hw-shadow-lg: 0 8px 32px rgba(0,0,0,0.09);
    --hw-shadow-amber: 0 4px 24px rgba(217, 119, 6, 0.18);
    --hw-shadow-amber-lg: 0 8px 40px rgba(217, 119, 6, 0.22);

    /* Transitions */
    --hw-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --hw-duration: 0.3s;
    --hw-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--hw-header-h) + 20px);
}

body {
    font-family: var(--hw-font-b);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hw-body);
    background: var(--hw-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hw-font-h);
    color: var(--hw-heading);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.1rem; }

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

a:hover { color: var(--hw-amber-dark); }

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

/* Skip link */
.skip-to-content {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hw-charcoal);
    color: var(--hw-white);
    padding: var(--hw-sm) var(--hw-lg);
    border-radius: 0 0 var(--hw-radius-xs) var(--hw-radius-xs);
    z-index: 10000;
    font-size: 0.875rem;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
    color: var(--hw-white);
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--hw-max-w);
    margin: 0 auto;
    padding: 0 var(--hw-lg);
}

.container-narrow {
    width: 100%;
    max-width: var(--hw-narrow);
    margin: 0 auto;
    padding: 0 var(--hw-lg);
}

.section {
    padding: var(--hw-3xl) 0;
}

.section-white {
    background: var(--hw-bg-white);
}

/* ==========================================================================
   4. DARK HEADER BAR - Full Width
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--hw-charcoal);
    height: var(--hw-header-h);
    transition: box-shadow var(--hw-transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--hw-header-h);
    gap: var(--hw-lg);
}

/* Logo - LEFT */
.site-logo {
    display: flex;
    align-items: center;
    gap: var(--hw-sm);
    font-family: var(--hw-font-h);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hw-white);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.site-logo:hover { color: var(--hw-amber-light); }

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--hw-radius-xs);
    background: var(--hw-amber);
    color: var(--hw-white);
}

.logo-highlight { color: var(--hw-amber); }

/* Search Bar - CENTER (prominent) */
.header-search {
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
}

.header-search-form {
    display: flex;
    align-items: center;
    background: var(--hw-charcoal-light);
    border: 1.5px solid var(--hw-charcoal-lighter);
    border-radius: var(--hw-radius-full);
    padding: 0 var(--hw-md);
    height: 40px;
    transition: all var(--hw-transition);
}

.header-search-form:focus-within {
    background: var(--hw-charcoal-lighter);
    border-color: var(--hw-amber);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.header-search-form .search-icon {
    color: var(--hw-muted);
    flex-shrink: 0;
    display: flex;
    transition: color var(--hw-transition);
}

.header-search-form:focus-within .search-icon {
    color: var(--hw-amber);
}

.header-search-form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--hw-white);
    font-family: var(--hw-font-b);
    font-size: 0.875rem;
    padding: 0 var(--hw-sm);
}

.header-search-form input::placeholder {
    color: #8888a0;
}

.header-search-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: none;
}

/* Nav + Actions - RIGHT */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--hw-md);
    flex-shrink: 0;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.primary-nav a {
    color: #c0c0d4;
    font-family: var(--hw-font-b);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.65rem;
    border-radius: var(--hw-radius-xs);
    transition: all var(--hw-transition);
    white-space: nowrap;
}

.primary-nav a:hover {
    color: var(--hw-white);
    background: var(--hw-charcoal-light);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--hw-xs);
    background: var(--hw-amber);
    color: var(--hw-white) !important;
    font-family: var(--hw-font-h);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: var(--hw-radius-full);
    white-space: nowrap;
    transition: all var(--hw-transition);
}

.header-cta:hover {
    background: var(--hw-amber-dark);
    color: var(--hw-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--hw-white);
    border-radius: 2px;
    transition: all var(--hw-transition);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   5. HERO - Search-Focused Minimal
   ========================================================================== */

.hero {
    background: var(--hw-bg);
    padding: var(--hw-3xl) 0 var(--hw-2xl);
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: var(--hw-amber);
    border-radius: 3px;
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: var(--hw-sm);
    font-family: var(--hw-font-b);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hw-amber-dark);
    margin-bottom: var(--hw-md);
    letter-spacing: 0.03em;
}

.hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--hw-heading);
    margin-bottom: var(--hw-sm);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--hw-muted);
    margin-bottom: var(--hw-xl);
    line-height: 1.6;
}

/* Hero search bar - large and prominent */
.hero-search {
    max-width: 560px;
    margin: 0 auto var(--hw-lg);
}

.hero-search form {
    display: flex;
    align-items: center;
    background: var(--hw-bg-white);
    border: 2px solid var(--hw-border);
    border-radius: var(--hw-radius-full);
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    height: 56px;
    box-shadow: var(--hw-shadow);
    transition: all var(--hw-transition);
}

.hero-search form:focus-within {
    border-color: var(--hw-amber);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12), var(--hw-shadow-md);
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--hw-font-b);
    font-size: 1rem;
    color: var(--hw-heading);
}

.hero-search input::placeholder {
    color: var(--hw-muted);
}

.hero-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--hw-amber);
    color: var(--hw-white);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--hw-transition);
}

.hero-search button:hover {
    background: var(--hw-amber-dark);
    transform: scale(1.05);
}

/* Category pills */
.hero-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--hw-sm);
    margin-bottom: var(--hw-lg);
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--hw-font-b);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--hw-body);
    background: var(--hw-bg-white);
    border: 1px solid var(--hw-border);
    padding: 0.35rem 0.85rem;
    border-radius: var(--hw-radius-full);
    transition: all var(--hw-transition);
}

.category-pill:hover {
    color: var(--hw-amber-dark);
    border-color: var(--hw-amber);
    background: var(--hw-amber-50);
}

/* Trust line under hero */
.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--hw-md);
    font-size: 0.8rem;
    color: var(--hw-muted);
}

.hero-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--hw-muted);
}

/* ==========================================================================
   6. PRODUCT CARDS with Score Badges
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hw-lg);
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--hw-bg-white);
    border-radius: var(--hw-radius);
    border: 1px solid var(--hw-border);
    overflow: hidden;
    transition: all var(--hw-transition);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.product-card:hover {
    border-color: var(--hw-amber);
    box-shadow: var(--hw-shadow-amber);
    transform: translateY(-3px);
}

/* Score badge - circular */
.score-badge {
    position: absolute;
    top: var(--hw-md);
    right: var(--hw-md);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--hw-charcoal);
    color: var(--hw-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--hw-font-h);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform var(--hw-transition);
}

.product-card:hover .score-badge {
    transform: scale(1.1);
}

.score-badge-value {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    color: var(--hw-amber);
}

.score-badge-label {
    font-size: 0.55rem;
    font-weight: 500;
    color: #9999b0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Score badge color variants */
.score-badge.score-high { border: 2px solid var(--hw-green); }
.score-badge.score-high .score-badge-value { color: var(--hw-green); }
.score-badge.score-mid { border: 2px solid var(--hw-amber); }
.score-badge.score-mid .score-badge-value { color: var(--hw-amber); }
.score-badge.score-low { border: 2px solid var(--hw-red); }
.score-badge.score-low .score-badge-value { color: var(--hw-red); }

.product-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--hw-border-light);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hw-transition);
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-body {
    padding: var(--hw-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    display: inline-block;
    font-family: var(--hw-font-h);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hw-amber-dark);
    margin-bottom: var(--hw-sm);
}

.product-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--hw-sm);
    line-height: 1.3;
    color: var(--hw-heading);
}

.product-card-verdict {
    font-size: 0.875rem;
    color: var(--hw-muted);
    line-height: 1.55;
    margin-bottom: var(--hw-md);
    flex: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--hw-md);
    border-top: 1px solid var(--hw-border-light);
}

.product-card-price {
    font-family: var(--hw-font-h);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hw-heading);
}

.btn-review {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--hw-font-h);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hw-amber);
    background: var(--hw-amber-50);
    padding: 0.4rem 0.9rem;
    border-radius: var(--hw-radius-full);
    transition: all var(--hw-transition);
}

.btn-review:hover {
    background: var(--hw-amber);
    color: var(--hw-white);
}

/* ==========================================================================
   7. ARTICLE CARDS with Category Badge & Stars
   ========================================================================== */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hw-lg);
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--hw-bg-white);
    border-radius: var(--hw-radius);
    border: 1px solid var(--hw-border);
    overflow: hidden;
    transition: all var(--hw-transition);
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    border-color: var(--hw-amber);
    box-shadow: var(--hw-shadow-amber);
    transform: translateY(-3px);
}

.article-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--hw-border-light);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hw-transition);
}

.article-card:hover .article-card-image img {
    transform: scale(1.04);
}

/* Category badge on card */
.article-card-badge {
    position: absolute;
    top: var(--hw-md);
    left: var(--hw-md);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--hw-font-h);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.7rem;
    border-radius: var(--hw-radius-full);
    background: var(--hw-charcoal);
    color: var(--hw-white);
}

.article-card-badge.badge-review {
    background: var(--hw-amber);
}

.article-card-badge.badge-guide {
    background: var(--hw-blue);
}

.article-card-badge.badge-comparison {
    background: var(--hw-green);
}

.article-card-body {
    padding: var(--hw-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: var(--hw-md);
    font-size: 0.78rem;
    color: var(--hw-muted);
    margin-bottom: var(--hw-sm);
}

.article-card-category {
    font-weight: 600;
    color: var(--hw-amber-dark);
}

.article-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--hw-sm);
    line-height: 1.35;
    color: var(--hw-heading);
}

.article-card-excerpt {
    font-size: 0.875rem;
    color: var(--hw-muted);
    line-height: 1.55;
    margin-bottom: var(--hw-md);
    flex: 1;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--hw-sm);
}

.read-more-link {
    font-family: var(--hw-font-h);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hw-amber);
    transition: color var(--hw-transition);
}

.article-card:hover .read-more-link { color: var(--hw-amber-dark); }

.text-muted { color: var(--hw-muted); font-size: 0.8rem; }

/* ==========================================================================
   8. STAR RATING
   ========================================================================== */

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.star-rating .star {
    color: var(--hw-border);
    font-size: 0.9rem;
    line-height: 1;
}

.star-rating .star.filled {
    color: var(--hw-amber);
}

/* ==========================================================================
   9. TRUST BAR - Horizontal
   ========================================================================== */

.trust-bar {
    background: var(--hw-charcoal);
    padding: var(--hw-lg) 0;
}

.trust-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--hw-2xl);
    flex-wrap: wrap;
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: var(--hw-sm);
    color: #c0c0d4;
    font-family: var(--hw-font-b);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-bar-item svg {
    color: var(--hw-amber);
    flex-shrink: 0;
}

.trust-bar-sep {
    width: 1px;
    height: 20px;
    background: var(--hw-charcoal-lighter);
}

/* ==========================================================================
   10. SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--hw-2xl);
}

.section-header h2 {
    margin-bottom: var(--hw-sm);
}

.section-header p {
    color: var(--hw-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

.section-header .section-line {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--hw-amber);
    border-radius: 3px;
    margin: var(--hw-md) auto 0;
}

/* ==========================================================================
   11. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--hw-sm);
    font-family: var(--hw-font-h);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: var(--hw-radius-full);
    cursor: pointer;
    transition: all var(--hw-transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--hw-amber);
    color: var(--hw-white);
    padding: 0.75rem 1.75rem;
}

.btn-primary:hover {
    background: var(--hw-amber-dark);
    color: var(--hw-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--hw-amber);
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--hw-amber);
}

.btn-outline:hover {
    background: var(--hw-amber);
    color: var(--hw-white);
}

.btn-white {
    background: var(--hw-white);
    color: var(--hw-charcoal);
    padding: 0.75rem 1.75rem;
}

.btn-white:hover {
    background: var(--hw-amber-50);
    color: var(--hw-charcoal);
    transform: translateY(-2px);
}

.btn-lg { padding: 0.9rem 2rem; font-size: 0.95rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }

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

/* ==========================================================================
   12. CTA BANNER
   ========================================================================== */

.cta-banner {
    background: var(--hw-charcoal);
    border-radius: var(--hw-radius);
    padding: var(--hw-3xl) var(--hw-2xl);
    text-align: center;
    color: var(--hw-white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hw-amber), var(--hw-amber-light), var(--hw-amber));
}

.cta-banner h2 {
    color: var(--hw-white);
    margin-bottom: var(--hw-sm);
    font-size: 1.6rem;
}

.cta-banner p {
    color: #b0b0c8;
    margin-bottom: var(--hw-xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   13. SINGLE POST / REVIEW LAYOUT
   ========================================================================== */

.single-layout {
    display: grid;
    grid-template-columns: 1fr var(--hw-sidebar-w);
    gap: var(--hw-2xl);
    padding: var(--hw-2xl) 0;
    align-items: start;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--hw-muted);
    padding: var(--hw-lg) 0 0;
}

.breadcrumbs a {
    color: var(--hw-muted);
    transition: color var(--hw-transition);
}

.breadcrumbs a:hover { color: var(--hw-amber); }

.breadcrumbs .sep { color: var(--hw-border); }

.breadcrumbs .current {
    color: var(--hw-heading);
    font-weight: 500;
}

/* Article header */
.article-header {
    margin-bottom: var(--hw-xl);
}

.article-category {
    display: inline-block;
    font-family: var(--hw-font-h);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hw-amber);
    margin-bottom: var(--hw-sm);
}

.article-category a { color: inherit; }
.article-category a:hover { color: var(--hw-amber-dark); }

.article-header h1 {
    margin-bottom: var(--hw-md);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hw-lg);
    font-size: 0.85rem;
    color: var(--hw-muted);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.article-meta-item svg { color: var(--hw-amber); }

/* Featured image */
.article-featured-image {
    border-radius: var(--hw-radius);
    overflow: hidden;
    margin-bottom: var(--hw-xl);
}

.article-featured-image img {
    width: 100%;
    display: block;
}

/* Content */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--hw-body);
}

.entry-content p { margin-bottom: var(--hw-lg); }
.entry-content h2 { margin: var(--hw-2xl) 0 var(--hw-md); font-size: 1.5rem; }
.entry-content h3 { margin: var(--hw-xl) 0 var(--hw-md); font-size: 1.25rem; }

.entry-content ul,
.entry-content ol {
    margin: 0 0 var(--hw-lg) var(--hw-lg);
}

.entry-content li { margin-bottom: var(--hw-sm); }

.entry-content blockquote {
    border-left: 3px solid var(--hw-amber);
    padding: var(--hw-md) var(--hw-lg);
    margin: var(--hw-lg) 0;
    background: var(--hw-amber-50);
    border-radius: 0 var(--hw-radius-xs) var(--hw-radius-xs) 0;
    font-style: italic;
    color: var(--hw-heading);
}

.entry-content img {
    border-radius: var(--hw-radius-sm);
    margin: var(--hw-lg) 0;
}

.entry-content a { color: var(--hw-amber); font-weight: 500; text-decoration: underline; }
.entry-content a:hover { color: var(--hw-amber-dark); }

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hw-sm);
    align-items: center;
    padding: var(--hw-xl) 0;
    border-top: 1px solid var(--hw-border);
    margin-top: var(--hw-xl);
    font-size: 0.85rem;
    color: var(--hw-muted);
}

.article-tags a {
    display: inline-block;
    background: var(--hw-bg);
    color: var(--hw-body);
    padding: 0.25rem 0.7rem;
    border-radius: var(--hw-radius-full);
    font-size: 0.8rem;
    transition: all var(--hw-transition);
}

.article-tags a:hover {
    background: var(--hw-amber-50);
    color: var(--hw-amber-dark);
}

/* ==========================================================================
   14. SIDEBAR - Sticky Score Card
   ========================================================================== */

.sidebar {
    position: sticky;
    top: calc(var(--hw-header-h) + var(--hw-lg));
}

.sidebar-widget {
    background: var(--hw-bg-white);
    border: 1px solid var(--hw-border);
    border-radius: var(--hw-radius);
    padding: var(--hw-lg);
    margin-bottom: var(--hw-lg);
}

/* Product score card in sidebar */
.score-card {
    text-align: center;
    background: var(--hw-bg-white);
    border: 1px solid var(--hw-border);
    border-radius: var(--hw-radius);
    padding: var(--hw-xl) var(--hw-lg);
    margin-bottom: var(--hw-lg);
}

.score-card-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--hw-charcoal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--hw-md);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.score-card-circle .score-value {
    font-family: var(--hw-font-h);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--hw-amber);
    line-height: 1;
}

.score-card-circle .score-max {
    font-size: 0.65rem;
    color: #9999b0;
    font-weight: 500;
}

.score-card-label {
    font-family: var(--hw-font-h);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hw-heading);
    margin-bottom: var(--hw-md);
}

.score-card .star-rating {
    justify-content: center;
    margin-bottom: var(--hw-lg);
}

/* Pros/Cons in sidebar */
.score-card-pros,
.score-card-cons {
    text-align: left;
    margin-bottom: var(--hw-md);
}

.score-card-pros h4,
.score-card-cons h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--hw-sm);
    display: flex;
    align-items: center;
    gap: var(--hw-xs);
}

.score-card-pros h4 { color: var(--hw-green); }
.score-card-cons h4 { color: var(--hw-red); }

.score-card-pros li,
.score-card-cons li {
    list-style: none;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--hw-body);
}

.score-card-pros li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--hw-green);
    font-weight: 700;
    font-size: 0.8rem;
}

.score-card-cons li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: var(--hw-red);
    font-weight: 700;
    font-size: 0.8rem;
}

.btn-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--hw-sm);
    width: 100%;
    background: var(--hw-amber);
    color: var(--hw-white);
    font-family: var(--hw-font-h);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.8rem;
    border: none;
    border-radius: var(--hw-radius-full);
    cursor: pointer;
    transition: all var(--hw-transition);
    text-decoration: none;
    margin-top: var(--hw-md);
}

.btn-product:hover {
    background: var(--hw-amber-dark);
    color: var(--hw-white);
    transform: translateY(-2px);
    box-shadow: var(--hw-shadow-amber);
}

/* Quick facts sidebar */
.quick-facts-title {
    display: flex;
    align-items: center;
    gap: var(--hw-sm);
    font-size: 0.95rem;
    font-weight: 700;
    padding-bottom: var(--hw-md);
    border-bottom: 2px solid var(--hw-amber);
    margin-bottom: var(--hw-md);
    color: var(--hw-heading);
}

.quick-facts-title svg { color: var(--hw-amber); }

.quick-facts-list {
    list-style: none;
}

.quick-facts-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--hw-sm) 0;
    border-bottom: 1px solid var(--hw-border-light);
    font-size: 0.85rem;
}

.quick-facts-label { color: var(--hw-muted); }
.quick-facts-value { font-weight: 600; color: var(--hw-heading); }

/* ==========================================================================
   15. PROS / CONS Section (in content)
   ========================================================================== */

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--hw-lg);
    margin: var(--hw-xl) 0;
}

.pros-box,
.cons-box {
    border-radius: var(--hw-radius);
    padding: var(--hw-lg);
}

.pros-box {
    background: var(--hw-green-bg);
    border: 1px solid #A7F3D0;
}

.cons-box {
    background: var(--hw-red-bg);
    border: 1px solid #FECACA;
}

.pros-box h3 {
    color: var(--hw-green);
    font-size: 1rem;
    margin-bottom: var(--hw-md);
    display: flex;
    align-items: center;
    gap: var(--hw-sm);
}

.cons-box h3 {
    color: var(--hw-red);
    font-size: 1rem;
    margin-bottom: var(--hw-md);
    display: flex;
    align-items: center;
    gap: var(--hw-sm);
}

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

.pros-box li,
.cons-box li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.pros-box li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--hw-green);
    font-weight: 700;
}

.cons-box li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: var(--hw-red);
    font-weight: 700;
}

/* ==========================================================================
   16. COMPARISON TABLE
   ========================================================================== */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--hw-xl) 0;
    font-size: 0.9rem;
    background: var(--hw-bg-white);
    border: 1px solid var(--hw-border);
    border-radius: var(--hw-radius);
    overflow: hidden;
}

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

.comparison-table th {
    font-family: var(--hw-font-h);
    font-weight: 600;
    font-size: 0.85rem;
    padding: var(--hw-md) var(--hw-lg);
    text-align: left;
}

.comparison-table td {
    padding: var(--hw-md) var(--hw-lg);
    border-bottom: 1px solid var(--hw-border-light);
}

.comparison-table tbody tr:hover {
    background: var(--hw-amber-50);
}

.comparison-table .check {
    color: var(--hw-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .cross {
    color: var(--hw-red);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .highlight-col {
    background: rgba(217, 119, 6, 0.04);
    border-left: 2px solid var(--hw-amber);
}

/* ==========================================================================
   17. ARCHIVE / CATEGORY PAGE
   ========================================================================== */

.archive-header {
    background: var(--hw-bg);
    padding: var(--hw-xl) 0 var(--hw-lg);
    border-bottom: 1px solid var(--hw-border);
}

.archive-header h1 {
    display: flex;
    align-items: center;
    gap: var(--hw-md);
    flex-wrap: wrap;
}

.archive-count {
    display: inline-flex;
    align-items: center;
    font-family: var(--hw-font-b);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hw-muted);
    background: var(--hw-bg-white);
    border: 1px solid var(--hw-border);
    padding: 0.2rem 0.65rem;
    border-radius: var(--hw-radius-full);
}

.archive-description {
    margin-top: var(--hw-sm);
    color: var(--hw-muted);
    max-width: 600px;
    font-size: 0.95rem;
}

.archive-filter-bar {
    display: flex;
    align-items: center;
    gap: var(--hw-md);
    padding: var(--hw-md) 0;
    border-bottom: 1px solid var(--hw-border-light);
    margin-bottom: var(--hw-lg);
    font-size: 0.85rem;
    color: var(--hw-muted);
}

.archive-filter-bar a {
    color: var(--hw-body);
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: var(--hw-radius-full);
    transition: all var(--hw-transition);
}

.archive-filter-bar a:hover,
.archive-filter-bar a.active {
    background: var(--hw-amber-50);
    color: var(--hw-amber-dark);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    padding: var(--hw-2xl) 0 0;
}

.pagination .nav-links {
    display: flex;
    gap: var(--hw-sm);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--hw-sm);
    border-radius: var(--hw-radius-xs);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--hw-transition);
}

.pagination a {
    background: var(--hw-bg-white);
    color: var(--hw-body);
    border: 1px solid var(--hw-border);
}

.pagination a:hover {
    border-color: var(--hw-amber);
    color: var(--hw-amber);
}

.pagination .current {
    background: var(--hw-amber);
    color: var(--hw-white);
    border: 1px solid var(--hw-amber);
}

/* ==========================================================================
   18. DARK FOOTER
   ========================================================================== */

.site-footer {
    background: var(--hw-charcoal);
    color: #b0b0c8;
    padding: var(--hw-3xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--hw-2xl);
    padding-bottom: var(--hw-2xl);
    border-bottom: 1px solid var(--hw-charcoal-lighter);
}

/* Footer brand */
.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.65;
    margin: var(--hw-md) 0;
    color: #8888a0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--hw-sm);
    font-family: var(--hw-font-h);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hw-white);
}

.footer-logo:hover { color: var(--hw-amber-light); }

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--hw-radius-xs);
    background: var(--hw-amber);
    color: var(--hw-white);
}

.footer-social {
    display: flex;
    gap: var(--hw-sm);
    margin-top: var(--hw-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--hw-radius-xs);
    background: var(--hw-charcoal-light);
    color: #8888a0;
    transition: all var(--hw-transition);
}

.footer-social a:hover {
    background: var(--hw-amber);
    color: var(--hw-white);
}

/* Footer nav columns */
.footer-heading {
    font-family: var(--hw-font-h);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hw-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--hw-lg);
}

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

.footer-links li { margin-bottom: var(--hw-sm); }

.footer-links a {
    color: #8888a0;
    font-size: 0.875rem;
    transition: color var(--hw-transition);
}

.footer-links a:hover { color: var(--hw-amber); }

/* Footer newsletter */
.footer-newsletter p {
    font-size: 0.85rem;
    color: #8888a0;
    margin-bottom: var(--hw-md);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: var(--hw-radius-xs);
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--hw-charcoal-lighter);
    background: var(--hw-charcoal-light);
    color: var(--hw-white);
    font-family: var(--hw-font-b);
    font-size: 0.85rem;
    border-radius: var(--hw-radius-xs) 0 0 var(--hw-radius-xs);
    outline: none;
    transition: border-color var(--hw-transition);
}

.newsletter-form input::placeholder { color: #6b6b88; }

.newsletter-form input:focus {
    border-color: var(--hw-amber);
}

.newsletter-form button {
    background: var(--hw-amber);
    color: var(--hw-white);
    border: none;
    padding: 0.65rem 1.1rem;
    font-family: var(--hw-font-h);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0 var(--hw-radius-xs) var(--hw-radius-xs) 0;
    transition: background var(--hw-transition);
}

.newsletter-form button:hover { background: var(--hw-amber-dark); }

/* Footer trust badges */
.footer-trust {
    display: flex;
    gap: var(--hw-xl);
    padding: var(--hw-lg) 0;
    border-bottom: 1px solid var(--hw-charcoal-lighter);
    justify-content: center;
    flex-wrap: wrap;
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: var(--hw-sm);
    font-size: 0.8rem;
    color: #8888a0;
}

.footer-trust-item svg { color: var(--hw-amber); }

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--hw-lg) 0;
    flex-wrap: wrap;
    gap: var(--hw-md);
}

.footer-copyright {
    font-size: 0.8rem;
    color: #6b6b88;
}

.footer-legal {
    display: flex;
    gap: var(--hw-lg);
}

.footer-legal a {
    font-size: 0.8rem;
    color: #6b6b88;
    transition: color var(--hw-transition);
}

.footer-legal a:hover { color: var(--hw-amber); }

/* ==========================================================================
   19. SCALE-REVEAL ANIMATIONS
   ========================================================================== */

.scale-reveal {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.6s var(--hw-ease), transform 0.6s var(--hw-ease);
}

.scale-reveal.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children */
.scale-reveal-stagger > * {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s var(--hw-ease), transform 0.5s var(--hw-ease);
}

.scale-reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms; }
.scale-reveal-stagger.revealed > *:nth-child(2) { transition-delay: 80ms; }
.scale-reveal-stagger.revealed > *:nth-child(3) { transition-delay: 160ms; }
.scale-reveal-stagger.revealed > *:nth-child(4) { transition-delay: 240ms; }
.scale-reveal-stagger.revealed > *:nth-child(5) { transition-delay: 320ms; }
.scale-reveal-stagger.revealed > *:nth-child(6) { transition-delay: 400ms; }

.scale-reveal-stagger.revealed > * {
    opacity: 1;
    transform: scale(1);
}

/* On-load entry animation */
.entry-scale {
    animation: entryScale 0.7s var(--hw-ease) both;
}

@keyframes entryScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.entry-scale-delay-1 { animation-delay: 0.1s; }
.entry-scale-delay-2 { animation-delay: 0.2s; }
.entry-scale-delay-3 { animation-delay: 0.3s; }

/* ==========================================================================
   20. RELATED ARTICLES
   ========================================================================== */

.related-articles {
    padding-top: var(--hw-2xl);
    border-top: 1px solid var(--hw-border);
    margin-top: var(--hw-2xl);
}

.related-articles h2 {
    margin-bottom: var(--hw-xl);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hw-lg);
}

/* ==========================================================================
   21. PAGE CONTENT
   ========================================================================== */

.page-content {
    padding: var(--hw-xl) 0 var(--hw-3xl);
}

.page-content h1 {
    margin-bottom: var(--hw-xl);
}

/* ==========================================================================
   22. NO RESULTS
   ========================================================================== */

.no-results {
    text-align: center;
    padding: var(--hw-4xl) var(--hw-lg);
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: var(--hw-md);
    color: var(--hw-muted);
}

.no-results h2 {
    margin-bottom: var(--hw-sm);
}

.no-results p {
    color: var(--hw-muted);
    margin-bottom: var(--hw-xl);
}

/* ==========================================================================
   23. FAQ ACCORDION
   ========================================================================== */

.faq-item {
    border: 1px solid var(--hw-border);
    border-radius: var(--hw-radius-sm);
    margin-bottom: var(--hw-sm);
    overflow: hidden;
    background: var(--hw-bg-white);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--hw-md) var(--hw-lg);
    cursor: pointer;
    font-family: var(--hw-font-h);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hw-heading);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: color var(--hw-transition);
}

.faq-question:hover { color: var(--hw-amber); }

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--hw-amber);
    transition: transform var(--hw-transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--hw-ease), padding 0.4s var(--hw-ease);
    padding: 0 var(--hw-lg);
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 var(--hw-lg) var(--hw-lg);
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--hw-body);
    line-height: 1.7;
}

/* ==========================================================================
   24. MOBILE BOTTOM-SHEET MENU
   ========================================================================== */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.6);
    z-index: 9998;
    opacity: 0;
    transition: opacity var(--hw-transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-bottom-sheet {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--hw-charcoal);
    border-radius: var(--hw-radius) var(--hw-radius) 0 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s var(--hw-ease);
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-bottom-sheet.active {
    transform: translateY(0);
}

.bottom-sheet-handle {
    display: flex;
    justify-content: center;
    padding: var(--hw-md) 0 var(--hw-sm);
}

.bottom-sheet-handle span {
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: var(--hw-charcoal-lighter);
}

.bottom-sheet-nav {
    padding: 0 var(--hw-lg) var(--hw-lg);
}

.bottom-sheet-nav a {
    display: flex;
    align-items: center;
    gap: var(--hw-md);
    color: #c0c0d4;
    font-family: var(--hw-font-h);
    font-size: 1rem;
    font-weight: 600;
    padding: var(--hw-md) 0;
    border-bottom: 1px solid var(--hw-charcoal-lighter);
    transition: color var(--hw-transition);
}

.bottom-sheet-nav a:last-child { border-bottom: none; }
.bottom-sheet-nav a:hover { color: var(--hw-amber); }

.bottom-sheet-search {
    padding: var(--hw-md) var(--hw-lg);
}

.bottom-sheet-search form {
    display: flex;
    background: var(--hw-charcoal-light);
    border-radius: var(--hw-radius-full);
    padding: 0.3rem 0.3rem 0.3rem 1rem;
    height: 48px;
}

.bottom-sheet-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--hw-white);
    font-size: 0.9rem;
}

.bottom-sheet-search input::placeholder { color: #6b6b88; }

.bottom-sheet-search button {
    width: 40px;
    height: 40px;
    background: var(--hw-amber);
    border: none;
    border-radius: 50%;
    color: var(--hw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ==========================================================================
   25. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .single-layout { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --hw-header-h: 56px;
    }

    .header-search { display: none; }
    .primary-nav { display: none; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu-overlay,
    .mobile-bottom-sheet { display: block; }

    .hero { padding: var(--hw-xl) 0 var(--hw-lg); }

    .hero h1 { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-search form { height: 48px; }
    .hero-search button { width: 38px; height: 38px; }

    .hero-categories { gap: 0.35rem; }
    .category-pill { font-size: 0.72rem; padding: 0.25rem 0.65rem; }

    .hero-trust { flex-wrap: wrap; gap: var(--hw-sm); font-size: 0.72rem; }

    .products-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }

    .product-card-image { aspect-ratio: 16/10; }
    .score-badge { width: 48px; height: 48px; }
    .score-badge-value { font-size: 1rem; }

    .section { padding: var(--hw-xl) 0; }

    .trust-bar-inner {
        flex-direction: column;
        gap: var(--hw-md);
    }

    .trust-bar-sep { display: none; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; flex-wrap: wrap; }
    .footer-trust { flex-direction: column; align-items: center; }

    .comparison-table { font-size: 0.8rem; }
    .comparison-table th,
    .comparison-table td { padding: var(--hw-sm) var(--hw-md); }

    .cta-banner { padding: var(--hw-xl) var(--hw-lg); }
    .cta-banner h2 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--hw-md); }

    .hero-search form { padding: 0.25rem 0.25rem 0.25rem 0.9rem; }

    .score-card-circle { width: 76px; height: 76px; }
    .score-card-circle .score-value { font-size: 1.5rem; }
}

/* ==========================================================================
   26. PRINT
   ========================================================================== */

@media print {
    .site-header, .site-footer, .sidebar, .mobile-menu-toggle,
    .mobile-bottom-sheet, .mobile-menu-overlay,
    .hero-search, .trust-bar, .cta-banner { display: none; }

    body { color: #000; background: #fff; font-size: 12pt; }
    .single-layout { grid-template-columns: 1fr; }
    a { color: #000; text-decoration: underline; }
}

/* ==========================================================================
   27. SEARCH OVERLAY (fallback for pages without header search)
   ========================================================================== */

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--hw-transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-close {
    position: absolute;
    top: var(--hw-lg);
    right: var(--hw-lg);
    background: none;
    border: none;
    color: var(--hw-white);
    cursor: pointer;
    padding: var(--hw-sm);
    opacity: 0.7;
    transition: opacity var(--hw-transition);
}

.search-overlay-close:hover { opacity: 1; }

.search-overlay-inner {
    width: 90%;
    max-width: 600px;
}

.search-overlay-inner form {
    display: flex;
    background: var(--hw-charcoal-light);
    border: 2px solid var(--hw-charcoal-lighter);
    border-radius: var(--hw-radius-full);
    overflow: hidden;
    height: 56px;
    transition: border-color var(--hw-transition);
}

.search-overlay-inner form:focus-within {
    border-color: var(--hw-amber);
}

.search-overlay-inner input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--hw-white);
    font-family: var(--hw-font-b);
    font-size: 1.1rem;
    padding: 0 var(--hw-lg);
}

.search-overlay-inner input::placeholder { color: #6b6b88; }
