/* =============================================
   Baby Junctions — Complete Stylesheet
   Fonts: Nunito (headings/body) + DM Mono (prices)
   Colors: Blue #5BC8F5 · Pink #F26B8A · Yellow #FFD166
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=DM+Mono:wght@400;500&display=swap');

/* ─── CSS Variables ─── */
:root {
    --blue:    #5BC8F5;
    --pink:    #F26B8A;
    --yellow:  #FFD166;
    --white:   #FFFFFF;
    --text:    #2D2D2D;
    --muted:   #6B7280;
    --bg-light:#F8F9FA;
    --border:  #E5E7EB;
    --shadow:  0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius:  12px;
    --radius-sm: 8px;
    --font:    'Nunito', sans-serif;
    --mono:    'DM Mono', monospace;
    --max-w:   1200px;
    --amazon-orange: #FF9900;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--pink); }
ul { list-style: none; }

/* ─── Utility ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.bg-light { background: var(--bg-light); }
.btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--blue); color: var(--white);
    padding: 12px 24px; border-radius: 50px;
    font-weight: 700; font-family: var(--font);
    border: none; cursor: pointer; font-size: 15px;
    transition: all 0.2s;
}
.btn-primary:hover { background: var(--pink); color: var(--white); transform: translateY(-1px); }

/* ─── Header ─── */
.nav-toggle-input { display: none; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border);
    box-shadow: 0 2px 8px rgba(91,200,245,0.12);
}
.header-inner {
    display: flex; align-items: center; gap: 16px;
    padding-top: 10px; padding-bottom: 10px;
}
.site-logo img { height: 52px; width: auto; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 8px; align-items: center; }
.nav-link {
    padding: 8px 18px; border-radius: 50px;
    border: 2px solid var(--blue);
    font-weight: 700; color: var(--blue); font-size: 14px;
    transition: all 0.2s; background: transparent;
}
.nav-link:hover {
    background: var(--blue); color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91,200,245,0.4);
}
/* Funky per-tab colors */
.nav-list > li:nth-child(1) .nav-link { border-color: var(--blue); color: var(--blue); }
.nav-list > li:nth-child(1) .nav-link:hover { background: var(--blue); color: white; box-shadow: 0 4px 12px rgba(91,200,245,0.4); }
.nav-list > li:nth-child(2) .nav-link { border-color: var(--pink); color: var(--pink); }
.nav-list > li:nth-child(2) .nav-link:hover { background: var(--pink); color: white; box-shadow: 0 4px 12px rgba(242,107,138,0.4); }
.nav-list > li:nth-child(3) .nav-link { border-color: #a78bfa; color: #7c3aed; }
.nav-list > li:nth-child(3) .nav-link:hover { background: #a78bfa; color: white; box-shadow: 0 4px 12px rgba(167,139,250,0.4); }
.nav-list > li:nth-child(4) .nav-link { border-color: #f59e0b; color: #b45309; }
.nav-list > li:nth-child(4) .nav-link:hover { background: #f59e0b; color: white; box-shadow: 0 4px 12px rgba(245,158,11,0.4); }

.nav-dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    min-width: 200px; padding: 8px; z-index: 200;
}
.dropdown-menu li a {
    display: block; padding: 8px 12px; border-radius: var(--radius-sm);
    color: var(--text); font-size: 14px; font-weight: 500;
}
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--blue); }
.nav-dropdown:hover .dropdown-menu { display: block; }

.header-search {
    display: flex; gap: 6px;
}
.header-search input {
    padding: 8px 14px; border-radius: 50px; border: 2px solid var(--border);
    font-family: var(--font); font-size: 14px; width: 200px;
    transition: border-color 0.2s;
}
.header-search input:focus { outline: none; border-color: var(--blue); }
.header-search button {
    background: var(--blue); color: white; border: none;
    border-radius: 50%; width: 36px; height: 36px;
    cursor: pointer; font-size: 14px; transition: background 0.2s;
}
.header-search button:hover { background: var(--pink); }

/* Hamburger (CSS-only) */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 4px; margin-left: auto;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all 0.3s;
}
.mobile-menu {
    display: none; background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
    display: block; padding: 10px 12px; border-radius: var(--radius-sm);
    font-weight: 600; color: var(--text); font-size: 15px;
}
.mobile-menu a:hover { background: var(--bg-light); color: var(--blue); }
.mobile-search { display: flex; gap: 8px; margin-top: 12px; }
.mobile-search input {
    flex: 1; padding: 10px 14px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-family: var(--font);
}
.mobile-search button {
    background: var(--blue); color: white; border: none;
    padding: 10px 18px; border-radius: var(--radius-sm);
    font-family: var(--font); font-weight: 700; cursor: pointer;
}

