/* ─── Flavor5 ─── */
/* Principles: 8px grid · 3-weight type scale · shadow > border · tonal depth */

:root {
    /* ── Palette ── */
    --c-primary: #1f3a5f;
    --c-primary-hover: #17304f;
    --c-accent: #3fa38a;
    --c-accent-hover: #349a7e;
    --c-accent-soft: #e6f4f0;

    /* ── Tonal backgrounds (layered depth, not flat) ── */
    --c-bg: #fdfdfe;
    --c-surface: #f6f7fa;
    --c-surface-raised: #ffffff;
    --c-surface-sunken: #eef0f4;

    /* ── Text (4.5:1+ contrast on bg) ── */
    --c-text: #2c3442;
    --c-text-secondary: #636e7f;
    --c-text-tertiary: #97a0ae;

    /* ── UI ── */
    --c-border: #e2e5ea;
    --c-border-light: #eceef2;
    --c-focus: #3b82f6;

    /* ── Type ── */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Nunito', var(--font);

    /* ── Spacing (8px grid) ── */
    --s-4: 4px;
    --s-8: 8px;
    --s-12: 12px;
    --s-16: 16px;
    --s-20: 20px;
    --s-24: 24px;
    --s-32: 32px;
    --s-40: 40px;
    --s-48: 48px;
    --s-56: 56px;
    --s-64: 64px;
    --s-80: 80px;

    /* ── Radii ── */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;

    /* ── Shadows (elevation system, dual-layer) ── */
    --shadow-1: 0 1px 2px rgba(31,58,95,0.06), 0 1px 3px rgba(31,58,95,0.04);
    --shadow-2: 0 2px 4px rgba(31,58,95,0.06), 0 4px 12px rgba(31,58,95,0.05);
    --shadow-3: 0 4px 8px rgba(31,58,95,0.06), 0 8px 24px rgba(31,58,95,0.06);

    /* ── Motion ── */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 200ms;
    --dur-slow: 350ms;

    /* ── Layout ── */
    --w-content: 700px;
    --w-wide: 1000px;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-feature-settings: 'cv01', 'cv02', 'ss01'; /* Inter alternates */
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Selection color ── */
::selection {
    background: var(--c-accent-soft);
    color: var(--c-primary);
}

/* ── Focus ring (accessibility) ── */
:focus-visible {
    outline: 2px solid var(--c-focus);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ─── Layout ─── */
.container {
    width: 100%;
    max-width: var(--w-wide);
    margin: 0 auto;
    padding: 0 var(--s-20);
}

.container--narrow { max-width: var(--w-content); }

/* ═══════════════════════════════════
   HEADER
   ═══════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    position: relative;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.site-logo .custom-logo-link {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    border-radius: 50%;
}

.site-logo .custom-logo-link:focus-visible {
    outline: 2px solid var(--c-focus);
    outline-offset: 4px;
    border-radius: 50%;
}

.site-logo .custom-logo-link:active {
    transform: scale(0.88);
    transition: transform 0.1s;
}

.site-logo .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-logo .custom-logo-link img,
.site-logo .custom-logo {
    display: block;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: -0.01em;
}

/* ── Hamburger ── */
.menu-toggle {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--s-8);
    border-radius: var(--r-sm);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--c-primary);
    border-radius: 1px;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile Nav ── */
.site-nav {
    position: fixed;
    top: 56px;
    left: 0; right: 0; bottom: 0;
    background: var(--c-bg);
    padding: var(--s-24) var(--s-20);
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease);
    z-index: 100;
}

.site-nav.is-open { transform: translateX(0); }

.nav-list li + li { border-top: 1px solid var(--c-border-light); }

.nav-list a {
    display: block;
    padding: var(--s-16) 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-primary);
    transition: color var(--dur) var(--ease);
}

.nav-list a:hover { color: var(--c-accent); }

/* ═══════════════════════════════════
   BANNER
   ═══════════════════════════════════ */

.banner {
    padding: var(--s-16) 0 0;
}

.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-2);
}

.banner-track { position: relative; width: 100%; }

