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

:root {
    --cream: #faf5ef;
    --cream-dark: #f0e6d8;
    --warm-white: #fffcf8;
    --sage: #7c9a82;
    --sage-light: #e8f0e9;
    --sage-dark: #5f7d65;
    --navy: #2d3a4a;
    --navy-light: #4a5568;
    --dusty-rose: #c9a9a6;
    --dusty-rose-light: #f2e8e7;
    --coral: #d4845e;
    --coral-light: #f5ddd0;
    --muted-purple: #8b7d9c;
    --text: #3d3d3d;
    --text-light: #6b6b6b;
    --border: #e8ddd2;
    --shadow: rgba(45, 58, 74, 0.08);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Nunito', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--warm-white);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    background: rgba(250, 245, 239, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 2rem;
}
nav .inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
nav .logo-text {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}
nav .logo-text span { color: var(--sage); }
nav .links { display: flex; gap: 2rem; align-items: center; }
nav .links a {
    color: var(--navy-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}
nav .links a:hover { color: var(--sage); }
nav .links .subscribe-btn {
    background: var(--sage);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    font-size: 0.85rem;
}
nav .links .subscribe-btn:hover { background: var(--sage-dark); color: white; }

/* HERO */
.hero {
    background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
    text-align: center;
    padding: 4rem 2rem 5rem;
}
.hero .logo-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px var(--shadow);
}
.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero h1 em { color: var(--sage); font-style: italic; }
.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.hero .categories-row {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}
.hero .cat-pill {
    padding: 0.5rem 1.2rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-light);
    text-decoration: none;
    transition: all 0.2s;
}
.hero .cat-pill:hover {
    background: var(--sage-light);
    border-color: var(--sage);
    color: var(--sage-dark);
}
.hero .cat-pill .icon { margin-right: 0.4rem; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header .eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.5rem;
}
.section-header h2 {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.8rem;
}
.section-header p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* FEATURED PICKS */
#picks { background: var(--warm-white); }
.picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow);
}
.product-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-img .placeholder-icon {
    font-size: 3rem;
    opacity: 0.6;
}
.product-img .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-favorite { background: var(--dusty-rose-light); color: #9c6b67; }
.badge-trending { background: var(--coral-light); color: #a5603c; }
.badge-new { background: var(--sage-light); color: var(--sage-dark); }

.product-info {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-info .category-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage);
    margin-bottom: 0.4rem;
}
.product-info h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.product-info .desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}
.product-info .rating {
    color: var(--coral);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}
.product-info .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-info .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}
.btn-shop {
    display: inline-block;
    padding: 0.55rem 1.3rem;
    background: var(--sage);
    color: white;
    text-decoration: none;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-shop:hover { background: var(--sage-dark); }

/* CATEGORIES SECTION */
#categories { background: var(--cream); }
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.cat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s;
}
.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow);
    border-color: var(--sage);
}
.cat-card .cat-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.cat-card h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.cat-card p {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* HOW IT WORKS */
#how { background: var(--warm-white); }
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.how-step {
    text-align: center;
    padding: 1.5rem;
}
.how-step .step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--sage-dark);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.how-step h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.how-step p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* NEWSLETTER */
.newsletter {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--cream) 50%, var(--dusty-rose-light) 100%);
    text-align: center;
    padding: 5rem 2rem;
}
.newsletter h2 {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 0.8rem;
}
.newsletter p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}
.newsletter form {
    display: flex;
    gap: 0.8rem;
    max-width: 440px;
    margin: 0 auto;
}
.newsletter input[type="email"] {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 28px;
    font-family: var(--sans);
    font-size: 0.9rem;
    background: white;
    outline: none;
    transition: border-color 0.2s;
}
.newsletter input[type="email"]:focus { border-color: var(--sage); }
.newsletter input[type="email"]::placeholder { color: #b5b5b5; }
.newsletter button {
    padding: 0.85rem 1.8rem;
    background: var(--sage);
    color: white;
    border: none;
    border-radius: 28px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.newsletter button:hover { background: var(--sage-dark); }
.newsletter .fine-print {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 1rem;
    opacity: 0.7;
}

/* FOOTER */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    padding: 3rem 2rem 2rem;
}
footer .inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
footer h4 {
    font-family: var(--serif);
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
footer p { font-size: 0.85rem; line-height: 1.7; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
footer a:hover { color: var(--sage); }
footer .bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
}
footer .affiliate-note {
    font-size: 0.78rem;
    font-style: italic;
    opacity: 0.5;
    max-width: 500px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .how-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    footer .inner { grid-template-columns: 1fr; gap: 2rem; }
    footer .bottom { flex-direction: column; gap: 0.5rem; }
    .newsletter form { flex-direction: column; }
    nav .links { gap: 1rem; }
    .picks-grid { grid-template-columns: 1fr 1fr; }
    nav .links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(250, 245, 239, 0.98);
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border);
        z-index: 99;
    }
    nav .links.open { display: flex; }
}
@media (max-width: 480px) {
    .picks-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .hero .categories-row { gap: 0.5rem; }
}

/* MENU TOGGLE (hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--navy);
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
}

/* AFFILIATE DISCLOSURE BAR */
.affiliate-disclosure-bar {
    background: var(--sage-light);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    color: var(--text-light);
}
.affiliate-disclosure-bar a {
    color: var(--sage-dark);
    text-decoration: underline;
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.breadcrumb a {
    color: var(--sage);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* CATEGORY HERO */
.category-hero {
    background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
    padding: 3rem 2rem 4rem;
}

/* PLACEHOLDER CARD */
.placeholder-card {
    width: 100%;
    aspect-ratio: 1;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ACTIVE NAV LINK */
.nav-active {
    color: var(--sage) !important;
    font-weight: 700;
}

/* LINK-IN-BIO PAGE */
.links-page {
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}
.links-page .link-btn {
    display: block;
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.links-page .link-btn:hover {
    background: var(--sage-light);
    border-color: var(--sage);
    color: var(--sage-dark);
}

/* BLOG ARTICLE */
.blog-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.blog-article h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--navy);
    margin: 2rem 0 1rem;
}
.blog-article p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}
.blog-article ul, .blog-article ol {
    margin: 1rem 0 1.5rem 1.5rem;
}
.blog-article li {
    margin-bottom: 0.5rem;
}
.blog-article .summary-box {
    background: var(--cream);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.blog-article .faq-section dt {
    font-weight: 700;
    color: var(--navy);
    margin-top: 1.2rem;
}
.blog-article .faq-section dd {
    margin: 0.5rem 0 1rem 0;
    color: var(--text-light);
}

/* ABOUT SECTION */
.about-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}
.about-section h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--navy);
    margin: 2.5rem 0 1rem;
}
.about-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* MANUAL / DOCS CONTENT */
.manual-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}
.manual-content h2 {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--navy);
    margin: 2rem 0 0.8rem;
    border-bottom: 2px solid var(--sage-light);
    padding-bottom: 0.5rem;
}
.manual-content h3 {
    font-size: 1.1rem;
    color: var(--navy-light);
    margin: 1.5rem 0 0.5rem;
}
.manual-content code {
    background: var(--cream);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.88rem;
}
.manual-content pre {
    background: var(--navy);
    color: #e2e8f0;
    padding: 1.2rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}
.manual-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}
.manual-content .warning {
    background: #fef3cd;
    border-left: 4px solid #f0ad4e;
    padding: 1rem 1.2rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}
.manual-content ol, .manual-content ul {
    margin: 0.8rem 0 1.2rem 1.5rem;
}
.manual-content li {
    margin-bottom: 0.4rem;
}