/* CSS-only hamburger toggle */
.nav-toggle-input:checked ~ header .mobile-menu,
.nav-toggle-input:checked + header .mobile-menu { display: block; }

/* ─── Hero ─── */
.hero-banner {
    background: linear-gradient(135deg, #1a1a6e 0%, #6366f1 30%, #ec4899 65%, #F26B8A 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255,209,102,0.15) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(99,102,241,0.3) 0%, transparent 50%);
}
.hero-inner {
    display: grid; grid-template-columns: 1fr auto;
    gap: 48px; align-items: center; position: relative;
}
.hero-text { color: white; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 16px; border-radius: 50px;
    font-size: 13px; font-weight: 700; margin-bottom: 16px;
    backdrop-filter: blur(4px);
}
.hero-text h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900; line-height: 1.15;
    margin-bottom: 16px;
}
.hero-accent { color: var(--yellow); }
.hero-sub { font-size: 18px; opacity: 0.95; margin-bottom: 28px; max-width: 520px; }

.hero-search {
    display: flex; gap: 8px; max-width: 500px; margin-bottom: 32px;
}
.hero-search input {
    flex: 1; padding: 14px 20px; border-radius: 50px;
    border: none; font-family: var(--font); font-size: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-search input:focus { outline: 2px solid var(--yellow); }
.hero-search button {
    background: var(--yellow); color: var(--text); border: none;
    padding: 14px 24px; border-radius: 50px; font-family: var(--font);
    font-weight: 800; cursor: pointer; font-size: 15px;
    transition: all 0.2s; white-space: nowrap;
}
.hero-search button:hover { background: white; transform: scale(1.04); }

.hero-stats {
    display: flex; gap: 32px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--yellow); }
.stat span { font-size: 12px; opacity: 0.9; font-weight: 600; text-transform: uppercase; }

.hero-logo-big {
    width: 320px; height: 320px; object-fit: cover;
    border-radius: 24px;
    border: 4px solid rgba(255,255,255,0.5);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}

