/* ========================================
   PC EMPIRE DESIGN SYSTEM v1.0
   Typography: Poppins 400/600/700
   Colour spec from brand guidelines
======================================== */

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

/* --- DESIGN TOKENS --- */
:root {
    /* Primary */
    --color-main: #1E1D28;
    --color-secondary: #505052;
    --color-accent: #2E294C;
    --color-accent2: #7B0000;

    /* Neutrals */
    --color-black: #000000;
    --color-dim-gray: #979594;
    --color-light-gray: #C6C6C8;
    --color-white: #FFFFFF;

    /* Status & Messaging */
    --color-success: #28A745;
    --color-error: #C0392B;
    --color-warning: #FFC107;
    --color-highlight: #5C6CFF;
    --color-info: #3498DB;

    /* Gradients */
    --gradient-primary: linear-gradient(180deg, #2E294C 0%, #1C192C 100%);

    /* Button & Link */
    --color-button: #595959;
    --color-link: #2125FF;

    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --h1-size: 36px;
    --h2-size: 28px;
    --h3-size: 22px;
    --h4-size: 18px;
    --body-size: 16px;
    --small-size: 14px;
    --caption-size: 12px;

    /* Navigation */
    --nav-font-size: 12px;

    /* Layout */
    --max-width: 1200px;
    --section-padding: 60px 0;
    --border-radius: 8px;
}


/* --- BASE --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--body-size);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-main);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    text-decoration: underline;
}

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


/* --- TYPOGRAPHY --- */
h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-size: var(--h4-size);
    font-weight: 600;
    line-height: 1.4;
}


/* --- BUTTONS --- */
.btn {
    display: inline-block;
    font-family: var(--font-family);
    font-size: var(--small-size);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.85;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--color-main);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-dark {
    background: var(--color-main);
    color: var(--color-white);
}

.btn-small {
    padding: 6px 16px;
    font-size: var(--caption-size);
}


/* ========================================
   SECTION 1: NAVIGATION
======================================== */
.site-nav {
    background: var(--color-white);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    border-bottom: 1px solid #E0E0E0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-logo-wrap {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 140px;
    z-index: 2;
}

.nav-logo-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: -100vw;
    background: var(--color-main);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
    z-index: -1;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 2;
    height: 100%;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    color: var(--color-main);
    font-size: var(--nav-font-size);
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding-bottom: 4px;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: none;
}

.nav-links a.active {
    opacity: 1;
    font-weight: 700;
    border-bottom: 2px solid var(--color-main);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-main);
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.nav-links-mobile {
    display: none;
    list-style: none;
}


/* ========================================
   SECTION 2: HERO
======================================== */
.hero {
    background: #000000;
    color: var(--color-white);
    padding: 120px 0 40px;
    position: relative;
    overflow: visible;
}

.hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(46,41,76,0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(46,41,76,0.3) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: center;
    margin-bottom: 48px;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-text h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-text h4 {
    font-size: var(--h4-size);
    font-weight: 400;
    opacity: 0.75;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-bento-wrapper {
    background: var(--color-white);
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    padding: 16px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    margin-bottom: -290px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    max-width: 100%;
    margin: 0;
}

.bento-card {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 180px;
    border: none;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    opacity: 0.9;
}

.bento-card--large {
    grid-row: 1 / 3;
    min-height: 400px;
}

.bento-card-img {
    position: absolute;
    inset: 0;
    background: var(--color-main);
}

.bento-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-card-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    margin-top: auto;
    min-height: 50%;
}

.bento-card-content h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    margin-bottom: 6px;
}

.bento-card-content p {
    font-size: var(--caption-size);
    opacity: 0.7;
    margin-bottom: 12px;
    line-height: 1.5;
    max-width: none;
}

.category-hero .bento-card-content p {
    font-size: var(--caption-size);
    opacity: 0.7;
    max-width: none;
    margin: 0 0 12px;
    line-height: 1.5;
}


