/*
Theme Name: Nichtraucher.de
Theme URI: https://nichtraucher.de
Description: Eigenständiges Theme für nichtraucher.de — Ratgeber für den Rauchstopp
Version: 1.0.0
Author: Nūreo Group
Author URI: https://nureo.group
License: Proprietary
Text Domain: nichtraucher-theme
*/

/* ==========================================================================
   Nichtraucher.de — Complete Design System
   Template-override styles for custom header, footer, and page templates.
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #E07A5F;
    --primary-dark: #C96B52;
    --primary-light: #FEF0EB;
    --secondary: #1A1A2E;
    --secondary-light: #2D2B55;
    --accent: #D4A574;
    --bg: #FDF8F4;
    --bg-warm: #F8F0E8;
    --text: #1A1A2E;
    --text-light: #5C6370;
    --text-muted: #9CA3AF;
    --border: #E8E0D8;
    --success: #059669;
    --success-light: #ECFDF5;
    --amazon: #FF9900;
    --amazon-dark: #E88B00;
    --max-width: 1200px;
    --content: 720px;
    --display: 'Playfair Display', Georgia, serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --r: 12px;
    --r-lg: 20px;
    --bg-alt: #F5EDE6;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
}

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

body.nr-body {
    margin: 0;
    padding: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nr-body img { max-width: 100%; height: auto; display: block; }
.nr-body a { color: var(--primary); text-decoration: none; transition: color .2s; }
.nr-body a:hover { color: var(--primary-dark); }
.nr-body h1, .nr-body h2, .nr-body h3, .nr-body h4 {
    font-family: var(--display);
    color: var(--secondary);
    line-height: 1.25;
    margin: 0 0 .5em;
}

/* ---------- Utilities ---------- */
.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 10px;
    font-family: var(--body);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .3s;
}

.btn--coral,
.nr-body a.btn--coral {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(224,122,95,0.3);
}
.btn--coral:hover,
.nr-body a.btn--coral:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(224,122,95,0.35);
}

.btn--ghost,
.nr-body a.btn--ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
}
.btn--ghost:hover,
.nr-body a.btn--ghost:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.btn--amazon,
.nr-body a.btn--amazon {
    background: var(--amazon);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,153,0,.3);
}
.btn--amazon:hover,
.nr-body a.btn--amazon:hover {
    background: var(--amazon-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,153,0,.4);
}

.section-label {
    display: inline-block;
    font-family: var(--body);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary);
    margin-bottom: 8px;
}

/* ==========================================================================
   HEADER  .hd
   ========================================================================== */
.hd {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--secondary);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.hd__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.hd__logo {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.hd__logo:hover { color: var(--primary); }

.hd__nav { display: flex; align-items: center; gap: 4px; }

.hd__nav a {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}
.hd__nav a:hover,
.hd__nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.hd__toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ==========================================================================
   FOOTER  .ft
   ========================================================================== */
.ft {
    background: var(--secondary);
    color: rgba(255,255,255,.7);
    padding: 60px 0 0;
}

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

.ft__brand p {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
    margin: 12px 0 0;
}

.ft__brand-name,
.ft__brand h3 {
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.ft__col h4 {
    font-family: var(--body);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.45);
    margin-bottom: 16px;
}

.ft__col ul { list-style: none; margin: 0; padding: 0; }
.ft__col li { margin-bottom: 10px; }
.ft__col a {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    text-decoration: none;
    transition: color .2s;
}
.ft__col a:hover { color: var(--primary); }

.ft__disclaimers,
.ft__legal {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    font-size: 0.75rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.3);
    text-align: center;
}
.ft__disclaimers p,
.ft__legal p { margin-bottom: 8px; }
.ft__disclaimers strong,
.ft__legal strong { color: rgba(255,255,255,0.5); }
.ft__disclaimers a,
.ft__legal a { color: rgba(255,255,255,.6); text-decoration: underline; }
.ft__disclaimers a:hover,
.ft__legal a:hover { color: var(--primary); }

.ft__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

/* ==========================================================================
   HOMEPAGE  (matches dummy-startseite.html exactly)
   ========================================================================== */

/* Hero — 92vh fullscreen */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.7) 40%, rgba(26,26,46,0.2) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 620px; }
.hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}
.hero h1 {
    font-family: var(--display);
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: italic;
    color: var(--primary);
    font-weight: 700;
}
.hero__sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #fff;
    font-weight: 600;
    max-width: 480px;
    margin-bottom: 36px;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    text-align: center;
}
.hero__scroll span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}
.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* Trust Strip */
.trust {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.trust__inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-light);
}
.trust__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.trust__item strong { color: var(--text); font-weight: 700; }