.banner-slide {
    position: absolute;
    top: 0; left: 0; width: 100%;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.banner-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.banner-slide.is-leaving {
    opacity: 0;
    transform: translateX(-24px);
}

.banner-slide-inner {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    aspect-ratio: 1.6 / 1;
    background: var(--c-primary);
}

.banner-image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 7s ease;
}

.banner-slide.is-active .banner-image {
    transform: scale(1.04);
}

.banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--s-24);
    background: linear-gradient(
        0deg,
        rgba(31,58,95,0.92) 0%,
        rgba(31,58,95,0.50) 35%,
        rgba(31,58,95,0.12) 65%,
        transparent 100%
    );
    color: #fff;
}

.banner-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-4);
}

.banner-subtitle {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: var(--s-12);
    max-width: 340px;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    background: var(--c-accent);
    padding: 10px 20px;
    border-radius: var(--r-sm);
    align-self: flex-start;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.banner-cta:hover {
    background: var(--c-accent-hover);
    transform: translateY(-1px);
}

.banner-dots {
    position: absolute;
    bottom: var(--s-12);
    right: var(--s-16);
    display: flex;
    gap: var(--s-8);
    z-index: 5;
}

.banner-dot {
    height: 6px;
    width: 6px;
    border-radius: 3px;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: all var(--dur-slow) var(--ease);
}

.banner-dot.is-active {
    background: #fff;
    width: 20px;
}

/* ═══════════════════════════════════
   WORDMARK
   ═══════════════════════════════════ */

.wordmark {
    text-align: center;
    padding: var(--s-32) 0 var(--s-8);
}

.wordmark-text {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--c-primary);
}

.wordmark-text span {
    color: var(--c-accent);
}

.wordmark-tagline {
    font-size: 12px;
    color: var(--c-text-tertiary);
    margin-top: var(--s-4);
    letter-spacing: 0.03em;
    font-weight: 400;
}

/* ═══════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════ */

.trust-bar {
    padding: var(--s-12) 0;
    background: var(--c-surface);
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: var(--s-8);
    align-items: center;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-secondary);
    letter-spacing: 0.02em;
}

.trust-icon {
    color: var(--c-accent);
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════
   FEATURED CATEGORIES
   ═══════════════════════════════════ */

.featured-cats {
    padding: var(--s-32) 0 var(--s-24);
}

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

.featured-cat-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.featured-cat-card:hover {
    box-shadow: var(--shadow-3);
    transform: translateY(-2px);
}

.featured-cat-card:hover .featured-cat-image img {
    transform: scale(1.06);
}

.featured-cat-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.featured-cat-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.featured-cat-placeholder {
    width: 100%; height: 100%;
    background: var(--c-surface-sunken);
}

/* Gradient overlay for text legibility */
.featured-cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(31,58,95,0.78) 0%,
        rgba(31,58,95,0.25) 50%,
        rgba(31,58,95,0.05) 100%
    );
    transition: background var(--dur) var(--ease);
}

.featured-cat-card:hover::after {
    background: linear-gradient(
        0deg,
        rgba(31,58,95,0.85) 0%,
        rgba(31,58,95,0.20) 50%,
        rgba(31,58,95,0.02) 100%
    );
}

.featured-cat-name {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 1;
    padding: var(--s-8) var(--s-8) var(--s-12);
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════ */

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: -0.01em;
    margin-bottom: var(--s-16);
}

/* ═══════════════════════════════════
   RANKING CARDS
   ═══════════════════════════════════ */

.latest-section {
    padding: var(--s-32) 0 var(--s-48);
    background: var(--c-surface);
}

.rankings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
}

.ranking-card {
    display: block;
    padding: var(--s-20);
    background: var(--c-surface-raised);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ranking-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-1px);
}

.ranking-card-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-accent);
    background: var(--c-accent-soft);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: var(--s-8);
}

.ranking-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.35;
    margin-bottom: var(--s-4);
}

.ranking-card-winner {
    display: block;
    font-size: 13px;
    color: var(--c-text-secondary);
    margin-bottom: var(--s-8);
}