/* ========================================
   SECTION 3: LATEST GAMING PCS
======================================== */
.products-section {
    padding: var(--section-padding);
    padding-top: 330px;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--color-secondary);
    max-width: 900px;
    margin: 0 auto;
    font-size: var(--small-size);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--color-white);
    border: 1px solid #E8E8E8;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-img img {
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 16px;
}

.product-card-body h4 {
    font-size: var(--small-size);
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-card-body .product-desc {
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px;
}

.product-price {
    font-size: var(--h4-size);
    font-weight: 700;
    color: var(--color-main);
}

.product-actions {
    display: flex;
}

.product-actions .btn {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 11px;
}


/* ========================================
   SECTION 4: HOT OFF THE PRESS (Editorial)
======================================== */
.editorial-section {
    background: linear-gradient(180deg, #2E294C 0%, #1C192C 100%);
    color: var(--color-white);
    padding: var(--section-padding);
}

.editorial-header {
    margin-bottom: 32px;
    text-align: center;
}

.editorial-header h2 {
    color: var(--color-white);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.editorial-featured {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(135deg, #2E294C 0%, #1C192C 100%);
}

.editorial-featured > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-featured-content {
    position: relative;
    z-index: 1;
    padding: 32px;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    min-height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.editorial-featured-content h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    margin-bottom: 8px;
}

.editorial-featured-content p {
    font-size: var(--small-size);
    opacity: 0.7;
    margin-bottom: 16px;
    line-height: 1.5;
}

.editorial-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.editorial-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: start;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
}

.editorial-card:hover {
    border-color: transparent;
}

.editorial-card-img {
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--color-accent);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.editorial-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-card-text {
    display: flex;
    flex-direction: column;
}

.editorial-card-text h4 {
    font-size: var(--small-size);
    font-weight: 700;
    margin-bottom: 6px;
}

.editorial-card-text p {
    font-size: var(--caption-size);
    opacity: 0.6;
    line-height: 1.5;
    margin-bottom: 12px;
}

.btn-outline-light {
    display: inline-block;
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 6px 16px;
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    text-decoration: none;
    align-self: flex-start;
}

.btn-outline-light:hover {
    border-color: rgba(255,255,255,0.8);
    text-decoration: none;
}


/* ========================================
   SECTION 5: MARKETPLACE CTA
======================================== */
.marketplace-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

.marketplace-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #F8F8F8;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #E8E8E8;
}

.marketplace-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #2E294C 0%, #1E1D28 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    overflow: hidden;
}

.marketplace-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marketplace-content {
    padding: 32px 40px 32px 0;
}

.marketplace-content .eyebrow {
    font-size: var(--caption-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dim-gray);
    margin-bottom: 8px;
}

.marketplace-content h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.marketplace-content p {
    color: var(--color-secondary);
    font-size: var(--small-size);
    margin-bottom: 8px;
}

.marketplace-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.marketplace-content ul li {
    font-size: var(--small-size);
    color: var(--color-secondary);
    padding: 3px 0;
    position: relative;
    padding-left: 18px;
}

.marketplace-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 600;
}


/* ========================================
   SECTION 6: LATEST NEWS
======================================== */
.news-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

.news-card-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--color-white);
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
}