/* Finder — image-driven tiles */
.finder { padding: 100px 0 88px; }
.finder__intro { text-align: center; margin-bottom: 56px; }
.finder__intro h2 {
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}
.finder__intro p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}
.finder__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.finder__tile {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    display: flex;
    align-items: flex-end;
    background: var(--secondary);
    transition: transform 0.3s;
    text-decoration: none;
}
.finder__tile:hover { transform: translateY(-6px); }
.finder__tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s, opacity 0.3s;
    opacity: 0.75;
}
.finder__tile:hover img { transform: scale(1.06); opacity: 0.9; }
.finder__tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.1) 60%);
}
.finder__tile-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    width: 100%;
}
.finder__tile-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}
.finder__tile-title,
.finder__tile-content h3 {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff !important;
    line-height: 1.25;
    margin-bottom: 6px;
}
.finder__tile-count {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

/* Products */
.products { padding: 88px 0; background: var(--bg-warm); }
.products__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 24px;
}
.products__top h2 {
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.15;
}
.products__top h2 em { font-style: italic; color: var(--primary); font-weight: 700; }
.products__top-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.products__top-link:hover { gap: 8px; }

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 2px solid var(--primary);
    margin-bottom: 24px;
    position: relative;
}
.product-hero__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.product-hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: var(--bg);
}
.product-hero__image img { max-width: 220px; max-height: 220px; object-fit: contain; }
.product-hero__body {
    padding: 40px 40px 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-hero__name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 12px;
}
.product-hero__price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
}
.product-hero__price small {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--success);
    margin-left: 8px;
}

/* Product hero enrichment */
.product-hero__brand { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 6px; }
.product-hero__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.product-hero__stars { color: var(--amazon); font-size: 0.92rem; letter-spacing: 1px; }
.product-hero__reviews { font-size: 0.78rem; color: var(--text-muted); }
.product-hero__desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.55; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.product-card {
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    position: relative;
    text-decoration: none;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.product-card__img {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card__name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
    margin-bottom: 4px;
    flex: 1;
}
.product-card__price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 14px;
}
.product-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: var(--amazon);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    transition: 0.2s;
    margin-top: auto;
}
.product-card__cta:hover { background: var(--amazon-dark); color: #fff !important; }

/* Product card enrichment (homepage grid) */
.product-card__brand { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 4px; }
.product-card__stars { color: var(--amazon); font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 2px; }
.product-card__reviews { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 8px; }

.products__note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Editorial — magazine-style featured */
.editorial { padding: 88px 0; }
.editorial__top { margin-bottom: 48px; }
.editorial__top h2 {
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
}
.editorial__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}
.editorial__main {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 480px;
    display: block;
    text-decoration: none;
}
.editorial__main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.editorial__main:hover img { transform: scale(1.03); }
.editorial__main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}
.editorial__cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.editorial__main-title,
.editorial__main-overlay h3 {
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff !important;
    line-height: 1.25;
}
.editorial__main-meta {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-top: 10px;
}
.editorial__side { display: flex; flex-direction: column; gap: 20px; }
.editorial__card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    transition: 0.3s;
    flex: 1;
    align-items: center;
    text-decoration: none;
}
.editorial__card:hover { border-color: var(--primary); transform: translateX(4px); }
.editorial__card-img {
    width: 140px;
    height: 110px;
    border-radius: var(--r);
    overflow: hidden;
    flex-shrink: 0;
}
.editorial__card-img img { width: 100%; height: 100%; object-fit: cover; }
.editorial__card-body { flex: 1; }
.editorial__card-cat {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 6px;
    display: block;
}
.editorial__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
    margin-bottom: 6px;
}
.editorial__card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Motivation — full-width quote */
.motivation {
    padding: 80px 0;
    background: var(--secondary);
    text-align: center;
}
.motivation__quote {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    line-height: 1.35;
    max-width: 680px;
    margin: 0 auto 24px;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.motivation__quote em { color: var(--primary); font-style: italic; }
.motivation__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.motivation__stat-num {
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.motivation__stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
}

/* ==========================================================================
   CATEGORY PAGE  (matches dummy-kategorie.html exactly)
   ========================================================================== */

/* Category Hero — image driven */
.cat-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--secondary);
}
.cat-hero__bg { position: absolute; inset: 0; }
.cat-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cat-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.7) 50%, rgba(26,26,46,0.4) 100%);
}
.cat-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 40px 0;
}
.cat-hero__crumbs {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 10px;
}
.cat-hero__crumbs ol {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.cat-hero__crumbs li { display: inline; }
.cat-hero__crumbs a { color: rgba(255,255,255,0.55); transition: 0.2s; }
.cat-hero__crumbs a:hover { color: #fff; }
.cat-hero__crumbs .sep { margin: 0 8px; }
.cat-hero .wrap { position: relative; z-index: 1; }
.cat-hero h1 {
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 8px;
}
.cat-hero h1 em { font-style: italic; color: var(--primary); font-weight: 700; }
.cat-hero__desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    line-height: 1.55;
    margin: 0;
}
.cat-hero__meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}
.cat-hero__meta span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}
.cat-hero__meta strong { color: rgba(255,255,255,0.7); }