.ranking-card-excerpt {
    font-size: 13px;
    color: var(--c-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--s-8);
}

.ranking-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-accent);
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* ═══════════════════════════════════
   PRODUCT GRID (category pages)
   ═══════════════════════════════════ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-8);
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface-raised);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
    padding: var(--s-12);
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
    min-width: 0;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-1px);
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--s-8);
    min-height: 20px;
}

.product-badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-accent);
    background: var(--c-accent-soft);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.product-rating {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    font-feature-settings: 'tnum';
    background: var(--c-surface);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    line-height: 1.3;
}

.product-image {
    aspect-ratio: 1 / 1;
    border-radius: var(--r-sm);
    overflow: hidden;
    margin-bottom: var(--s-12);
    background: var(--c-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: var(--s-8);
    max-width: 100%;
}

.product-image--placeholder {
    color: var(--c-text-tertiary);
}

.product-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.3;
    margin-bottom: var(--s-4);
    letter-spacing: -0.01em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-desc {
    font-size: 11px;
    color: var(--c-text-secondary);
    line-height: 1.45;
    margin-bottom: var(--s-12);
    flex: 1;
    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--c-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: var(--s-8) var(--s-12);
    border-radius: var(--r-sm);
    transition: background var(--dur) var(--ease);
    margin-top: auto;
    letter-spacing: 0.01em;
}

.product-cta:hover {
    background: var(--c-accent-hover);
}

.product-review-link {
    display: block;
    text-align: center;
    font-size: 10px;
    color: var(--c-text-tertiary);
    margin-top: var(--s-4);
    letter-spacing: 0.02em;
    transition: color var(--dur) var(--ease);
}

.product-review-link:hover {
    color: var(--c-accent);
}

/* ═══════════════════════════════════
   CATEGORY ARCHIVE (taxonomy list)
   ═══════════════════════════════════ */

.categories-section { padding: var(--s-48) 0; }

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
}

.category-card {
    display: flex;
    align-items: center;
    padding: var(--s-16) var(--s-20);
    background: var(--c-surface-raised);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.category-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-1px);
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-primary);
    flex: 1;
}

.category-count {
    font-size: 12px;
    color: var(--c-text-tertiary);
    margin-right: var(--s-8);
}

.category-arrow {
    color: var(--c-accent);
    flex-shrink: 0;
    transition: transform var(--dur) var(--ease);
}

.category-card:hover .category-arrow { transform: translateX(2px); }

/* ═══════════════════════════════════
   ARCHIVE HEADER
   ═══════════════════════════════════ */

.archive-header {
    padding: var(--s-32) 0 var(--s-24);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border-light);
}

.archive-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: -0.02em;
}

.archive-desc {
    font-size: 14px;
    color: var(--c-text-secondary);
    margin-top: var(--s-4);
    line-height: 1.5;
}

.archive-content { padding: var(--s-32) 0 var(--s-48); }

/* ═══════════════════════════════════
   SINGLE RANKING
   ═══════════════════════════════════ */

.ranking-single {
    padding: var(--s-24) 0 var(--s-64);
}

.ranking-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
    font-size: 13px;
    color: var(--c-accent);
    font-weight: 500;
    margin-bottom: var(--s-24);
    transition: opacity var(--dur) var(--ease);
}

.ranking-breadcrumb:hover { opacity: 0.7; }

.ranking-header {
    margin-bottom: var(--s-32);
    padding-bottom: var(--s-24);
    border-bottom: 1px solid var(--c-border-light);
}

.ranking-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: var(--s-4);
}

.ranking-subtitle {
    font-size: 14px;
    color: var(--c-text-secondary);
    line-height: 1.5;
}

.ranking-meta {
    margin-top: var(--s-12);
    font-size: 12px;
    color: var(--c-text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ranking-meta::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--c-accent);
}

.ranking-disclosure {
    font-size: 13px;
    color: var(--c-text-secondary);
    background: var(--c-surface);
    padding: var(--s-12) var(--s-16);
    border-radius: var(--r-sm);
    margin-bottom: var(--s-24);
    line-height: 1.55;
    border-left: 3px solid var(--c-accent-soft);
}