.news-card-img {
    flex-shrink: 0;
    width: 160px;
    height: 120px;
    background: #F0F0F0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-text h4 {
    font-size: var(--small-size);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.news-card-text p {
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
    line-height: 1.5;
    margin-bottom: 8px;
}

.news-card-text .news-meta {
    font-size: 11px;
    color: var(--color-light-gray);
}

.news-card-text .read-more {
    color: var(--color-link);
    font-size: var(--caption-size);
    font-weight: 500;
}


/* ========================================
   SECTION 7: TESTIMONIAL
======================================== */
.testimonial-section {
    background: var(--color-main);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-section > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.testimonial-section .container {
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 500;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.5;
    opacity: 0.95;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-white);
    opacity: 0.3;
    cursor: pointer;
}

.testimonial-dot.active {
    opacity: 1;
}

.testimonial-author {
    margin-top: 20px;
    margin-bottom: 24px;
}

.testimonial-author strong {
    font-size: var(--small-size);
    font-weight: 600;
    display: block;
}

.testimonial-author span {
    font-size: var(--caption-size);
    opacity: 0.5;
}

.testimonial-quote,
.testimonial-author {
    transition: opacity 0.4s ease;
}

.testimonial-quote.fading,
.testimonial-author.fading {
    opacity: 0;
}


/* ========================================
   SECTION 8: SHOP BY BRAND
======================================== */
.brands-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

.brands-section .section-header {
    margin-bottom: 32px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.brand-item img {
    max-width: 160px;
    max-height: 100px;
    object-fit: contain;
}

.brand-item:hover {
    opacity: 1;
    text-decoration: none;
}


/* ========================================
   SECTION 9: FOOTER
======================================== */
.site-footer {
    background: var(--color-main);
    color: var(--color-white);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand .logo img {
    height: 32px;
    width: auto;
}

.footer-brand p {
    font-size: var(--caption-size);
    opacity: 0.5;
}

.footer-tagline {
    font-size: var(--small-size);
    opacity: 0.6;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-disclosure {
    font-size: var(--caption-size);
    opacity: 0.5;
    line-height: 1.5;
    margin-bottom: 6px;
    font-style: italic;
}

.footer-note {
    font-size: 11px;
    opacity: 0.35;
    line-height: 1.5;
}

.footer-col h4 {
    font-size: var(--small-size);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--color-white);
    opacity: 0.5;
    font-size: var(--small-size);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-col ul li a:hover {
    opacity: 0.85;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-bottom p {
    font-size: var(--caption-size);
    opacity: 0.4;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--color-white);
    opacity: 0.4;
    font-size: var(--caption-size);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-legal a:hover {
    opacity: 0.85;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--color-white);
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.85;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}


/* ========================================
   SCROLL TO TOP BUTTON
======================================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--color-main);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

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

.scroll-top:hover {
    transform: translateY(-2px);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ========================================
   ENTRANCE ANIMATIONS
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.fade-in-stagger.visible > *:nth-child(n+7) { transition-delay: 0.35s; }


/* ========================================
   CATEGORY PAGE: HERO
======================================== */
.category-hero {
    background: #000000;
    color: var(--color-white);
    padding: 64px 0 0;
    position: relative;
    overflow: hidden;
    height: 346px;
    display: flex;
    align-items: center;
}

.category-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
}

.category-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.category-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(46,41,76,0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(46,41,76,0.3) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.category-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.category-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.15;
}

.category-hero p {
    font-size: var(--body-size);
    font-weight: 400;
    opacity: 0.75;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Extended category hero (with bento overlay) --- */
.category-hero--extended {
    height: 490px;
    overflow: visible;
    padding-bottom: 0;
}

.category-hero--extended .hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: calc(100% - 64px);
    padding: 0 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.category-hero--extended .hero-title-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 48px;
}

.category-bento-wrapper {
    background: var(--color-white);
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(80px);
    flex-shrink: 0;
}

.category-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.category-bento .bento-card {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

/* Section that follows the extended hero — clears bento overlap */
.category-body--after-bento {
    padding-top: 132px !important;
    padding-bottom: 20px !important;
}


/* ========================================
   CATEGORY PAGE: BREADCRUMB
======================================== */
.breadcrumb {
    padding: 0 0 20px;
    font-size: var(--caption-size);
}

.breadcrumb a {
    color: var(--color-link);
    text-decoration: underline;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: none;
}

.breadcrumb span {
    color: var(--color-dim-gray);
    margin: 0 6px;
}

.breadcrumb .current {
    color: var(--color-secondary);
    font-weight: 500;
}

.breadcrumb--page {
    padding-top: 32px;
}


/* ========================================
   CATEGORY PAGE: INTRO
======================================== */
.category-intro {
    padding: 0 0 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.category-intro h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 20px;
}

.category-intro p {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.affiliate-disclosure {
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
    font-style: italic;
    padding: 16px 0;
    border-top: 1px solid #E8E8E8;
    margin-top: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* ========================================
   CATEGORY PAGE: JUMP NAV
======================================== */
.jump-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    padding: 16px 0 48px;
    border-top: 1px solid #E8E8E8;
    max-width: 1200px;
    margin: 0 auto;
}

.jump-nav a {
    font-size: var(--caption-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-link);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.jump-nav a:hover {
    color: var(--color-main);
}


/* ========================================
   CATEGORY PAGE: QUICK PICKS
======================================== */
.quick-picks {
    padding: 0 0 60px;
}

.quick-picks h2 {
    text-align: center;
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 32px;
}

.quick-picks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-pick-card {
    background: var(--color-white);
    border: 1px solid #E8E8E8;
    border-radius: var(--border-radius);
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.quick-pick-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.quick-pick-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-main);
    margin-bottom: 0px;
}

.quick-pick-img {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.quick-pick-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.quick-pick-card h4 {
    font-size: var(--small-size);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.quick-pick-card .pick-desc {
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.quick-pick-card .pick-price-label {
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
    margin-bottom: 2px;
}

.quick-pick-card .pick-price {
    font-size: var(--h3-size);
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 2px;
}

.quick-pick-card .pick-vat {
    font-size: 11px;
    color: var(--color-dim-gray);
    margin-bottom: 16px;
}

.btn-amazon {
    display: inline-block;
    background: #28A745;
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-amazon:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    text-decoration: none;
}


/* ========================================
   CATEGORY PAGE: COMPARISON TABLE
======================================== */
.comparison-section {
    padding: 0 0 60px;
}

.comparison-section h2 {
    text-align: center;
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 32px;
}

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid #E8E8E8;
    border-radius: var(--border-radius);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--small-size);
}

.comparison-table thead th {
    background: var(--color-main);
    color: var(--color-white);
    font-size: var(--caption-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.15s ease;
}

.comparison-table tbody tr:hover {
    background: #FAFAFA;
}

.comparison-table tbody td {
    padding: 14px 16px;
    font-size: var(--small-size);
    color: var(--color-secondary);
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--color-main);
}

.comparison-table .table-price {
    font-weight: 700;
    color: var(--color-main);
}

.comparison-table .table-cta {
    text-align: center;
}

.comparison-table .table-cta .btn-amazon {
    padding: 8px 14px;
    font-size: 10px;
}


/* ========================================
   CATEGORY PAGE: TIER SECTIONS
======================================== */
.tier-section {
    padding: 48px 0 60px;
    border-top: 1px solid #E8E8E8;
}

.tier-header {
    text-align: center;
    margin-bottom: 40px;
}

.tier-header h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 8px;
}

.tier-header p {
    font-size: var(--small-size);
    color: var(--color-secondary);
    max-width: 900px;
    margin: 0 auto;
}


/* ========================================
   CATEGORY PAGE: REVIEW CARDS
======================================== */
.review-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    align-items: stretch;
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 32px;
    background: var(--color-white);
}

.review-card:last-child {
    margin-bottom: 0;
}

/* Flip image to right on even cards */
.review-card:nth-child(even) {
    grid-template-columns: 1fr 300px;
}

.review-card:nth-child(even) .review-card-media {
    order: 2;
}

.review-card:nth-child(even) .review-card-body {
    order: 1;
}

/* --- Image / media column --- */
.review-card-media {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-white);
    padding: 32px 24px 28px;
}

.review-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}

.review-card-img img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.review-number {
    display: none;
}

.review-card-media-footer {
    text-align: center;
}

.review-card-media-footer h4 {
    font-size: var(--small-size);
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-main);
}

.review-card-media-footer .media-specs {
    font-size: 11px;
    color: var(--color-dim-gray);
    margin-bottom: 16px;
    line-height: 1.4;
}

.review-card-media-footer .btn-amazon {
    width: auto;
    display: inline-block;
}

/* --- Text / body column --- */
.review-card-body {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #E8E8E8;
}

.review-card:nth-child(even) .review-card-body {
    border-left: none;
    border-right: 1px solid #E8E8E8;
}

.review-card-body h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-main);
}