/* Category Nav — horizontal scroll pills */
.cat-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 60px;
    z-index: 90;
}
.cat-nav__inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.cat-nav__inner::-webkit-scrollbar { display: none; }
.cat-nav__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.cat-nav__pill:hover,
.cat-nav__pill.is-active,
.cat-nav__pill--active {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}
.cat-nav__count {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
    padding: 1px 7px;
    border-radius: 50px;
    transition: 0.2s;
}
.cat-nav__pill:hover .cat-nav__count,
.cat-nav__pill.is-active .cat-nav__count,
.cat-nav__pill--active .cat-nav__count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Top Products for category */
.cat-products {
    padding: 32px 0 28px;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
}
.cat-products__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}
.cat-products__header h2 {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}
.cat-products__header h2 em { font-style: italic; color: var(--primary); font-weight: 700; }
.cat-products__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.cat-products__link:hover { gap: 8px; }
.cat-products h2 { font-size: 1.6rem; margin-bottom: 24px; }
.cat-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cat-pcard {
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: 0.3s;
    position: relative;
    text-decoration: none;
}
.cat-pcard:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.cat-pcard__rank {
    position: absolute;
    top: -8px;
    left: 16px;
    background: var(--secondary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
}
.cat-pcard__rank--gold { background: var(--primary); }
.cat-pcard__img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 8px;
}
.cat-pcard__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-pcard__body { flex: 1; min-width: 0; }
.cat-pcard__name { font-size: 0.88rem; font-weight: 700; color: var(--secondary); line-height: 1.3; margin-bottom: 2px; }
.cat-pcard__stars { color: var(--amazon); font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 6px; }
.cat-pcard__price { font-size: 1.05rem; font-weight: 800; color: var(--secondary); }
.cat-pcard__cta {
    display: block;
    margin-top: 8px;
    padding: 7px 14px;
    background: var(--amazon);
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    transition: 0.2s;
}
.cat-pcard__cta:hover { background: var(--amazon-dark); color: #fff; }
/* Keep old class names working from PHP template */
.cat-pcard__info { flex: 1; min-width: 0; }
.cat-pcard__info h3 {
    font-family: var(--body);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    margin: 0 0 2px;
}
.cat-pcard__action { flex-shrink: 0; }

/* Featured Article — large hero */
.cat-featured { padding: 64px 0 0; }
.cat-featured__card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
    text-decoration: none;
}
.cat-featured__card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.cat-featured__img { overflow: hidden; min-height: 320px; }
.cat-featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.cat-featured__card:hover .cat-featured__img img { transform: scale(1.04); }
.cat-featured__body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cat-featured__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 14px;
}
.cat-featured__label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--primary);
}
.cat-featured__title {
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 14px;
}
.cat-featured__excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}
.cat-featured__meta { font-size: 0.82rem; color: var(--text-muted); }
.cat-featured__meta strong { color: var(--text); font-weight: 600; }
.cat-featured__arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s;
}
.cat-featured__card:hover .cat-featured__arrow { gap: 10px; }
/* Keep old class names working from PHP template */
.cat-featured__body h3 {
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 14px;
}
.cat-featured__body h3 a { color: var(--secondary); text-decoration: none; }
.cat-featured__body h3 a:hover { color: var(--primary); }
.cat-featured__body p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

/* Article List — editorial style */
.cat-articles { padding: 56px 0 80px; }
.cat-articles__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--secondary);
}
.cat-articles__header h2 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}
.cat-articles__count { font-size: 0.85rem; color: var(--text-muted); }
.cat-articles h2 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary);
}
.cat-articles__list { display: flex; flex-direction: column; gap: 0; }

