/* Javerton Audience theme (javerton-audiences.com).
   Layout: a shopping-app style review store. White header with a big search and a rail of category photos; light grey
   page; everything sits on white rounded cards. Deep teal marks what to act on (search, Buy Now, score bars);
   amber marks only the number-one pick. One sans family pair (Outfit headings, Figtree text): no editorial serif. */
:root {
  --page: #f4f4f7;
  --card: #ffffff;
  --line: #e7e6ed;
  --line-2: #d8d7e1;
  --ink: #17161c;
  --ink-2: #4b4a56;
  --muted: #7a7986;
  --brand: #0b7c76;       /* deep teal: buy buttons, search, links, score bars */
  --brand-hover: #08645f;
  --brand-ink: #ffffff;
  --brand-soft: #e2f3f1;
  --tint: #e9f5f3;        /* hero card */
  --top: #e5900b;         /* amber: the number-one pick only */
  --top-ink: #1d1404;
  --top-soft: #fff3dc;
  --good: #13804a;        /* pros */
  --good-soft: #e9f6ef;
  --warn: #b25607;        /* cons */
  --warn-soft: #fff3e3;
  --pic: #f6f6f9;         /* behind product photos */
  --tile-l: 94%;
  --tile-ink-l: 36%;
  --shadow-sm: 0 1px 2px rgba(23, 22, 28, .06);
  --shadow: 0 1px 2px rgba(23, 22, 28, .05), 0 12px 28px -16px rgba(23, 22, 28, .28);
  --head: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1260px;
  --r: 18px;
  --top-h: 84px;          /* sticky search bar height, used by the other sticky panels */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #111015; --card: #1b1a21; --line: #2b2a33; --line-2: #393844;
    --ink: #f0eff4; --ink-2: #c6c5cf; --muted: #9897a4;
    --brand: #3fc8bd; --brand-hover: #67d8cf; --brand-ink: #04201d; --brand-soft: #123230; --tint: #132a29; --top: #f3b03f; --top-ink: #1d1404; --top-soft: #33280f;
    --good: #5ad08f; --good-soft: #15291f; --warn: #f2b14c; --warn-soft: #2e2413;
    --pic: #f1f1f4; --tile-l: 24%; --tile-ink-l: 80%;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -16px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #111015; --card: #1b1a21; --line: #2b2a33; --line-2: #393844;
  --ink: #f0eff4; --ink-2: #c6c5cf; --muted: #9897a4;
  --brand: #3fc8bd; --brand-hover: #67d8cf; --brand-ink: #04201d; --brand-soft: #123230; --tint: #132a29; --top: #f3b03f; --top-ink: #1d1404; --top-soft: #33280f;
  --good: #5ad08f; --good-soft: #15291f; --warn: #f2b14c; --warn-soft: #2e2413;
  --pic: #f1f1f4; --tile-l: 24%; --tile-ink-l: 80%;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -16px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0 0 1em; }
.i { width: 1.1em; height: 1.1em; flex: none; stroke-width: 2; vertical-align: -.17em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 14px; background: var(--card); border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ja-wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ja-kicker, .ja-label { font: 600 13px/1.3 var(--text); color: var(--brand); margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.ja-label { color: var(--muted); }
.ja-dek, .ja-standfirst { font-size: 17.5px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin: 12px 0 0; }
.ja-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.ja-note-top { margin: -8px 0 14px; }
.ja-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 7px; margin-left: 6px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font: 700 13px var(--text); vertical-align: 3px; }
.ja-empty { display: flex; gap: 10px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--card); color: var(--ink-2); margin: 0; }
.ja-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--brand); white-space: nowrap; }
.ja-more:hover { color: var(--brand-hover); }
.ja-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin: 0 0 18px; }
.ja-pill .i { color: var(--brand); }
.ja-pill-link { padding: 4px 12px 4px 5px; margin: 14px 0 0; }
.ja-pill-link:hover { color: var(--brand); }
.ja-pill-link .ico-tile { border-radius: 50%; }

/* icon squares (category photos) */
.ico-tile { --s: 38px; width: var(--s); height: var(--s); border-radius: 30%; display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: hsl(var(--h, 175) 40% var(--tile-l)); color: hsl(var(--h, 175) 45% var(--tile-ink-l)); }
.ico-tile .i { width: 55%; height: 55%; }
.ico-tile.has-3d { background: hsl(var(--h, 175) 30% 95%); }
.ico-tile.has-3d img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(23, 22, 28, .15)); }

/* buttons */
.ja-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 12px; border: 0;
  font: 700 15.5px/1.2 var(--text); cursor: pointer; transition: background-color .15s, transform .15s, box-shadow .15s; text-align: center; white-space: nowrap; }
