/* ================================================================
   SPITZENZEUG.DE — Clean Modern Design
   Outfit only · Indigo/White · Minimal
   ================================================================ */

@import url('fonts.css');

:root {
    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-200: #c7d2fe;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --indigo-700: #4338ca;
    --indigo-900: #312e81;

    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;

    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;

    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-500: #f59e0b;

    --violet-50: #f5f3ff;
    --violet-500: #8b5cf6;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --primary: var(--indigo-600);
    --primary-hover: var(--indigo-700);
    --accent: var(--orange-500);
    --accent-hover: var(--orange-600);
    --bg: #ffffff;
    --bg-alt: #fafbfe;
    --text: var(--slate-900);
    --text-secondary: var(--slate-500);
    --text-muted: var(--slate-400);
    --border: var(--slate-200);
    --border-light: var(--slate-100);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);

    --font: 'Outfit', system-ui, -apple-system, sans-serif;
    --container: 1120px;
    --nav-h: 64px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }

body {
    font-family: var(--font);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-hover); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 600; line-height: 1.25; color: var(--text); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

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


/* ================================================================
   NAV
   ================================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo:hover { color: var(--text); }

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--indigo-600), var(--violet-500));
    color: #fff;
    font-weight: 800;
    font-size: 0.875rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: 0.2s;
}

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

.nav-links li a,
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.15s;
}
.nav-links li a:hover,
.nav-dropdown-toggle:hover {
    color: var(--text);
    background: var(--bg-alt);
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}
.nav-arrow { font-size: 0.625rem; opacity: 0.5; transition: transform 0.2s; }

.nav-finder-link {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: var(--radius-full) !important;
    padding: 0.4rem 1rem !important;
    transition: all 0.2s !important;
}
.nav-finder-link:hover {
    background: var(--primary-hover) !important;
    color: #fff !important;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.375rem;
    z-index: 200;
    border: 1px solid var(--border);
    animation: dropIn 0.15s var(--ease);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu li a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text) !important;
    font-size: 0.85rem;
    border-radius: var(--radius);
}
.nav-dropdown-menu li a:hover {
    background: var(--indigo-50) !important;
    color: var(--primary) !important;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mobile-only { display: none !important; }
.desktop-only { display: flex !important; }


/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    text-align: center;
    background: linear-gradient(160deg, var(--slate-900) 0%, var(--indigo-900) 50%, #1a1033 100%);
    overflow: visible;
    z-index: 10;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--indigo-200);
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.08);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--slate-400);
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

/* page hero */
.page-hero {
    padding: 3rem 0 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--indigo-50) 0%, #fff 100%);
    border-bottom: 1px solid var(--border-light);
}
.page-hero-compact { padding: 2rem 0 1.5rem; }
.page-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.page-hero-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0.75rem auto 0;
}


/* ================================================================
   FINDER
   ================================================================ */
.finder-widget {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* When finder is NOT inside hero (e.g. /finder/ page), keep light style */
.page-hero .finder-widget,
.section .finder-widget {
    background: #fff;
    backdrop-filter: none;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.page-hero .finder-widget .finder-question,
.section .finder-widget .finder-question { color: var(--text); }
.page-hero .finder-widget .finder-option,
.section .finder-widget .finder-option { background: var(--bg); border-color: var(--border); color: var(--text); }
.page-hero .finder-widget .finder-step-dot,
.section .finder-widget .finder-step-dot { background: var(--bg); color: var(--text-muted); border-color: var(--border); }

.finder-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.75rem;
}

.finder-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.15);
    transition: all 0.3s var(--ease);
}
.finder-step-dot.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.finder-step-dot.done {
    background: var(--indigo-100);
    color: var(--primary);
    border-color: var(--indigo-200);
}

.finder-step-line {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.12);
    transition: background 0.3s;
}
.finder-step-line.filled { background: var(--primary); }

.finder-step {
    display: none;
    animation: fadeUp 0.25s var(--ease);
}
.finder-step.active { display: block; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.finder-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-align: center;
    color: #fff;
}

.finder-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
}

.finder-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s var(--ease);
}
.finder-option:hover {
    border-color: var(--indigo-500);
    background: rgba(99,102,241,0.15);
}
.finder-option.selected {
    background: rgba(99,102,241,0.2);
    border-color: var(--indigo-500);
    color: #fff;
}

.finder-option-icon { font-size: 1.25rem; }
.finder-option-label { text-align: center; line-height: 1.3; }