.article-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: 0.2s;
    text-decoration: none;
}
.article-row:hover {
    background: rgba(248,240,232,0.5);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: var(--r);
}
.article-row__img {
    aspect-ratio: 16/11;
    border-radius: var(--r);
    overflow: hidden;
}
.article-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.article-row:hover .article-row__img img { transform: scale(1.05); }
.article-row__body { flex: 1; min-width: 0; }
.article-row__cat {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 6px;
    display: inline-block;
}
.article-row__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
    margin-bottom: 6px;
}
.article-row__body h3 {
    font-family: var(--body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 6px;
    line-height: 1.35;
}
.article-row:hover h3 { color: var(--primary); }
.article-row__excerpt {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.article-row__meta { font-size: 0.78rem; color: var(--text-muted); }
.article-row__meta strong { color: var(--text-light); font-weight: 600; }

/* Inline product callout between articles */
.inline-product {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    margin: 8px 0;
    background: var(--primary-light);
    border-radius: var(--r);
    border: 1px solid rgba(224,122,95,0.15);
}
.inline-product__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inline-product__icon img { max-width: 36px; max-height: 36px; object-fit: contain; }
.inline-product__text { flex: 1; }
.inline-product__text strong { font-size: 0.88rem; color: var(--secondary); display: block; margin-bottom: 2px; }
.inline-product__text span { font-size: 0.82rem; color: var(--text-light); }
.inline-product__cta {
    padding: 8px 18px;
    background: var(--amazon);
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0;
    text-decoration: none;
}
.inline-product__cta:hover { background: var(--amazon-dark); color: #fff !important; }
/* Keep old class names working from PHP template */
.inline-product__img {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inline-product__img img { max-width: 36px; max-height: 36px; object-fit: contain; }
.inline-product__info { flex: 1; }
.inline-product__info strong { font-size: 0.88rem; color: var(--secondary); display: block; margin-bottom: 2px; }
.inline-product__info span { font-size: 0.82rem; color: var(--text-light); }
.inline-product__btn {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.78rem;
}
.inline-product__rating { font-size: 0.75rem; color: var(--amazon); letter-spacing: 1px; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    margin-bottom: 80px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    transition: 0.2s;
    text-decoration: none;
}
.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination .is-current,
.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
/* WordPress paginate_links uses .page-numbers */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: 0.2s;
}
.pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: var(--text-muted);
}

/* ==========================================================================
   ARTICLE PAGE  (matches dummy-artikel.html)
   ========================================================================== */

/* Article Header — compact image hero */
.art-header {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.art-header__bg {
    position: absolute;
    inset: 0;
}
.art-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.art-header__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.7) 50%, rgba(26,26,46,0.45) 100%);
}
.art-header__content,
.art-header__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 24px 28px;
    width: 100%;
}
.art-header__cats {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
a.art-header__cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}
a.art-header__cat:hover { background: var(--primary-dark); color: #fff; }
.art-header h1 {
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 12px;
}
.art-header__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
}
.art-header__meta a { color: rgba(255,255,255,0.8); font-weight: 600; }
.art-header__meta a:hover { color: #fff; }
.art-header__meta .author { color: #fff; font-weight: 600; }

/* Article Layout — content + sidebar */
.art-layout {
    display: grid;
    grid-template-columns: var(--content) 1fr;
    gap: 56px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* Quick Verdict */
.verdict {
    background: var(--success-light);
    border: 1px solid rgba(5,150,105,0.15);
    border-radius: var(--r-lg);
    padding: 28px;
    margin-bottom: 36px;
}
.verdict__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--success);
    margin-bottom: 12px;
}
.verdict__label::before { content: '\2713'; }
.verdict__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}
.verdict__text {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 14px;
}
.verdict__pick {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    transition: 0.2s;
}
.verdict__pick:hover { border-color: var(--amazon); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.verdict__pick-img { width: 64px; height: 80px; flex-shrink: 0; }
.verdict__pick-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.verdict__pick-info { flex: 1; min-width: 0; }
.verdict__pick-info strong { font-size: 0.88rem; color: var(--secondary); display: block; margin-bottom: 2px; }
.verdict__pick-info span { font-size: 0.78rem; color: var(--text-muted); display: block; margin-bottom: 0; }
.verdict__pick-cta {
    flex-shrink: 0; padding: 10px 20px;
    background: var(--amazon); color: #fff;
    border-radius: 8px; font-weight: 700; font-size: 0.82rem;
    white-space: nowrap; transition: 0.2s;
}
.verdict__pick:hover .verdict__pick-cta { background: var(--amazon-dark); }
@media (max-width: 560px) {
    .verdict__pick { flex-wrap: wrap; }
    .verdict__pick-cta { width: 100%; text-align: center; }
}
.verdict__pick-rating { font-size: 0.75rem; color: var(--text-muted); display: block; }
.verdict__pick-rating .verdict__stars { color: var(--amazon); font-size: 0.75rem; }

/* Verdict rating */
.verdict__rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.verdict__stars { color: var(--amazon); font-size: 0.85rem; letter-spacing: 1px; }
.verdict__reviews { font-size: 0.75rem; color: var(--text-muted); }

/* Legacy verdict elements (from PHP template) */
.verdict__badge {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.verdict__info { flex: 1; }
.verdict__info h3 {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--success);
    margin: 0 0 4px;
}
.verdict__info p {
    font-size: .9rem;
    color: var(--text-light);
    margin: 0 0 12px;
    line-height: 1.5;
}

/* Article Content */
.entry {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text);
}
.entry p { margin-bottom: 1.4em; }
.entry h2 {
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--secondary);
    margin-top: 56px;
    margin-bottom: 16px;
    padding-top: 28px;
    padding-left: 16px;
    border-top: 2px solid var(--border);
    border-left: 4px solid var(--primary);
}
.entry h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.entry h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 32px;
    margin-bottom: 12px;
}
.entry ul, .entry ol { padding-left: 24px; margin-bottom: 1.4em; }
.entry li { margin-bottom: 0.5em; }
.entry a { color: var(--primary); font-weight: 500; }
.entry a:hover { text-decoration: underline; }
.entry strong { color: var(--secondary); }
.entry blockquote {
    border-left: 4px solid var(--primary);
    margin: 2em 0;
    padding: 16px 24px;
    background: var(--primary-light);
    border-radius: 0 var(--r) var(--r) 0;
    font-style: italic;
}
.entry img { border-radius: var(--r); margin: 2em 0; }