.ja-btn-buy { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 16px -8px var(--brand); }
.ja-btn-buy:hover { background: var(--brand-hover); }
.ja-btn-buy:active { transform: translateY(1px); }
.ja-btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.ja-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ja-btn-sm { min-height: 40px; padding: 8px 12px; font-size: 14.5px; }
.ja-btn-block { width: 100%; }
a .buy-note, button .buy-note { color: inherit !important; font-size: max(.78em, 11px) !important; font-weight: 600 !important; opacity: 1;
  margin: 0 0 0 4px !important; padding: 3px 8px !important; border-radius: 999px; background: rgba(0, 0, 0, .18) !important;
  letter-spacing: 0; line-height: 1.1; display: inline-block; white-space: nowrap; vertical-align: middle; }

/* scores */
.ja-scorepill { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 28px; padding: 0 9px; border-radius: 9px; background: var(--ink); color: var(--card); font: 700 14.5px var(--head); font-variant-numeric: tabular-nums; flex: none; }
.ja-scorepill-abs { position: absolute; top: 10px; right: 10px; }
.ja-score { display: flex; align-items: center; gap: 5px; margin: 0; font-variant-numeric: tabular-nums; }
.ja-score b { font: 700 18px var(--head); }
.ja-score small { font-size: 13px; color: var(--muted); }
.ja-meter { flex: 1; max-width: 130px; height: 7px; margin-left: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ja-meter i { display: block; height: 100%; border-radius: 4px; background: var(--brand); }
.ja-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--ink); color: var(--card); font: 700 13.5px var(--head); }
.ja-badge { display: inline-flex; align-self: flex-start; align-items: center; padding: 3px 9px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.ja-ai { position: absolute; left: 10px; top: 10px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: rgba(23, 22, 28, .7); color: #fff; }

/* ---------- header: the search bar is the main tool, so it is wide, outlined and stays on screen ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--card); }
.ja-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--card); box-shadow: 0 1px 0 var(--line), 0 8px 20px -18px rgba(23, 22, 28, .45); }
.ja-head-in { display: flex; align-items: center; gap: 20px; min-height: var(--top-h); }
.ja-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; font: 800 22px/1 var(--head); letter-spacing: -.02em; color: var(--ink); }
.ja-logo em { font-style: normal; font-weight: 500; color: var(--brand); }
.ja-mark { width: 40px; height: 40px; flex: none; }
.ja-mark-bg { fill: var(--brand); }
.ja-mark-beam { fill: #fff; opacity: .22; }
.ja-mark-p { fill: #fff; }
.ja-mark-c { fill: #ffd27a; }
.ja-search { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; height: 56px; padding: 0 5px 0 18px; border-radius: 16px; background: var(--card); border: 2px solid var(--brand); box-shadow: 0 6px 18px -12px var(--brand); }
.ja-search:focus-within { box-shadow: 0 0 0 4px var(--brand-soft); }
.ja-search > .i { width: 22px; height: 22px; color: var(--brand); }
.ja-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 17px; font-weight: 500; outline: none; color: var(--ink); }
.ja-search input::placeholder { color: var(--muted); font-weight: 400; }
.ja-search button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 16.5px; cursor: pointer; }
.ja-search button .i { width: 19px; height: 19px; }
.ja-search button:hover { background: var(--brand-hover); }
.ja-links { display: flex; gap: 2px; flex: none; }
.ja-links a { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 10px; font-weight: 600; font-size: 12.5px; color: var(--ink-2); }
.ja-links a .i { width: 21px; height: 21px; color: var(--ink-2); }
.ja-links a:hover { background: var(--page); color: var(--ink); }
.ja-burger { display: none; flex: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--page); align-items: center; justify-content: center; cursor: pointer; }
.ja-burger .i { width: 22px; height: 22px; }
.ja-catbar { position: relative; z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); }
.ja-cats-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; -webkit-mask: linear-gradient(90deg, #000 94%, transparent); mask: linear-gradient(90deg, #000 94%, transparent); }
.ja-cats-in::-webkit-scrollbar { display: none; }
.ja-cat { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: none; width: 92px; padding: 6px 4px; border: 0; border-radius: 12px; background: transparent; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink-2); text-align: center; cursor: pointer; }
.ja-cat span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ja-cat .ico-tile { --s: 46px !important; border-radius: 50%; }
.ja-cat:hover { background: var(--page); color: var(--ink); }
.ja-cat-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); }
.ja-cat-all[aria-expanded="true"] .ja-cat-ico { background: var(--ink); }
.ja-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-top: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - var(--top-h) - 120px); overflow-y: auto; }
.ja-mega.open { display: block; }
.ja-mega-list { list-style: none; margin: 0; padding-block: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; }
.ja-mega-list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.ja-mega-list a:hover { background: var(--page); }
.ja-mega-list span { display: flex; flex-direction: column; min-width: 0; }
.ja-mega-list b { font-weight: 700; font-size: 15px; line-height: 1.25; }
.ja-mega-list small { font-size: 13px; color: var(--muted); }

/* ---------- home ---------- */
.ja-home { padding-block: 24px 64px; }
.ja-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; padding: 44px 44px; border-radius: 28px;
  background: radial-gradient(120% 90% at 100% 0%, var(--brand-soft), transparent 60%), var(--tint); }
.ja-hero h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; max-width: 14ch; }
.ja-hero-sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 48ch; margin: 16px 0 24px; }
.ja-bigsearch { display: flex; align-items: center; gap: 10px; max-width: 600px; height: 58px; padding: 0 6px 0 18px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); border: 1.5px solid transparent; }
.ja-bigsearch:focus-within { border-color: var(--brand); }
.ja-bigsearch > .i { color: var(--muted); width: 20px; height: 20px; }
.ja-bigsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 17px; outline: none; color: var(--ink); }
.ja-bigsearch button { height: 46px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 16px; cursor: pointer; }
.ja-bigsearch button:hover { background: var(--brand-hover); }
.ja-chips, .ja-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.ja-chips a, .ja-try a { padding: 6px 13px; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.ja-chips a:hover, .ja-try a:hover { color: var(--brand); }
.ja-try span { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.ja-hero-show { display: grid; gap: 10px; }
.ja-hero-show-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 4px; font-size: 14.5px; color: var(--ink-2); }
.ja-hero-show-head a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--ink); }
.ja-hero-show-head a:hover { color: var(--brand); }
.ja-mini { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.ja-mini.is-top { outline: 2px solid var(--top); }
.ja-mini-img { display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 14px; background: var(--pic); flex: none; overflow: hidden; }
.ja-mini-img img { width: 86%; height: 86%; object-fit: contain; }
.ja-mini-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ja-mini-txt small { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.ja-mini-txt a { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.ja-mini-txt a:hover { color: var(--brand); }
.ja-mini.is-top .ja-scorepill { background: var(--top); color: var(--top-ink); }

.ja-sec { margin-top: 48px; }
.ja-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ja-sechead h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ja-sechead p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.ja-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.ja-cattile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 10px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.ja-cattile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ja-cattile-pic { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; background: hsl(var(--h, 175) 30% 95%); color: hsl(var(--h, 175) 45% 36%); }
.ja-cattile-img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(23, 22, 28, .18)); }
.ja-cattile-pic > .i { width: 40%; height: 40%; }
.ja-cattile strong { font: 700 14.5px/1.3 var(--head); }
.ja-cattile small { font-size: 12.5px; color: var(--muted); }

/* product cards */
.ja-pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ja-pcard { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); min-width: 0; transition: box-shadow .15s; }
.ja-pcard:hover { box-shadow: var(--shadow); }
.ja-pcard-img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 14px; background: var(--pic); overflow: hidden; color: var(--muted); }
.ja-pcard-img img { width: 80%; height: 80%; object-fit: contain; transition: transform .25s; }
.ja-pcard:hover .ja-pcard-img img { transform: scale(1.05); }
.ja-pcard-body { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 0 2px; }
.ja-pcard h3 { font: 700 16px/1.3 var(--head); }
.ja-pcard h3 a:hover { color: var(--brand); }
.ja-pcard-from { margin: auto 0 0; font-size: 13.5px; color: var(--muted); }
.ja-pcard-from a { color: var(--ink-2); font-weight: 600; }
.ja-pcard-from a:hover { color: var(--brand); }