.finder-back {
    display: inline-flex;
    align-items: center;
    margin-top: 1.25rem;
    padding: 0.4rem 0.85rem;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.5);
    font-family: var(--font);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
}
.finder-back:hover {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* Light context overrides for finder-back */
.page-hero .finder-back,
.section .finder-back { border-color: var(--border); color: var(--text-secondary); }
.page-hero .finder-back:hover,
.section .finder-back:hover { border-color: var(--text-secondary); color: var(--text); }


/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--indigo-900) 0%, var(--slate-900) 50%, #1a1033 100%);
    color: #fff;
    padding: 3.5rem 0;
}
.section-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.section-cta p { color: var(--slate-400); margin-bottom: 1.5rem; }


/* ================================================================
   CATEGORY CARDS
   ================================================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.625rem;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s var(--ease);
    text-align: center;
    min-height: 56px;
}

.category-card:hover {
    color: var(--primary);
    border-color: var(--indigo-200);
    background: var(--indigo-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Colored accents for category cards in different sections */
.section:nth-of-type(4n+1) .category-card:hover { border-color: var(--indigo-200); background: var(--indigo-50); color: var(--indigo-600); }
.section:nth-of-type(4n+2) .category-card:hover { border-color: var(--rose-100); background: var(--rose-50); color: var(--rose-600); }
.section:nth-of-type(4n+3) .category-card:hover { border-color: var(--teal-100); background: var(--teal-50); color: var(--teal-600); }
.section:nth-of-type(4n) .category-card:hover { border-color: var(--amber-100); background: var(--amber-50); color: var(--orange-600); }

.category-icon { display: none; }
.category-name { line-height: 1.3; }


/* ================================================================
   HIGHLIGHT CARDS
   ================================================================ */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

.highlight-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s var(--ease);
}
.highlight-card:hover {
    color: var(--text);
    border-color: var(--rose-100);
    background: var(--rose-50);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.highlight-card h3 { font-size: 1rem; font-weight: 600; }
.highlight-peak {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rose-600);
    padding: 0.15rem 0.5rem;
    background: var(--rose-50);
    border-radius: var(--radius-full);
    white-space: nowrap;
}


/* ================================================================
   BUDGET CARDS
   ================================================================ */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.budget-card {
    padding: 1.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s var(--ease);
}
.budget-card:hover {
    color: var(--text);
    border-color: var(--teal-100);
    background: var(--teal-50);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.budget-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; color: var(--teal-600); }
.budget-card p { font-size: 0.8rem; color: var(--text-secondary); margin: 0; }
.budget-icon { display: none; }


/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
    padding: 0.75rem 0;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { display: flex; align-items: center; font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb li a { color: var(--text-secondary); }
.breadcrumb li a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 0.35rem; }
.breadcrumb .current { color: var(--text); font-weight: 500; }


/* ================================================================
   QUICK FILTER
   ================================================================ */
.quick-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.filter-btn {
    padding: 0.45rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}
.filter-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--indigo-50);
}
.filter-btn:nth-child(2):hover { color: var(--teal-600); border-color: var(--teal-500); background: var(--teal-50); }
.filter-btn:nth-child(3):hover { color: var(--rose-600); border-color: var(--rose-500); background: var(--rose-50); }
.filter-btn:nth-child(4):hover { color: var(--orange-600); border-color: var(--orange-500); background: var(--amber-50); }
.filter-btn:nth-child(5):hover { color: var(--violet-500); border-color: var(--violet-500); background: var(--violet-50); }


/* ================================================================
   PRODUCT GRID (Hub)
   ================================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.2s var(--ease);
}
.product-card { border-left: 3px solid var(--indigo-200); }
.product-card:nth-child(2) { border-left-color: var(--rose-100); }
.product-card:nth-child(3) { border-left-color: var(--teal-100); }
.product-card:nth-child(4) { border-left-color: var(--amber-100); }
.product-card:hover { border-color: var(--slate-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card-body { flex: 1; }
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.product-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.product-name a { color: var(--text); }
.product-name a:hover { color: var(--primary); }

.product-description { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-top: 0.35rem; }

.product-price { font-weight: 700; font-size: 1rem; color: var(--teal-600); }

.product-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tag {
    padding: 0.1rem 0.5rem;
    background: var(--indigo-50);
    color: var(--indigo-600);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.tag:nth-child(2) { background: var(--teal-50); color: var(--teal-600); }
.tag:nth-child(3) { background: var(--rose-50); color: var(--rose-600); }
.tag:nth-child(4) { background: var(--amber-50); color: var(--orange-600); }
.tag:nth-child(5) { background: var(--violet-50); color: var(--violet-500); }

.affiliate-notice {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}


/* ================================================================
   EDITORIAL LIST (Hub pages with editorial text)
   ================================================================ */