.review-card-body .review-subtitle {
    font-size: var(--small-size);
    color: var(--color-dim-gray);
    margin-bottom: 16px;
}

.review-card-body .review-desc {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: var(--caption-size);
}

.review-specs tr {
    border-bottom: 1px solid #F0F0F0;
}

.review-specs td {
    padding: 8px 0;
    vertical-align: top;
}

.review-specs td:first-child {
    font-weight: 600;
    color: var(--color-main);
    width: 100px;
    padding-right: 16px;
}

.review-specs td:last-child {
    color: var(--color-secondary);
}

.review-pros {
    font-size: var(--caption-size);
    color: var(--color-secondary);
    line-height: 1.6;
    margin-top: 4px;
}

.review-pros strong {
    color: var(--color-main);
}

.review-card-body .review-field {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.review-card-body .review-field strong {
    color: var(--color-main);
}

.review-card-body .review-list-heading {
    font-size: var(--small-size);
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 8px;
}

.review-card-body .review-bullets {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}

.review-card-body .review-bullets li {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 2px;
}

.review-card-body .review-tradeoffs-heading {
    font-size: var(--small-size);
    color: var(--color-secondary);
    margin-bottom: 8px;
    padding-left: 4px;
}

.review-card-body .review-tradeoffs {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 0;
}

.review-card-body .review-tradeoffs li {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 2px;
}


/* ========================================
   CATEGORY PAGE: DARK TIER (Prime)
======================================== */
.tier-section--dark {
    background: var(--color-main);
    color: var(--color-white);
    padding: 60px 0;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.tier-section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.tier-section--dark .container {
    position: relative;
    z-index: 1;
}

.tier-section--dark .tier-header h2 {
    color: var(--color-white);
}

.tier-section--dark .tier-header p {
    color: rgba(255,255,255,0.6);
}

.tier-section--dark .review-card {
    border-color: rgba(255,255,255,0.15);
    background: var(--color-main);
}

.tier-section--dark .review-card-media {
    background: var(--color-white);
}

.tier-section--dark .review-card-media-footer h4 {
    color: var(--color-main);
}

.tier-section--dark .review-card-media-footer .media-specs {
    color: var(--color-dim-gray);
}

.tier-section--dark .review-card-body {
    background: var(--color-main);
    border-left-color: rgba(255,255,255,0.1);
}

.tier-section--dark .review-card:nth-child(even) .review-card-body {
    border-right-color: rgba(255,255,255,0.1);
}

.tier-section--dark .review-card-body h3 {
    color: var(--color-white);
}

.tier-section--dark .review-card-body .review-field {
    color: rgba(255,255,255,0.7);
}

.tier-section--dark .review-card-body .review-field strong {
    color: var(--color-white);
}

.tier-section--dark .review-card-body .review-list-heading {
    color: var(--color-white);
}

.tier-section--dark .review-card-body .review-bullets li,
.tier-section--dark .review-card-body .review-tradeoffs li {
    color: rgba(255,255,255,0.6);
}

.tier-section--dark .review-card-body .review-tradeoffs-heading {
    color: rgba(255,255,255,0.6);
}

.tier-section--dark .review-card-body .review-subtitle {
    color: rgba(255,255,255,0.5);
}

.tier-section--dark .review-card-body .review-desc {
    color: rgba(255,255,255,0.7);
}

.tier-section--dark .review-specs td:first-child {
    color: var(--color-white);
}

.tier-section--dark .review-specs td:last-child {
    color: rgba(255,255,255,0.6);
}

.tier-section--dark .review-specs tr {
    border-bottom-color: rgba(255,255,255,0.08);
}

.tier-section--dark .review-pros {
    color: rgba(255,255,255,0.6);
}

.tier-section--dark .review-pros strong {
    color: var(--color-white);
}


/* ========================================
   CATEGORY PAGE: BUYING GUIDE
======================================== */
.buying-guide {
    padding: 60px 0;
    border-top: 1px solid #E8E8E8;
}

.buying-guide h2 {
    text-align: center;
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 32px;
}

.buying-guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.buying-guide-content h3 {
    font-size: var(--h4-size);
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 28px;
    color: var(--color-main);
}

.buying-guide-content h3:first-child {
    margin-top: 0;
}

.buying-guide-content p {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}


/* ========================================
   CATEGORY PAGE: FAQ ACCORDION
======================================== */
.faq-section {
    padding: 60px 0;
    border-top: 1px solid #E8E8E8;
}

.faq-section h2 {
    text-align: center;
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 32px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #E8E8E8;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--color-white);
    border: none;
    padding: 18px 24px;
    font-family: var(--font-family);
    font-size: var(--small-size);
    font-weight: 600;
    color: var(--color-main);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #FAFAFA;
}

.faq-question svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--color-dim-gray);
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
}