/* guide cards */
.ja-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ja-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ja-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; min-width: 0; transition: box-shadow .15s, transform .15s; }
.ja-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ja-card-img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--pic); overflow: hidden; }
.ja-card-img img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.ja-card-n { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-sm); }
.ja-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.ja-card-dept { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.ja-card strong { font: 700 18px/1.25 var(--head); letter-spacing: -.01em; }
.ja-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--muted); }
.ja-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ja-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ja-card-row { flex-direction: row; }
.ja-card-row .ja-card-img { width: 150px; aspect-ratio: auto; flex: none; }
.ja-card-row .ja-card-body { padding: 12px 16px; justify-content: center; }
.ja-card-row strong { font-size: 16.5px; }

/* how box */
.ja-howbox { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; align-items: center; padding: 32px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); }
.ja-howbox h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.ja-howbox-head p { color: var(--ink-2); margin-bottom: 18px; }
.ja-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ja-steps li { padding: 18px; border-radius: 16px; background: var(--page); }
.ja-step-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; flex: none; }
.ja-step-ico .i { width: 21px; height: 21px; }
.ja-steps h3 { font-size: 17px; margin-bottom: 6px; }
.ja-steps p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* ---------- page headers & generic blocks ---------- */
.ja-phead { padding: 24px max(16px, env(safe-area-inset-right, 0px)) 4px max(16px, env(safe-area-inset-left, 0px)); }
.ja-phead > .ja-wrap { padding-block: 28px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); max-width: calc(var(--wrap) - 32px); }
.ja-phead h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.025em; margin-top: 12px; }
.ja-phead h1 small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ja-phead-row { display: flex; gap: 22px; align-items: center; }
.ja-phead-tile { border-radius: 50% !important; }
.ja-phead-row .ja-kicker { margin: 10px 0 0; }
.ja-phead-row h1 { margin-top: 2px; }
.ja-phead-search h1 { margin-top: 0; }
.ja-phead-search .ja-bigsearch { margin-top: 18px; box-shadow: none; background: var(--page); }
.ja-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13.5px; color: var(--muted); }
.ja-crumbs a:hover { color: var(--brand); }
.ja-crumbs .ja-sep { width: 14px; height: 14px; opacity: .55; }
.ja-crumbs [aria-current] { color: var(--ink-2); }
.ja-meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.ja-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--page); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ja-meta .i { color: var(--brand); }
.ja-page { padding-block: 24px 72px; }
.ja-block + .ja-block { margin-top: 44px; }
.ja-block .ja-sechead h2 { font-size: 23px; }
.ja-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ja-tags a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.ja-tags a > .i { margin-left: 6px; color: var(--muted); }
.ja-tags a:hover { color: var(--brand); }
.ja-tags .ico-tile { border-radius: 50%; }
.ja-tags-big a { padding: 7px 16px 7px 7px; font-size: 15px; }
.ja-plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ja-plist a { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); height: 100%; }
.ja-plist a:hover b { color: var(--brand); }
.ja-plist a > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ja-plist b { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.ja-plist small { font-size: 13px; color: var(--muted); }
.ja-plist-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); flex: none; }
.ja-plist-pic { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 12px; background: var(--pic); flex: none; color: var(--muted); overflow: hidden; }
.ja-plist-pic img { width: 88%; height: 88%; object-fit: contain; }
.ja-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.ja-pager a, .ja-pager span { min-width: 42px; height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--card); box-shadow: var(--shadow-sm); font-weight: 700; font-size: 14.5px; }
.ja-pager a:hover { color: var(--brand); }
.ja-pager .cur { background: var(--brand); color: var(--brand-ink); }
.ja-paper { min-width: 0; padding: 30px 34px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); }