.editorial-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.editorial-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s var(--ease);
    position: relative;
}
.editorial-item:hover {
    border-color: var(--slate-300);
    box-shadow: var(--shadow-md);
}
.editorial-item:nth-child(odd) {
    background: var(--bg);
    border-left: 4px solid var(--primary);
}
.editorial-item:nth-child(even) {
    background: var(--cream-50, #FFFBEB);
    border-left: 4px solid var(--primary);
}

.editorial-rank {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: white;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
}

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

.editorial-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.editorial-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.editorial-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--teal-600);
    white-space: nowrap;
}

.editorial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.editorial-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.editorial-footer .affiliate-notice {
    margin-top: 0;
}


/* ================================================================
   PRODUCT LIST (List pages)
   ================================================================ */
.product-list { display: flex; flex-direction: column; gap: 0.75rem; }

.product-list-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s var(--ease);
}
.product-list-item:hover { border-color: var(--slate-300); box-shadow: var(--shadow); }

.product-rank {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--indigo-50);
    color: var(--indigo-600);
    font-weight: 700;
    font-size: 0.9rem;
}
.product-list-item:first-child .product-rank {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    color: #fff;
}
.product-list-item:nth-child(2) .product-rank {
    background: var(--slate-300);
    color: #fff;
}
.product-list-item:nth-child(3) .product-rank {
    background: var(--orange-400);
    color: #fff;
}

.product-list-body { flex: 1; min-width: 0; }
.product-list-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}


/* ================================================================
   SUB-PAGE & RELATED
   ================================================================ */
.subpage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.625rem;
}
.subpage-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.15s;
}
.subpage-card h3 { font-size: 0.9rem; font-weight: 600; }
.subpage-arrow { color: var(--text-muted); transition: transform 0.2s; }
.subpage-card:hover { color: var(--primary); border-color: var(--indigo-200); background: var(--indigo-50); transform: translateX(3px); }
.subpage-card:hover .subpage-arrow { transform: translateX(3px); color: var(--primary); }

.related-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.related-card {
    padding: 0.45rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}
.related-card:hover { color: var(--primary); border-color: var(--primary); }


/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-family: var(--font);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.15s;
}

.btn-primary {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); color: #fff; }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.btn-lg { padding: 0.7rem 1.75rem; font-size: 0.95rem; border-radius: var(--radius); }

.btn-amber {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    background: var(--accent);
    color: #fff;
}
.btn-amber:hover { background: var(--accent-hover); color: #fff; }


/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem 2rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
}
.footer-logo .logo-mark {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
}

.footer-section h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-section p { font-size: 0.82rem; line-height: 1.5; }
.footer-section a {
    display: block;
    color: var(--slate-400);
    font-size: 0.82rem;
    padding: 0.15rem 0;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-section a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate-500);
    max-width: var(--container);
    margin: 0 auto;
}
.footer-bottom p + p { margin-top: 0.15rem; }


/* ================================================================
   OVERLAY
   ================================================================ */
.overlay-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.overlay-backdrop.hidden { display: none; }

.overlay-content {
    background: var(--bg);
    border-radius: var(--radius-lg);
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.overlay-close {
    position: sticky;
    top: 0;
    float: right;
    background: var(--slate-100);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.overlay-close:hover { background: var(--slate-200); }

.overlay-content h2 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.overlay-content h2:first-of-type { margin-top: 0; }
.legal-divider { margin-top: 2rem; }
.legal-block h3 { font-size: 0.88rem; font-weight: 600; margin: 1rem 0 0.3rem; }
.legal-block p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.4rem; }
.legal-block a { color: var(--primary); text-decoration: underline; }
.legal-date { margin-top: 1rem; font-style: italic; color: var(--text-muted); }


/* ================================================================
   SCROLL TO TOP
   ================================================================ */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    :root { --nav-h: 56px; }

    .mobile-menu-btn { display: flex; }
    .desktop-only { display: none !important; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 0.75rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active { display: flex; }
    .nav-links.active .mobile-only { display: flex !important; }
    .nav-links li a { padding: 0.6rem 0.75rem; width: 100%; }

    .hero { padding: 3rem 0 2.5rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero h1 br { display: none; }

    .finder-options { grid-template-columns: repeat(3, 1fr); }
    .finder-widget { padding: 1.5rem 1rem; }

    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid { grid-template-columns: 1fr; }
    .budget-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .subpage-grid { grid-template-columns: 1fr; }

    .product-list-item { flex-direction: column; gap: 0.75rem; }
    .product-rank { width: 36px; height: 36px; font-size: 0.85rem; }

    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .section { padding: 2.5rem 0; }
}

    .editorial-item { flex-direction: column; }
    .editorial-rank { width: 40px; height: 40px; font-size: 1rem; flex-shrink: 0; align-self: flex-start; }
    .editorial-text { font-size: 0.95rem; }
}

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