:root {
    --brand: #458500;
    --brand-dark: #346600;
    --brand-soft: #eef6e6;
    --accent: #f38a00;
    --accent-dark: #d97706;
    --bg: #f8faf7;
    --surface: #ffffff;
    --text: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.07);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

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

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

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Top Disclosure & Promo Bars */
.disclosure-bar {
    background: #1f2937;
    color: #e5e7eb;
    font-size: 0.78rem;
    padding: 6px 0;
}
.disclosure-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.disclosure-bar a {
    color: #a7f3d0;
    font-weight: 600;
    text-decoration: underline;
}

.promo-bar {
    background: var(--brand-soft);
    color: #1e3a00;
    border-bottom: 1px solid #d5e8c3;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    padding: 7px 0;
}

/* Header */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}
.site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    flex-shrink: 0;
}
.brand-logo__mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.brand-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-logo__text strong {
    font-size: 1.3rem;
    color: #111827;
    letter-spacing: -0.02em;
}
.brand-logo__text small {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* Wide Search Bar (iHerb-inspired) */
.header-search {
    flex: 1;
    max-width: 580px;
    display: flex;
    border: 2px solid var(--brand);
    border-radius: 999px;
    overflow: hidden;
    background: #f9fafb;
}
.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
}
.header-search button {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 0 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
}
.header-search button:hover {
    background: var(--brand-dark);
}

.header-links {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-link {
    font-weight: 600;
    color: #374151;
    font-size: 0.92rem;
}
.mobile-nav-toggle {
    display: none;
    background: #f3f4f6;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Category Navigation Bar */
.category-nav {
    background: #fff;
    border-top: 1px solid #f3f4f6;
}
.category-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    padding-top: 6px;
    padding-bottom: 6px;
}
.category-nav__link {
    padding: 7px 13px;
    border-radius: 999px;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}
.category-nav__link:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}
.category-nav__link--highlight {
    color: var(--brand);
    background: var(--brand-soft);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--brand);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.1s, background 0.15s, box-shadow 0.15s;
}
.btn:hover {
    background: var(--brand-dark);
}
.btn--cta {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(243, 138, 0, 0.25);
}
.btn--cta:hover {
    background: var(--accent-dark);
}
.btn--outline {
    background: #fff;
    color: #374151 !important;
    border-color: #d1d5db;
}
.btn--outline:hover {
    border-color: var(--brand);
    color: var(--brand) !important;
    background: var(--brand-soft);
}
.btn--lg {
    padding: 12px 22px;
    font-size: 1rem;
}
.btn--xl {
    padding: 15px 26px;
    font-size: 1.08rem;
    font-weight: 700;
}
.btn--sm {
    padding: 6px 12px;
    font-size: 0.82rem;
}
.btn--block {
    width: 100%;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #eef6e6 0%, #ffffff 65%, #fef8ec 100%);
    border-bottom: 1px solid #e2ecd8;
    padding: 44px 0;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: center;
}
.hero__eyebrow {
    display: inline-block;
    background: #fff;
    color: var(--brand);
    border: 1px solid #cce3b5;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.2;
    margin: 0 0 14px;
    color: #111827;
}
.hero p {
    font-size: 1.04rem;
    color: #4b5563;
    margin: 0 0 22px;
}
.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.trust-card {
    background: #fff;
    border: 1px solid #dce8d0;
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.trust-card__item strong {
    display: block;
    color: var(--brand-dark);
    font-size: 0.95rem;
}
.trust-card__item span {
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 44px 0;
}
.section--alt {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.section-head h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #111827;
}
.section-head p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.section-head__link {
    font-weight: 600;
    font-size: 0.92rem;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.category-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.category-tile:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.category-tile__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}
.category-tile__desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    margin: 0 0 14px;
}
.category-tile__link {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--brand);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.product-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}
.product-card__img-wrap {
    position: relative;
    background: #fff;
    padding: 18px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f3f4f6;
}
.product-card__img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}
.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
}
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}
.badge--brand {
    background: var(--brand-soft);
    color: var(--brand-dark);
}
.badge--ok {
    background: #dcfce7;
    color: #166534;
}
.badge--muted {
    background: #f3f4f6;
    color: #4b5563;
}