/* ---------- category ---------- */
.ja-catlayout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.ja-aisles { position: sticky; top: calc(var(--top-h) + 16px); max-height: calc(100vh - var(--top-h) - 32px); overflow-y: auto; padding: 16px 10px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.ja-aisles .ja-kicker { padding-left: 8px; }
.ja-aisles ul { list-style: none; margin: 0; padding: 0; }
.ja-aisles a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.ja-aisles a:hover { background: var(--page); color: var(--ink); }
.ja-aisles small { font-size: 12.5px; color: var(--muted); align-self: center; white-space: nowrap; }
.ja-aisles .ja-ready { color: var(--brand); font-weight: 700; }
.ja-catmain { min-width: 0; }
.ja-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ja-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 10px 16px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; }
.ja-tile .ico-tile { border-radius: 50%; }
.ja-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ja-tile strong { font: 700 14.5px/1.3 var(--head); }
.ja-tile small { font-size: 12.5px; color: var(--muted); }
.ja-tile small.is-ready { color: var(--brand); font-weight: 700; }
.ja-storeband { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: 22px; background: var(--tint); }
.ja-storeband > div { flex: 1; min-width: 220px; }
.ja-storeband h3 { font-size: 20px; margin-bottom: 4px; }
.ja-storeband p { margin: 0; color: var(--ink-2); font-size: 15px; }
.ja-storeband-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: var(--card); color: var(--brand); }
.ja-storeband-ico .i { width: 24px; height: 24px; }

/* departments directory */
.ja-dirgrid { columns: 4 260px; column-gap: 16px; }
.ja-dircol { break-inside: avoid; margin-bottom: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.ja-dircol-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ja-dircol-head .ico-tile { border-radius: 50%; }
.ja-dircol-head span { display: flex; flex-direction: column; }
.ja-dircol-head strong { font: 700 17px/1.2 var(--head); }
.ja-dircol-head small { font-size: 13px; color: var(--muted); }
.ja-dircol-head:hover strong { color: var(--brand); }
.ja-dircol ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 3px; }
.ja-dircol li a { font-size: 14.5px; color: var(--ink-2); }
.ja-dircol li a:hover { color: var(--brand); }
.ja-dircol .ja-more { font-size: 14px; }