.ranking-intro {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: var(--s-32);
    color: var(--c-text);
}

.ranking-intro p + p { margin-top: var(--s-16); }

/* ── Quick Picks ── */
.quick-picks {
    background: var(--c-surface);
    border-radius: var(--r-md);
    padding: var(--s-20);
    margin-bottom: var(--s-24);
    box-shadow: var(--shadow-1);
}

.quick-picks-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--s-12);
}

.quick-picks-list { list-style: none; counter-reset: picks; }
.quick-picks-list li { counter-increment: picks; }

.quick-pick-link {
    display: flex;
    align-items: center;
    gap: var(--s-12);
    padding: var(--s-8) 0;
    border-bottom: 1px solid var(--c-border-light);
}

.quick-picks-list li:last-child .quick-pick-link { border-bottom: none; }

.quick-pick-link::before {
    content: counter(picks);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    font-feature-settings: 'tnum';
}

.quick-pick-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-primary);
    flex: 1;
}

.quick-pick-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--c-accent);
    background: var(--c-accent-soft);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* ── Item Cards ── */
.ranking-items {
    display: flex;
    flex-direction: column;
    gap: var(--s-12);
}

.item-card {
    display: flex;
    gap: var(--s-16);
    border-radius: var(--r-md);
    padding: var(--s-20);
    background: var(--c-surface-raised);
    box-shadow: var(--shadow-1);
    transition: box-shadow var(--dur) var(--ease);
}

.item-card:hover { box-shadow: var(--shadow-2); }

.item-card:first-child {
    background: linear-gradient(160deg, #f9fdfb 0%, #f0f9f6 100%);
    box-shadow: var(--shadow-2);
    position: relative;
}

/* Subtle accent line on #1 card */
.item-card:first-child::before {
    content: '';
    position: absolute;
    top: 0; left: var(--s-20); right: var(--s-20);
    height: 2px;
    background: var(--c-accent);
    border-radius: 0 0 2px 2px;
}

.item-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    font-feature-settings: 'tnum';
}

.item-card:first-child .item-rank {
    background: var(--c-accent);
}

.item-content { flex: 1; min-width: 0; }

.item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--s-8);
    margin-bottom: var(--s-8);
}

.item-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-accent);
    margin-bottom: 2px;
}

.item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.item-rating {
    text-align: center;
    flex-shrink: 0;
    background: var(--c-surface);
    padding: var(--s-4) var(--s-8);
    border-radius: var(--r-sm);
    line-height: 1;
}

.item-rating-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-primary);
    font-feature-settings: 'tnum';
}

.item-rating-max {
    font-size: 10px;
    color: var(--c-text-tertiary);
}

.item-desc {
    font-size: 14px;
    color: var(--c-text);
    line-height: 1.6;
    margin-bottom: var(--s-12);
}

.item-pros { margin-bottom: var(--s-16); }

.item-pros li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    color: var(--c-text);
    padding: 3px 0;
    line-height: 1.45;
}

.item-pros svg {
    color: var(--c-accent);
    flex-shrink: 0;
    margin-top: 2px;
    width: 14px; height: 14px;
}

.item-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--c-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: var(--s-12) var(--s-24);
    border-radius: var(--r-sm);
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
    width: 100%;
}

.item-cta:hover {
    background: var(--c-accent-hover);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════
   STATIC PAGES
   ═══════════════════════════════════ */

.page-single { padding: var(--s-32) 0 var(--s-64); }

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--s-24);
}

.page-content {
    font-size: 15px;
    line-height: 1.75;
}

.page-content p + p { margin-top: var(--s-16); }
.page-content h2 { font-size: 18px; font-weight: 700; color: var(--c-primary); margin: var(--s-40) 0 var(--s-12); letter-spacing: -0.01em; }
.page-content h3 { font-size: 16px; font-weight: 600; color: var(--c-primary); margin: var(--s-32) 0 var(--s-8); }
.page-content ul, .page-content ol { padding-left: var(--s-20); margin: var(--s-12) 0; list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.page-content a:hover { text-decoration-color: var(--c-accent-hover); }

/* ═══════════════════════════════════
   404
   ═══════════════════════════════════ */

.error-404 h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: var(--s-8);
}

