/* Simple Home Nest — main stylesheet */
:root {
  --navy: #14263d;
  --navy-2: #1d3554;
  --orange: #ff8a00;
  --orange-dark: #e07600;
  --orange-text: #b35a00; /* AA contrast on white */
  --white: #ffffff;
  --bg: #f5f7fa;
  --border: #e2e8f0;
  --text: #172033;
  --muted: #55627a;
  --tint: #eef3fa;
  --success: #17803d;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 38, 61, .06), 0 4px 14px rgba(20, 38, 61, .06);
  --shadow-lg: 0 10px 30px rgba(20, 38, 61, .16);
  --max: 1440px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; scroll-padding-bottom: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-weight: 700; text-decoration: none; line-height: 1.2;
  transition: background-color .15s, box-shadow .15s, transform .15s;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #ff9d26; box-shadow: 0 4px 12px rgba(255, 138, 0, .35); }
.btn-outline { background: var(--white); border-color: var(--border); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--white); color: var(--navy);
}
.icon-btn:hover { border-color: var(--navy); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Top disclosure strip ---------- */
.disclosure-strip {
  background: #0d1b2d; color: #c9d4e3; font-size: 13px; text-align: center; padding: 6px 16px;
}
.disclosure-strip a { color: var(--white); }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); flex: none; }
.logo svg { width: 36px; height: 36px; }
.logo-img { display: block; height: 40px; width: auto; }
.drawer-head .logo-img { height: 30px; }
.logo-text { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.logo-text span { color: var(--orange); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav > .nav-dropdown > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; font-size: 15px; background: none; border: 0; color: var(--white);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav > .nav-dropdown > button:hover, .main-nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); }
.main-nav svg { width: 18px; height: 18px; }
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 0; width: 520px; padding: 12px;
  background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.dropdown-panel[hidden] { display: none; }
.dropdown-panel a {
  color: var(--text); display: flex; gap: 10px; align-items: center; padding: 8px 10px; font-weight: 600;
}
.dropdown-panel a:hover { background: var(--tint); }
.dropdown-panel .cat-ico { width: 32px; height: 32px; }
.dropdown-panel .all-link { grid-column: 1 / -1; color: var(--orange-text); justify-content: center; }
.header-search { flex: 1; display: flex; min-width: 200px; max-width: 560px; margin-left: auto; }
.header-search input {
  flex: 1; min-width: 0; height: 44px; border: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 14px; font-size: 15px; color: var(--text);
}
.header-search button {
  width: 52px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.header-search button svg { width: 20px; height: 20px; }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.fav-link { position: relative; display: inline-flex; padding: 8px; color: var(--white); border-radius: var(--radius-sm); }
.fav-link:hover { background: rgba(255, 255, 255, .1); }
.fav-link svg { width: 26px; height: 26px; }
.fav-count {
  position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--orange); color: var(--navy); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; border-radius: var(--radius-sm); }
.menu-toggle svg { width: 26px; height: 26px; }
.mobile-search { display: none; padding: 0 16px 12px; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(13, 27, 45, .5); z-index: 90; }
.drawer-backdrop[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: var(--white); z-index: 100;
  transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--navy); color: var(--white); }
.drawer-head .icon-btn { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.drawer nav a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.drawer nav a:hover { background: var(--tint); }
.drawer nav svg { width: 24px; height: 24px; flex: none; color: var(--navy); }
.drawer nav .cat-ico { width: 28px; height: 28px; }
.drawer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 16px 18px 6px; margin: 0; }