/* ---------- buying guide ---------- */
.ja-ghead { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: stretch; margin-top: 24px; padding: 30px; border-radius: 28px;
  background: radial-gradient(110% 80% at 100% 0%, var(--brand-soft), transparent 60%), var(--tint); }
.ja-ghead-txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 4px 0; }
.ja-ghead h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-top: 14px; }
.ja-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: auto 0 0; padding: 22px 0 0; }
.ja-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ja-facts .i { color: var(--brand); }
.ja-buycard { display: flex; flex-direction: column; gap: 9px; padding: 18px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.ja-buycard-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 0; padding: 4px 10px; border-radius: 8px; background: var(--top); color: var(--top-ink); font-size: 13px; font-weight: 700; }
.ja-buycard-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--pic); overflow: hidden; }
.ja-buycard-img img { width: 70%; height: 86%; object-fit: contain; }
.ja-buycard strong { font: 700 17px/1.3 var(--head); }
.ja-buycard > small { font-size: 14px; color: var(--ink-2); line-height: 1.4; margin-top: -4px; }
.ja-buycard .ja-btn { margin-top: 4px; }
.ja-glayout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; padding-block: 24px 72px; }
.ja-gmain { min-width: 0; container-type: inline-size; }
.ja-disc { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-2); margin: 0; }
.ja-disc .i { color: var(--brand); margin-top: 3px; }
.ja-disc a { color: var(--brand); font-weight: 600; }
.ja-gsec { margin-top: 32px; }
.ja-h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.ja-h3 { display: flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 14px; }
.ja-h3 .i { color: var(--brand); }
.ja-card-box { padding: 26px 28px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-sm); }

/* compare row */
/* columns follow the number of picks so no card sits alone in a row */
.ja-cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ja-cmp[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.ja-cmp[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 761px) {
  .ja-cmp[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ja-cmp[data-n="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@container (max-width: 760px) {
  .ja-cmp[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ja-cmp-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); min-width: 0; }
.ja-cmp-card.is-top { box-shadow: 0 0 0 2px var(--top), var(--shadow); }
.ja-cmp-card .ja-rank { position: absolute; top: 18px; left: 18px; z-index: 1; }
.ja-cmp-card.is-top .ja-rank { background: var(--top); color: var(--top-ink); }
.ja-cmp-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 14px; background: var(--pic); overflow: hidden; margin-bottom: 2px; }
.ja-cmp-img img { width: 76%; height: 76%; object-fit: contain; }
.ja-cmp-name { font: 700 15.5px/1.3 var(--head); }
.ja-cmp-name:hover { color: var(--brand); }
.ja-cmp-for { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.ja-cmp-card .ja-btn { margin-top: auto; }
.ja-cmp-card .ja-score b { font-size: 16px; }
.ja-narrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14.5px; }
.ja-narrow span { font-weight: 700; margin-right: 4px; }
.ja-narrow a { padding: 6px 13px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--ink-2); }
.ja-narrow a:hover { color: var(--brand); }

/* score chart: one bar per pick on a 0-10 scale */
.ja-chart { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ja-chart li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; align-items: center; gap: 16px; }
.ja-chart li > a { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; line-height: 1.3; min-width: 0; }
.ja-chart li > a img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; background: var(--pic); flex: none; }
.ja-chart li > a:hover { color: var(--brand); }
.ja-chart-bar { height: 12px; border-radius: 6px; background: var(--page); overflow: hidden; }
.ja-chart-bar i { display: block; height: 100%; border-radius: 6px; background: var(--ink-2); }
.ja-chart li.is-top .ja-chart-bar i { background: var(--brand); }
.ja-chart b { font: 700 16px var(--head); text-align: right; font-variant-numeric: tabular-nums; }

