/* ============================================
   PurePhyte — Complete Stylesheet
   Design: Deep forest green + warm cream + sage
   Fonts: Fraunces (display) + Inter (body)
   ============================================ */

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

:root {
    --forest:   #1a3a2a;
    --sage:     #4a7c59;
    --mint:     #7fb08a;
    --cream:    #f8f4ed;
    --parchment:#efe9de;
    --bark:     #7a5c3a;
    --text:     #2c2c2c;
    --muted:    #6b7280;
    --white:    #ffffff;
    --gold:     #c8973a;
    --radius:   10px;
    --shadow:   0 4px 24px rgba(26,58,42,0.10);
    --shadow-lg:0 8px 40px rgba(26,58,42,0.15);
    --transition: 0.22s ease;
    --max-w:    1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--forest); }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--forest);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
em { font-style: italic; }

/* --- LAYOUT --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}
.btn-primary {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}
.btn-primary:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74,124,89,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--sage);
    border-color: var(--sage);
}
.btn-outline:hover {
    background: var(--sage);
    color: var(--white);
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: #a87830;
    border-color: #a87830;
    color: var(--white);
    transform: translateY(-2px);
}
.btn-nav {
    background: var(--forest);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.88rem;
}
.btn-nav:hover {
    background: var(--sage);
    color: var(--white) !important;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* --- DISCLOSURE BAR --- */
.disclosure-bar {
    background: var(--forest);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    padding: 0.5rem 0;
    text-align: center;
}
.disclosure-bar strong { color: var(--white); }

/* --- NAVIGATION --- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid rgba(26,58,42,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(26,58,42,0.08);
}
.navbar { padding: 0; }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 2rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-leaf { font-size: 1.6rem; }
.logo-text {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--forest);
    letter-spacing: -0.02em;
}
.logo-text em { color: var(--sage); font-style: italic; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.93rem;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    display: block;
    transition: all var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--forest);
    background: var(--parchment);
}
.arrow { font-size: 0.75rem; }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid rgba(26,58,42,0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 200;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 0.65rem 1.2rem;
    color: var(--text);
    font-size: 0.9rem;
    transition: background var(--transition);
}
.dropdown-menu li a:hover {
    background: var(--parchment);
    color: var(--forest);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--forest);
    display: block;
    transition: all var(--transition);
    border-radius: 2px;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, var(--forest) 0%, #2d5a3d 50%, #1a3a2a 100%);
    color: var(--white);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--mint);
    margin-bottom: 1.5rem;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 300;
}
.hero h1 strong {
    font-weight: 700;
    display: block;
    color: #a8d5b5;
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-item { text-align: center; }
.trust-item .num {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--mint);
    display: block;
}
.trust-item .label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform var(--transition);
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card .icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hero-card h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.25rem; }
.hero-card p { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin: 0; }
.hero-card.wide { grid-column: 1 / -1; }

/* --- CATEGORY PILLS --- */
.categories-section {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(26,58,42,0.08);
}
.category-pills {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }
.pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: var(--parchment);
    color: var(--forest);
    font-weight: 500;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: all var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}
.pill:hover, .pill.active {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

/* --- SECTION HEADINGS --- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage);
    margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* --- ARTICLE CARDS --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.article-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-cat-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--forest);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.article-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-body h3 { font-size: 1.2rem; margin-bottom: 0.75rem; line-height: 1.35; }
.article-body h3 a { color: var(--forest); }
.article-body h3 a:hover { color: var(--sage); }
.article-excerpt { color: var(--muted); font-size: 0.9rem; flex: 1; margin-bottom: 1.5rem; }
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--muted);
    border-top: 1px solid var(--parchment);
    padding-top: 1rem;
    margin-top: auto;
}
.article-meta .read-more {
    color: var(--sage);
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- PRODUCT CARDS --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
}
.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}
.product-img {
    height: 200px;
    overflow: hidden;
    background: var(--parchment);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.product-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.product-desc { font-size: 0.85rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }
.product-rating { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem; }
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: -1px; }
.rating-count { font-size: 0.78rem; color: var(--muted); }
.product-price { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1rem; }
.price-current { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; color: var(--forest); }
.price-original { font-size: 0.9rem; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 0.78rem; background: #e8f5e9; color: #2e7d32; padding: 0.15rem 0.5rem; border-radius: 50px; font-weight: 600; }
.product-cta { width: 100%; text-align: center; }

/* --- STAR GENERATOR --- */
.star-filled::before { content: '★'; }
.star-empty::before { content: '☆'; }

/* --- NEWSLETTER BANNER --- */
.newsletter-banner {
    background: linear-gradient(135deg, var(--forest), #2d5a3d);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-banner::before {
    content: '🌿';
    position: absolute;
    font-size: 15rem;
    opacity: 0.04;
    right: -2rem;
    top: -2rem;
    pointer-events: none;
}
.newsletter-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.newsletter-banner p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 2rem; }
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.85rem 1.25rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--mint); }
.newsletter-perks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.newsletter-perks span { font-size: 0.83rem; color: rgba(255,255,255,0.65); }
.newsletter-perks span::before { content: '✓  '; color: var(--mint); }