/* ========================================
   CATEGORY PAGE: RELATED GUIDES
======================================== */
.related-guides {
    padding: 60px 0;
    border-top: 1px solid #E8E8E8;
}

.related-guides h2 {
    text-align: center;
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 32px;
}

.related-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-guide-card {
    border: 1px solid #E8E8E8;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.related-guide-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.related-guide-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #F0F0F0;
    overflow: hidden;
}

.related-guide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-guide-card .guide-body {
    padding: 20px;
}

.related-guide-card .guide-body h4 {
    font-size: var(--small-size);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-guide-card .guide-body p {
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
    line-height: 1.5;
    margin-bottom: 12px;
}

.related-guide-card .guide-body a {
    font-size: var(--caption-size);
    font-weight: 500;
    color: var(--color-link);
}


/* ========================================
   GUIDES PAGE
======================================== */
.guides-page {
    padding: 0 0 60px;
    background: var(--color-white);
}

.guides-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.guides-page-header h2 {
    font-size: var(--h2-size);
    font-weight: 700;
}

.guide-category-card {
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
    padding: 32px 36px;
    margin-bottom: 24px;
}

.guide-category-card h3 {
    font-size: var(--h4-size);
    font-weight: 700;
    margin-bottom: 8px;
}

.guide-category-desc {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 720px;
}

.guide-link-list {
    list-style: none;
    columns: 2;
    column-gap: 40px;
    padding: 0;
}

.guide-link-list li {
    padding: 5px 0;
    font-size: var(--small-size);
    line-height: 1.5;
    break-inside: avoid;
}

.guide-link-list li::before {
    content: '\2022';
    color: var(--color-dim-gray);
    margin-right: 8px;
}

.guide-link-list li a {
    color: var(--color-link);
    text-decoration: none;
    font-size: var(--small-size);
}

.guide-link-list li a:hover {
    text-decoration: underline;
}


/* ========================================
   STATIC / INFO PAGES
======================================== */
.page-content {
    padding: 48px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 36px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: var(--h4-size);
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 28px;
}

.page-content p {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.page-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.page-content ul li {
    font-size: var(--small-size);
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 4px;
}

.page-content a {
    color: var(--color-link);
}

.page-content .last-updated {
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
    font-style: italic;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E8E8E8;
}


/* ========================================
   ARTICLE TEMPLATE
   SEO-optimised article layout with
   structured data support, ToC, TLDR,
   and conversion-focused components
======================================== */

/* --- Article metadata bar --- */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 16px 0 20px;
    border-bottom: 1px solid #E8E8E8;
    margin-bottom: 32px;
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-item svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--color-dim-gray);
    stroke-width: 2;
    flex-shrink: 0;
}

