:root{
  --ink:#14233f;--muted:#55607a;--line:#e6e2d6;--bg:#faf7f0;--card:#fff;
  --brand:#0b5d3b;--brand-2:#084a2f;--accent:#f2b705;--soft:#e9f4ec;--warn:#fff6d9;--navy:#14233f;
  --radius:14px;--max:1080px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;font-size:17px}
a{color:var(--brand);text-underline-offset:2px}
a:hover{color:var(--brand-2)}
img,svg{max-width:100%;height:auto}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.narrow{max-width:760px}

/* header + navigation */
.skip{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 12px;border-radius:8px;z-index:50}
.skip:focus{left:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.topbar{background:var(--navy);color:#dfe5f0;font-size:13px;text-align:center;padding:6px 0}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.site-header .wrap{display:flex;align-items:center;gap:20px;height:68px}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:20px;color:var(--ink);text-decoration:none;letter-spacing:-.02em;flex-shrink:0}
.nav{display:flex;align-items:center;justify-content:space-between;flex:1;gap:16px}
.nav-list{display:flex;list-style:none;margin:0;padding:0;gap:4px}
.nav-item{position:relative}
.nav-top{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:10px;color:var(--ink);text-decoration:none;font-weight:650;font-size:15px}
.nav-top:hover,.nav-item:focus-within>.nav-top,.nav-item:hover>.nav-top{background:var(--soft);color:var(--brand)}
.nav-item.is-current>.nav-top{color:var(--brand);box-shadow:inset 0 -3px 0 var(--accent)}
.ico{width:19px;height:19px;flex-shrink:0;color:var(--brand)}
.ico.big{width:34px;height:34px;padding:6px;background:var(--soft);border-radius:10px}
.caret{width:12px;height:12px;opacity:.55;transition:transform .15s}
.nav-item:hover .caret{transform:rotate(180deg)}
.sub-toggle,.menu-toggle{display:none}
.mega{position:absolute;left:0;top:100%;padding-top:8px;visibility:hidden;opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s,visibility .15s}
.nav-item:hover .mega,.nav-item:focus-within .mega{visibility:visible;opacity:1;transform:none}
.nav-item:nth-child(n+3) .mega{left:auto;right:-120px}
.mega-in{width:400px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 18px 40px rgba(20,35,63,.13);padding:18px}
.mega-head{display:flex;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line)}
.mega-head strong{font-size:17px}
.mega-head p{margin:0;font-size:14px;color:var(--muted);line-height:1.4}
.mega-links{list-style:none;margin:10px 0;padding:0;display:grid;gap:2px}
.mega-links a{display:block;padding:8px 10px;border-radius:8px;color:var(--ink);text-decoration:none;font-size:15px;font-weight:550}
.mega-links a:hover{background:var(--bg);color:var(--brand)}
.mega-links a[aria-current="page"]{background:var(--soft);color:var(--brand)}
.mega-links .empty{padding:8px 10px;color:var(--muted);font-size:15px}
.mega-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.mega-foot a{font-weight:700;white-space:nowrap;text-decoration:none}
.nav-cta{padding:9px 15px;font-size:15px;white-space:nowrap}
@media (max-width:980px){
  .topbar{display:none}
  .site-header .wrap{height:60px;justify-content:space-between}
  .menu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}
  .bars,.bars::before,.bars::after{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px;position:relative;transition:transform .2s,background .2s}
  .bars::before,.bars::after{content:"";position:absolute;left:0}
  .bars::before{top:-6px}.bars::after{top:6px}
  .menu-toggle[aria-expanded="true"] .bars{background:transparent}
  .menu-toggle[aria-expanded="true"] .bars::before{transform:translateY(6px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] .bars::after{transform:translateY(-6px) rotate(-45deg)}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(20,35,63,.12);flex-direction:column;align-items:stretch;padding:8px 20px 20px;max-height:calc(100vh - 60px);overflow-y:auto}
  .nav.open{display:flex}
  .nav-list{flex-direction:column;gap:0}
  .nav-item{display:grid;grid-template-columns:1fr 48px;border-bottom:1px solid var(--line)}
  .nav-top{padding:14px 4px;font-size:17px;border-radius:0;background:none!important;box-shadow:none!important}
  .caret{display:none}
  .sub-toggle{display:flex;align-items:center;justify-content:center;background:none;border:0;cursor:pointer;color:var(--ink)}
  .sub-toggle svg{width:16px;height:16px;transition:transform .2s}
  .sub-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
  .mega,.nav-item:hover .mega,.nav-item:focus-within .mega{grid-column:1/-1;position:static;visibility:visible;opacity:1;transform:none;padding:0;display:none}
  .nav-item.open .mega{display:block}
  .mega-in{width:auto;border:0;box-shadow:none;padding:0 0 12px 30px}
  .mega-head{display:none}
  .mega-links{margin:0}
  .mega-foot{border:0;padding:6px 10px 0;flex-direction:column;align-items:flex-start;gap:4px}
  .nav-cta{margin-top:16px;text-align:center;padding:13px}
}