/* Comparison Table */
.comp-table-wrap {
    margin: 32px 0;
    overflow-x: auto;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: #fff;
}
.comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.comp-table thead { background: var(--secondary); color: #fff; }
.comp-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.comp-table th:first-child { border-radius: var(--r-lg) 0 0 0; }
.comp-table th:last-child { border-radius: 0 var(--r-lg) 0 0; }
.comp-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table tbody tr:nth-child(even) { background: var(--bg); }
.comp-table tbody tr:hover { background: var(--primary-light); }
.comp-table .winner { background: var(--primary-light) !important; font-weight: 600; }
.comp-table .stars { color: var(--amazon); letter-spacing: 1px; }
.comp-table .badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 6px;
}
.comp-table .price { font-weight: 800; color: var(--secondary); font-size: 1rem; }

/* Product Box — rich version */
.product {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    margin: 20px 0;
    overflow: hidden;
    transition: 0.3s;
}
.product:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.product .product__top {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    align-items: flex-start;
}
.product .product__badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 4px;
}
.product .product__img {
    width: 100px;
    flex-shrink: 0;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    background: var(--bg);
    border-radius: var(--r);
    padding: 6px;
}
.product .product__img img { max-width: 100%; object-fit: contain; margin: 0; padding: 0; }
.product .product__img.img-broken .product__img-main { display: none; }
.product .product__img.img-broken .product__img-thumbs { display: none; }
.product .product__img.img-broken { min-height: 60px; background: var(--bg-warm); }
.product .product__img.img-broken::after { content: "\2764\FE0F"; font-size: 1.5rem; opacity: .3; }
.product .product__info { flex: 1; min-width: 0; }
.product .product__brand {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin: 0 0 1px;
}
.product .product__name,
.product .product__info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    margin: 0 0 3px;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product .product__rating { display: flex; align-items: center; gap: 6px; margin: 0 0 3px; }
.product .product__stars { color: var(--amazon); font-size: 0.82rem; letter-spacing: 1px; }
.product .product__reviews { font-size: 0.72rem; color: var(--text-muted); }
.product .product__price-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}
.product .product__price { font-size: 1.15rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.product .product__shipping { font-size: 0.72rem; color: var(--success); font-weight: 600; line-height: 1; padding-bottom: 2px; }
.product .product__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--amazon);
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: 0.2s;
    margin-left: auto;
    white-space: nowrap;
}
.product .product__desc { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product .product__updated { font-size: 0.68rem; color: var(--text-muted); margin: 0 0 1px; }
.product .product__cta:hover { background: var(--amazon-dark); color: #fff !important; transform: translateY(-1px); }
.product .product__pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 28px 24px;
    font-size: 0.85rem;
}
.product .product__pros h4, .product .product__cons h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    padding: 0;
}
.product .product__pros h4 { color: var(--success); }
.product .product__cons h4 { color: var(--primary-dark); }
.product .product__pros ul, .product .product__cons ul { list-style: none; padding: 0; margin: 0; }
.product .product__pros li, .product .product__cons li {
    padding: 4px 0 4px 18px;
    position: relative;
    color: var(--text-light);
    line-height: 1.5;
}
.product .product__pros li::before { content: '+'; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.product .product__cons li::before { content: '\2013'; position: absolute; left: 0; color: var(--primary-dark); font-weight: 800; }
.product .product__affiliate {
    padding: 6px 16px;
    border-top: 1px solid var(--border);
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Product thumbnail gallery */
.product .product__img-main { display: block; max-width: 100%; max-height: 80px; object-fit: contain; }
.product .product__img-thumbs { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 2px; justify-content: center; }
.product .product__thumb { box-sizing: border-box; width: 24px; height: 24px; flex-shrink: 0; object-fit: contain; border: 1px solid var(--border); border-radius: 3px; cursor: pointer; opacity: 0.6; transition: all 0.2s; padding: 1px; background: #fff; }
.product .product__thumb:hover { opacity: 1; border-color: var(--text-muted); }
.product .product__thumb.active { opacity: 1; border-color: var(--amazon); }

/* Compact Product Strip (auto-enabled for articles with ≥4 products) */
.product-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    margin: 16px 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color 0.2s;
}
.product-compact:hover { border-color: var(--primary); }
.product-compact__img { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; border-radius: 4px; }
.product-compact__info { flex: 1; min-width: 0; }
.product-compact__name { font-size: 0.85rem; font-weight: 700; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-compact__meta { font-size: 0.75rem; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.product-compact__stars { color: var(--amazon); letter-spacing: 1px; }
.product-compact__price { font-weight: 700; color: var(--secondary); }
.product-compact__cta {
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--amazon);
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.product-compact__cta:hover { background: var(--amazon-dark); color: #fff !important; }

/* Inline Product Box (shortcode-generated, backward compat) */
.nichtraucher-product-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 28px 0;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}
.nichtraucher-product-box:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-badge {
    position: absolute;
    top: -8px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-image {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--r);
}
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-image.img-broken img { display: none; }
.product-image.img-broken { background: var(--bg-warm); border-radius: 8px; }
.product-image.img-broken::after { content: "\2764\FE0F"; font-size: 3rem; opacity: .3; }

.product-info { flex: 1; }
.product-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--secondary); line-height: 1.35; }
.product-price { font-size: 1.4rem; font-weight: 800; color: var(--secondary); margin-bottom: 14px; }
.product-updated { margin: 4px 0 8px; color: var(--text-muted); font-size: 0.72rem; }

.product-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amazon);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: 0.2s;
}
.product-button:hover {
    background: var(--amazon-dark);
    transform: translateY(-1px);
    color: #fff !important;
}

