/* ============================================================
   Baby Registry Ideas — premium editorial design
   Palette: sage, cream, warm earth, ink
   Typography: Fraunces (display), Mona Sans (body)
============================================================ */

:root {
    /* Colors */
    --bg:          #FBF8F1;
    --cream:       #F2EDE0;
    --paper:       #FFFFFF;
    --sage:        #5C7A65;
    --sage-deep:   #3F5A48;
    --sage-light:  #E8EFE8;
    --terra:       #D4806B;
    --terra-light: #F5DCD0;
    --rose:        #9A4A3E;
    --rose-light:  #F7E0DC;
    --gold:        #7A5F2B;
    --honey:       #F2E0B0;
    --ink:         #1F2419;
    --ink-2:       #4A5248;
    --ink-3:       #626B60;
    --line:        rgba(31,36,25,.10);
    --line-soft:   rgba(31,36,25,.06);

    /* Type */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Mona Sans', 'Inter', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;

    /* Spacing */
    --container: 1180px;
    --radius:    14px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(31,36,25,.04);
    --shadow:    0 2px 12px rgba(31,36,25,.06);
    --shadow-md: 0 8px 24px rgba(31,36,25,.08);
    --shadow-lg: 0 20px 60px rgba(31,36,25,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-weight: 400;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* Heading <em> accents stay upright in sage — never slanted */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
    font-style: normal !important;
    color: var(--sage-deep);
    font-weight: 400;
}
.accent {
    color: var(--sage-deep);
    font-weight: 400;
    font-style: normal;
}
.section-dark .accent,
.section-dark h1 em, .section-dark h2 em, .section-dark h3 em { color: var(--honey); }

/* ============================================================
   HEADER
============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251,248,241,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.hdr-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-display);
    font-size: 22px; font-weight: 500;
    color: var(--ink);
    letter-spacing: -.01em;
}
.brand-mark {
    width: 38px; height: 38px;
    background: var(--sage);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}
.brand-mark::before { content: '◐'; transform: rotate(-30deg); display: inline-block; }
.nav-desk {
    display: flex; gap: 4px; align-items: center;
}
.nav-desk a {
    padding: 8px 14px;
    font-size: 14px; font-weight: 500;
    color: var(--ink-2);
    border-radius: 24px;
    transition: background .18s, color .18s;
}
.nav-desk a:hover { background: var(--cream); color: var(--ink); }
.nav-cta {
    background: var(--ink) !important;
    color: var(--bg) !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--sage-deep) !important; color: #fff !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform .2s, opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mob {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 80%; max-width: 320px;
    background: var(--paper);
    box-shadow: -8px 0 32px rgba(31,36,25,.12);
    transform: translateX(110%);
    transition: transform .3s ease;
    pointer-events: none;
    padding: 72px 0 24px;
    z-index: 9999;
    overflow-y: auto;
}
.nav-mob.open { transform: translateX(0); pointer-events: auto; }
.nav-mob a {
    display: block;
    padding: 14px 28px;
    font-size: 16px; font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
}
.nav-mob a:hover { background: var(--cream); }
.mob-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(31,36,25,.4);
    z-index: 9998;
}
.mob-overlay.open { display: block; }

/* ============================================================
   HERO
============================================================ */
.hero {
    position: relative;
    padding: 80px 24px 100px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 85% 15%, var(--sage-light) 0%, transparent 35%),
        radial-gradient(circle at 15% 85%, var(--terra-light) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, var(--honey) 0%, transparent 25%);
    opacity: .6;
    z-index: 0;
}
.hero-inner {
    position: relative; z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--sage-deep);
    background: var(--sage-light);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 24px;
}
.hero-eyebrow::before { content: '◦'; font-size: 16px; line-height: 1; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6.5vw, 78px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.025em;
    color: var(--ink);
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: normal;
    color: var(--sage-deep);
    font-weight: 400;
}
.hero-sub {
    font-size: 19px;
    color: var(--ink-2);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 28px;
    border-radius: 32px;
    font-size: 15px; font-weight: 600;
    border: none; cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--ink); color: var(--bg);
}
.btn-primary:hover { background: var(--sage-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
    background: var(--paper); color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }
.btn-sage {
    background: var(--sage); color: #fff;
}
.btn-sage:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn-amazon {
    background: linear-gradient(180deg, #FFA94D, #FF9000);
    color: #1a0d00;
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 13px; font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.btn-amazon:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Hero illustration card */
.hero-art {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 28px;
    background:
        linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-art::before {
    content: '';
    position: absolute;
    top: -20%; right: -20%;
    width: 70%; aspect-ratio: 1;
    background: radial-gradient(circle, var(--honey) 0%, transparent 60%);
    opacity: .4;
}
.hero-art-svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.hero-art-stat {
    position: absolute;
    background: var(--paper);
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
}
.hero-art-stat strong {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 500;
    color: var(--ink);
    display: block;
    line-height: 1;
    letter-spacing: -.02em;
}
.hero-art-stat span {
    font-size: 12px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
.stat-tl { top: 24px; left: 24px; }
.stat-br { bottom: 24px; right: 24px; }

/* Hero stats bar */
.hero-stats {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: var(--paper);
}
.hero-stats-item {
    text-align: center;
    padding: 12px 16px;
    border-right: 1px solid var(--line-soft);
}
.hero-stats-item:last-child { border-right: none; }
.hero-stats-item strong {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 500;
    display: block; line-height: 1;
    color: var(--ink);
    letter-spacing: -.02em;
}
.hero-stats-item span {
    display: block; margin-top: 6px;
    font-size: 12px; font-weight: 600;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 96px 24px; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--bg); }
.container { max-width: var(--container); margin: 0 auto; }

.section-head {
    display: flex; align-items: end; justify-content: space-between;
    margin-bottom: 56px; gap: 32px; flex-wrap: wrap;
}
.section-head-text { max-width: 600px; }
.section-eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--sage-deep);
    margin-bottom: 16px;
}
.section-eyebrow::before {
    content: '— ';
    font-weight: 400;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.section-head h2 em { font-style: normal; color: var(--sage-deep); font-weight: 400; }
.section-head p {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.65;
    max-width: 540px;
}
.section-dark .section-head h2 { color: var(--bg); }
.section-dark .section-head h2 em { color: var(--honey); }
.section-dark .section-head p { color: rgba(251,248,241,.7); }
.section-dark .section-eyebrow { color: var(--honey); }

/* ============================================================
   TOOLS GRID — premium editorial cards
============================================================ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.tool-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
    display: flex; flex-direction: column;
    overflow: hidden;
    text-decoration: none; color: inherit;
}
.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage);
}
.tool-card[data-coming="true"] { opacity: .65; cursor: default; }
.tool-card[data-coming="true"]:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }

.tool-card.span-6  { grid-column: span 6; }
.tool-card.span-4  { grid-column: span 4; }
.tool-card.span-8  { grid-column: span 8; }
.tool-card.span-12 { grid-column: span 12; }
.tool-card.span-12 .tool-icon { margin-bottom: 16px; }
.tool-card.span-12 h3 { font-size: 30px; }
.tool-card.span-12 p { max-width: 640px; }

.tool-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.tool-icon.bg-sage  { background: var(--sage-light); }
.tool-icon.bg-rose  { background: var(--rose-light); }
.tool-icon.bg-terra { background: var(--terra-light); }
.tool-icon.bg-honey { background: var(--honey); }

.tool-card h3 {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.015em;
    margin-bottom: 10px;
    color: var(--ink);
}
.tool-card p {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.6;
    margin-bottom: 24px;
}
.tool-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: auto;
    font-size: 14px; font-weight: 600;
    color: var(--sage-deep);
    transition: gap .18s;
}
.tool-card:hover .tool-link { gap: 12px; }
.tool-link::after {
    content: '→';
    font-size: 16px;
    transition: transform .18s;
}
.coming-pill {
    display: inline-block;
    position: absolute; top: 20px; right: 20px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    background: var(--ink);
    color: var(--bg);
    padding: 4px 10px;
    border-radius: 12px;
}

/* ============================================================
   PRODUCTS — magazine-style grid
============================================================ */
.cat-filter {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-soft);
}
.cat-pill {
    padding: 9px 18px;
    border-radius: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 13px; font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: all .18s;
}
.cat-pill:hover { border-color: var(--sage); color: var(--ink); }
.cat-pill.active {
    background: var(--ink); color: var(--bg);
    border-color: var(--ink);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.product-card.hidden { display: none; }

.product-img {
    aspect-ratio: 1/1;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform .35s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-fallback {
    font-size: 56px;
    opacity: .6;
}
.product-badge {
    position: absolute; top: 14px; left: 14px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    padding: 5px 11px;
    border-radius: 14px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}
.product-badge.b-top   { background: var(--sage); color: #fff; }
.product-badge.b-must  { background: var(--ink); color: var(--bg); }
.product-badge.b-budget{ background: var(--honey); color: var(--gold); }
.product-badge.b-splurge { background: var(--rose-light); color: var(--rose); }

.product-body {
    padding: 20px 22px 22px;
    display: flex; flex-direction: column;
    flex: 1;
}
.product-cat {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--ink-3);
    margin-bottom: 8px;
}
.product-name {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--ink);
    margin-bottom: 8px;
}
.product-desc {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}
.product-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.product-price {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 500;
    color: var(--ink);
    letter-spacing: -.01em;
}

/* ============================================================
   AD SLOT
============================================================ */
.ad-wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ad-placeholder {
    background: var(--paper);
    border: 1.5px dashed var(--line);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    font-size: 12px; font-weight: 600;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin: 32px 0;
}

/* ============================================================
   DISCLOSURE
============================================================ */
.disclosure {
    background: var(--cream);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 18px 24px;
    text-align: center;
    font-size: 13px;
    color: var(--ink-2);
}
.disclosure strong { color: var(--ink); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--ink);
    color: rgba(251,248,241,.65);
    padding: 64px 24px 40px;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
}
.footer .brand { color: var(--bg); margin-bottom: 16px; }
.footer .brand-mark { background: rgba(251,248,241,.12); color: var(--bg); }
.footer .brand .logo-word em, .footer .brand .accent { color: var(--honey); }
.footer-brand p {
    font-size: 14px; line-height: 1.7;
    max-width: 280px;
    margin-bottom: 12px;
}
.footer-copy { font-size: 12px; color: #A9B0A2; }
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 15px; font-weight: 500;
    color: var(--bg);
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: rgba(251,248,241,.6);
    transition: color .18s;
}
.footer-col a:hover { color: var(--bg); }

/* Back to top */
.btt {
    position: fixed; bottom: 24px; right: 24px;
    width: 48px; height: 48px;
    background: var(--ink); color: var(--bg);
    border: none; border-radius: 50%;
    cursor: pointer; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(20px);
    transition: opacity .25s, transform .25s, background .18s;
    pointer-events: none;
}
.btt.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.btt:hover { background: var(--sage-deep); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
    .nav-desk { display: none; }
    .burger { display: flex; }
    .hero { padding: 56px 20px 72px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-art { aspect-ratio: 1/1; max-width: 400px; margin: 0 auto; }
    .section { padding: 64px 20px; }
    .section-head { flex-direction: column; align-items: start; }
    .tools-grid { grid-template-columns: 1fr; gap: 14px; }
    .tool-card.span-6, .tool-card.span-4, .tool-card.span-8, .tool-card.span-12 { grid-column: span 1; }
    .tool-card.span-12 h3 { font-size: 26px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-stats-item:nth-child(2) { border-right: none; }
    .hero-stats-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-body { padding: 14px 16px 16px; }
    .product-name { font-size: 14px; }
    .product-desc { display: none; }
    .product-price { font-size: 15px; }
    .btn-amazon { padding: 8px 12px; font-size: 11px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   ADMIN STYLES
============================================================ */
.adm-shell { min-height: 100vh; background: var(--bg); }
.adm-top {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.adm-top h1 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 500;
}
.adm-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.adm-tabs a {
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px; font-weight: 600;
    color: var(--ink-2);
    background: var(--cream);
    transition: all .18s;
}
.adm-tabs a:hover { background: var(--sage-light); color: var(--ink); }
.adm-tabs a.active { background: var(--ink); color: var(--bg); }
.adm-tabs a.logout { color: var(--rose); }

.adm-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.adm-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}
.adm-card h2 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 500;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}
.adm-field { margin-bottom: 20px; }
.adm-field label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 8px;
}
.adm-field label small { color: var(--ink-3); font-weight: 400; }
.adm-field input, .adm-field select, .adm-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    font-size: 14px;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}
.adm-field input:focus, .adm-field select:focus, .adm-field textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(92,122,101,.12);
}
.adm-field textarea { min-height: 80px; resize: vertical; }
.adm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.adm-hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}
.alert-success { background: var(--sage-light); color: var(--sage-deep); }
.alert-error   { background: var(--rose-light); color: var(--rose); }