.error-404 p {
    color: var(--c-text-secondary);
    font-size: 14px;
}

.btn-back {
    display: inline-block;
    margin-top: var(--s-24);
    background: var(--c-accent);
    color: #fff;
    padding: var(--s-12) var(--s-24);
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 14px;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn-back:hover {
    background: var(--c-accent-hover);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */

.site-footer {
    margin-top: auto;
    background: var(--c-primary);
    color: rgba(255,255,255,0.65);
    padding: var(--s-40) 0 var(--s-32);
    text-align: center;
}

.footer-logo {
    margin-bottom: var(--s-16);
    display: flex;
    justify-content: center;
}

.footer-logo .custom-logo-link img,
.footer-logo .custom-logo {
    max-height: 32px;
    width: auto; height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.35;
}

.footer-brand {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
}

.footer-disclosure {
    font-size: 12px;
    max-width: 400px;
    margin: 0 auto var(--s-20);
    line-height: 1.65;
    opacity: 0.55;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: var(--s-24);
    margin-bottom: var(--s-20);
}

.footer-nav a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    transition: color var(--dur) var(--ease);
}

.footer-nav a:hover { color: rgba(255,255,255,0.95); }

.footer-copyright {
    font-size: 11px;
    opacity: 0.35;
    letter-spacing: 0.01em;
}

/* ═══════════════════════════════════
   PAGINATION
   ═══════════════════════════════════ */

.pagination { margin-top: var(--s-32); text-align: center; }

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: var(--s-4);
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px; height: 36px;
    padding: 0 var(--s-8);
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    font-feature-settings: 'tnum';
    transition: all var(--dur) var(--ease);
    background: var(--c-surface-raised);
    box-shadow: var(--shadow-1);
}

.pagination a:hover {
    box-shadow: var(--shadow-2);
    color: var(--c-accent);
}

.pagination .current {
    background: var(--c-primary);
    color: #fff;
    box-shadow: none;
}

.no-results {
    text-align: center;
    color: var(--c-text-secondary);
    font-size: 14px;
    padding: var(--s-48) 0;
}

/* ═══════════════════════════════════
   TABLET (640px)
   ═══════════════════════════════════ */

@media (min-width: 640px) {
    .header-inner { height: 64px; }
    .site-nav { top: 64px; }

    .banner-slide-inner { aspect-ratio: 2.2 / 1; }
    .banner-title { font-size: 28px; }
    .banner-subtitle { font-size: 15px; }
    .banner-content { padding: var(--s-32); }

    .trust-list {
        flex-direction: row;
        justify-content: center;
        gap: var(--s-32);
    }

    .featured-cats-grid { gap: var(--s-12); }
    .featured-cat-name { font-size: 11px; }

    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-12); }
    .product-name { font-size: 14px; }
    .product-desc { font-size: 12px; }
    .product-cta { font-size: 13px; padding: var(--s-8) var(--s-16); }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .rankings-grid { grid-template-columns: repeat(2, 1fr); }
    .item-cta { width: auto; }
    .ranking-title { font-size: 30px; }
}

/* ═══════════════════════════════════
   DESKTOP (960px)
   ═══════════════════════════════════ */

@media (min-width: 960px) {
    .menu-toggle { display: none; }

    .site-nav {
        position: absolute;
        right: 0;
        transform: none;
        padding: 0;
        background: none;
        top: auto;
        bottom: auto;
        left: auto;
    }

    .nav-list { display: flex; gap: var(--s-32); }
    .nav-list li + li { border-top: none; }
    .nav-list a { padding: 0; font-size: 14px; }

    .banner-slide-inner { aspect-ratio: 2.8 / 1; }
    .banner-title { font-size: 32px; letter-spacing: -0.025em; }
    .banner-content { padding: var(--s-40); }

    .featured-cats-grid { grid-template-columns: repeat(6, 1fr); }

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

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