/* Product Grid + Comparison (shortcode containers) */
.nichtraucher-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}
.nichtraucher-product-grid .nichtraucher-product-box { flex-direction: column; text-align: center; margin: 0; }
.nichtraucher-product-grid .product-image { width: 100%; height: 180px; }

.nichtraucher-product-comparison {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-warm);
    border-radius: var(--r-lg);
}
.nichtraucher-product-comparison .nichtraucher-product-box { margin: 0; background: #fff; }
.nichtraucher-product-comparison .nichtraucher-product-box:first-child { border: 2px solid var(--primary); }

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 28px;
    margin-top: 48px;
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}
.author-box__avatar { flex-shrink: 0; }
.author-box__avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}
.author-box__info { flex: 1; }
.author-box__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 4px;
}
.author-box__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}
.author-box__bio {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Related Posts */
.related {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.related h2 {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 24px;
}
.related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.related__card {
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
    text-decoration: none;
}
.related__card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.related__card-img,
.related__card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.related__card-img img,
.related__card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.related__card:hover .related__card-img img,
.related__card:hover .related__card-image img { transform: scale(1.05); }
.related__card-body { padding: 16px; }
.related__card-cat {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.06em;
}
.related__card-title,
.related__card-body h3 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--secondary);
    margin: 0;
}
.related__card-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* Sidebar — TOC + sticky product */
.sidebar { position: relative; }
.sidebar__inner { position: sticky; top: 80px; }

/* TOC */
.toc {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 24px;
}
.toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.toc__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}
.toc__count { font-size: 0.78rem; color: var(--text-muted); }
.toc__list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}
.toc__list li {
    border-left: 2px solid transparent;
}
.toc__list li.is-active,
.toc__list li.active { border-left-color: var(--primary); background: var(--primary-light); }
.toc__list a {
    display: block;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: 0.15s;
    line-height: 1.4;
    text-decoration: none;
}
.toc__list a:hover { color: var(--primary); background: var(--bg); }
.toc__list li.is-active a,
.toc__list li.active a { color: var(--primary); font-weight: 600; }
.toc__list .toc__sub {
    list-style: none;
    margin: 4px 0 0;
    padding: 0 0 0 12px;
}
.toc__sub a { font-size: .8rem; color: var(--text-muted); }

/* Sidebar product card */
.side-product {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
    text-align: center;
}
.side-product__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 12px;
}
.side-product__img,
.side-product__image {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.side-product__img img,
.side-product__image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.side-product__name,
.side-product__title,
.side-product h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}
.side-product__stars { color: var(--amazon); font-size: 0.78rem; margin-bottom: 8px; }
.side-product__price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}
.side-product__cta {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--amazon);
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255,153,0,0.3);
}
.side-product__cta:hover { background: var(--amazon-dark); color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,153,0,0.4); }
.side-product__rating-count { color: var(--amazon); font-size: 0.75rem; font-weight: 500; }
.side-product__note { font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; }