/* one product */
.ja-pdp { padding: 24px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); }
.ja-pdp + .ja-pdp { margin-top: 18px; }
.ja-pdp-top { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.ja-pdp-media { min-width: 0; }
.ja-pdp-img { position: relative; margin: 0; }
.ja-pdp-img img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8%; border-radius: 18px; background: var(--pic); }
.ja-imgnote { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.45; }
.ja-pdp-info { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ja-pdp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.ja-pdp:first-of-type .ja-pdp-tags .ja-rank { background: var(--top); color: var(--top-ink); }
.ja-pdp h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.ja-brandline { margin: -6px 0 0; font-size: 14.5px; color: var(--muted); }
.ja-scorebox { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--page); }
.ja-scorebox b { font: 800 34px/1 var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ja-scorebox > span { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ja-scorebox small { font-size: 13px; color: var(--muted); }
.ja-scorebox .ja-meter { flex: none; margin: 0; max-width: none; height: 8px; }
.ja-pdp-sum { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.ja-fit { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); font-size: 15px; color: var(--ink); }
.ja-fit .i { color: var(--brand); margin-top: 3px; }
.ja-specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ja-specs div { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 12px; background: var(--page); min-width: 0; }
.ja-specs dt { font-size: 12.5px; color: var(--muted); }
.ja-specs dd { margin: 0; font-weight: 700; font-size: 14.5px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.ja-buyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 2px; }
.ja-buyrow > small { flex: 1; min-width: 160px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.ja-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.ja-pc > div { padding: 16px 18px; border-radius: 16px; }
.ja-pros { background: var(--good-soft); }
.ja-cons { background: var(--warn-soft); }
.ja-pc h4 { display: flex; align-items: center; gap: 7px; font-size: 15.5px; margin-bottom: 10px; }
.ja-pros h4 .i { color: var(--good); }
.ja-cons h4 .i { color: var(--warn); }
.ja-pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ja-pc li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ja-pc li .i { margin-top: 3px; }
.ja-pros li .i { color: var(--good); }
.ja-cons li .i { color: var(--warn); }
.ja-pdp-review { margin-top: 20px; }
.ja-verdict { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--tint); font-size: 16px; line-height: 1.5; color: var(--ink); }
.ja-verdict .i { color: var(--brand); margin-top: 3px; width: 20px; height: 20px; }
.ja-verdict b { display: block; font: 800 14px var(--head); color: var(--brand); margin-bottom: 2px; }

/* tables, faq, method */
.ja-tablewrap { overflow-x: auto; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm); }
.ja-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 600px; }
.ja-table th, .ja-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ja-table thead th { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--card); }
.ja-table tbody tr:last-child > * { border-bottom: 0; }
.ja-table tbody tr:hover { background: var(--page); }
.ja-table tbody th a { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ja-table tbody th img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: var(--pic); flex: none; }
.ja-table tbody th a:hover { color: var(--brand); }
.ja-faq { display: grid; gap: 10px; }
.ja-faq details { border-radius: 16px; background: var(--card); box-shadow: var(--shadow-sm); }
.ja-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; font: 700 16.5px/1.35 var(--head); cursor: pointer; list-style: none; }
.ja-faq summary::-webkit-details-marker { display: none; }
.ja-faq summary .i { color: var(--muted); transition: transform .2s; }
.ja-faq details[open] summary .i { transform: rotate(180deg); color: var(--brand); }
.ja-faq .ja-prose { padding: 0 20px 16px; font-size: 15.5px; }
.ja-methodbox { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-sm); }
.ja-methodbox .ja-step-ico { margin: 0; }
.ja-methodbox .ja-h3 { margin-bottom: 6px; }
.ja-methodbox .ja-prose { font-size: 15.5px; }

/* right rail */
.ja-gside { min-width: 0; align-self: stretch; }
.ja-sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 16px); }
.ja-jump { padding: 16px 12px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm); max-height: calc(100vh - var(--top-h) - 32px); overflow-y: auto; }
.ja-jump-head { font: 800 15px var(--head); margin: 0 0 8px; padding-left: 8px; }
.ja-jump ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ja-jump a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ja-jump a > .i { color: var(--muted); }
.ja-jump a:hover { background: var(--page); color: var(--ink); }
.ja-jump a.active { background: var(--brand-soft); color: var(--brand); }
.ja-jump-p a img { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; background: var(--pic); flex: none; }
.ja-jump-p a span { flex: 1; min-width: 0; line-height: 1.3; }
.ja-jump-p a b { font: 700 13px var(--head); padding: 2px 7px; border-radius: 7px; background: var(--page); color: var(--ink); }

/* ---------- prose ---------- */
.ja-prose { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.ja-prose h2 { font: 800 22px/1.25 var(--head); color: var(--ink); margin: 28px 0 10px; }
.ja-prose h3 { font: 700 18.5px/1.3 var(--head); color: var(--ink); margin: 22px 0 8px; }
.ja-prose strong { color: var(--ink); }
.ja-prose a { color: var(--brand); font-weight: 600; }
.ja-prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ja-prose ul, .ja-prose ol { padding-left: 22px; margin: 0 0 1em; }
.ja-prose li { margin: 6px 0; }
.ja-prose li::marker { color: var(--brand); }
.ja-prose blockquote { margin: 20px 0; padding: 14px 18px; border-radius: 14px; background: var(--tint); color: var(--ink); }
.ja-prose blockquote p { margin: 0; }
.ja-prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.ja-prose th, .ja-prose td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; }
.ja-prose > :first-child { margin-top: 0; }
.ja-prose > :last-child { margin-bottom: 0; }
.ja-lede { font-size: 19px !important; line-height: 1.55 !important; color: var(--ink) !important; font-weight: 500; }