/* --- TRUST BAR --- */
.trust-bar {
    background: var(--parchment);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(26,58,42,0.08);
    border-bottom: 1px solid rgba(26,58,42,0.08);
}
.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.trust-block .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.trust-block h4 { font-size: 0.95rem; color: var(--forest); margin-bottom: 0.25rem; }
.trust-block p { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* --- ARTICLE SINGLE --- */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
.article-content h2 { margin: 2rem 0 1rem; }
.article-content h3 { margin: 1.75rem 0 0.75rem; }
.article-content p { margin-bottom: 1.25rem; color: #3a3a3a; }
.article-content ul, .article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.article-content li { margin-bottom: 0.5rem; list-style: disc; }
.article-content blockquote {
    border-left: 4px solid var(--sage);
    padding: 1rem 1.5rem;
    background: var(--parchment);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    margin: 1.5rem 0;
    color: var(--forest);
}

/* Affiliate product box in articles */
.affiliate-box {
    background: linear-gradient(135deg, var(--parchment), #f0ece3);
    border: 2px solid rgba(26,58,42,0.15);
    border-radius: 16px;
    padding: 1.75rem;
    margin: 2.5rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.affiliate-box img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.affiliate-box-info h4 { color: var(--forest); margin-bottom: 0.25rem; }
.affiliate-box-info .brand { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.affiliate-box-info .price { font-size: 1.4rem; font-family: 'Fraunces', serif; font-weight: 700; color: var(--forest); margin: 0.5rem 0; }
.affiliate-note { font-size: 0.72rem; color: var(--muted); margin-top: 0.5rem; }

/* --- SIDEBAR --- */
.sidebar { position: sticky; top: 100px; }
.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}
.sidebar-widget h4 {
    font-size: 1rem;
    color: var(--forest);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--parchment);
}
.related-list li { border-bottom: 1px solid var(--parchment); padding: 0.65rem 0; }
.related-list li:last-child { border-bottom: none; }
.related-list a { color: var(--text); font-size: 0.88rem; font-weight: 500; }
.related-list a:hover { color: var(--sage); }

/* --- PAGE HERO --- */
.page-hero {
    background: var(--forest);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- BREADCRUMB --- */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.82rem;
    color: var(--muted);
}
.breadcrumb a { color: var(--sage); }
.breadcrumb span { margin: 0 0.4rem; }

/* --- FORMS --- */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid #e0ddd6;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* --- ALERT MESSAGES --- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.alert-success { background: #e8f5e9; color: #1b5e20; border-left: 4px solid #4caf50; }
.alert-error   { background: #fce4ec; color: #880e4f; border-left: 4px solid #e91e63; }

/* --- FOOTER --- */
.site-footer {
    background: var(--forest);
    color: rgba(255,255,255,0.75);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-logo em { color: var(--mint); font-style: italic; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--sage);
    color: var(--white);
    transform: translateY(-2px);
}
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--mint); }
.footer-form { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-form input {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.88rem;
    outline: none;
}
.footer-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-form .btn-primary { background: var(--sage); border-color: var(--sage); font-size: 0.85rem; padding: 0.7rem 1rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}
.footer-bottom p { margin-bottom: 0.5rem; }
.disclaimer-text { max-width: 700px; margin: 0.5rem auto 0; font-size: 0.75rem; }

/* --- PAGINATION --- */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--parchment);
    background: var(--white);
    color: var(--text);
    transition: all var(--transition);
}
.pagination a:hover, .pagination span.current {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

/* --- ABOUT PAGE --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.value-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-cards { max-width: 500px; }
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-items { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.5rem 2rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-links.open { max-height: 600px; }
    .nav-links > li > a { padding: 0.75rem 0; border-bottom: 1px solid var(--parchment); border-radius: 0; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--parchment); margin: 0.25rem 0 0.5rem; }
    .hero { padding: 4rem 0 3rem; }
    .hero-trust { flex-wrap: wrap; gap: 1.5rem; }
    .newsletter-form { flex-direction: column; }
    .affiliate-box { flex-direction: column; text-align: center; }
    .about-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-cards { grid-template-columns: 1fr; }
    .hero-card.wide { grid-column: 1; }
    .trust-items { grid-template-columns: 1fr 1fr; }
}

/* --- UTILITIES --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-3 { margin-bottom: 2rem; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-parchment { background: var(--parchment); }

/* --- LOADING / EMPTY STATES --- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; }

/* --- SEARCH BAR IN NAV --- */
.nav-search {
    display: flex;
    align-items: center;
    background: var(--parchment);
    border-radius: 50px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    gap: 0.4rem;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}
.nav-search:focus-within { border-color: var(--sage); }
.nav-search input {
    background: none;
    border: none;
    outline: none;
    font-size: 0.85rem;
    color: var(--text);
    width: 160px;
    font-family: 'Inter', sans-serif;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search button {
    background: var(--sage);
    border: none;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition);
}
.nav-search button:hover { background: var(--forest); }

/* --- QUIZ STYLES --- */
.quiz-option-label:has(input:checked) {
    border-color: var(--sage) !important;
    background: #e8f5e9 !important;
}

/* --- COMPARISON TABLE --- */
.comparison-table-wrap { overflow-x: auto; }

/* --- REVIEW STARS --- */
.star-picker { display: flex; gap: 0.25rem; margin-bottom: 0.5rem; }

/* --- ADMIN REVIEWS BADGE --- */
.nav-badge {
    background: #c8973a;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 50px;
    margin-left: 0.3rem;
    vertical-align: middle;
}

@media (max-width: 1100px) {
    .nav-search input { width: 120px; }
}
@media (max-width: 768px) {
    .nav-search { display: none; }
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] {
    --forest:   #a8d5b5;
    --sage:     #7fb08a;
    --mint:     #4a7c59;
    --cream:    #0f1a14;
    --parchment:#1a2e20;
    --bark:     #c4a882;
    --text:     #e8e4dd;
    --muted:    #8a9e8f;
    --white:    #162219;
    --gold:     #f0b84a;
}
[data-theme="dark"] body            { background: #0f1a14; color: var(--text); }
[data-theme="dark"] .site-header    { background: #162219; border-color: #2a4030; }
[data-theme="dark"] .logo-text      { color: #a8d5b5; }
[data-theme="dark"] .nav-links > li > a { color: #c8dfd0; }
[data-theme="dark"] .nav-links > li > a:hover,
[data-theme="dark"] .nav-links > li > a.active { background: #1a2e20; color: #a8d5b5; }
[data-theme="dark"] .dropdown-menu  { background: #162219; border-color: #2a4030; }
[data-theme="dark"] .article-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .sidebar-widget { background: #162219; }
[data-theme="dark"] .section.bg-white { background: #0f1a14 !important; }
[data-theme="dark"] .section.bg-cream { background: #111d16 !important; }
[data-theme="dark"] .trust-bar       { background: #1a2e20; }
[data-theme="dark"] h1,h2,h3,h4,h5  { color: #a8d5b5; }
[data-theme="dark"] .article-content { color: #d4cfc8; }
[data-theme="dark"] .faq-question    { background: #162219 !important; color: #a8d5b5 !important; }
[data-theme="dark"] .faq-question:hover { background: #1a2e20 !important; }
[data-theme="dark"] .faq-list        { border-color: #2a4030; }
[data-theme="dark"] .faq-item        { border-color: #2a4030; }
[data-theme="dark"] .site-footer     { background: #080f0a; }
[data-theme="dark"] .nav-search      { background: #1a2e20; }
[data-theme="dark"] .nav-search input { color: #c8dfd0; }
[data-theme="dark"] .disclosure-bar  { background: #080f0a; }

/* Dark mode toggle button */
.dark-toggle {
    background: none;
    border: 1.5px solid rgba(26,58,42,0.2);
    border-radius: 50px;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text);
    transition: all var(--transition);
    flex-shrink: 0;
}
.dark-toggle:hover { background: var(--parchment); }
[data-theme="dark"] .dark-toggle { border-color: #2a4030; color: #a8d5b5; }

/* ============================================
   READING PROGRESS BAR (injected via PHP)
   ============================================ */
#readingProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--sage), var(--mint));
    z-index: 9998;
    transition: width 0.1s linear;
}

/* ============================================
   STICKY MOBILE BUY BUTTON
   ============================================ */
#stickyBuy {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--parchment);
    padding: 0.75rem 1rem;
    z-index: 9990;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
}
[data-theme="dark"] #stickyBuy { background: #162219; border-color: #2a4030; }

/* ============================================
   AUTO-LINKED KEYWORDS
   ============================================ */
.auto-link {
    color: var(--sage);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}
.auto-link:hover { color: var(--forest); text-decoration-style: solid; }

/* ============================================
   PRICE COMPARISON WIDGET
   ============================================ */
[data-theme="dark"] .price-comparison-widget { background: #162219; border-color: #2a4030; }
[data-theme="dark"] .pcw-row.pcw-best { background: #1a2e20; }
[data-theme="dark"] .pcw-footer { background: #1a2e20; }