.article-meta .author-name {
    font-weight: 600;
    color: var(--color-main);
}

/* --- TLDR / Key Takeaway box --- */
.article-tldr {
    background: #F5F7FA;
    border: 1px solid #E2E6EC;
    border-left: 4px solid var(--color-main);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 24px 28px;
    margin-bottom: 36px;
}

.article-tldr-label {
    font-size: var(--caption-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-main);
    margin-bottom: 10px;
}

.article-tldr p {
    font-size: var(--small-size);
    line-height: 1.7;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.article-tldr p:last-child {
    margin-bottom: 0;
}

.article-tldr strong {
    color: var(--color-main);
}

/* --- Table of Contents --- */
.article-toc {
    background: var(--color-white);
    border: 1px solid #E8E8E8;
    border-radius: var(--border-radius);
    padding: 24px 28px;
    margin-bottom: 40px;
}

.article-toc-title {
    font-size: var(--small-size);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-main);
}

.article-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
    margin: 0;
}

.article-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 6px;
}

.article-toc ol li a {
    font-size: var(--small-size);
    color: var(--color-secondary);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.article-toc ol li a::before {
    content: counter(toc-counter) ".";
    font-weight: 600;
    color: var(--color-dim-gray);
    min-width: 20px;
}

.article-toc ol li a:hover {
    color: var(--color-main);
    text-decoration: none;
}

/* --- Article body content --- */
.article-body {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 40px;
}

.article-body h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--color-main);
    line-height: 1.3;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--color-main);
    line-height: 1.4;
}