/* ---------- Hero ---------- */
.hero-wrap { padding-top: 16px; }
.hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 340px;
  background: linear-gradient(120deg, #eaf0f8 0%, #f7f9fc 55%, #ffe8cc 100%);
  display: flex; align-items: center; box-shadow: var(--shadow);
}
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Banner art with the text built in: show the whole image, never crop it */
.hero:has(.hero-link) { min-height: 0; display: block; background: var(--white); }
.hero .hero-link { display: block; border-radius: inherit; }
.hero .hero-link picture, .hero .hero-link img { position: static; width: 100%; height: auto; object-fit: initial; }
.hero .hero-link:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.hero-content { position: relative; padding: 40px 48px; max-width: 620px; }
.hero h1 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.hero p { font-size: clamp(16px, 1.5vw, 19px); color: #33415a; margin-bottom: 22px; }
.hero .btn { font-size: 18px; padding: 14px 26px; }
.hero-side { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 18px; display: flex; flex-direction: column; }
.hero-side a { display: flex; gap: 14px; align-items: center; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--border); flex: 1; }
.hero-side a:last-child { border-bottom: 0; }
.hero-side a:hover strong { color: var(--orange-text); }
.hero-side svg { width: 30px; height: 30px; color: var(--navy); flex: none; }
.hero-side strong { display: block; font-size: 16px; }
.hero-side span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-top: 28px; padding-bottom: 8px; }
.section-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 0; display: flex; align-items: center; gap: 10px; color: var(--navy); }
.section-head h2 svg { width: 28px; height: 28px; color: var(--orange); }
.pill { display: inline-block; background: var(--tint); color: #2b3f5c; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.section-head .see-all { margin-left: auto; font-weight: 700; color: #1f5fbf; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.section-head .see-all:hover { text-decoration: underline; }
.section-head .see-all svg { width: 16px; height: 16px; }
.section-note { font-size: 14px; color: var(--muted); margin: -6px 0 14px; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.cat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 8px 12px;
  text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: box-shadow .15s, transform .15s, border-color .15s; min-height: 132px; justify-content: center;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: #c8d3e3; }
.cat-card .cat-ico { width: 56px; height: 56px; }
.cat-card span { font-weight: 700; font-size: 15px; line-height: 1.2; }
.cat-card small { color: var(--muted); font-size: 13px; }
.cat-ico { color: var(--navy); }
.cat-ico .acc { color: var(--orange); }

/* Product grid & cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-media {
  position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--tint) 75%); text-decoration: none;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; background: var(--white); }
.card-media { flex-direction: column; gap: 6px; }
.card-media .cat-ico { width: 30%; height: auto; opacity: .9; }
.media-brand { font-size: 15px; font-weight: 800; color: var(--navy); letter-spacing: .02em; text-align: center; padding: 0 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-note { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #33415a; background: rgba(255,255,255,.85); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; }
.media-note svg { width: 14px; height: 14px; }
.card-media .media-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 0; background: #0b1424; }
.media-play { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--white); background: rgba(20, 38, 61, .88); border-radius: 999px; padding: 7px 14px 7px 10px; box-shadow: 0 2px 10px rgba(0,0,0,.25); white-space: nowrap; }
.media-play svg { width: 18px; height: 18px; color: var(--orange); }
.card:hover .media-play { background: var(--navy); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 64px); }
.badge { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; line-height: 1.3; }
.badge-deal { background: #d92d20; color: var(--white); }
.badge-best { background: var(--orange); color: var(--navy); }
.badge-new { background: #1f5fbf; color: var(--white); }
.badge-pick { background: var(--navy); color: var(--white); }
.badge-trend { background: #6b3fc4; color: var(--white); }
.fav-btn {
  position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--navy); z-index: 2;
}
.fav-btn svg { width: 20px; height: 20px; }
.fav-btn[aria-pressed="true"] { color: #d92d20; border-color: #f3c2bd; }
.fav-btn[aria-pressed="true"] svg path { fill: currentColor; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.card-title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-desc {
  font-size: 14px; color: #3c4a61; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.price-note { font-size: 13px; color: var(--muted); margin: auto 0 2px; padding-top: 4px; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn-primary { flex: 1; }
.share-wrap { position: relative; }
.share-btn { width: 44px; height: 44px; border-radius: var(--radius-sm); }

/* Ranked list (home Best Sellers) */
.ranked { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: rank; }
.ranked-item {
  position: relative; display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); text-decoration: none;
}
.ranked-item:hover { box-shadow: var(--shadow-lg); }
.ranked-item .num {
  flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--tint); color: var(--navy);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.ranked-item .num.top { background: var(--orange); color: var(--navy); }
.ranked-item strong { display: block; font-size: 15px; line-height: 1.25; }
.ranked-item small { color: var(--muted); font-size: 13px; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.guide-card:hover { box-shadow: var(--shadow-lg); }
.guide-card .cat-ico { width: 44px; height: 44px; }
.guide-card h3 { font-size: 19px; margin: 0; }
.guide-card p { color: #3c4a61; margin: 0; font-size: 15px; }
.guide-card .more { color: #1f5fbf; font-weight: 700; margin-top: auto; }

/* Trust strip */
.trust { margin-top: 32px; background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 20px 16px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-item svg { width: 32px; height: 32px; color: #1f5fbf; flex: none; }
.trust-item strong { display: block; }
.trust-item span { font-size: 14px; color: var(--muted); }

/* ---------- Listing layout ---------- */
.page-head { padding-top: 20px; padding-bottom: 6px; }
.page-head h1 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); margin-bottom: 6px; }
.page-head p { color: #3c4a61; max-width: 860px; }
.breadcrumbs { font-size: 14px; color: var(--muted); padding-top: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa6b8; }
.breadcrumbs a { color: #1f5fbf; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; padding-bottom: 24px; }
.filters {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; position: sticky; top: 84px;
  max-height: calc(100vh - 100px); overflow-y: auto;
}
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head h2 { font-size: 18px; margin: 0; display: flex; gap: 8px; align-items: center; }
.filters-head h2 svg { width: 20px; height: 20px; }
.link-btn { background: none; border: 0; color: #1f5fbf; font-weight: 600; padding: 6px; font-size: 14px; }
.link-btn:hover { text-decoration: underline; }
.filter-group { border-top: 1px solid var(--border); padding: 12px 0 6px; margin: 0; border-left: 0; border-right: 0; border-bottom: 0; }
.filter-group legend { font-weight: 700; padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.filter-group .opts { clear: both; }
.filter-opt { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 15px; cursor: pointer; }
.filter-opt input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.filter-opt .count { color: var(--muted); font-size: 13px; }
.filter-opt.zero { color: #5b6473; }
.filter-opt.zero input { opacity: .5; }
.more-opts[hidden] { display: none; }
.filters .close-filters { display: none; }
.filters-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar .result-count { font-weight: 600; color: #3c4a61; }
.toolbar select { height: 40px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 10px; background: var(--white); font: inherit; }
.open-filters { display: none; }
.empty-state { background: var(--white); border: 1px dashed #c3cfdf; border-radius: var(--radius); padding: 40px 20px; text-align: center; color: #3c4a61; }
.empty-state[hidden] { display: none; }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 10px; color: #9aa6b8; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding-top: 16px; padding-bottom: 24px; }
.product-media {
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--tint) 75%); border: 1px solid var(--border); border-radius: var(--radius);
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative; max-height: 560px;
}
.product-media .cat-ico { width: 30%; height: auto; }
.product-media .media-brand { font-size: 22px; }
.product-media .btn-sm { margin-top: 6px; font-size: 15px; padding: 10px 16px; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product-media p { color: var(--muted); font-size: 14px; text-align: center; padding: 0 24px; margin: 0; }
.product-media.has-video { aspect-ratio: auto; max-height: none; justify-content: flex-start; gap: 12px; padding: 14px; background: var(--white); }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0b1424; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.product-media .yt-play img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(20, 38, 61, .9); color: var(--white); transition: background .15s; }
.yt-btn svg { width: 30px; height: 30px; }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { background: var(--orange); }
.yt-play:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.product-media .video-credit { font-size: 13px; padding: 0 4px; }
.video-credit a { color: #1f5fbf; }
.product-info h1 { font-size: clamp(24px, 2.6vw, 34px); color: var(--navy); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.product-meta a { color: #1f5fbf; }
.product-info .badges { position: static; max-width: none; margin-bottom: 12px; }
.lead { font-size: 18px; color: #2b3a52; }
.buy-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin: 18px 0; }
.buy-box .price-label { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.buy-box .price-cta { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.buy-box .btn-primary { font-size: 18px; }
.buy-box .row { display: flex; gap: 10px; margin-top: 10px; }
.buy-box .row > * { flex: 1; }
.buy-box .disclosure { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.content-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.content-block h2 { font-size: 20px; color: var(--navy); }
.content-block ul { margin: 0; padding-left: 20px; }
.content-block li { margin-bottom: 6px; }
.evidence { font-size: 15px; color: #3c4a61; }
.product-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Share menu */
.share-menu {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 40; width: 220px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px;
}
.share-menu.below { bottom: auto; top: calc(100% + 8px); }
.share-menu[hidden] { display: none; }
.share-menu button, .share-menu a {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none;
  border-radius: 6px; text-decoration: none; font-size: 15px; text-align: left; color: var(--text);
}
.share-menu button:hover, .share-menu a:hover { background: var(--tint); }
.share-menu svg { width: 18px; height: 18px; flex: none; }
.share-menu .sep { border-top: 1px solid var(--border); margin: 4px 0; }
.share-menu .secondary { color: var(--muted); font-size: 14px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); z-index: 300;
  background: var(--navy); color: var(--white); padding: 12px 20px; border-radius: 30px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* Back to top */
.back-to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--white); border: 2px solid var(--white); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.back-to-top[hidden] { display: none; }
.back-to-top svg { width: 22px; height: 22px; }

/* Article / legal pages */
.prose { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px clamp(18px, 4vw, 48px); max-width: 920px; margin: 8px 0 32px; }
.prose h2 { font-size: 22px; color: var(--navy); margin-top: 1.6rem; }
.prose h3 { font-size: 18px; margin-top: 1.2rem; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a:not(.btn) { color: #1f5fbf; }
.prose .updated { color: var(--muted); font-size: 14px; }
.callout { background: #fff6ea; border: 1px solid #ffd8a8; border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px 0; }
.guide-products { margin: 22px 0; }

/* Cookie / consent banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 640px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px;
}
.consent[hidden] { display: none; }
.consent p { font-size: 14px; margin-bottom: 10px; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9d4e3; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 36px 16px 24px; }
.site-footer h2 { color: var(--white); font-size: 16px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d4e3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .tagline { color: var(--white); font-weight: 700; margin: 10px 0 6px; }
.footer-disclosure { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 16px 26px; font-size: 14px; }
.footer-disclosure p { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .main-nav a .label-long { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; flex-wrap: wrap; padding: 6px 12px; }
  .hero-side a { flex: 1 1 45%; border-bottom: 0; padding: 10px 6px; }
  .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ranked { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1079px) {
  html { scroll-padding-top: 140px; }
  .hero picture img { object-position: right center; }
  .hero-content { background: linear-gradient(90deg, rgba(247,249,252,.94) 60%, rgba(247,249,252,0)); max-width: 64%; }
  .main-nav, .header-search { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .mobile-search { display: block; }
  .mobile-search .header-search { display: flex; max-width: none; margin: 0; }
  .product-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing { grid-template-columns: 1fr; }
  .open-filters { display: inline-flex; }
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(88vw, 360px); max-height: none; border-radius: 0;
    transform: translateX(-100%); transition: transform .25s ease; visibility: hidden;
  }
  .filters.open { transform: none; visibility: visible; }
  .filters .close-filters { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .product-media { max-height: 380px; aspect-ratio: 4 / 3; }
  .product-media.has-video { max-height: none; aspect-ratio: auto; }
}
@media (max-width: 767px) {
  .disclosure-strip { font-size: 12px; }
  .logo-text { font-size: 20px; }
  .logo svg { width: 30px; height: 30px; }
  .logo-img { height: 32px; }
  .hero { min-height: 420px; align-items: flex-end; }
  .hero:has(.hero-link) { min-height: 0; }
  .hero-content { padding: 24px 20px; background: none; }
  .hero-side { display: none; }
  .cat-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px;
    margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; scrollbar-width: thin;
  }
  .cat-card { flex: 0 0 112px; scroll-snap-align: start; min-height: 116px; }
  .cat-card .cat-ico { width: 44px; height: 44px; }
  .product-grid, .product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px; }
  .card-title { font-size: 15px; }
  .card-desc { display: none; }
  .card-actions .btn-primary { font-size: 14px; padding: 8px 6px; }
  .ranked { grid-template-columns: 1fr; }
  .guide-grid, .trust-grid, .product-sections { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head .see-all { margin-left: 0; }
}
@media (max-width: 389px) {
  .card-actions { flex-direction: column; }
  .share-btn { width: 100%; }
  .badge { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.product-media .btn-outline:hover { background: var(--white); box-shadow: none; }
@media (max-width: 767px) {
  .media-play { left: 6px; bottom: 6px; font-size: 11px; padding: 4px 9px 4px 6px; gap: 4px; }
  .media-play svg { width: 14px; height: 14px; }
}