/* Sticky Mobile Product Bar */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 10px 16px;
}
.mobile-bar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.mobile-bar__img { width: 40px; height: 40px; flex-shrink: 0; }
.mobile-bar__img img { width: 100%; height: 100%; object-fit: contain; }
.mobile-bar__info { flex: 1; min-width: 0; }
.mobile-bar__name,
.mobile-bar__text,
.mobile-bar__info strong {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.mobile-bar__price { font-size: 0.85rem; font-weight: 800; color: var(--secondary); }
.mobile-bar__cta {
    padding: 10px 20px;
    background: var(--amazon);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0;
    text-decoration: none;
}
.mobile-bar__cta:hover { background: var(--amazon-dark); color: #fff; }

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.breadcrumbs li + li::before {
    content: '\203A';
    margin: 0 8px;
    color: rgba(255,255,255,0.7);
}
.breadcrumbs a { color: rgba(255,255,255,0.75); text-decoration: none; transition: 0.2s; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: rgba(255,255,255,0.4); }

/* Breadcrumbs in light context */
.breadcrumbs--light a { color: var(--text-muted); }
.breadcrumbs--light a:hover { color: var(--primary); }
.breadcrumbs--light li + li::before { color: var(--border); }
.breadcrumbs--light span[aria-current] { color: var(--text-light); }

/* Disclosures */
.disclosure {
    background: var(--bg-warm);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
}
.disclosure--medical { border-left-color: #e67e22; }
.disclosure strong { color: var(--text); }
.disclosure a { color: var(--primary); font-weight: 500; }
.disclosure + .disclosure { margin-top: 0; }
.disclosures { margin-bottom: 32px; }

/* Affiliate / Medical Disclosures (shortcodes) */
.affiliate-disclosure {
    background: var(--bg-warm);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
}
.affiliate-disclosure small { font-size: .82rem; color: var(--text-light); line-height: 1.55; }
.affiliate-disclosure strong { color: var(--text); }
.affiliate-disclosure a { color: var(--primary); font-weight: 500; }
.affiliate-disclosure.medical-disclaimer { border-left-color: #e67e22; margin-top: 0; }
.medical-disclaimer {
    background: #fef9f3;
    border-left: 3px solid #e67e22;
    padding: 14px 18px;
    margin: 32px 0 24px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-light);
    border-radius: 0 var(--r) var(--r) 0;
}
.medical-disclaimer strong { color: var(--text); }

/* Amazon Search Box */
.nichtraucher-amazon-search { max-width: 600px; margin: 30px auto; }
.amazon-search-wrapper {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.amazon-search-field {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    font-family: inherit;
}
.amazon-search-field:focus { outline: none; border-color: var(--amazon); }
.amazon-search-button {
    padding: 14px 24px;
    background: var(--amazon);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.amazon-search-button:hover { background: var(--amazon-dark); }

/* SEO Text Section */
.seo-text { padding: 64px 0; background: #fff; }
.seo-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    margin-top: 0;
}
.seo-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 32px 0 12px;
}
.seo-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.4em;
}
.seo-text a { color: var(--primary); font-weight: 500; }
.seo-text a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Hide wpautop artifacts */
.nichtraucher-product-grid > br,
.nichtraucher-product-comparison > br,
.nichtraucher-product-grid > p,
.nichtraucher-product-comparison > p { display: none !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    /* Homepage */
    .finder__grid { grid-template-columns: repeat(2, 1fr); }
    .finder__tile { aspect-ratio: 4/3; }
    .products__grid { grid-template-columns: repeat(3, 1fr); }
    .editorial__grid { grid-template-columns: 1fr; }
    .editorial__side { flex-direction: row; }

    /* Article */
    .art-layout { grid-template-columns: 1fr; gap: 0; }
    .sidebar__inner { position: static; }
    .sidebar { order: -1; margin-bottom: 32px; }
    .toc { max-width: 100%; }
    .side-product { display: none; }
    .related__grid { grid-template-columns: repeat(2, 1fr); }

    /* Category */
    .cat-products__grid { grid-template-columns: 1fr 1fr; }
    .cat-featured__card { grid-template-columns: 1fr; }
    .cat-featured__img { min-height: 240px; }
    .cat-featured__body { padding: 24px; }

    /* Footer */
    .ft__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    /* Header */
    .hd__nav { display: none; }
    .hd__toggle { display: block; }
    .hd.open .hd__nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--secondary);
        padding: 16px 24px;
        border-top: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 8px 30px rgba(0,0,0,.2);
    }
    .hd.open .hd__nav a {
        padding: 12px 0;
        font-size: 1rem;
    }

    /* Homepage — Hero */
    .hero { min-height: 85vh; }
    .hero h1 { font-size: 2rem; }
    .hero__sub { font-size: 1rem; }
    .hero__scroll { display: none; }

    /* Homepage — Finder */
    .finder__intro h2 { font-size: 1.8rem; }
    .finder__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .finder__tile { aspect-ratio: 3/4; }

    /* Homepage — Products */
    .product-hero { grid-template-columns: 1fr; }
    .product-hero__image { padding: 32px; }
    .product-hero__body { padding: 24px; }
    .products__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .products__top h2 { font-size: 1.6rem; }

    /* Homepage — Editorial */
    .editorial__side { flex-direction: column; }
    .editorial__card-img { width: 100px; height: 80px; }

    /* Homepage — Motivation */
    .motivation__quote { font-size: 1.5rem; }
    .motivation__stats { gap: 24px; flex-wrap: wrap; }

    /* Category */
    .cat-hero { min-height: 180px; }
    .cat-hero h1 { font-size: 1.6rem; }
    .cat-products__grid { grid-template-columns: 1fr; }
    .cat-featured__body { padding: 24px; }
    .cat-featured__title { font-size: 1.35rem; }
    .article-row { grid-template-columns: 140px 1fr; gap: 16px; }
    .article-row__title { font-size: 1rem; }
    .article-row__body h3 { font-size: 1rem; }
    .inline-product { flex-wrap: wrap; }
    .cat-pcard { flex-wrap: wrap; }
    .cat-pcard__action { width: 100%; }
    .cat-pcard__action .btn { width: 100%; }

    /* Article */
    .art-header { min-height: 200px; }
    .art-header h1 { font-size: 1.6rem; }
    .product__top { flex-direction: column; align-items: center; text-align: center; }
    .product__img { width: 100%; }
    .product__img-main { max-height: 80px; }
    .product__img-thumbs { justify-content: center; }
    .product__thumb { width: 24px; height: 24px; }
    .product__cta { width: 100%; justify-content: center; }
    .product__pros-cons { grid-template-columns: 1fr; }
    .nichtraucher-product-box { flex-direction: column; text-align: center; padding: 20px; }
    .product-image { width: 120px; height: 120px; }
    .product-button { display: block; width: 100%; text-align: center; }
    .product-compact { gap: 8px; padding: 8px 12px; }
    .product-compact__name { font-size: 0.78rem; }
    .product-compact__cta { padding: 5px 10px; font-size: 0.7rem; }
    .nichtraucher-product-grid { grid-template-columns: 1fr; }
    .comp-table { font-size: 0.8rem; }
    .comp-table th, .comp-table td { padding: 10px 12px; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .related__grid { grid-template-columns: 1fr; }
    .mobile-bar { display: block; }

    /* Footer */
    .ft__grid { grid-template-columns: 1fr; gap: 24px; }
    .ft__grid .ft__brand { text-align: center; }
}

@media (max-width: 480px) {
    /* Homepage — Hero */
    .hero h1 { font-size: 1.7rem; }
    .hero__actions { flex-direction: column; }

    /* Homepage — Finder */
    .finder__grid { grid-template-columns: 1fr; }
    .finder__tile { aspect-ratio: 16/9; }

    /* Homepage — Products */
    .products__grid { grid-template-columns: 1fr; }
    .product-card { padding: 16px; }
    .product-card__img { width: 80px; height: 80px; }

    /* Homepage — Trust & Motivation */
    .trust__inner { gap: 20px; }
    .motivation__stat-num { font-size: 1.8rem; }

    /* Category */
    .cat-hero h1 { font-size: 1.6rem; }
    .article-row { grid-template-columns: 1fr; }
    .article-row__img { aspect-ratio: 16/9; }
    .cat-pcard { flex-direction: column; text-align: center; }
    .cat-pcard__img { margin: 0 auto; }

    /* Article */
    .art-header h1 { font-size: 1.4rem; }
}

/* ---------- Page Template (Über uns, Impressum, Datenschutz) ---------- */
.page-article {
    max-width: var(--content);
    margin: 0 auto;
}
.page-article__title {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.page-article__body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}
.page-article__body h2 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 2rem 0 0.75rem;
}
.page-article__body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 1.5rem 0 0.5rem;
}
.page-article__body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 1.25rem 0 0.5rem;
}
.page-article__body p {
    margin-bottom: 1rem;
}
.page-article__body ul, .page-article__body ol {
    margin: 0.5rem 0 1rem 1.5rem;
}
.page-article__body li {
    margin-bottom: 0.4rem;
}
.page-article__body a {
    color: var(--primary);
    text-decoration: underline;
}
.page-article__body a:hover {
    color: var(--primary-dark);
}