.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th {
    text-align: left;
    padding: 10px 14px;
    background: var(--cream);
    font-size: 11px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-3);
    border-bottom: 1px solid var(--line);
}
.adm-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: middle;
}
.adm-table tr:hover td { background: var(--cream); }
.btn-sm {
    display: inline-block;
    padding: 7px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 600;
    background: var(--cream);
    border: 1px solid var(--line);
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
}
.btn-sm:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-danger {
    padding: 7px 14px; border-radius: 8px;
    background: var(--rose-light); color: var(--rose);
    border: 1px solid var(--rose-light);
    font-size: 12px; font-weight: 600;
    cursor: pointer;
}
.btn-danger:hover { background: var(--rose); color: #fff; }
.status-live {
    background: var(--sage-light); color: var(--sage-deep);
    padding: 5px 11px; border-radius: 12px;
    font-size: 11px; font-weight: 700;
    border: 1px solid transparent; cursor: pointer;
}
.status-hidden {
    background: var(--cream); color: var(--ink-3);
    padding: 5px 11px; border-radius: 12px;
    font-size: 11px; font-weight: 700;
    border: 1px solid transparent; cursor: pointer;
}

/* ============================================================
   TOOL-PAGE COMMON STYLES
============================================================ */
.tool-hero {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--cream) 100%);
    padding: 64px 24px 80px;
    text-align: center;
    border-bottom: 1px solid var(--line-soft);
}
.tool-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto; margin-right: auto;
}
.tool-hero h1 em { font-style: normal; color: var(--sage-deep); font-weight: 400; }
.tool-hero p {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.65;
    max-width: 580px;
    margin: 0 auto;
}
.tool-wrap {
    max-width: 920px;
    margin: -40px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.tool-panel {
    background: var(--paper);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}
.tool-section-title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 500;
    margin-bottom: 24px;
    color: var(--ink);
}
.tool-disclaimer {
    background: var(--honey);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13px;
    color: var(--ink-2);
    margin-bottom: 24px;
    border-left: 3px solid var(--gold);
}
.tool-disclaimer strong { color: var(--gold); }