/* ---------- static pages ---------- */
.ja-doc { display: grid; grid-template-columns: 210px minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
.ja-doc-nav { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--top-h) + 16px); }
.ja-doc-nav a { padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ja-doc-nav a:hover { background: var(--page); color: var(--ink); }
.ja-doc-nav a[aria-current] { background: var(--brand-soft); color: var(--brand); }
.ja-cocard { padding: 20px 22px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--top-h) + 16px); }
.ja-cocard dl { margin: 0; display: grid; gap: 12px; }
.ja-cocard dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ja-cocard dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.ja-cocard a { color: var(--brand); }

/* ---------- catalog item ---------- */
.ja-item { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; margin-top: 16px; }
.ja-item-title { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ja-item-path { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.ja-item .ja-buycard .ja-label { margin: 0; }

/* ---------- 404 ---------- */
.ja-lost { padding: 24px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.ja-lost-in { padding-block: 56px; display: flex; flex-direction: column; gap: 6px; border-radius: 28px; background: var(--tint); padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); max-width: calc(var(--wrap) - 32px); }
.ja-lost h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; }
.ja-lost .ja-bigsearch { margin: 16px 0 12px; }

/* ---------- footer ---------- */
.ja-foot { background: var(--card); border-top: 1px solid var(--line); color: var(--ink-2); }
.ja-trust { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-bottom: 1px solid var(--line); }
.ja-trust li { display: flex; gap: 12px; align-items: flex-start; }
.ja-trust li > .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.ja-trust span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.45; color: var(--muted); }
.ja-trust b { font: 700 15.5px var(--head); color: var(--ink); }
.ja-foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr)) minmax(0, 1.1fr); gap: 28px; padding-block: 36px 24px; }
.ja-foot-brand p { margin: 14px 0 0; font-size: 14.5px; max-width: 36ch; }
.ja-foot-mail { display: flex; align-items: center; gap: 8px; }
.ja-foot-mail a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.ja-foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.ja-foot h2 { font: 800 14.5px var(--head); color: var(--ink); margin-bottom: 4px; }
.ja-foot-col a:hover { color: var(--brand); }
.ja-foot-co { font-style: normal; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; line-height: 1.5; }
.ja-foot-co strong { color: var(--ink); }
.ja-foot-note { padding-block: 18px 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.ja-foot-note p { margin: 0 0 6px; }
.ja-foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 12px !important; }
.ja-foot-bottom a { display: inline-flex; align-items: center; gap: 5px; }
.ja-foot-bottom a:hover { color: var(--brand); }