/* hero */
.hero{padding:56px 0 44px}
.hero h1{font-size:clamp(32px,5.2vw,52px);line-height:1.1;margin:14px 0 16px;letter-spacing:-.025em}
.hero h1 .hl{color:var(--brand);background:linear-gradient(transparent 68%,#fde68a 68%);white-space:nowrap}
.hero p{font-size:19px;color:var(--muted);max-width:600px;margin:0}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.hero .hero-cta{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap}
.btn.btn-lg{padding:14px 22px;font-size:17px;border-radius:12px}
.hero .btn:not(.secondary){box-shadow:0 6px 16px rgba(242,183,5,.35)}
.btn.secondary:hover{background:#fff;border-color:var(--ink)}
.hero .hero-quick{margin-top:18px;font-size:15px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hero-quick span{font-weight:700;color:var(--ink)}
.hero-quick a{background:#fff;border:1px solid var(--line);border-radius:99px;padding:5px 12px;text-decoration:none;color:var(--brand);font-weight:600}
.hero-quick a:hover{border-color:var(--brand)}
.hero-art{width:100%;max-width:480px;justify-self:end}
@media (max-width:800px){.hero{padding:32px 0 32px}.hero-grid{grid-template-columns:1fr;gap:24px}.hero-art{max-width:360px;justify-self:center}.hero .hero-cta .btn{flex:1 1 100%;text-align:center}.hero-quick a:nth-of-type(n+5){display:none}}

/* cards */
.section{padding:28px 0}
.section h2{font-size:26px;margin:0 0 16px;letter-spacing:-.01em}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;text-decoration:none;color:var(--ink);display:block;transition:transform .15s,box-shadow .15s}
a.card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(15,23,42,.07);color:var(--ink)}
.card h3{margin:10px 0 6px;font-size:19px}
.card p{margin:0;color:var(--muted);font-size:15px}
.tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--brand);background:var(--soft);padding:3px 9px;border-radius:99px}
.tag.soon{color:#92400e;background:var(--warn)}

/* article */
.article{padding:36px 0 20px}
.article h1{font-size:clamp(28px,4.5vw,40px);line-height:1.2;margin:8px 0 12px;letter-spacing:-.02em}
.article h2{font-size:25px;margin:40px 0 12px;letter-spacing:-.01em}
.article h3{font-size:20px;margin:28px 0 8px}
.meta{color:var(--muted);font-size:14px}
.breadcrumbs{font-size:14px;color:var(--muted)}
.breadcrumbs a{color:var(--muted)}
.verdict{background:var(--soft);border:1px solid #c5e2cf;border-radius:var(--radius);padding:18px 20px;margin:20px 0}
.verdict h2{margin-top:0;font-size:20px}
.verdict ul{margin:0;padding-left:20px}

/* tables */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin:16px 0}
table{border-collapse:collapse;width:100%;font-size:15px}
th,td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:#f5f7fa;font-weight:700;white-space:nowrap}
tr:last-child td{border-bottom:0}

/* product block */
.product{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin:22px 0;display:grid;grid-template-columns:150px 1fr;gap:22px}
@media (max-width:640px){.product{grid-template-columns:1fr}}
.product .thumb{background:#f3efe2;border-radius:10px;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;overflow:hidden}
.product h3{margin:0 0 4px}
.product .best-for{font-weight:700;color:var(--brand);font-size:14px;text-transform:uppercase;letter-spacing:.03em}
.proscons{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0}
@media (max-width:640px){.proscons{grid-template-columns:1fr}}
.proscons ul{margin:4px 0 0;padding-left:18px;font-size:15px}
.pros strong{color:#047857}.cons strong{color:#b91c1c}
.btn{display:inline-block;background:var(--accent);color:var(--ink);font-weight:800;text-decoration:none;padding:11px 18px;border-radius:10px;border:0;cursor:pointer;font-size:16px}
.btn:hover{background:#ffcb2e;color:var(--ink)}
.btn.secondary{background:#fff;border:1px solid var(--line)}

/* calculator */
.calc{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0}
@media (max-width:760px){.calc{grid-template-columns:1fr}}
.calc>.panel{min-width:0}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}
label{display:block;font-weight:700;margin:0 0 6px;font-size:15px}
input[type=text],select{width:100%;padding:12px 14px;border:1px solid #cfd5df;border-radius:10px;font-size:18px;background:#fff;color:var(--ink)}
input:focus,select:focus{outline:3px solid #bfe3cc;border-color:var(--brand)}
.field{margin-bottom:16px}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:600}
.check input{width:24px;height:24px;margin-top:1px;flex-shrink:0}
.result-big{font-size:44px;font-weight:800;color:var(--brand);letter-spacing:-.02em;line-height:1.1}
.result-list{padding-left:18px;font-size:15px}
.muted{color:var(--muted)}
.small{font-size:14px}

/* faq */
details{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin:10px 0}
summary{font-weight:700;cursor:pointer}

/* footer */
.site-footer{border-top:1px solid var(--line);margin-top:48px;padding:40px 0 24px;background:#fff;font-size:14px;color:var(--muted)}
.foot-top{display:flex;gap:24px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid var(--line)}
.foot-top p{margin:0;max-width:520px}
.foot-cols{display:grid;grid-template-columns:repeat(8,1fr);gap:16px;padding:24px 0}
@media (max-width:1100px){.foot-cols{grid-template-columns:repeat(4,1fr)}}
.foot-cols .foot-h{margin:0 0 6px;font-size:14px;line-height:1.4;color:var(--ink)}
.foot-cols .foot-h a{color:var(--ink);text-decoration:none;display:inline-block;padding:4px 0}
.foot-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.foot-cols a{color:var(--muted);text-decoration:none}
.foot-cols li a{display:inline-block;padding:3px 0}
.foot-cols a:hover{color:var(--brand);text-decoration:underline}
.foot-bottom{border-top:1px solid var(--line);padding-top:18px;font-size:13px}
@media (max-width:820px){.foot-cols{grid-template-columns:repeat(2,1fr)}}
.trust{background:var(--navy);color:#fff}
.trust .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-top:18px;padding-bottom:18px}
.trust div{font-size:15px;font-weight:600;display:flex;gap:10px;align-items:center}
.trust svg{flex:none}
@media (max-width:800px){.trust .wrap{grid-template-columns:1fr 1fr}}
.cats{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
@media (max-width:1100px){.cats{grid-template-columns:repeat(3,1fr)}}
@media (max-width:800px){.cats{grid-template-columns:1fr 1fr}}
.cat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 18px;text-align:center;text-decoration:none;color:var(--ink);transition:transform .15s,box-shadow .15s}
.cat:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,35,63,.08);color:var(--ink)}
.cat .ico{width:64px;height:64px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.cat h3{margin:0 0 2px;font-size:18px}.cat p{margin:0;color:var(--muted);font-size:14px}
.feature{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px}
@media (max-width:760px){.feature{grid-template-columns:1fr}}
.feature .art{background:#f3efe2;border-radius:12px;padding:18px;display:flex;justify-content:center}
.feature h3{font-size:24px;margin:8px 0}
.feature ul{margin:8px 0 16px;padding-left:20px;color:var(--muted)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
@media (max-width:800px){.split{grid-template-columns:1fr}}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:s}
@media (max-width:760px){.steps{grid-template-columns:1fr}}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;counter-increment:s}
.step:before{content:counter(s);display:flex;width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--ink);font-weight:800;align-items:center;justify-content:center;margin-bottom:10px}
.step h3{margin:0 0 6px;font-size:18px}.step p{margin:0;color:var(--muted);font-size:15px}
.band{background:var(--soft);border-top:1px solid #d5e8db;border-bottom:1px solid #d5e8db}
.band .card{border-color:#d5e8db}
.cta{background:var(--brand);color:#fff;border-radius:var(--radius);padding:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.cta h2{margin:0 0 4px;color:#fff}.cta p{margin:0;opacity:.9}
.sub{color:var(--muted);margin:-8px 0 18px}
.wordmark b{color:var(--brand)}
.product .thumb img{display:block;width:100%;height:auto;max-width:150px;object-fit:contain}
.product .buy{margin-top:14px}
.product .price{margin:0 0 10px;font-weight:700;color:var(--ink)}
.product .price .now{font-size:22px;font-weight:800}
s.was{color:#4a5568;font-weight:400;text-decoration:line-through}
.product .price .was{margin-left:2px;font-size:16px}
.product .price .at{display:block;font-weight:400;color:#4a5568;font-size:14px;margin-top:2px}
.product .also{display:inline-block;margin-left:12px;font-size:14px}
.product .stock-out{margin:0 0 10px;font-weight:700;color:#9b2c2c}
.product .stock-out .at{font-weight:400;color:#4a5568}
.product .price-note{margin:8px 0 0;font-size:13px;color:#4a5568}

/* Family Saver: money-saving summary box and gift guide price bands */
.saver{background:#fff8e1;border:1px solid #f2d27a;border-radius:var(--radius);padding:16px 20px;margin:20px 0}
.saver h2,.saver h3{margin:0 0 8px;font-size:19px}
.saver ul{margin:0;padding-left:20px}
.band-head{display:flex;align-items:baseline;gap:12px;margin-top:40px;border-bottom:3px solid var(--accent);padding-bottom:6px}
.band-head h2{margin:0}
.slogan{display:inline-block;font-weight:700;color:var(--brand)}
/* mid-width desktops: 7 menu items + button must fit without sideways scrolling */
@media (min-width:981px) and (max-width:1499px){
  .site-header .wrap{gap:12px}
  .nav{gap:10px}
  .nav-list{gap:0}
  .nav-top{padding:10px 8px;gap:4px}
  .nav-top .ico{display:none}
}
@media (min-width:981px) and (max-width:1239px){.nav-cta{display:none}}

/* article layout: two columns + "On this page" (built by build.py, highlighted by toc.js) */
.article h2[id]{scroll-margin-top:88px}
.article-side{display:none}
.toc-list{list-style:none;margin:0;padding:0;font-size:15px;line-height:1.4}
.toc-list a{display:block;padding:7px 12px;border-left:3px solid transparent;color:var(--ink);text-decoration:none}
.toc-list a:hover{color:var(--brand);background:var(--soft)}
.toc-list a.is-active{color:var(--brand);font-weight:700;border-left-color:var(--accent);background:var(--soft)}
.toc-mobile{background:#fff;border:1px solid var(--line);border-radius:10px;margin:16px 0}
.toc-mobile summary{cursor:pointer;font-weight:700;padding:12px 14px;min-height:44px;box-sizing:border-box}
.toc-mobile .toc-list{padding:0 6px 10px}
.toc-mobile .toc-list a{padding:10px 12px}
@media (min-width:1024px){
  .article-layout{display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:48px;align-items:start}
  /* "More guides" and the promo card come first and scroll away with the page; only the
     contents list is sticky. No inner scrollbars anywhere in the sidebar. */
  .article-side{display:flex;flex-direction:column;align-self:stretch}
  .article-side .toc-box{position:sticky;top:88px}
  .toc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 8px 12px}
  .toc-title{margin:0 12px 8px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
  .toc-mobile{display:none}
}

/* recommendations: "More guides" + one promo card (sidebar on wide screens, end of article on phones) */
.recs-bottom{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);display:grid;gap:16px}
.recs{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px 8px 8px}
.recs-title{margin:0 12px 4px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.recs-list{list-style:none;margin:0;padding:0}
.recs-list a{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:10px;color:var(--ink);text-decoration:none;font-weight:600;font-size:15px;line-height:1.35}
.recs-list a:hover{background:var(--soft);color:var(--brand)}
.recs-list img,.recs-list .thumb-ico{width:48px;height:48px;flex-shrink:0;border-radius:8px;background:#f3efe2;object-fit:contain}
.recs-list .thumb-ico{padding:11px}
.promo-card{background:var(--navy);color:#fff;border-radius:var(--radius);padding:18px 20px 20px}
.promo-card p{margin:0 0 12px;color:#dfe5f0;font-size:15px;line-height:1.45}
.promo-card .promo-label{margin-bottom:4px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--accent)}
.promo-card .promo-head{margin-bottom:6px;font-size:19px;font-weight:800;color:#fff;line-height:1.25}
@media (min-width:1024px){
  .recs-bottom{display:none}
  .article-side{gap:12px}
  .article-side .toc,.article-side .recs{padding-top:12px;padding-bottom:6px}
  .article-side .toc-title{margin-bottom:4px}
  .article-side .toc-list{font-size:14px;line-height:1.3}
  .article-side .toc-list a{padding:4px 12px}
  .article-side .recs-list a{font-size:14px;padding:6px 12px}
  .article-side .recs-list img,.article-side .recs-list .thumb-ico{width:40px;height:40px}
  .article-side .recs-list .thumb-ico{padding:9px}
  .article-side .promo-card{padding:14px 16px 16px}
  .article-side .promo-card p{margin-bottom:10px;font-size:14px}
  .article-side .promo-card .promo-head{font-size:17px}
  .article-side .promo-card .btn{padding:9px 14px;font-size:15px}
}

/* visible keyboard focus everywhere (WCAG 2.4.7) */
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}
.foot-cols .foot-h:not(:has(a)){padding:4px 0}

/* site search (static/assets/search.js) */
.search-open{order:3;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);cursor:pointer}
.search-open[hidden]{display:none}
.search-open:hover{background:var(--soft);color:var(--brand)}
.search-open svg{width:20px;height:20px}
.search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.nav{order:2}
html.search-lock{overflow:hidden}
.search-dialog{width:min(640px,calc(100% - 24px));max-height:min(640px,calc(100% - 48px));margin:8vh auto auto;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);box-shadow:0 24px 60px rgba(20,35,63,.25);overflow:hidden}
.search-dialog[open]{display:flex;flex-direction:column}
.search-dialog::backdrop{background:rgba(20,35,63,.45)}
.search-form{display:flex;gap:8px;padding:14px;border-bottom:1px solid var(--line)}
.search-form input{flex:1;min-width:0;font:inherit;font-size:18px;padding:10px 12px;border:2px solid var(--brand);border-radius:10px;color:var(--ink);background:#fff}
.search-form input:focus{outline:3px solid var(--accent);outline-offset:1px}
.search-close{flex-shrink:0;font:inherit;font-size:15px;font-weight:650;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);cursor:pointer}
.search-close:hover{background:var(--bg)}
.search-status{margin:0;padding:10px 16px 4px;font-size:14px;color:var(--muted)}
.search-status:empty{display:none}
.search-chip{font:inherit;font-size:14px;margin:4px 2px 0 0;padding:5px 11px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--ink);cursor:pointer}
.search-chip:hover{border-color:var(--brand);color:var(--brand)}
.search-results{list-style:none;margin:0;padding:6px 8px 10px;overflow-y:auto}
.search-results a{display:block;padding:10px 10px;border-radius:10px;color:var(--ink);text-decoration:none;line-height:1.35}
.search-results a:hover,.search-results [aria-selected="true"] a{background:var(--soft)}
.search-results strong{display:block;font-size:16px;color:var(--brand)}
.search-sec{display:block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.search-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;color:var(--muted);margin-top:2px}
@media (max-width:980px){
  .search-open{order:0;margin-left:auto;width:44px;height:44px}
  .site-header .wrap{gap:8px}
  .logo{margin-right:auto}
  .menu-toggle{order:1}
  .search-dialog{margin-top:12px;max-height:calc(100% - 24px)}
}
/* contact form */
.contact-form{max-width:560px;margin:20px 0 28px}
.contact-form input[type=email],.contact-form textarea{width:100%;padding:12px 14px;border:1px solid #cfd5df;border-radius:10px;font-size:18px;font-family:inherit;background:#fff;color:var(--ink)}
.contact-form input[type=email]:focus,.contact-form textarea:focus{outline:3px solid #bfe3cc;border-color:var(--brand)}
#cf-status{margin:14px 0 0;font-weight:700}
#cf-status.ok{color:#0B5D3B}
#cf-status.err{color:#a11d1d}

/* logo with Family Saver badge and tagline */
.logo-text{display:flex;flex-direction:column;line-height:1.1}
.logo-badge{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;background:var(--accent);color:var(--ink);font-size:10.5px;font-weight:700;letter-spacing:0;line-height:1.5}
.logo-tagline{display:flex;align-items:center;font-size:12px;font-weight:600;color:var(--muted);letter-spacing:0;margin-top:3px;white-space:nowrap}
.foot-top .logo{font-size:24px}
.foot-slogan{flex:1;min-width:260px;max-width:700px}
.foot-big{margin:0 0 6px;font-size:20px;font-weight:800;line-height:1.3;color:var(--ink);letter-spacing:-.01em}
.foot-big .logo-badge{margin:0 6px 0 0;vertical-align:4px}
.foot-slogan .small{margin:0}
.wordmark .badge-m{margin:0 0 0 8px}
@media (max-width:374px){.wordmark .badge-m{display:none}}
.wordmark{display:flex;align-items:center}
.wordmark-svg{height:23.6px;width:auto;display:block}
.wordmark-lg .wordmark-svg{height:31.5px}
.foot-top{justify-content:flex-start;gap:48px;align-items:center}.foot-slogan p{max-width:none}
@media (max-width:480px){.logo{gap:8px}.logo>svg{width:34px;height:34px}.wordmark-svg{height:20.2px}.wordmark .badge-m{margin-left:6px;padding:1px 6px;font-size:10px}.logo-tagline{font-size:11px}}

/* hub pages + long-tail articles */
.part-of{margin:6px 0 0;font-size:14px;color:var(--muted)}
.part-of a{font-weight:600}
.spoke-list{padding-left:20px}
.spoke-list li{margin:6px 0}
.spoke-h{margin:36px 0 16px;font-size:24px}
.related-links{margin:28px 0;padding:14px 18px;border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:10px;background:#fff;font-size:15px}
.related-links p{margin:4px 0}

/* ---- review template (#128) ---- */
/* affiliate notice in the top bar on review, gift and guide pages (phones: the notice only) */
.topbar a{color:var(--accent);font-weight:600}
.topbar a:hover{color:#ffd54d}
@media (max-width:980px){
  .topbar.has-commission{display:block;font-size:12px;line-height:1.45;padding:7px 0}
  .topbar.has-commission .wrap{padding:0 10px}
  .topbar-extra{display:none}
}

/* small buttons: comparison table price cells and Quick answer lines */
.btn.btn-sm{padding:7px 12px;font-size:14px;border-radius:8px;white-space:nowrap;line-height:1.3}
.price-note{margin:8px 0 0;font-size:13px;color:#4a5568}
.table-wrap+.price-note{margin:-8px 0 16px}

/* Quick answer: price + button at the end of each line */
.verdict ul:has(.has-buy){list-style:none;padding-left:0}
.verdict li.has-buy{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;padding:10px 0;border-top:1px solid #c5e2cf}
.verdict li.has-buy:first-child{border-top:0;padding-top:2px}
.quick-text{flex:1 1 auto;min-width:0}
.quick-buys{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.quick-buy{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.quick-price{font-size:17px}
.quick-name{font-size:14px;font-weight:600;color:var(--muted)}
.verdict .price-note{margin-top:10px}
@media (max-width:640px){
  .verdict li.has-buy{flex-direction:column;align-items:stretch}
  .quick-buys{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 16px}
}

/* comparison tables: every column visible on desktop, one card per row on phones */
.article .table-wrap table{font-size:14px;line-height:1.45}
.article .table-wrap th,.article .table-wrap td{padding:10px 9px;-webkit-hyphens:auto;hyphens:auto}
.article .table-wrap tr>:first-child{min-width:110px}
@media (min-width:641px){
  /* tables with 8+ columns: smaller text, and a word may break (hyphenated where possible) so
     every column fits the article column without sideways scrolling */
  .article .table-wrap table.many{font-size:13px;line-height:1.4}
  .article .table-wrap .many th,.article .table-wrap .many td{padding:8px 5px;overflow-wrap:anywhere;min-width:46px}
  .article .table-wrap .many thead th{overflow-wrap:normal}
  .article .table-wrap .many tr>:first-child{padding-left:10px;min-width:88px}
  .article .table-wrap .many tr>:last-child{padding-right:10px}
  .many .btn.btn-sm{padding:6px 8px;font-size:13px}
}
.article .table-wrap th{white-space:normal}
.article .table-wrap tr>:first-child{padding-left:12px}
.article .table-wrap tr>:last-child{padding-right:12px}
.stack tbody tr>:first-child{font-weight:700}
.stack .cell-at{display:block;margin-top:4px;font-size:12.5px;line-height:1.3;color:var(--muted)}
@media (min-width:641px) and (max-width:1199px){
  .article .table-wrap table{font-size:13.5px}
  .article .table-wrap th,.article .table-wrap td{padding:9px 6px}
}
@media (max-width:640px){
  .article .table-wrap.is-stack{overflow:visible;border:0;border-radius:0;background:none}
  .is-stack table.stack,.is-stack .stack tbody,.is-stack .stack tr,.is-stack .stack td,.is-stack .stack th{display:block;width:auto}
  .is-stack .stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .is-stack .stack tr{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:0 0 10px}
  .article .is-stack .stack td,.article .is-stack .stack tbody th{display:grid;grid-template-columns:35% 1fr;gap:10px;border:0;padding:4px 0;text-align:left;font-weight:400;-webkit-hyphens:manual;hyphens:manual}
  .article .is-stack .stack td::before,.article .is-stack .stack tbody th::before{content:attr(data-label);font-size:13px;font-weight:700;color:var(--muted);line-height:1.45;padding-top:1px;-webkit-hyphens:auto;hyphens:auto}
  .article .is-stack .stack tr>:first-child{display:block;padding:0 0 6px;font-size:16px;font-weight:800}
  .article .is-stack .stack tr>:first-child::before{content:none}
  .is-stack .stack .cell-at{display:inline;margin:0 0 0 8px}
  .table-wrap.is-stack+.price-note{margin:0 0 16px}
}

/* product cards: compact header (picture, label, name, price, button), text full width below */
.product.is-compact,.product.has-photo{display:block;padding:20px;gap:0}
.product-head{display:flex;align-items:center;gap:16px}
.product-id{display:flex;align-items:center;gap:16px;flex:1;min-width:0}
.product.is-compact .thumb{flex:none;width:88px;height:88px;aspect-ratio:auto;border-radius:12px}
.product.has-photo .thumb{flex:none;width:150px;height:150px}
.product.is-compact .thumb img{width:100%;height:100%;max-width:none}
.product-title{flex:1;min-width:0}
.product-title .best-for{font-size:13px}
.article .product-title h3{margin:2px 0 0;font-size:20px;line-height:1.25}
.product .product-title .price,.product .product-title .stock-out{margin:4px 0 0;line-height:1.35}
.product .product-title .price .now{font-size:20px}
.product .price .sub-note{display:block;font-weight:400;font-size:14px;color:#4a5568}
.product-cta{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:45%}
.product .product-cta .also{margin:0;font-size:13px;text-align:right}
.product-body{margin-top:14px}
.product-body>p:first-child{margin-top:0}
.product-body>p.small:last-child{margin-bottom:0}
.product .btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}
.product .btn-row .also{display:block;width:100%;margin:0;font-size:14px}
.buy .btn-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
@media (max-width:640px){
  .product.is-compact,.product.has-photo{display:flex;flex-direction:column;padding:16px}
  .product-head{display:contents}
  .product-id{gap:12px;align-items:flex-start}
  .product.is-compact .thumb{width:64px;height:64px;border-radius:10px}
  .product.has-photo .thumb{width:96px;height:96px}
  .product-title .best-for{font-size:12px}
  .article .product-title h3{font-size:17px}
  .product-body{margin-top:12px}
  .product-cta{order:5;max-width:none;align-items:stretch;margin-top:14px}
  .product .product-cta .also{text-align:left}
  .product-cta .btn,.product .btn-row .btn{text-align:center}
  .product .btn-row{flex-direction:column;gap:10px}
  .product>.price-note{order:6}
}
.guide-jump{margin:12px 0 0;font-weight:600}
.guide-jump a{white-space:nowrap}
.cal-dl{display:flex;flex-wrap:wrap;gap:12px}