/* ============================================================
   SHARED TOOL-PAGE COMPONENTS
   Used across all /tools/*.php pages
============================================================ */

/* Pill-style toggle buttons (size, type, brand, gender tabs) */
.size-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1.5px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: all .15s ease;
    font-family: inherit;
    line-height: 1.2;
    white-space: nowrap;
}
.size-btn:hover {
    border-color: var(--sage);
    color: var(--sage-deep);
    background: var(--sage-light);
}
.size-btn.active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.size-btn.active:hover {
    background: var(--sage-deep);
    border-color: var(--sage-deep);
}

/* Card-style toggle buttons (brand grid) */
.brand-btn {
    padding: 14px 12px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    cursor: pointer;
    text-align: center;
    transition: all .15s ease;
    font-family: inherit;
    line-height: 1.3;
}
.brand-btn:hover {
    border-color: var(--sage);
    background: var(--sage-light);
}
.brand-btn.active {
    background: var(--sage-light);
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(92,122,101,.12);
}
.brand-btn .b-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    display: block;
    margin-bottom: 3px;
}
.brand-btn .b-price {
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 500;
    display: block;
}

/* Range sliders */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(31,36,25,.10);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sage);
    cursor: pointer;
    border: 3px solid var(--paper);
    box-shadow: 0 2px 6px rgba(31,36,25,.18);
    transition: transform .12s;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.12);
}
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sage);
    cursor: pointer;
    border: 3px solid var(--paper);
    box-shadow: 0 2px 6px rgba(31,36,25,.18);
}