.article-body p {
    font-size: var(--body-size);
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-body p strong {
    color: var(--color-main);
}

.article-body ul,
.article-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-body li {
    font-size: var(--body-size);
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

/* --- Callout / Key Insight box --- */
.article-callout {
    background: #FFFBF0;
    border: 1px solid #F0E4C8;
    border-left: 4px solid var(--color-warning);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.article-callout-label {
    font-size: var(--caption-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9A7B2C;
    margin-bottom: 6px;
}

.article-callout p {
    font-size: var(--small-size);
    margin-bottom: 0;
}

/* --- Inline product CTA card --- */
.article-product-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #F8F8F8;
    border: 1px solid #E8E8E8;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 28px 0;
}

.article-product-cta-img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--color-white);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-product-cta-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.article-product-cta-text {
    flex: 1;
}

.article-product-cta-text h4 {
    font-size: var(--small-size);
    font-weight: 700;
    margin-bottom: 4px;
}

.article-product-cta-text p {
    font-size: var(--caption-size);
    color: var(--color-dim-gray);
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-product-cta-text .btn-amazon {
    font-size: 11px;
    padding: 8px 16px;
}

/* --- Verdict / Bottom Line card --- */
.article-verdict {
    background: var(--color-main);
    color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.article-verdict h3 {
    color: var(--color-white);
    font-size: var(--h3-size);
    margin-top: 0;
    margin-bottom: 12px;
}

.article-verdict p {
    color: rgba(255,255,255,0.8);
    font-size: var(--body-size);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 20px;
}

.article-verdict .btn-primary {
    background: var(--color-white);
    color: var(--color-main);
    font-weight: 600;
}

/* --- Article comparison table enhancements --- */
.article-body .comparison-table-wrap {
    margin: 28px 0;
}

/* --- Related reading inline --- */
.article-related-inline {
    background: #F5F5F5;
    border-radius: var(--border-radius);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: var(--small-size);
}

.article-related-inline strong {
    color: var(--color-main);
}

.article-related-inline a {
    color: var(--color-link);
    font-weight: 500;
}


/* ========================================
   RESPONSIVE: TABLET (768px)
======================================== */
@media (max-width: 768px) {
    :root {
        --h1-size: 32px;
        --h2-size: 24px;
        --h3-size: 20px;
        --section-padding: 48px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links-mobile {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-top: 1px solid #E0E0E0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
        list-style: none;
    }

    .nav-links-mobile.active {
        display: flex;
    }

    .nav-links-mobile a {
        color: var(--color-main);
        font-size: var(--nav-font-size);
        font-weight: 500;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nav-links-mobile a.active {
        font-weight: 700;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-bento-wrapper {
        margin-left: 16px;
        margin-right: 16px;
        margin-bottom: -240px;
    }

    .products-section {
        padding-top: 280px;
    }

    .hero-bento {
        max-width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-card:nth-child(4) {
        display: none;
    }

    .editorial-grid {
        gap: 20px;
    }

    .editorial-card {
        grid-template-columns: 140px 1fr;
        gap: 12px;
    }

    .marketplace-banner {
        gap: 24px;
    }

    .marketplace-content {
        padding: 24px 24px 24px 0;
    }

    .footer-grid {
        gap: 24px;
    }

    /* Category page: tablet */
    .category-hero {
        height: 280px;
        padding-top: 64px;
    }

    .category-hero--extended {
        height: auto;
    }

    .category-bento-wrapper {
        transform: translateY(60px);
    }

    .category-bento .bento-card {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
        overflow: hidden;
    }

    .category-body--after-bento {
        padding-top: 100px !important;
    }

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

    .review-card {
        grid-template-columns: 240px 1fr;
    }

    .review-card:nth-child(even) {
        grid-template-columns: 1fr 240px;
    }

    .review-card-body {
        padding: 24px;
    }

    .comparison-table {
        font-size: var(--caption-size);
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 10px 12px;
    }

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

    /* Guides page: tablet */
    .guide-category-card {
        padding: 24px 28px;
    }
}


/* ========================================
   RESPONSIVE: MOBILE (480px)
======================================== */
@media (max-width: 480px) {
    :root {
        --h1-size: 26px;
        --h2-size: 22px;
        --h3-size: 18px;
        --h4-size: 16px;
        --section-padding: 40px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-bento-wrapper {
        margin-left: 16px;
        margin-right: 16px;
        margin-bottom: -400px;
        padding: 12px;
    }

    .products-section {
        padding-top: 440px;
    }

    .hero-bento {
        grid-template-columns: 1fr;
    }

    .bento-card--large {
        grid-row: auto;
        min-height: 240px;
    }

    .bento-card {
        min-height: 200px;
    }

    .hero-text h4 {
        font-size: var(--small-size);
    }

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

    .product-card:nth-child(4) {
        display: block;
    }

    .product-card-footer {
        padding: 0 16px 16px;
    }

    .editorial-section {
        display: none;
    }

    .marketplace-section {
        display: none;
    }

    .news-section {
        display: none;
    }

    .testimonial-section {
        padding: 48px 0;
    }

    .testimonial-quote {
        font-size: 18px;
        line-height: 1.5;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .brand-item {
        height: 80px;
        padding: 12px;
    }

    .brand-item img {
        max-width: 100px;
        max-height: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        order: 4;
        text-align: center;
        padding-top: 24px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .footer-brand .logo img {
        margin: 0 auto;
    }

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

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    /* Category page: mobile */
    .review-card,
    .review-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .review-card:nth-child(even) .review-card-media {
        order: 0;
    }

    .review-card:nth-child(even) .review-card-body {
        order: 0;
    }

    .review-card-body {
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid #E8E8E8;
        padding: 24px 20px;
    }

    .review-card-media {
        padding: 24px 20px 20px;
    }

    .category-hero {
        height: 240px;
        padding-top: 64px;
    }

    .category-hero--extended {
        height: auto;
    }

    .category-bento-wrapper {
        transform: translateY(40px);
        padding: 12px;
    }

    .category-bento {
        grid-template-columns: 1fr;
    }

    .category-bento .bento-card {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
        overflow: hidden;
    }

    .category-body--after-bento {
        padding-top: 80px !important;
    }

    .quick-picks-grid {
        grid-template-columns: 1fr;
    }

    .jump-nav {
        gap: 8px 16px;
    }

    .jump-nav a {
        font-size: 11px;
    }

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

    .faq-question {
        padding: 14px 16px;
    }

    .faq-answer-inner {
        padding: 0 16px 16px;
    }

    /* Guides page: mobile */
    .guide-category-card {
        padding: 20px 16px;
    }

    .guide-link-list {
        columns: 1;
    }

    /* Article template: mobile */
    .article-product-cta {
        flex-direction: column;
        text-align: center;
    }

    .article-product-cta-img {
        width: 80px;
        height: 80px;
    }

    .article-tldr {
        padding: 20px;
    }

    .article-toc {
        padding: 20px;
    }

    .article-verdict {
        padding: 24px 20px;
    }
}