.product-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card__brand {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.product-card__brand a {
    color: var(--text-muted);
}
.product-card__title {
    font-size: 0.96rem;
    line-height: 1.38;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__title a {
    color: #111827;
}
.product-card__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.product-card__rating {
    font-size: 0.82rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.stars {
    color: #f59e0b;
    font-size: 0.95rem;
}
.rating-count {
    color: var(--text-muted);
}
.product-card__footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}
.product-card__price-block {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.price-current {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}
.price-checked {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Articles Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
}
.article-card__date {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.article-card__title {
    margin: 6px 0 10px;
    font-size: 1.15rem;
    line-height: 1.35;
}
.article-card__title a {
    color: #111827;
}
.article-card__excerpt {
    font-size: 0.92rem;
    color: #4b5563;
    margin: 0 0 14px;
}
.article-card__more {
    font-weight: 600;
    font-size: 0.88rem;
}

.brand-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.brand-pill {
    background: #fff;
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none !important;
}
.brand-pill:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* Page Wrappers & Breadcrumbs */
.page-wrap {
    padding-top: 24px;
    padding-bottom: 56px;
}
.page-wrap--narrow {
    max-width: 880px;
}
.breadcrumbs {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.listing-header h1 {
    margin: 0;
    font-size: 1.75rem;
}
.listing-header__desc {
    margin: 6px 0 0;
    color: var(--text-muted);
    max-width: 720px;
}
.sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}
.sort-form select {
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.subcat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    font-size: 0.88rem;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 28px;
}
.product-detail__img-box {
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.product-detail__brand {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.product-detail__title {
    font-size: 1.6rem;
    line-height: 1.28;
    margin: 0 0 14px;
    color: #111827;
}
.product-detail__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.meta-chip {
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
}
.meta-chip--rating {
    background: #fef3c7;
    color: #92400e;
}
.product-detail__lead {
    font-size: 1.02rem;
    color: #374151;
    margin: 0 0 20px;
}

.buy-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 22px;
}
.buy-box__price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.buy-box__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}
.buy-box__price-placeholder {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}
.buy-box__timestamp {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.buy-box__disclosure {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.highlights-box h2 {
    font-size: 1.05rem;
    margin: 0 0 8px;
}
.highlights-list {
    margin: 0 0 18px;
    padding-left: 20px;
}
.highlights-list li {
    margin-bottom: 5px;
    font-size: 0.94rem;
}
.product-detail__cats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.product-editorial, .static-page, .article-single {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
}
.product-editorial h2 {
    margin-top: 0;
}
.prose h3 {
    margin-top: 22px;
    margin-bottom: 8px;
    color: #111827;
}
.prose p, .prose li {
    color: #374151;
}

.disclaimer-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.84rem;
    margin-bottom: 24px;
}

/* Article Embedded Picks */
.article-picks {
    margin-top: 32px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.article-picks__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.pick-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: grid;
    grid-template-columns: auto 130px 1fr;
    gap: 18px;
    align-items: center;
    background: #fdfdfd;
}
.pick-card__rank {
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pick-card__note {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 4px;
}
.pick-card__brand {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.pick-card__title {
    margin: 2px 0 6px;
    font-size: 1.1rem;
}
.pick-card__desc {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: #4b5563;
}
.pick-card__bullets {
    margin: 0 0 12px;
    padding-left: 18px;
    font-size: 0.85rem;
}
.pick-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Pagination & Empty States */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 28px;
}
.pagination__link {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    color: #374151;
}
.pagination__link.is-active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.empty-state {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 48px 0 32px;
    margin-top: 40px;
    font-size: 0.88rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #374151;
}
.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.footer-desc {
    color: #9ca3af;
    margin: 0;
}
.site-footer h3 {
    color: #fff;
    font-size: 0.96rem;
    margin: 0 0 12px;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li {
    margin-bottom: 8px;
}
.footer-list a {
    color: #d1d5db;
}
.site-footer__legal {
    padding-top: 22px;
    font-size: 0.78rem;
    color: #9ca3af;
    line-height: 1.55;
}
.site-footer__legal p {
    margin: 0 0 10px;
}

/* Consent Banner */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: #fff;
    padding: 12px 0;
    z-index: 90;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.consent-banner__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.88rem;
}
.consent-banner__actions {
    display: flex;
    gap: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero__inner,
    .product-detail,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
    .pick-card {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 720px) {
    .site-header__top {
        flex-wrap: wrap;
    }
    .header-search {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .header-link {
        display: none;
    }
    .mobile-nav-toggle {
        display: inline-block;
    }
    .category-nav {
        display: none;
    }
    .category-nav.is-open {
        display: block;
    }
    .category-nav__list {
        flex-direction: column;
        align-items: stretch;
    }
}