/* Tip items (used in multiple tools) */
.tip-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    align-items: flex-start;
}
.tip-item:last-child { border-bottom: none; }
.tip-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.tip-item h4 {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--ink);
}
.tip-item p {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.55;
    margin: 0;
}

/* Tool-page input field improvements */
.tool-panel .adm-field input[type="text"],
.tool-panel .adm-field input[type="number"],
.tool-panel .adm-field input[type="date"],
.tool-panel .adm-field input[type="time"],
.tool-panel .adm-field input[type="url"],
.tool-panel .adm-field select,
.tool-panel .adm-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.tool-panel .adm-field input:focus,
.tool-panel .adm-field select:focus,
.tool-panel .adm-field textarea:focus {
    border-color: var(--sage);
    background: var(--paper);
    box-shadow: 0 0 0 4px rgba(92,122,101,.12);
}
.tool-panel .adm-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}
.tool-panel .adm-field label small {
    color: var(--ink-3);
    font-weight: 500;
    margin-left: 4px;
}

/* Mobile tweaks for tool buttons */
@media (max-width: 600px) {
    .size-btn { padding: 9px 14px; font-size: 12px; }
    .brand-btn { padding: 12px 8px; }
}

/* ============================================================
   v4 — brand identity, guides, newsletter, related strips
============================================================ */

/* Logo */
.logo-mark { border-radius: 10px; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.brand .logo-word { line-height: 1.1; }
.brand .logo-word em { font-style: normal; color: var(--sage-deep); }
.footer .brand { margin-bottom: 4px; }

/* Mobile nav labels */
.nav-mob-label {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--ink-3);
    padding: 18px 0 6px;
}

/* Hero trust chips */
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    margin-top: 22px;
    font-size: 13px; font-weight: 600; color: var(--ink-2);
}