/* ---------- Creators API blocks (only where enabled) ---------- */
.api-picks-slot:empty { display: none; }
.api-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 14px; }
.api-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.api-img { display: flex; align-items: center; justify-content: center; height: 150px; background: #fff; border-radius: 12px; overflow: hidden; }
.api-img img { max-width: 100%; max-height: 150px; object-fit: contain; }
.api-title { font-size: 14px; line-height: 1.35; margin: 0; font-weight: 700; }
.api-brand { font-size: 12.5px; color: var(--muted); margin: 0; }
.api-card .api-buy { margin-top: auto; width: 100%; height: auto; white-space: normal; }
.api-disclaimer { font-size: 11px; line-height: 1.5; opacity: .65; margin: 12px 0 0; }
.api-item { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 18px; }
.api-item-img { background: #fff; border-radius: 18px; padding: 16px; display: flex; justify-content: center; }
.api-item-img img { max-width: 100%; max-height: 380px; object-fit: contain; }
.api-sub { font-size: 18px; margin: 24px 0 8px; }
.api-features { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.55; }

/* ---------- the guide's main column decides its own layout ---------- */
@container (max-width: 700px) {
  .ja-pdp-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ja-pdp-img img { aspect-ratio: 4 / 3; }
  .ja-pc { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 560px) {
  .ja-cmp { grid-template-columns: minmax(0, 1fr); }
  .ja-cmp-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: start; }
  .ja-cmp-card > * { grid-column: 2; }
  .ja-cmp-img { grid-column: 1; grid-row: 1 / span 6; }
  .ja-cmp-card .ja-rank { grid-column: 1; grid-row: 1; top: 6px; left: 6px; }
  .ja-chart li { grid-template-columns: minmax(0, 1fr) 40px; row-gap: 6px; }
  .ja-chart-bar { grid-column: 1 / -1; grid-row: 2; }
  .ja-specs { grid-template-columns: minmax(0, 1fr); }
  .ja-pdp, .ja-card-box { padding: 18px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .ja-links-more { display: none; }
  .ja-head.nav-open .ja-links-more { display: inline-flex; }
  .ja-doc { grid-template-columns: 190px minmax(0, 1fr); }
  .ja-cocard { grid-column: 2; position: static; }
  .ja-foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ja-foot-brand, .ja-foot-co { grid-column: span 3; }
  .ja-foot-co { grid-row: 3; }
  .ja-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ja-glayout { grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 980px) {
  :root { --top-h: 72px; }
  .ja-head-in { flex-wrap: wrap; gap: 10px; }
  .ja-logo > span { display: none; }
  .ja-search { height: 52px; padding-left: 14px; }
  .ja-search button { padding: 0 18px; }
  .ja-links { display: none; }
  .ja-burger { display: inline-flex; }
  .ja-head.nav-open .ja-links { display: flex; flex-direction: column; flex-basis: 100%; margin: 0; padding: 4px 0 10px; border-top: 1px solid var(--line); }
  .ja-head.nav-open .ja-links a { flex-direction: row; gap: 10px; padding: 12px 6px; font-size: 15.5px; }
  .ja-hero { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; gap: 26px; border-radius: 24px; }
  .ja-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ja-cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ja-howbox { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .ja-catlayout { grid-template-columns: minmax(0, 1fr); }
  .ja-aisles { display: none; }
  .ja-ghead { grid-template-columns: minmax(0, 1fr); padding: 22px; border-radius: 24px; }
  .ja-buycard { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .ja-buycard-tag { flex-basis: 100%; }
  .ja-buycard-img { width: 110px; aspect-ratio: 1; flex: none; }
  .ja-buycard strong { flex: 1; min-width: 150px; }
  .ja-buycard > small, .ja-buycard .ja-score, .ja-buycard .ja-btn { flex-basis: 100%; }
  .ja-glayout { grid-template-columns: minmax(0, 1fr); }
  .ja-gside { display: none; }
  .ja-item { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ja-doc { grid-template-columns: minmax(0, 1fr); }
  .ja-doc-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .ja-doc-nav a { flex: none; }
  .ja-cocard { grid-column: auto; }
  .api-item { grid-template-columns: minmax(0, 1fr); }
  .ja-trust { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 680px) {
  .ja-rows, .ja-plist { grid-template-columns: minmax(0, 1fr); }
  .ja-steps { grid-template-columns: minmax(0, 1fr); }
  .ja-paper { padding: 22px 18px; }
}
@media (max-width: 560px) {
  :root { --top-h: 66px; }
  .ja-head-in { gap: 8px; }
  .ja-mark { width: 36px; height: 36px; }
  .ja-search { height: 48px; gap: 6px; padding-left: 12px; border-radius: 14px; }
  .ja-search > .i { display: none; }
  .ja-search input { font-size: 16px; }
  .ja-search button { height: 38px; padding: 0 12px; border-radius: 10px; }
  .ja-search button span { display: none; }
  .ja-burger { width: 42px; height: 42px; }
  .ja-cat { width: 76px; font-size: 12px; }
  .ja-cat .ico-tile, .ja-cat-ico { --s: 42px !important; width: 42px; height: 42px; }
  .ja-hero h1 { font-size: 34px; }
  .ja-hero-sub { font-size: 16.5px; }
  .ja-bigsearch { height: 54px; padding-left: 14px; }
  .ja-bigsearch button { padding: 0 16px; height: 42px; }
  .ja-catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ja-cattile { padding: 10px 6px 12px; }
  .ja-cattile-pic { width: 64px; height: 64px; }
  .ja-cattile strong { font-size: 13px; }
  .ja-pgrid { gap: 10px; }
  .ja-pcard { padding: 10px; }
  .ja-pcard h3 { font-size: 14.5px; }
  .ja-pcard .ja-btn { padding: 8px; font-size: 14px; }
  .ja-pcard .buy-note { display: none !important; }
  .ja-cards3, .ja-cards4 { grid-template-columns: minmax(0, 1fr); }
  .ja-sechead h2 { font-size: 23px; }
  .ja-card-row .ja-card-img { width: 110px; }
  .ja-phead > .ja-wrap { padding-left: 18px; padding-right: 18px; border-radius: 20px; }
  .ja-phead-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ja-ghead { padding: 18px; }
  .ja-foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ja-foot-brand, .ja-foot-co { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