/* ─── Section Headers ─── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.section-header p { color: var(--muted); font-size: 17px; }

/* ─── Categories Grid ─── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.category-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 28px 20px;
    background: var(--white); border: 2px solid var(--border);
    border-radius: var(--radius); text-decoration: none;
    color: var(--text); text-align: center;
    transition: all 0.25s;
    box-shadow: var(--shadow);
}
.category-card:hover {
    border-color: var(--blue); transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(91,200,245,0.2);
    color: var(--text);
}
.cat-emoji { font-size: 40px; line-height: 1; }
.category-card h3 { font-size: 16px; font-weight: 800; }
.cat-count {
    font-size: 12px; color: var(--muted);
    background: var(--bg-light); padding: 3px 10px;
    border-radius: 50px; font-weight: 600;
}

/* ─── Article Grid ─── */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.article-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.25s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-body { padding: 20px; }
.card-cat {
    display: inline-block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--pink); background: rgba(242,107,138,0.1);
    padding: 3px 10px; border-radius: 50px; margin-bottom: 8px;
}
.card-body h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; line-height: 1.35; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--blue); }
.card-excerpt { font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.btn-read {
    display: inline-block; font-size: 13px; font-weight: 700;
    color: var(--blue); border: 1.5px solid var(--blue);
    padding: 7px 16px; border-radius: 50px; transition: all 0.2s;
}
.btn-read:hover { background: var(--blue); color: white; }

/* ─── Trust Bar ─── */
.trust-bar { background: rgba(242,107,138,0.07); padding: 56px 0; }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.trust-item { text-align: center; }
.trust-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.trust-item h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.trust-item p { font-size: 14px; color: var(--muted); }

/* ─── Email Opt-in ─── */
.email-optin {
    background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
    padding: 56px 20px; text-align: center; color: white;
}
.optin-inner { max-width: 560px; margin: 0 auto; }
.optin-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.email-optin h3 { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.email-optin p { font-size: 16px; opacity: 0.92; margin-bottom: 24px; }
.optin-fields {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.optin-fields input {
    flex: 1; min-width: 180px; padding: 13px 18px;
    border-radius: 50px; border: none; font-family: var(--font);
    font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-optin {
    background: var(--yellow); color: var(--text); border: none;
    padding: 13px 26px; border-radius: 50px; font-family: var(--font);
    font-weight: 800; font-size: 14px; cursor: pointer;
    white-space: nowrap; transition: all 0.2s;
}
.btn-optin:hover { background: white; transform: scale(1.03); }
.optin-note { font-size: 12px; opacity: 0.8; margin-top: 10px; }
.optin-msg { margin-top: 12px; padding: 10px; border-radius: var(--radius-sm); font-weight: 600; }
.optin-msg.success { background: rgba(255,255,255,0.2); }
.optin-msg.error { background: rgba(0,0,0,0.2); }

/* Sidebar optin variant */
.optin-sidebar { padding: 24px 16px; border-radius: var(--radius); }
.optin-sidebar h3 { font-size: 18px; }
.optin-sidebar .optin-fields { flex-direction: column; }
.optin-sidebar input { min-width: unset; width: 100%; }
.optin-sidebar .btn-optin { width: 100%; text-align: center; }

/* ─── Product Box ─── */
.product-box {
    display: grid; grid-template-columns: 200px 1fr;
    gap: 24px; padding: 24px; border: 2px solid var(--border);
    border-radius: var(--radius); margin-bottom: 24px;
    box-shadow: var(--shadow); background: var(--white);
}
.product-image img, .product-image .product-img-placeholder {
    width: 100%; aspect-ratio: 1; object-fit: contain;
    border-radius: var(--radius-sm); background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
}
.product-name { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.stars { color: #FBBF24; font-size: 18px; }
.rating-num { font-family: var(--mono); font-weight: 500; color: var(--muted); margin-left: 4px; }
.review-count { font-size: 13px; color: var(--muted); }
.product-rating { margin-bottom: 10px; }
.product-specs { margin: 12px 0; }
.product-specs li { font-size: 14px; color: var(--muted); padding: 3px 0; }
.product-price { margin: 16px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mrp { font-size: 14px; color: var(--muted); }
.mrp s { color: var(--muted); }
.badge-discount {
    background: var(--pink); color: white;
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    padding: 3px 10px; border-radius: 50px;
}
.current-price {
    font-family: var(--mono); font-size: 26px; font-weight: 500;
    color: var(--blue);
}
.saving { font-size: 13px; color: #16A34A; font-weight: 700; }
.btn-amazon {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--amazon-orange); color: var(--white);
    padding: 13px 28px; border-radius: var(--radius-sm);
    font-weight: 800; font-size: 15px; border: none;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-amazon:hover { background: #e88c00; color: white; transform: translateY(-1px); }
.affiliate-note { font-size: 11px; color: var(--muted); margin-top: 8px; font-style: italic; }

/* ─── Article Layout ─── */
.article-layout {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 48px; padding-top: 40px; padding-bottom: 64px;
}
.article-content { min-width: 0; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.article-cat-badge {
    display: inline-block; background: rgba(91,200,245,0.12);
    color: var(--blue); font-size: 12px; font-weight: 700;
    text-transform: uppercase; padding: 4px 12px;
    border-radius: 50px; margin-bottom: 12px;
}
.article-content h1 { font-size: clamp(26px,4vw,42px); font-weight: 900; margin-bottom: 16px; line-height: 1.25; }
.article-meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px; font-size: 14px; color: var(--muted);
}
.author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 700; color: var(--text); }
.article-date, .read-time { font-size: 13px; }
.article-hero-img {
    width: 100%; border-radius: var(--radius);
    margin-bottom: 24px; max-height: 440px; object-fit: cover;
}
.inline-disclosure {
    background: rgba(255,209,102,0.18); border-left: 4px solid var(--yellow);
    padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px;
    margin-bottom: 32px;
}
.article-body h2 { font-size: 26px; font-weight: 800; margin: 32px 0 12px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 24px 0 8px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 20px; }
.article-body li { margin-bottom: 6px; }
.article-body img { border-radius: var(--radius-sm); margin: 16px 0; }
.products-section h2 { font-size: 28px; font-weight: 900; margin-bottom: 24px; }
.faq-section h2 { font-size: 28px; font-weight: 900; margin-bottom: 20px; }
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
    padding: 14px 16px; font-weight: 700; cursor: pointer;
    background: var(--bg-light); font-size: 15px;
}
.faq-item summary:hover { background: rgba(91,200,245,0.08); }
.faq-answer { padding: 14px 16px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--border); }
.author-box {
    display: flex; gap: 20px; padding: 24px;
    background: var(--bg-light); border-radius: var(--radius);
    margin-top: 40px; border: 1px solid var(--border);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-avatar-placeholder { width: 72px; height: 72px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; }
.author-info h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.author-info p { font-size: 14px; color: var(--muted); }

/* Sidebar */
.article-sidebar { position: sticky; top: 80px; align-self: start; }
.sidebar-widget {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.sidebar-widget h4 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
#toc-list ol { padding-left: 16px; }
#toc-list li { margin-bottom: 6px; }
#toc-list a { font-size: 13px; color: var(--muted); }
#toc-list a:hover { color: var(--blue); }
.related-list li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.related-list img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.related-list a { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.35; }
.related-list a:hover { color: var(--blue); }

/* ─── Category Page ─── */
.category-main { padding: 40px 0 64px; }
.category-header {
    display: flex; gap: 20px; align-items: center;
    margin-bottom: 40px; padding: 24px;
    background: var(--bg-light); border-radius: var(--radius);
}
.cat-hero-emoji { font-size: 56px; }
.category-header h1 { font-size: 32px; font-weight: 900; margin-bottom: 6px; }
.category-header p { color: var(--muted); }
.post-count-badge {
    display: inline-block; background: var(--blue); color: white;
    font-size: 12px; padding: 3px 12px; border-radius: 50px;
    font-weight: 700; margin-top: 8px;
}

/* ─── Pagination ─── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
    padding: 8px 16px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-weight: 700;
    color: var(--text); font-size: 14px; transition: all 0.2s;
}
.page-btn:hover, .page-btn.active {
    background: var(--blue); border-color: var(--blue); color: white;
}

/* ─── Search ─── */
.search-main { padding: 40px 0 64px; }
.search-main h1 { font-size: 32px; font-weight: 900; margin-bottom: 24px; }
.search-form-large { display: flex; gap: 12px; max-width: 600px; margin-bottom: 24px; }
.search-form-large input {
    flex: 1; padding: 14px 20px; border-radius: var(--radius);
    border: 2px solid var(--border); font-family: var(--font); font-size: 16px;
}
.search-form-large input:focus { outline: none; border-color: var(--blue); }
.search-count { color: var(--muted); margin-bottom: 32px; }
.search-count strong { color: var(--text); }

/* ─── Static Pages ─── */
.page-main { padding: 48px 0 80px; }
.page-content { max-width: 800px; }
.page-content h1 { font-size: 36px; font-weight: 900; margin-bottom: 24px; }
.page-content h2 { font-size: 22px; font-weight: 800; margin: 32px 0 10px; color: var(--blue); }
.page-content p, .page-content li { color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.page-content ul { margin-left: 20px; list-style: disc; }
.page-content a { color: var(--blue); }
.disclaimer-box {
    background: rgba(242,107,138,0.1); border-left: 4px solid var(--pink);
    padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 15px;
}
.page-content code {
    font-family: var(--mono); background: var(--bg-light);
    padding: 2px 8px; border-radius: 4px; font-size: 14px;
}
.about-hero {
    display: flex; gap: 32px; align-items: center;
    background: var(--bg-light); padding: 32px; border-radius: var(--radius);
    margin-bottom: 40px;
}
.lead { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.eeat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 40px; }
.eeat-card {
    background: var(--bg-light); border-radius: var(--radius);
    padding: 24px; border: 1px solid var(--border);
}
.eeat-card span { font-size: 32px; display: block; margin-bottom: 10px; }
.eeat-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.eeat-card p { font-size: 14px; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 40px; }
.team-card { background: var(--bg-light); border-radius: var(--radius); padding: 24px; text-align: center; }
.team-avatar { font-size: 48px; margin-bottom: 12px; }
.team-card h4 { font-weight: 800; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--blue); font-weight: 600; display: block; margin-bottom: 10px; }
.team-card p { font-size: 14px; color: var(--muted); }
.trust-signals ul { list-style: none; margin: 0; }
.trust-signals li { padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--border); }

/* ─── Footer ─── */
.site-footer { display: block; width: 100%; }
.footer-affiliate-bar {
    background: rgba(242,107,138,0.1); padding: 14px 0;
    border-top: 1px solid var(--border);
}
.footer-affiliate-bar p { font-size: 13px; color: var(--muted); }
.footer-main { background: #1a1a2e; color: #ccc; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: #9CA3AF; margin-bottom: 16px; }
.social-links { display: flex; gap: 12px; }
.social-icon { font-size: 22px; }
.footer-col h4 { color: white; font-weight: 800; margin-bottom: 16px; font-size: 15px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: #9CA3AF; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { background: #111; padding: 16px 0; }
.footer-bottom p { text-align: center; font-size: 12px; color: #6B7280; }

/* ─── Empty State ─── */
.empty-state {
    text-align: center; padding: 64px 20px;
    color: var(--muted); font-size: 18px;
}

/* ─── Breadcrumb ─── */
.breadcrumb span { color: var(--text); font-weight: 600; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-logo-big { display: none; }
    .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .main-nav, .header-search { display: none; }
    .hamburger { display: flex; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .category-card { padding: 16px 10px; }
    .cat-emoji { font-size: 28px; }
    .category-card h3 { font-size: 13px; }
    .articles-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .product-box { grid-template-columns: 1fr; }
    .product-image img { max-width: 220px; margin: 0 auto; }
    .hero-stats { gap: 20px; }
    .hero-search { flex-direction: column; }
    .hero-search input, .hero-search button { width: 100%; }
    .eeat-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .about-hero { flex-direction: column; text-align: center; }
    .search-form-large { flex-direction: column; }
    .category-header { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .section-header h2 { font-size: 26px; }
    .hero-text h1 { font-size: 28px; }
    .current-price { font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   UI UPGRADE — April 2026
   ══════════════════════════════════════════════════════════*/

/* ── Product Box: full-width orange CTA ─────────────────── */
.btn-amazon-cta {
    display: block; width: 100%; text-align: center;
    background: var(--amazon-orange);
    color: #fff; font-weight: 800; font-size: 1rem;
    font-family: var(--font);
    padding: 15px 20px; border-radius: var(--radius);
    text-decoration: none; margin: 16px 0 8px;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(255,153,0,.35);
    letter-spacing: .3px;
}
.btn-amazon-cta:hover {
    background: #e68900; color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,153,0,.45);
}

/* Product badges */
.product-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.badge-best-price {
    background: #e8f5e9; color: #2e7d32;
    font-size: 12px; font-weight: 700;
    padding: 4px 10px; border-radius: 50px;
    border: 1px solid #a5d6a7;
}
.badge-hot {
    background: #fff3e0; color: #e65100;
    font-size: 12px; font-weight: 800;
    padding: 4px 10px; border-radius: 50px;
    border: 1px solid #ffcc80;
}

/* Price checked timestamp */
.price-checked {
    display: block; font-size: 11.5px; color: #888;
    margin-top: 4px; font-style: italic;
}

/* ── Helpful bar ─────────────────────────────────────────── */
.helpful-bar {
    display: flex; align-items: center; gap: 12px;
    background: #f0faff; border: 1px solid #b3e5fc;
    border-radius: var(--radius); padding: 14px 20px;
    margin: 20px 0; font-size: 0.93rem; color: #555;
}
.helpful-thumbs { font-size: 1.5rem; }
.helpful-bar strong { color: var(--dark); }

/* ── Mid-article email optin ─────────────────────────────── */
.mid-article-optin {
    display: flex; gap: 16px; align-items: flex-start;
    background: linear-gradient(135deg, #fff8e1 0%, #fff0f5 100%);
    border: 2px solid var(--yellow); border-radius: var(--radius);
    padding: 18px 20px; margin: 28px 0;
}
.optin-inline-icon { font-size: 2rem; flex-shrink: 0; }
.mid-article-optin > div { flex: 1; }
.mid-article-optin strong { display: block; font-size: 0.97rem; margin-bottom: 2px; color: var(--dark); }
.mid-article-optin span { font-size: 0.85rem; color: #666; }
.optin-inline-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.optin-inline-form input[type="email"] {
    flex: 1; min-width: 180px;
    padding: 10px 14px; border-radius: 8px;
    border: 1.5px solid var(--border); font-family: var(--font);
    font-size: 0.88rem;
}
.optin-inline-form button {
    background: var(--pink); color: #fff;
    border: none; padding: 10px 18px; border-radius: 8px;
    font-weight: 700; font-family: var(--font); cursor: pointer;
    font-size: 0.88rem; transition: background .2s;
}
.optin-inline-form button:hover { background: var(--blue); }
@media (max-width: 600px) {
    .mid-article-optin { flex-direction: column; }
    .optin-inline-form { flex-direction: column; }
    .optin-inline-form input[type="email"] { min-width: 0; }
}

/* ── Sticky mobile buy bar ───────────────────────────────── */
.sticky-buy-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
    background: #fff; border-top: 2px solid var(--amazon-orange);
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
    transform: translateY(100%); transition: transform .3s ease;
    display: none;
}
.sticky-buy-bar.visible { transform: translateY(0); }
.sticky-buy-inner {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; max-width: 600px; margin: 0 auto;
}
.sticky-product-name { flex: 1; font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.sticky-product-price { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--amazon-orange); white-space: nowrap; }
.sticky-buy-btn {
    background: var(--amazon-orange); color: #fff;
    padding: 10px 16px; border-radius: 8px; font-weight: 800;
    font-size: 13px; text-decoration: none; white-space: nowrap;
    transition: background .2s;
}
.sticky-buy-btn:hover { background: #e68900; color: #fff; }
/* Show only on mobile */
@media (min-width: 768px) { .sticky-buy-bar { display: none !important; } }
@media (max-width: 767px) { .sticky-buy-bar { display: block; } }

/* ── New This Week strip ─────────────────────────────────── */
.new-this-week { background: #fff; }
.new-week-scroll {
    display: flex; gap: 16px; overflow-x: auto;
    padding-bottom: 12px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.new-week-scroll::-webkit-scrollbar { height: 4px; }
.new-week-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 2px; }
.new-week-scroll::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }
.new-week-card {
    flex: 0 0 220px; scroll-snap-align: start;
    border-radius: var(--radius); overflow: hidden;
    border: 1.5px solid var(--border); text-decoration: none;
    background: #fff; transition: box-shadow .2s, transform .2s;
    display: flex; flex-direction: column;
}
.new-week-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.new-week-card img { width: 100%; height: 130px; object-fit: cover; }
.new-week-placeholder {
    width: 100%; height: 130px; display: flex; align-items: center;
    justify-content: center; font-size: 2.5rem; background: var(--bg-light);
}
.new-week-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.new-week-cat { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .5px; }
.new-week-title { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.4; }
.new-week-date { font-size: 11px; color: #999; margin-top: 4px; }

/* ── Updated date on article cards ──────────────────────── */
.card-updated { font-size: 11.5px; color: #6B7280; }
.card-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