/* Journey (start here) */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.journey-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    transition: transform .18s, box-shadow .18s;
    display: flex; flex-direction: column; gap: 8px;
}
.journey-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.journey-icon { font-size: 30px; margin-bottom: 4px; }
.journey-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.journey-card p { font-size: 14px; color: var(--ink-2); flex: 1; }
@media (max-width: 900px) { .journey-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .journey-grid { grid-template-columns: 1fr; } }

/* Stage labels in tools section */
.stage-label {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--ink-3);
    margin-bottom: 14px;
}

/* Guide cards */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.guide-grid-page { padding-bottom: 24px; }
.guide-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex; flex-direction: column; gap: 10px;
    transition: transform .18s, box-shadow .18s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.guide-icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--sage-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.guide-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.25; }
.guide-card p { font-size: 14px; color: var(--ink-2); flex: 1; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .guide-grid { grid-template-columns: 1fr; } }

/* Articles */
.article-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 12px 24px 64px;
}
.article-body {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 5vw, 48px);
    font-size: 16px;
    color: var(--ink-2);
}
.article-body h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 27px);
    font-weight: 500;
    color: var(--ink);
    margin: 34px 0 14px;
    line-height: 1.25;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: var(--sage-deep); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(92,122,101,.35); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--sage-deep); }
.callout {
    background: var(--rose-light);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin: 22px 0;
    font-size: 15px;
}
.callout ul, .callout ol { margin: 10px 0 0 20px; }
.callout-sage { background: var(--sage-light); }

/* Related tools strip */
.related-strip, .pick-strip { margin-top: 28px; }
.related-head {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--ink-3);
    margin-bottom: 14px;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.related-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    transition: transform .18s, box-shadow .18s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.related-icon { font-size: 22px; flex-shrink: 0; }
.related-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.related-body strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.related-body span { font-size: 12px; color: var(--ink-3); }
.related-arrow { color: var(--sage); font-weight: 700; }

/* Product pick strip (guides) */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pick-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    display: flex; flex-direction: column; gap: 10px;
    transition: transform .18s, box-shadow .18s;
}
.pick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pick-img {
    height: 92px;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    overflow: hidden;
}
.pick-img img { max-height: 92px; width: auto; object-fit: contain; }
.pick-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pick-body strong { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.pick-price { font-family: var(--font-display); font-size: 13px; color: var(--ink-2); }
.pick-cta {
    align-self: flex-start;
    font-size: 11px; font-weight: 700;
    color: var(--sage-deep);
    background: var(--sage-light);
    padding: 5px 10px;
    border-radius: 10px;
}
.pick-disclosure { font-size: 11px; color: var(--ink-3); margin-top: 10px; }

/* Newsletter */
.nl-band {
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%);
    padding: 56px 0;
}
.nl-band .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.nl-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: center;
}
.nl-band .nl-copy h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}
.nl-band .nl-copy p { color: rgba(255,255,255,.85); font-size: 15px; }
.nl-row { display: flex; gap: 10px; }
.nl-row input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    outline: none;
    min-width: 0;
}
.nl-row input[type="email"]:focus { border-color: var(--honey); }
.nl-band .nl-row .btn-primary { background: var(--ink); white-space: nowrap; }
.nl-note { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 10px; }
.nl-hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; pointer-events: none; }
.nl-success {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 14px;
    padding: 18px 22px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}
@media (max-width: 780px) {
    .nl-block { grid-template-columns: 1fr; gap: 20px; }
    .nl-row { flex-direction: column; }
}

/* ============================================================
   v5 — reviews section + mobile fixes for tool inline grids
============================================================ */

/* Review verdict box */
.review-verdict {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 5px solid var(--sage);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    margin-bottom: 20px;
}
.verdict-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.verdict-score {
    font-family: var(--font-display);
    font-size: 34px; font-weight: 500; line-height: 1;
    color: var(--sage-deep);
    white-space: nowrap;
}
.verdict-score small { font-size: 16px; color: var(--ink-3); }
.verdict-line { font-size: 16px; font-weight: 600; color: var(--ink); flex: 1; min-width: 220px; }
.verdict-meta { font-size: 13px; color: var(--ink-3); }

/* Pros & cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.pros-col, .cons-col {
    border-radius: var(--radius);
    padding: 20px 22px;
    font-size: 14px;
}
.pros-col { background: var(--sage-light); }
.cons-col { background: var(--rose-light); }
.pros-col h4, .cons-col h4 {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 10px;
}
.pros-col h4 { color: var(--sage-deep); }
.cons-col h4 { color: var(--rose); }
.pros-col ul, .cons-col ul { margin: 0 0 0 18px; }
.pros-col li, .cons-col li { margin-bottom: 7px; }
@media (max-width: 640px) { .proscons { grid-template-columns: 1fr; } }

/* Review buy box */
.review-buybox {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 26px 0;
}
.buybox-img { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.buybox-img img { max-width: 76px; max-height: 76px; object-fit: contain; }
.buybox-body { flex: 1; min-width: 170px; display: flex; flex-direction: column; gap: 2px; }
.buybox-body strong { font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.3; }
.buybox-price { font-size: 15px; color: var(--ink-2); }

/* Review cards on index + homepage link */
.review-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px; font-weight: 700;
    color: var(--sage-deep);
}
.review-link:hover { text-decoration: underline; }

/* Method note */
.method-note {
    font-size: 13px; color: var(--ink-3);
    border-top: 1px dashed var(--line);
    margin-top: 26px; padding-top: 14px;
    line-height: 1.6;
}

/* ---- Mobile: collapse fixed inline grids inside tools ---- */
@media (max-width: 640px) {
    .tool-wrap div[style*="grid-template-columns"]:not([style*="auto-fill"]):not([style*="auto-fit"]) {
        grid-template-columns: 1fr !important;
    }
    /* 4-stat rows read better as 2×2 */
    .tool-wrap div[style*="grid-template-columns"][style*="1fr 1fr 1fr 1fr"]:not([style*="auto-fill"]):not([style*="auto-fit"]) {
        grid-template-columns: 1fr 1fr !important;
    }
    /* Wide tables scroll instead of breaking layout */
    .tool-panel table { display: block; overflow-x: auto; }
    .tool-wrap { padding-left: 16px; padding-right: 16px; }
    .tool-hero h1 { font-size: 30px; }
}

/* ============================================================
   v6 — mobile scroll-length reduction
   On phones the homepage stacked ~50 full-size cards into one
   endless column. Compact everything navigational.
============================================================ */
@media (max-width: 640px) {
    /* Decorative hero art costs a full screen of scroll — drop it */
    .hero-art { display: none; }
    .hero { padding: 44px 20px 48px; }
    .section { padding: 44px 20px; }
    .section-head { margin-bottom: 28px; }

    /* Journey: 2×2 compact instead of 4 stacked cards */
    .journey-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .journey-card { padding: 16px 14px; gap: 4px; }
    .journey-card p { display: none; }
    .journey-icon { font-size: 24px; margin-bottom: 0; }
    .journey-card h3 { font-size: 16px; }
    .journey-card .tool-link { font-size: 12px; }

    /* Tool cards: compact tappable rows instead of tall cards */
    .tools-grid { gap: 8px; margin-bottom: 28px !important; }
    .tool-card, .tool-card.span-4, .tool-card.span-6, .tool-card.span-12 {
        display: flex; flex-direction: row; align-items: center; gap: 12px;
        padding: 14px 16px;
    }
    .tool-card .tool-icon {
        width: 40px; height: 40px; font-size: 18px;
        margin: 0; flex-shrink: 0;
    }
    .tool-card h3, .tool-card.span-12 h3 { font-size: 15px !important; margin: 0; flex: 1; line-height: 1.3; }
    .tool-card p { display: none; }
    .tool-card .tool-link {
        font-size: 16px; margin: 0; flex-shrink: 0;
        width: auto; overflow: hidden; white-space: nowrap;
        max-width: 1.2em;
    }
    .tool-card .tool-link { color: transparent; position: relative; }
    .tool-card .tool-link::after {
        content: '→'; position: absolute; right: 0; color: var(--sage-deep);
    }

    /* Guide cards: tighter, single-line-ish */
    .guide-grid { gap: 8px; }
    .guide-card { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; }
    .guide-icon { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
    .guide-card h3 { font-size: 15px; flex: 1; }
    .guide-card p { display: none; }
    .guide-card .tool-link { display: none; }
    /* On index pages (guides/reviews) keep the descriptions — they carry the scores */
    .guide-grid-page .guide-card { flex-direction: column; align-items: flex-start; }
    .guide-grid-page .guide-card p { display: block; }
    .guide-grid-page .guide-card .tool-link { display: inline; }

    /* Product grid: collapsed by default, expandable */
    .product-grid.collapsed .product-card:nth-child(n+9) { display: none; }
    .show-more-btn { display: block; width: 100%; margin-top: 14px; text-align: center; }

    /* Footer columns: tighter */
    .footer { padding-top: 40px; }
    .footer-col a { padding: 3px 0; }
}

/* v8 — affiliate disclosure notes */
.footer-aff { font-size: 12px; color: #A9B0A2; margin-top: 10px; line-height: 1.6; }
.footer-aff a { color: #A9B0A2; }
.footer-aff a { text-decoration: underline; }
.aff-note {
    font-size: 11.5px;
    color: var(--ink-3);
    border-top: 1px dashed var(--line);
    margin-top: 16px;
    padding-top: 10px;
    line-height: 1.5;
}


/* ============================================================
   v10 — week pages, progress ring, comparison tables, print
============================================================ */
.week-banner-panel { background: var(--sage-light) !important; font-size: 15px; color: var(--ink-2); }
.week-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 4px 0 16px; }

/* TEMPORARY stroller-quiz promo banner — delete with the header.php block */
.promo-bar {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: #1F2419; color: #FBF8F1;
    font-size: 13px; font-weight: 600;
    padding: 9px 44px 9px 16px;
    text-decoration: none; text-align: center; position: relative;
}
.promo-bar strong { color: #F2E0B0; }
.promo-cta { color: #F2E0B0; white-space: nowrap; }
.promo-bar:hover .promo-cta { text-decoration: underline; }
.promo-x {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: none; border: 0; color: #FBF8F1; opacity: .6;
    font-size: 18px; line-height: 1; cursor: pointer; padding: 6px 10px;
}
.promo-x:hover { opacity: 1; }
@media (max-width: 640px) {
    .promo-bar { flex-direction: column; gap: 2px; font-size: 12.5px; padding-right: 40px; }
}

.reg-ring {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px 6px 8px;
    background: var(--sage-light);
    border-radius: 20px;
    font-size: 12px; font-weight: 700; color: var(--sage-deep);
    flex-shrink: 0;
}
.reg-ring:hover { background: var(--cream); }
.hdr-inner .nav-desk { margin-left: auto; }
@media (max-width: 900px) { .reg-ring { margin-left: auto; } }
@media (max-width: 480px) {
    .reg-ring span { display: none; }
    .reg-ring { padding: 6px 8px; }
    /* Keep the wordmark on one line when the ring joins the header */
    .brand { font-size: 18px; white-space: nowrap; gap: 8px; }
    .brand .brand-mark { width: 32px; height: 32px; font-size: 14px; }
}

.compare-scroll { overflow-x: auto; margin: 22px 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare-table th, .compare-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--sage-light); font-size: 13px; }
.compare-table tbody th { background: var(--bg); font-weight: 600; white-space: nowrap; }
.compare-table td:first-of-type { background: rgba(232,239,232,.45); }

@media print {
    .site-header, .nav-mob, .mob-overlay, .footer, .nl-band, .btt,
    .related-strip, .pick-strip, .aff-note, .no-print, .ad-wrap,
    #week-banner, .hero-cta, .burger, .week-nav, .reg-ring, .promo-bar, .search-btn { display: none !important; }
    body { background: #fff; }
    .tool-wrap { margin-top: 0; }
    .tool-panel, .checklist-section, .room-section { border: 1px solid #ddd; box-shadow: none; page-break-inside: avoid; }
    .tool-hero { padding: 0 0 12px; }
    .tool-hero h1 { font-size: 24px; }
    a { text-decoration: none; color: inherit; }
    /* Hide buy buttons on both checklist tools */
    .check-buy, .proof-buy { display: none !important; }
    /* Force checked rows and colored badges to render solid in print */
    .check-item.checked, .proof-item.checked { opacity: 1 !important; }
    .check-item.checked .check-box, .proof-item.checked .proof-box {
        color: #1F2419 !important;
        border-color: #1F2419 !important;
        -webkit-print-color-adjust: exact; print-color-adjust: exact;
    }
    .p-must { color: #1F2419 !important; background: #fff !important; border: 1px solid #1F2419; }
    .pp-critical { color: #1F2419 !important; border: 1px solid #9A4A3E; }
}

/* ============ v15: site search ============ */
.search-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: none; border: 0; cursor: pointer;
    color: var(--ink); flex-shrink: 0;
    margin-left: 8px;
}
.search-btn:hover { background: var(--sage-light); }
@media (max-width: 900px) { .search-btn { margin-left: auto; } .hdr-inner .reg-ring ~ .search-btn, .hdr-inner .reg-ring + .search-btn { margin-left: 8px; } }
.search-ov {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(31,36,25,.45);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    display: none; padding: 8vh 16px 16px;
}
.search-ov.open { display: flex; justify-content: center; align-items: flex-start; }
.search-box {
    width: 100%; max-width: 560px;
    background: #FBF8F1; border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    overflow: hidden;
}
.search-in {
    width: 100%; border: 0; outline: none;
    background: #fff;
    font: inherit; font-size: 17px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(31,36,25,.08);
}
.search-res { max-height: 52vh; overflow-y: auto; padding: 8px; }
.search-res a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 12px; border-radius: 10px;
    font-size: 14.5px; font-weight: 500; color: var(--ink);
    text-decoration: none;
}
.search-res a:hover, .search-res a:first-child { background: var(--sage-light); }
.sr-group {
    flex-shrink: 0; font-size: 9.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: #626B60; background: rgba(31,36,25,.06);
    padding: 3px 8px; border-radius: 8px; min-width: 74px; text-align: center;
}
.sr-none { padding: 18px 14px; font-size: 14px; color: #626B60; }
.search-hint { padding: 8px 16px 12px; font-size: 11px; color: #626B60; text-align: right; }

/* ============ v15: My Baby Hub ============ */
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 760px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { margin-bottom: 0; display: flex; flex-direction: column; }
.hub-card .hub-empty p, .hub-card .hub-note { font-size: 14px; color: #4A5248; line-height: 1.65; margin-bottom: 14px; }
.hub-week-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.hub-week-num { font-family: var(--font-display); font-size: 32px; font-weight: 500; color: var(--ink); }
.hub-week-tri { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #626B60; }
.hub-week-size { font-size: 15px; color: #3F5A48; font-weight: 600; margin-bottom: 4px; }
.hub-week-count { font-size: 13px; color: #626B60; margin-bottom: 12px; }
.hub-todo {
    background: var(--sage-light); border-radius: 12px;
    padding: 12px 14px; font-size: 13.5px; line-height: 1.6; color: #35402F;
    margin-bottom: 12px;
}
.hub-big-stat { font-family: var(--font-display); font-size: 34px; font-weight: 500; margin-bottom: 8px; }
.hub-big-stat small { font-size: 15px; color: #626B60; font-family: var(--font-body, inherit); font-weight: 400; }
.hub-bar { height: 8px; background: rgba(31,36,25,.08); border-radius: 4px; overflow: hidden; margin-bottom: 10px; }
.hub-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #5C7A65, #D4806B); transition: width .4s ease; }
.hub-match { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.hub-match-icon {
    width: 58px; height: 58px; border-radius: 14px; background: var(--cream);
    display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0;
}
.hub-match-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #626B60; }
.hub-match-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.25; }
.hub-match-price { font-size: 13px; color: #A84B37; font-weight: 700; margin-top: 2px; }
.hub-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-links a {
    font-size: 13px; font-weight: 600; color: #35402F;
    background: var(--sage-light); border-radius: 20px;
    padding: 9px 15px; text-decoration: none;
}
.hub-links a:hover { background: var(--ink); color: var(--bg); }

/* ============ v17: admin polish ============ */
.nav-badge {
    display: inline-block; margin-left: 5px;
    background: #9A4A3E; color: #fff;
    font-size: 10px; font-weight: 700; line-height: 1;
    padding: 3px 7px; border-radius: 10px;
    vertical-align: 1px;
}
.adm-tabs a.active .nav-badge { background: #F7E0DC; color: #9A4A3E; }
.dash-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.dash-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid rgba(31,36,25,.10);
    border-radius: 24px; padding: 10px 18px;
    font-size: 13.5px; color: #4A5248;
}
.dash-chip strong { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.dash-chip:hover { border-color: #5C7A65; }
.dash-chip.dash-warn { background: #FDF4F2; border-color: #9A4A3E; color: #a05248; }

/* ============ v17: accessibility ============ */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 500;
    background: var(--ink); color: var(--bg);
    padding: 12px 20px; border-radius: 0 0 12px 0;
    font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--sage-deep);
    outline-offset: 2px;
}

/* ============ v18: reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ============ v18: cookie consent bar ============ */
.consent-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 400;
    max-width: 660px; margin: 0 auto;
    background: var(--ink); color: var(--bg);
    border-radius: 16px; padding: 16px 20px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    box-shadow: 0 16px 48px rgba(31,36,25,.35);
}
.consent-bar p { flex: 1; min-width: 220px; font-size: 13.5px; line-height: 1.5; margin: 0; }
.consent-bar a { color: var(--honey); text-decoration: underline; }
.consent-btns { display: flex; gap: 8px; }
.consent-accept {
    background: var(--bg); color: var(--ink); border: 0; cursor: pointer;
    font-weight: 700; font-size: 14px; padding: 10px 22px; border-radius: 24px;
}
.consent-decline {
    background: none; color: var(--bg); border: 1.5px solid rgba(251,248,241,.5);
    cursor: pointer; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 24px;
}
.consent-accept:hover { background: var(--sage-light); }
.consent-decline:hover { border-color: var(--bg); }
.footer-linklike {
    background: none; border: 0; padding: 0; cursor: pointer;
    color: inherit; font: inherit; text-align: left; display: block;
}
@media print { .consent-bar { display: none !important; } }
