/* nana price — design system and shell. Source of truth: the design canvas
   "nana price — Global Price Comparison UI/UX" (DesignSystem, Header, Footer boards).
   Navy carries trust, paper is the ground, amber marks the ONE buy action per screen. */
/* Type: the platform's own UI font, as Amazon, eBay and idealo use (owner 2026-11-01: Inter + Bricolage read as an AI
   template). No web-font download. */
/* ---------- Tokens (redesign 2026-11-24, docs/release/DESIGN_SYSTEM.md §1–2): the one token set of the customer site ----------
   Every sheet (app.css, the page sheets, v2.css, v41.css, v13.css) reads these. The older names below the tokens (--navy,
   --ink, --line, --v4-*, --v13-* …) are aliases kept so the page sheets need no rename; they point at the tokens, never at
   their own values. */
:root{
 --np-navy:#142D46;--np-navy-2:#1E3A57;--np-navy-3:#0E2236;
 --np-orange:#F58220;--np-orange-hover:#FF9D4A;--np-orange-active:#E67418;--np-orange-ink:#142D46;--np-orange-text:#B4560B;--np-orange-soft:#FFF1E7;--np-orange-tint:#FFF8F2;
 --np-bg:#FFFFFF;--np-bg-2:#F6F8FA;--np-bg-3:#EDF1F5;--np-border:#E1E6EC;--np-border-2:#C9D3DD;--np-ctrl:#82909F;
 --np-text:#202C38;--np-text-2:#647487;--np-green:#1A7F37;--np-green-bg:#E8F5ED;
 --np-danger:#B42318;--np-danger-bg:#FDECEA;--np-warning:#805000;--np-warning-bg:#FFF4D8;--np-info:#245780;--np-info-bg:#EAF2FA;
 --np-focus:#245780;--np-focus-on-navy:#FFB471;
 --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:20px;--s6:24px;--s7:32px;--s8:40px;--s9:48px;--s10:64px;
 --r-input:8px;--r-card:10px;--r-panel:12px;--r-chip:999px;
 --np-shadow:0 2px 8px rgba(20,45,70,.08);--np-shadow-overlay:0 8px 24px rgba(20,45,70,.15);
 --np-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
 --np-motion:150ms ease-out;
 --container:1360px;--gutter:32px;--tabbar:64px;
 /* aliases (older names) */
 --navy:var(--np-navy);--navy-2:var(--np-navy-2);--navy-3:var(--np-navy-2);
 --np-ink:var(--np-text);--np-ink-soft:var(--np-text-2);--np-muted:var(--np-text-2);--np-border-strong:var(--np-ctrl);--np-canvas:var(--np-bg);--np-surface:var(--np-bg-2);--np-surface-emphasis:var(--np-bg-3);--np-link:var(--np-info);--np-positive:var(--np-green);--np-negative:var(--np-danger);
 --paper:var(--np-bg);--mist:var(--np-bg-2);--mist-2:var(--np-bg-2);--line:var(--np-border);--line-2:var(--np-border-2);
 --text:var(--np-text);--ink:var(--np-text);--text-2:var(--np-text-2);--text-3:var(--np-text-2);--muted:var(--np-text-2);--muted-2:var(--np-text-2);--muted-3:var(--np-border-2);--muted-4:var(--np-border);
 --amber:var(--np-orange);--amber-soft:var(--np-orange-soft);--amber-tint:var(--np-orange-tint);
 --green:var(--np-green);--green-ink:var(--np-green);--green-soft:var(--np-green-bg);--green-line:#B7DCC6;
 --up:var(--np-danger);--up-ink:var(--np-danger);--up-soft:var(--np-danger-bg);
 --link:var(--np-navy);--link-hover:var(--np-navy-3);--info-soft:var(--np-info-bg);--info-line:#C9DCEE;
 --warn:var(--np-warning);--warn-ink:var(--np-warning);--warn-soft:var(--np-warning-bg);--warn-line:#EBD39B;
 --error:var(--np-danger);--error-ink:#8C1D13;--error-soft:var(--np-danger-bg);--error-line:#F4C7C1;
 --display:var(--np-font);--body:var(--np-font);
 --r6:6px;--r8:8px;--r10:10px;--r12:12px;--r14:12px;--r18:12px;--r28:12px;--pill:999px;
 --shadow:var(--np-shadow-overlay);--shadow-2:var(--np-shadow);
 --v4-ink:var(--np-navy);--v4-text:var(--np-text);--v4-muted:var(--np-text-2);--v4-faint:var(--np-text-2);--v4-page:var(--np-bg);--v4-studio:var(--np-bg-2);
 --v4-line:var(--np-border);--v4-ctrl:var(--np-ctrl);--v4-orange:var(--np-navy);--v4-yellow:var(--np-orange);--v4-yellow-tint:var(--np-orange-soft);
 --v4-green:var(--np-green);--v4-green-tint:var(--np-green-bg);--v4-red:var(--np-danger);--v4-red-tint:var(--np-danger-bg);--v4-focus:var(--np-focus);--v4-usual:var(--np-bg-3);
 --v13-navy:var(--np-navy);--v13-orange:var(--np-orange);--v13-orange-hover:var(--np-orange-hover);--v13-orange-active:var(--np-orange-active);--v13-orange-dark:var(--np-orange-text);--v13-orange-soft:var(--np-orange-soft);
 --v13-ink:var(--np-text);--v13-muted:var(--np-text-2);--v13-line:var(--np-border);--v13-wash:var(--np-bg-2);--v13-soft:var(--np-bg-3);--v13-ctrl:var(--np-ctrl);
 --v13-success:var(--np-green);--v13-success-bg:var(--np-green-bg);--v13-warning:var(--np-warning);--v13-warning-bg:var(--np-warning-bg);--v13-danger:var(--np-danger);--v13-danger-bg:var(--np-danger-bg);--v13-info:var(--np-info);--v13-info-bg:var(--np-info-bg);
 --v13-focus:var(--np-focus);--v13-focus-dark:var(--np-focus-on-navy);
 --v13-r1:var(--r-input);--v13-r2:var(--r-card);--v13-r3:var(--r-panel);--v13-pad:var(--gutter);--v13-gap:16px;
}
@media (max-width:1100px){:root{--gutter:24px;--v13-gap:12px}}
@media (max-width:900px){:root{--gutter:16px;--v13-gap:12px}}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
body{margin:0;background:var(--np-bg);color:var(--np-text);font:400 15px/22px var(--np-font);min-height:100vh;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased}
@media (max-width:900px){body.has-tabbar{padding-bottom:calc(var(--tabbar) + env(safe-area-inset-bottom,0px))}}
a{color:var(--link)}a:hover{color:var(--link-hover)}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4{margin:0;line-height:1.15}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
dl,dd,figure{margin:0}
fieldset{border:0;margin:0;padding:0;min-width:0}
legend{padding:0}
svg{flex:none}
:focus-visible{outline:2px solid var(--np-focus);outline-offset:2px;border-radius:4px}

/* Motion (DESIGN_SYSTEM §1): 150ms ease-out on colour, shadow and a 1px lift; none when the system asks for reduced motion. */
a,button,.btn,.chip,.npc,.npc-img img,input,select{transition:color var(--np-motion),background-color var(--np-motion),border-color var(--np-motion),box-shadow var(--np-motion),transform var(--np-motion)}
@media (prefers-reduced-motion:reduce){a,button,.btn,.chip,.npc,.npc-img img,input,select{transition:none}}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:8px;top:-48px;z-index:100;padding:10px 14px;background:var(--amber);color:var(--ink);font-weight:800;border-radius:var(--r8)}
.skip:focus{top:8px}
.shell{width:100%;max-width:var(--container);margin:0 auto;padding-inline:var(--gutter)}
@media (max-width:640px){.shell{padding-inline:16px}}
.display{font-family:var(--display);font-weight:700;letter-spacing:-.025em}
.price{font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:0}
.tabular{font-variant-numeric:tabular-nums}
.muted{color:var(--text-2)}
.small{font-size:13px}
.clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.clamp-1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
main{flex:1;min-height:100vh;min-height:100dvh}
/* Headings keep pixel line-heights so a late web-font swap cannot move content above the fold. */
h1,h2,h3{line-height:1.15}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:var(--r10);border:1px solid transparent;font-weight:700;font-size:15px;text-decoration:none;color:var(--ink);background:var(--paper);white-space:nowrap}
.btn:hover{color:var(--ink)}
.btn-primary{background:var(--amber);color:var(--ink);font-weight:800}
.btn-primary:hover{background:#F39A10}
.btn-strong{background:var(--navy);color:#fff}.btn-strong:hover{color:#fff;background:#163456}
.btn-secondary{border-color:var(--navy)}
.btn-ghost{border-color:var(--muted)}
.btn-link{min-height:auto;padding:0;border:0;background:transparent;color:var(--link);font-weight:600;border-radius:0}
.btn-link:hover{color:var(--link-hover)}
.btn-lg{min-height:52px;font-size:16px;padding:0 24px}
.btn-sm{min-height:40px;font-size:14px;padding:0 14px;border-radius:var(--r8)}
.btn-block{width:100%}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed}
.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:var(--r8);color:inherit;padding:0}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:var(--r8);border:1px solid var(--muted);background:var(--paper);color:var(--ink);font-weight:600;font-size:13px;text-decoration:none;white-space:nowrap}
.chip:hover{color:var(--ink)}
.chip[aria-pressed="true"],.chip[aria-selected="true"],.chip.is-on{background:var(--navy);border-color:var(--navy);color:#fff}
.chip.chip-soft[aria-pressed="true"]{background:var(--amber-soft);color:var(--ink);border-color:var(--navy)}
.chip-active{background:var(--amber-soft);border:0;color:var(--ink);padding:7px 10px 7px 12px}
.chip-lg{min-height:44px}
.seg{display:flex;background:var(--mist);border-radius:var(--r8);padding:4px}
.seg button{flex:1;min-width:48px;height:36px;border:0;border-radius:var(--r8);background:transparent;font-weight:700;font-size:13px;color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--paper);box-shadow:0 1px 2px rgba(15,37,64,.12)}
.switch-group{display:flex;border:1px solid var(--muted);border-radius:var(--r8);overflow:hidden}
.switch-group button{width:44px;height:40px;border:0;background:var(--paper);display:flex;align-items:center;justify-content:center;color:var(--ink)}
.switch-group button[aria-pressed="true"]{background:var(--navy);color:#fff}

/* Small controls keep their drawn size but accept a 44px touch (invisible hit area). */
.chip,.more,.btn-link,.breadcrumb a,.section-head a,.home-searches a,.home-rank-head a,.prod-tabs a,.pagination a{position:relative}
.chip::after,.more::after,.btn-link::after,.breadcrumb a::after,.section-head a::after,.home-searches a::after,.home-rank-head a::after{content:"";position:absolute;inset:-6px -4px}
.section-head .more::after{right:0}

/* ---------- Badges ---------- */
.badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:800;padding:3px 8px;border-radius:var(--r6);white-space:nowrap}
.badge-best{background:var(--amber);color:var(--ink)}
.badge-low{background:var(--green-soft);color:var(--green-ink)}
.badge-drop{background:var(--green);color:#fff;border-radius:var(--r8);padding:3px 8px}
.badge-up{background:var(--up-soft);color:var(--up-ink)}
.badge-note{background:var(--mist);color:var(--text-2)}
.badge-ad{font-weight:700;color:var(--text-3);border:1px solid var(--muted);border-radius:var(--r6);padding:1px 6px;font-size:11px;letter-spacing:.04em;background:transparent}
.badge-new{background:var(--navy);color:#fff}
.trend-down{color:var(--green)}.trend-up{color:var(--up)}.trend-flat{color:var(--text-2)}

/* ---------- Forms ---------- */
.input{height:44px;border:1px solid var(--muted);border-radius:var(--r8);padding:0 12px;background:var(--paper);color:var(--ink);width:100%;min-width:0}
.input:focus{border-color:var(--navy)}
.input[aria-invalid="true"]{border-color:var(--error);border-width:2px}
.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}
.field-error{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--error)}
.field-ok{font-size:13px;font-weight:600;color:var(--green-ink)}
.check{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;min-height:32px}
.check input{width:18px;height:18px;accent-color:var(--navy);margin:0;flex:none}
select.input{appearance:auto}

/* ---------- Cards and surfaces ---------- */
.card{border:1px solid var(--line);border-radius:var(--r12);background:var(--paper)}
.surface{border-radius:var(--r12);background:var(--mist)}
.well{aspect-ratio:1/1;border-radius:var(--r8);background:var(--mist);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.well img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.well .ph{color:var(--muted-2)}
.img-caption{position:absolute;left:8px;bottom:8px;font-size:11px;color:var(--text-2);background:rgba(255,255,255,.92);padding:3px 6px;border-radius:var(--r6)}
[hidden]{display:none!important}
.section{display:flex;flex-direction:column;gap:12px}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 12px}
.section-head h2{font-family:var(--display);font-size:24px;letter-spacing:-.005em;font-weight:700}
.section-head .more{font-size:14px;font-weight:700;white-space:nowrap}
.section-head .sub{font-size:13px;color:var(--text-2)}
@media (max-width:640px){.section-head h2{font-size:20px}}
.breadcrumb{font-size:13px;color:var(--text-3);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.breadcrumb a{color:var(--text-2);text-decoration:none;min-height:24px;display:inline-flex;align-items:center}
.breadcrumb [aria-current]{color:var(--ink);font-weight:600}
.notice-box{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:var(--r8);background:var(--mist);font-size:13px;color:var(--text-2)}
.banner{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:var(--r8);font-size:14px;border:1px solid transparent}
.banner a,.banner button{margin-left:auto;text-decoration:underline;font-weight:700;background:transparent;border:0;padding:0;color:inherit;font-size:14px;min-height:32px}
.banner-navy{background:var(--navy);color:#fff}
.banner-warn{background:var(--warn-soft);color:var(--warn-ink);border-color:var(--warn-line)}
.banner-info{background:var(--mist);color:var(--ink);border-color:var(--line)}
.banner-ok{background:var(--green-soft);color:var(--green-ink);border-color:var(--green-line)}
.banner-error{background:var(--error-soft);color:var(--error-ink);border-color:var(--error-line)}
.provenance{font-size:13px;color:var(--text-2);line-height:1.55}

/* ---------- Product card (search results, list layout) ---------- */
.pcard{display:grid;grid-template-columns:120px minmax(0,1fr) 230px;gap:16px;padding:16px;border:1px solid var(--np-border);border-radius:var(--r8);background:var(--paper);position:relative}
@media (max-width:1000px) and (min-width:641px){.pcard{grid-template-columns:120px minmax(0,1fr)}.pcard-price{grid-column:2;border-left:0!important;padding-left:0!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:6px 14px!important}.pcard-price .btn{margin-top:0!important}}
.pcard.is-compared{border-color:var(--navy)}
.pcard-img{width:120px;height:120px;flex:none;border-radius:var(--r8);background:var(--mist);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.pcard-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.pcard-body{min-width:0;display:flex;flex-direction:column;gap:6px}
.pcard-cat{font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--text-2)}
.pcard-title{font-size:16px;font-weight:600;color:var(--ink);text-decoration:none;line-height:1.375}
.pcard-title::after{content:"";position:absolute;inset:0;border-radius:var(--r12)}
.pcard-meta{font-size:14px;color:var(--text-2);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pcard-specs{display:flex;flex-wrap:wrap;gap:6px}
.pcard-specs li{font-size:13px;padding:4px 9px;border-radius:var(--r6);background:var(--mist);color:var(--text-2)}
.pcard-actions{margin-top:auto;display:flex;gap:12px;align-items:center;position:relative;z-index:1}
.pcard-price{min-width:0;display:flex;flex-direction:column;gap:6px;padding-left:16px;border-left:1px solid var(--line);position:relative;z-index:1}
.pcard-price .label{font-size:13px;color:var(--text-2)}
.pcard-price .amount{font-size:32px;font-weight:700}
.pcard-price .trend{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}
.pcard-price .btn{margin-top:auto;min-height:44px;min-width:170px;font-size:14px;border-radius:var(--r6)}
@media (max-width:640px){
 .pcard{padding:10px 12px;gap:4px 10px;grid-template-columns:112px minmax(0,1fr)}
 .pcard-img{width:112px;height:128px;grid-row:1/3}
 .pcard-title{font-size:15px}
 .pcard-specs{display:none}
 .pcard-price{grid-column:2;border:0;padding:0;gap:2px}
 .pcard-price .label{font-size:12px}
 .pcard-price .amount{font-size:24px}
 .pcard-price .btn{display:none}
 .pcard-actions{order:3}
}
/* grid layout variant */
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:10px}
.gcard{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line);border-radius:var(--r10);text-decoration:none;color:var(--ink);background:var(--paper);position:relative}
.gcard .well{aspect-ratio:1/1}
.gcard .badge-drop{position:absolute;top:8px;left:8px}
.gcard .well img{padding:8%;box-sizing:border-box}
.gcard-cat{font-size:12px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.gcard-title{font-size:15px;font-weight:700;line-height:1.3;min-height:39px}
/* Variant line always takes one row (empty or not) so prices line up across a grid. */
.gcard-variant{font-size:13px;color:var(--text-2);min-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gcard-from{font-size:12px;color:var(--text-2);margin-right:-2px}
.gcard-price{display:flex;align-items:baseline;gap:6px;margin-top:auto;padding-top:4px}
.gcard-price .amount{font-size:22px}
.gcard-price s{font-size:12px;color:var(--text-3)}
.gcard-meta{font-size:12px;color:var(--text-2)}
@media (max-width:640px){.pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line)}.gcard{border:0;border-radius:0}}
.save-btn{position:absolute;top:6px;right:6px;z-index:2;width:44px;height:44px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;color:var(--ink)}
.save-btn[aria-pressed="true"] svg{fill:var(--navy)}

/* ---------- Offer row (the atomic unit of a product) ---------- */
.offer-table{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r12)}
.offer-table-inner{min-width:900px;font-size:14px}
.offer-head{display:grid;grid-template-columns:2.2fr 1.4fr .9fr 1.3fr .9fr 1.1fr;background:var(--mist);font-size:12px;font-weight:700;color:var(--text-2);letter-spacing:.04em}
.offer-head span{padding:12px}
.offer-head span:first-child{padding-left:18px}
.offer-row{display:grid;grid-template-columns:2.2fr 1.4fr .9fr 1.3fr .9fr 1.1fr;border-top:1px solid var(--line);background:var(--paper)}
.offer-row.is-best{background:var(--amber-tint)}
.offer-row>div{padding:12px}
.offer-shop{display:flex;align-items:flex-start;gap:12px;padding-left:16px!important}
.offer-logo{width:44px;height:44px;flex:none;border-radius:var(--r8);background:var(--paper);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px}
.offer-shop-name{font-weight:700;color:var(--ink);text-decoration:none;font-size:15px}
.offer-note{font-size:13px;color:var(--text-2)}
.offer-num{text-align:right;font-variant-numeric:tabular-nums;font-size:16px}
.offer-total{text-align:right;font-variant-numeric:tabular-nums;font-size:22px;font-weight:600}
.offer-cta{text-align:right;padding-right:16px!important}
.offer-cta .btn{min-height:44px;padding:0 16px;border-radius:var(--r8);border:1px solid var(--navy);font-size:14px}
/* compact offer card (mobile product) */
.offer-card{border:1px solid var(--line);border-radius:var(--r10);padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--paper)}
.offer-card.is-best{border-color:var(--navy);background:var(--amber-tint)}
.offer-card .btn{min-height:44px;border:1px solid var(--navy);border-radius:var(--r8);font-size:14px;font-weight:800}

/* ---------- States ---------- */
.state{border:1px solid var(--line);border-radius:var(--r12);padding:24px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;max-width:520px;margin:24px auto}
.state .state-icon{width:96px;height:96px;border-radius:4px;background:var(--mist);display:flex;align-items:center;justify-content:center;color:var(--ink)}
.state strong,.state .state-title{font-size:17px;font-weight:700;font-family:var(--body);letter-spacing:0}
.state p{font-size:13px;color:var(--text-2);line-height:1.5}
.skeleton{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid var(--line);border-radius:var(--r12)}
.skeleton .row{display:flex;gap:14px;align-items:center}
.skeleton .sq{width:96px;height:96px;flex:none;border-radius:var(--r8);background:var(--mist-2)}
.skeleton .lines{flex:1;display:flex;flex-direction:column;gap:10px}
.skeleton .ln{height:14px;border-radius:var(--r6);background:var(--mist-2)}
.skeleton .ln.w80{width:80%}.skeleton .ln.w50{width:50%}.skeleton .ln.w30{width:30%;height:22px;background:var(--line)}
.skeleton .cta{width:140px;height:44px;border-radius:var(--r8);background:var(--mist-2)}
@media (max-width:640px){.skeleton .cta{display:none}}
.toast{position:fixed;left:50%;bottom:calc(var(--tabbar) + 16px);transform:translateX(-50%);z-index:60;padding:10px 14px;border-radius:var(--r8);background:var(--navy);color:#fff;font-size:13px;font-weight:600;box-shadow:var(--shadow);max-width:calc(100% - 32px)}
.toast button{border:0;background:transparent;padding:0;color:var(--amber);font-weight:700;text-decoration:underline;font-size:13px}
@media (min-width:900px){.toast{bottom:24px}}

/* ---------- Header (canvas: Component · Header) ---------- */

/* ---------- Category menu (desktop "All categories") ---------- */
.np-menu{position:fixed;inset:0;z-index:50;display:none}
.np-menu[open]{display:block}
.np-menu-scrim{position:absolute;inset:0;background:rgba(15,37,64,.55);border:0;padding:0;width:100%;height:100%;cursor:default}
.np-menu-panel{position:absolute;top:0;left:0;bottom:0;width:min(420px,92vw);background:var(--paper);color:var(--ink);overflow-y:auto;padding:12px 16px 24px;display:flex;flex-direction:column;gap:4px}
.np-menu-panel .icon-btn{color:var(--ink)}
.np-menu-panel .section-heading{display:flex;justify-content:space-between;align-items:center;padding:4px 0 8px;border-bottom:1px solid var(--line);margin-bottom:8px}
.np-menu-panel .section-heading strong{font-size:18px}
.np-menu-panel details{border-bottom:1px solid var(--mist-2)}
.np-menu-panel summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;font-weight:700;cursor:pointer}
.np-menu-panel summary::-webkit-details-marker{display:none}
.np-menu-panel summary::after{content:"›";margin-left:auto;color:var(--text-3);transition:transform .15s}
.np-menu-panel details[open] summary::after{transform:rotate(90deg)}
.np-menu-panel details a{display:flex;align-items:center;min-height:44px;padding-left:34px;color:var(--ink);text-decoration:none;font-size:14px}
.np-menu-panel details a:hover{text-decoration:underline}
.np-menu-panel .menu-all{margin-top:12px;font-weight:700}

/* ---------- Dialogs (canvas: Overlays) ---------- */
.np-dialog{border:0;border-radius:var(--r12);padding:0;max-width:min(520px,calc(100vw - 32px));width:100%;color:var(--ink);background:var(--paper)}
.np-dialog::backdrop{background:rgba(15,37,64,.55)}
.np-dialog form,.np-dialog .dialog-body{padding:22px;display:flex;flex-direction:column;gap:14px}
.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.dialog-head h2{font-size:20px;font-weight:700}
.dialog-head .icon-btn{width:44px;height:44px;font-size:22px}
.country-list{display:flex;flex-direction:column;gap:4px;max-height:220px;overflow-y:auto}
.country-opt{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:var(--r8);border:1px solid var(--line);background:var(--paper);font:500 14px var(--body);color:var(--ink);text-align:left;width:100%}
.country-opt[aria-checked="true"]{border-color:var(--navy);background:var(--amber-soft)}
.country-opt .code{width:32px;height:22px;border-radius:4px;background:var(--mist-2);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800}
.country-opt .cur{margin-left:auto;font-size:12px;color:var(--np-text)}
.country-opt[disabled]{opacity:.6;cursor:not-allowed}
.country-opt .soon{font-size:11px;font-weight:700;color:var(--text-2);background:var(--mist);padding:2px 6px;border-radius:var(--r6)}
/* ---------- Compare tray ---------- */
.compare-tray{position:fixed;left:16px;right:16px;bottom:calc(var(--tabbar) + 12px);z-index:40;max-width:760px;margin-inline:auto;padding:12px 12px 12px 20px;background:var(--navy);color:#fff;border-radius:var(--r12);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;box-shadow:var(--shadow)}
@media (min-width:900px){.compare-tray{bottom:16px}}
.compare-tray[hidden]{display:none}
/* Phase V: the open tray never covers the end of the page: the page gets bottom room for the tray's height and its 12px / 16px
   offset (--tray-h, which app.mjs compareTray() sets from the tray itself; else one row of the tray, 72px). */
body:has(#compare-tray:not([hidden])){padding-bottom:calc(var(--tray-h,72px) + 16px)}
@media (max-width:900px){body.has-tabbar:has(#compare-tray:not([hidden])){padding-bottom:calc(var(--tabbar) + env(safe-area-inset-bottom,0px) + var(--tray-h,72px) + 12px)}}
/* Visitor-country notice: fixed above the tab bar, so it never shifts the page (no layout shift). */
.geo-notice{position:fixed;left:12px;right:12px;bottom:calc(var(--tabbar) + 12px);z-index:46;max-width:760px;margin-inline:auto;padding:14px 16px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:var(--r8);box-shadow:var(--shadow-2);display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.geo-notice[hidden]{display:none}
.geo-text{margin:0;flex:1 1 300px;min-width:0;font-size:14px;line-height:1.5;color:var(--text-2)}
.geo-text strong{color:var(--ink)}
.geo-text a{color:var(--link);font-weight:600}
.geo-text a:hover{color:var(--link-hover)}
.geo-actions{display:flex;flex-wrap:wrap;gap:8px}
.geo-actions .btn{white-space:normal;text-align:center}
@media (max-width:640px){.geo-actions{flex:1 1 100%}.geo-actions .btn{flex:1 1 auto;padding:0 14px}}
@media (min-width:900px){.geo-notice{bottom:16px}}
.compare-tray .btn-ghost{border-color:var(--text-2);color:#fff;background:transparent}
.compare-tray .btn-ghost:hover{color:#fff}

/* ---------- Mobile tab bar (canvas: M1–M3) ---------- */
.np-tabbar{display:none}
@media (max-width:900px){
 /* Floating tab bar (owner 2026-10-30, like the current YouTube app): a rounded bar that floats above the page edge.
    --tabbar is the space it takes (bar + gap), so toasts, trays and page padding clear it. */
 :root{--tabbar:84px}
 .np-tabbar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:45;height:62px;max-width:520px;margin-inline:auto;padding:6px;border-radius:var(--pill);background:rgba(255,255,255,.97);border:1px solid rgba(15,37,64,.08);box-shadow:0 10px 30px rgba(15,37,64,.18),0 2px 6px rgba(15,37,64,.08);display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
 @supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.np-tabbar{background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px)}}
 .np-tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;color:var(--text-3);font-size:11px;font-weight:700;position:relative;min-height:48px;border-radius:var(--pill)}
 .np-tabbar a svg{width:22px;height:22px}
 /* Current tab: a filled pill behind icon and label, plus bold text (not colour alone). */
 .np-tabbar a[aria-current="page"]{color:var(--ink);background:#EEF1F5;font-weight:800}
 .np-tabbar b{position:absolute;top:2px;right:calc(50% - 20px);font-size:10px;font-weight:800;background:var(--amber);color:var(--ink);min-width:16px;height:16px;border-radius:var(--pill);display:inline-flex;align-items:center;justify-content:center;padding:0 4px}
 .np-tabbar b[data-zero]{display:none}
}

/* ---------- Footer (canvas: Component · Footer) ---------- */
.np-footer{background:var(--navy);color:#fff;margin-top:40px}
.np-footer .shell{padding-top:36px;padding-bottom:24px;display:flex;flex-direction:column;gap:24px}
.np-footer-top{display:flex;flex-wrap:wrap;gap:24px 40px}
.np-footer-brand{flex:1 1 260px;display:flex;flex-direction:column;gap:14px}
.np-footer-brand .np-logo img{height:36px}
.np-footer-brand p{color:var(--muted);font-size:14px;line-height:1.6;max-width:300px}
.np-footer-region{align-self:flex-start;display:flex;align-items:center;gap:8px;background:transparent;border:1px solid var(--text-2);color:#fff;font:500 14px var(--body);padding:10px 14px;border-radius:var(--r8);min-height:44px}
.np-footer-region svg{width:16px;height:16px}
.np-footer nav{flex:1 1 160px;display:flex;flex-direction:column;gap:2px}
.np-footer nav p{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--amber)}
.np-footer nav a{color:var(--line);text-decoration:none;font-size:14px;min-height:32px;display:inline-flex;align-items:center}
.np-footer nav a:hover{color:#fff;text-decoration:underline}
.np-footer-bottom{border-top:1px solid var(--navy-3);padding-top:16px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;font-size:13px;color:var(--muted-3)}
.np-footer-bottom p{max-width:760px;line-height:1.6}
.np-markets{flex:1 0 100%;order:-1;font-size:13px;color:var(--muted-3);display:block}.np-markets a{color:#fff;display:inline-block;min-height:24px;padding:2px 0}

/* ---------- Pagination ---------- */
.pagination{display:flex;justify-content:center;align-items:center;gap:6px;padding-top:12px;flex-wrap:wrap}
.pagination a,.pagination span.gap{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:var(--r8);border:1px solid var(--line);color:var(--ink);text-decoration:none}
.pagination a[aria-current="page"]{background:var(--navy);color:#fff;border-color:var(--navy);font-weight:700}
.pagination span.gap{border:0;width:auto;padding:0 6px;color:var(--text-3)}

/* ---------- Sparkline / history ---------- */
.spark{width:80px;height:22px}
.history-chart{width:100%;height:220px;display:block;background:linear-gradient(var(--line) 1px,transparent 1px) 0 0/100% 73px}
.stat-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.stat-tiles div{padding:12px 14px;border-radius:var(--r8);background:var(--mist)}
.stat-tiles span{display:block;font-size:12px;color:var(--text-2)}
.stat-tiles strong{font-size:20px;font-variant-numeric:tabular-nums}

/* ---------- Static/long-form pages ---------- */
.prose{max-width:760px;display:flex;flex-direction:column;gap:14px;line-height:1.6}
.prose h1{font-family:var(--display);font-size:34px;letter-spacing:-.005em}
.prose h2{font-size:22px;font-weight:700;margin-top:12px}
.prose h3{font-size:17px;font-weight:700}
.prose ul{list-style:disc;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.prose ol{list-style:decimal;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.page-head{display:flex;flex-direction:column;gap:6px;margin:10px 0 14px}
.page-head h1{font-family:var(--display);font-size:32px;letter-spacing:-.025em;font-weight:700}
.page-head p{color:var(--text-2)}
@media (max-width:640px){.page-head h1{font-size:26px}}
.two-col{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.two-col>.col-main{flex:2 1 560px;min-width:0}
.two-col>.col-side{flex:1 1 300px;min-width:0}
.side-nav{display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);border-radius:var(--r12);padding:8px;position:sticky;top:12px}
.side-nav a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:var(--r8);color:var(--ink);text-decoration:none;font-weight:600;font-size:14px}
.side-nav a[aria-current="page"]{background:var(--mist);font-weight:800}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{min-height:48px;display:flex;align-items:center;font-weight:700;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";margin-left:auto;font-size:20px;color:var(--text-3)}
.faq details[open] summary::after{content:"−"}
.faq details p{padding:0 0 14px;color:var(--text-2)}

/* ======================================================================
   Phone shell (canvas M1 header + trust strip, M5 menu, M6 suggest, M9 sheets)
   ====================================================================== */
.nx{position:relative;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.nx::-webkit-scrollbar{display:none;width:0;height:0}
.nx>*{scroll-snap-align:start}

.np-bell{position:relative}

@media (max-width:900px){
 body{background:var(--mist-2)}
 .shell{padding-inline:0}
 .m-pad{padding-inline:12px}
 .np-footer .shell{padding-inline:12px}
 main.shell{max-width:none}
 /* header (M1): hamburger · logo · bell · heart, then the 42px search pill */
 
 
 
 
 
 
 
 
 
 
 
 
 
 /* 34px white trust strip */
 
 
 
 
 
 /* category icon row: 44px circles, Deals first (amber), home only */
 
 
 
 
 
 
 
 
 
 
 
 
 
 /* routes that draw their own compact header */
 /* routes that draw their own compact header keep the brand row (menu · NANA PRICE · price watch · watchlist) above it;
    only the header's search pill gives way to the page's own search field (Chairman 2026-11-08: the logo must show on phones) */
 
 
 body.route-suggest .np-tabbar{display:none}
 body.route-suggest{padding-bottom:0}
 body.route-suggest .np-footer,body.route-menu .np-footer{display:none}
 /* bottom sheets (M9) */
 .np-dialog.np-sheet{position:fixed;inset:auto 0 0 0;margin:0;width:100%;max-width:none;max-height:92vh;border-radius:4px 4px 0 0;overflow:auto;animation:np-sheet-up .22s ease-out}
 .np-dialog.np-sheet form{padding:4px 16px 22px;gap:10px}
 .sheet-handle{width:40px;height:5px;border-radius:var(--pill);background:var(--line-2);margin:4px auto 2px}
 .np-sheet .dialog-head h2{font-size:18px}
 .np-sheet .country-list{max-height:min(44vh,320px)}
 .np-sheet-foot{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px solid var(--line)}
 @keyframes np-sheet-up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
}
@media (prefers-reduced-motion:reduce){.np-dialog.np-sheet{animation:none}}
.np-country-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;color:var(--text-3)}
.np-country-search input{flex:1;min-width:0;border:0;background:transparent;font:400 14px var(--body);color:var(--ink);outline:0}
.np-country-search:focus-within,.sg-form:focus-within{outline:3px solid var(--amber);outline-offset:2px}

.np-sheet-foot{display:flex;flex-direction:column;gap:10px}
.country-opt{position:relative}
.country-opt>svg:last-child{color:var(--green);margin-left:4px}
/* ---------- Mobile menu (M5) ---------- */
.menu-page{display:flex;flex-direction:column;gap:8px;padding-bottom:24px;background:var(--mist-2)}
.menu-head .menu-logo{display:block;height:18px;width:auto;margin-right:auto}
.menu-head{height:52px;background:var(--navy);color:#fff;display:flex;align-items:center;gap:8px;padding:0 4px 0 14px}
.menu-brand{flex:1;font-weight:800;font-size:19px;letter-spacing:-.03em}.menu-brand b{font-weight:500}
.menu-head .icon-btn{color:#fff}
.menu-block{background:var(--paper)}
.menu-account{padding:14px;display:flex;align-items:center;gap:12px}
.menu-avatar{width:40px;height:40px;flex:none;border-radius:var(--pill);background:var(--mist);display:flex;align-items:center;justify-content:center;color:var(--ink)}
.menu-account-txt{flex:1;min-width:0;font-size:13px;line-height:1.4;color:var(--text-2)}
.menu-account-txt strong{display:block;font-size:15px;color:var(--ink)}
.menu-signin{flex:none;height:44px;padding:0 14px;border-radius:var(--r8);background:var(--navy);color:#fff;text-decoration:none;font-size:13px;font-weight:700;display:flex;align-items:center}
.menu-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 6px}
.menu-shortcuts a{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:var(--ink);font-size:12px;font-weight:600;min-height:44px}
.menu-sc-ic{position:relative;width:44px;height:44px;border-radius:var(--r8);display:flex;align-items:center;justify-content:center;color:var(--ink)}
.menu-sc-ic b{position:absolute;top:-2px;right:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:var(--pill);background:var(--navy);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}
.menu-h2{padding:14px 14px 6px;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--text-2)}
.menu-cats li{border-top:1px solid var(--mist-2)}
.menu-cats button{width:100%;height:48px;display:flex;align-items:center;gap:12px;padding:0 14px;border:0;background:var(--paper);font:600 15px var(--body);color:var(--ink);text-align:left}
.menu-cats button span{flex:1}
.menu-cats button>svg:last-child{color:var(--text-3);transition:transform .15s}
.menu-cats button[aria-expanded="true"]>svg:last-child{transform:rotate(90deg)}
.menu-subs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:0 14px 10px 48px;background:var(--paper)}
.menu-subs a{padding:11px 0;font-size:14px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--mist-2);min-height:44px;display:flex;align-items:center}
.menu-subs .menu-all{grid-column:1/-1;border:0;padding:10px 0 0;font-size:13px;font-weight:700;color:var(--link)}
.menu-row{width:100%;height:48px;display:flex;align-items:center;gap:12px;padding:0 14px;border:0;background:var(--paper);font:600 15px var(--body);color:var(--ink);text-align:left}
.menu-row span{flex:1}.menu-row em{font-style:normal;font-size:13px;font-weight:500;color:var(--text-2)}
.menu-link{height:46px;display:flex;align-items:center;padding:0 14px 0 46px;border-top:1px solid var(--mist-2);font-size:14px;color:var(--ink);text-decoration:none}
.menu-fine{padding:0 14px;font-size:11px;line-height:1.5;color:var(--text-3)}
@media (min-width:901px){.menu-page{max-width:520px;margin:16px auto;border:1px solid var(--line);border-radius:var(--r12);overflow:hidden}.menu-head .icon-btn{display:none}}
/* ---------- Autosuggest (M6) ---------- */
.sg-page{min-height:100vh;background:var(--paper)}
.sg-head{background:var(--navy);padding:8px 4px 8px 8px;display:flex;align-items:center;gap:4px;position:sticky;top:0;z-index:5}
.sg-form{flex:1;min-width:0;height:42px;display:flex;align-items:center;gap:8px;padding:0 10px;border-radius:var(--r8);background:var(--paper);box-shadow:0 0 0 2px var(--amber);color:var(--ink)}
.sg-form input{flex:1;min-width:0;border:0;background:transparent;font:500 16px var(--body);color:var(--ink);outline:0}
.sg-clear{width:28px;height:28px;border:0;border-radius:var(--r8);background:var(--mist-2);display:flex;align-items:center;justify-content:center;padding:0;color:var(--ink);position:relative}
.sg-clear::after{content:"";position:absolute;inset:-8px}
.sg-cancel{flex:none;padding:0 10px;height:44px;border:0;background:transparent;color:#fff;font:600 14px var(--body)}
.sg-empty{padding:14px 14px 0;display:flex;flex-direction:column;gap:16px}
/* the phone utility bar's country and delivery code (DESIGN_SYSTEM §3) */
.sg-ship{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:44px;padding:10px 12px;border:1px solid var(--np-border);border-radius:var(--r-input);background:var(--np-bg-2);color:var(--np-text);font:400 14px/20px var(--np-font);text-align:left;cursor:pointer}
.sg-ship svg{width:16px;height:16px;flex:none;color:var(--np-text-2)}
.sg-ship b{font-weight:600}
.sg-ship em{margin-left:auto;font-style:normal;font-weight:600;color:var(--np-navy);text-decoration:underline;text-underline-offset:3px}
.sg-row-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
.sg-row-head h2,.sg-h2{font-size:14px;font-weight:700}
.sg-h2{padding:12px 14px 4px}
.sg-h2-caps{font-size:12px;letter-spacing:.05em;color:var(--text-2)}
.sg-chips{display:flex;flex-wrap:wrap;gap:6px}
.sg-chip{height:32px;padding:0 12px;border-radius:var(--r8);border:1px solid var(--line-2);background:var(--paper);font:500 13px var(--body);color:var(--ink);position:relative}
.sg-chip::after{content:"";position:absolute;inset:-6px 0}
.sg-trend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.sg-trend button{width:100%;height:44px;display:flex;align-items:center;gap:8px;border:0;border-bottom:1px solid var(--mist-2);background:transparent;font:500 14px var(--body);color:var(--ink);text-align:left;padding:0}
.sg-trend{list-style:none;margin:0;padding:0}.sg-trend button svg{flex:none;color:var(--text-3)}
.sg-terms li{border-bottom:1px solid var(--mist-2)}
.sg-terms a,.sg-terms button{width:100%;min-height:44px;display:flex;align-items:center;gap:10px;padding:0 14px;color:var(--ink);text-decoration:none;font-size:15px;border:0;background:transparent;text-align:left;font-family:var(--body)}
.sg-terms svg{color:var(--text-3)}
.sg-terms span{flex:1}
.sg-terms em{font-style:normal;font-size:12px;color:var(--text-3)}
.sg-products a{display:flex;align-items:center;gap:12px;padding:8px 14px;color:var(--ink);text-decoration:none;min-height:60px}
.sg-products .well{width:52px;height:52px;flex:none;aspect-ratio:auto}
.sg-p-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:14px}
.sg-p-txt span:last-child{font-size:12px;color:var(--text-2)}
.sg-p-price{flex:none;text-align:right;display:flex;flex-direction:column}
.sg-p-price span{font-size:11px;color:var(--text-3)}.sg-p-price strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.sg-loading{display:flex;flex-direction:column;gap:8px;padding:8px 14px}.sg-loading span{height:52px;border-radius:var(--r8);background:var(--mist-2)}
.sg-in{display:flex;gap:6px;padding:10px 14px;border-top:1px solid var(--mist-2);align-items:center}
.sg-in span{flex:none;font-size:12px;font-weight:700;color:var(--text-2)}
.sg-in a{flex:none;height:30px;display:flex;align-items:center;padding:0 10px;border-radius:var(--r8);background:var(--mist);color:var(--ink);text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap;position:relative}
.sg-in a::after{content:"";position:absolute;inset:-7px 0}
.sg-all{display:block;width:calc(100% - 28px);margin:4px 14px 24px;height:44px;border:0;border-radius:var(--r8);background:var(--navy);color:#fff;font:700 14px var(--body)}
@media (min-width:901px){.sg-page{max-width:640px;margin:16px auto;min-height:auto;border:1px solid var(--line);border-radius:var(--r12);overflow:hidden}.sg-head{position:static}}
/* 44px touch area for footer links and the trust-strip region button without changing their drawn size */
.np-footer nav a{position:relative}.np-footer nav a::after{content:"";position:absolute;inset:-6px 0}

/* Server-rendered product summary (shown before the page script runs, and kept if the first load fails). */
.ssr-product{max-width:var(--container);margin:0 auto;padding:20px var(--gutter) 8px}.ssr-product h1{font-family:var(--display);font-size:clamp(22px,4vw,30px);font-weight:700;letter-spacing:-.005em;color:var(--ink);margin:0 0 6px}.ssr-product p{margin:0;color:var(--text-2);font-size:14px}
/* Server-rendered page text (worker/nana-ssr.mjs): readable without scripts; replaced when the page renders. */
.ssr{max-width:var(--container);margin:0 auto;padding:20px var(--gutter) 32px;color:var(--text-2);font-size:15px;line-height:1.55;overflow-wrap:anywhere}.ssr h1{font-family:var(--display);font-size:clamp(24px,4vw,34px);font-weight:700;letter-spacing:-.005em;color:var(--ink);margin:0 0 8px}.ssr h2{font-size:18px;color:var(--ink);margin:22px 0 6px}.ssr ul,.ssr ol{padding-left:20px;margin:6px 0}.ssr li{margin:3px 0}.ssr a{color:var(--ink)}.ssr .ssr-crumbs{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 10px;font-size:13px}.ssr .ssr-crumbs li+li::before{content:"›";margin-right:6px}.ssr-note{font-size:13px}

/* ---- Design direction A (owner's choice 2026-10-30, canvas board H-A): light header, calm borderless cards ---- */
/* Direction B (2026-10-31, canvas H-B): navy header on every screen size (owner asked for it on phones too). */
.gcard{border:0;padding:0;background:transparent;gap:5px}
.gcard .well{background:#F3F4F6;border-radius:var(--r8)}
.gcard .well img{padding:9%}
.gcard .badge-drop{top:10px;left:10px}
.gcard-cat{margin-top:8px;color:var(--text-2)}
.gcard-title{font-size:16px;font-weight:600;min-height:42px;color:#111827}
.gcard:hover .gcard-title{text-decoration:underline;text-underline-offset:3px}
.gcard-price .amount{font-size:22px;color:var(--ink)}
.gcard-meta{display:flex;align-items:center;gap:6px;color:var(--text-2);font-size:13px}

@media (max-width:900px){
 /* navy phone header (2026-10-31): white menu icon, white search pill */
 
 
 
 
}
@media (max-width:640px){.pgrid{gap:22px 12px;background:none;border-top:0;padding:0 12px}.gcard{border:0}}
/* Shop identity above a total price (owner 2026-10-30). */
.shop-tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--text-2);line-height:1}
.offer-total .shop-tag{display:flex;justify-content:flex-end;margin-bottom:6px}

/* Header search suggestions (autocomplete.mjs) */

.np-suggest{position:fixed;z-index:70;list-style:none;margin:0;padding:6px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r8);box-shadow:var(--shadow-2);max-height:min(70vh,520px);overflow:auto}
.np-suggest li a{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--r6);color:var(--ink);text-decoration:none;font-size:14px}
.np-suggest li.is-active a,.np-suggest li a:hover{background:var(--mist)}
.np-suggest-kind{font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--text-3)}
.np-suggest-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.np-suggest-label b{font-weight:800}
.np-suggest-where{font-size:12px;color:var(--text-3);white-space:nowrap}
@media (max-width:900px){.np-suggest{display:none}}

.gcard-ship{display:block;font-size:12px;color:var(--text-3);margin-top:1px}

/* Customer review fixes (2026-10-31) */
.np-footer .np-markets a{display:inline-flex;min-height:44px;align-items:center}
.np-footer .np-markets{display:block;line-height:1.2}
.np-footer{margin-top:32px}
.np-footer .shell{padding-top:16px;padding-bottom:12px;gap:10px}
.np-footer-top{gap:16px 24px}
.np-footer nav p{margin-bottom:2px}
.np-footer-top>nav:not(.np-footer-mobile-links) a{min-height:22px;font-size:13px}
.np-footer-bottom{padding-top:6px;gap:8px 16px;align-items:center;font-size:12px}
.np-footer .np-markets{flex:0 1 auto;order:0}
.np-footer .np-markets a{min-height:28px}
.np-footer .np-footer-mobile-links{display:none}
@media (max-width:900px){
 .np-footer .shell{padding-top:14px;padding-bottom:14px;gap:10px}
 .np-footer-top{gap:8px}
 .np-footer-brand{flex:1 1 100%;gap:8px}
 .np-footer-top>nav:not(.np-footer-mobile-links){display:none}
 .np-footer .np-footer-mobile-links{display:flex;flex:1 1 100%;flex-direction:column;gap:0}
 .np-footer-mobile-links details{border-top:1px solid var(--navy-3)}
 .np-footer-mobile-links summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;color:var(--amber);font-size:13px;font-weight:700;letter-spacing:.04em;list-style:none}
 .np-footer-mobile-links summary::-webkit-details-marker{display:none}
 .np-footer-mobile-links summary::after{content:'+';color:#fff;font-size:20px;font-weight:400}
 .np-footer-mobile-links details[open] summary::after{content:'−'}
 .np-footer-mobile-links details>div{display:flex;flex-direction:column;padding-bottom:8px}
 .np-footer-mobile-links a{color:var(--line);display:flex;align-items:center;min-height:44px;font-size:14px;text-decoration:none}
 .np-footer-bottom{gap:4px;font-size:12px}
 .np-footer-bottom p{line-height:1.4}
 .np-footer .np-markets{display:none}
}
.pcard-cat{text-transform:none;letter-spacing:0;font-weight:600}
.ha-more,.home-msec-head a,.breadcrumb a,.srch-m-layout button,.switch-group button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
.breadcrumb a{min-width:0;padding:0 2px}
.prose a,.legal a,.content-box a{overflow-wrap:anywhere}

/* Phone: the sticky buy bar never covers the footer; one clear button in the suggest field (customer test 2026-10-31). */
@media (max-width:900px){body.route-product .np-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
.sg-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}

/* Toasts sit above the compare tray when it is open (customer test 2026-10-31). */
body:has(.compare-tray:not([hidden])) .toast{bottom:calc(var(--tabbar) + 96px)}
@media (min-width:900px){body:has(.compare-tray:not([hidden])) .toast{bottom:100px}}

/* Desktop: list counters sit on their icon, so the header search keeps its width when they appear. */

/* Design audit 2026-11-01 */
/* Phones: content pages keep a 16 px gutter (help, legal, guides, calendar, compare, 404). */
@media (max-width:900px){body.route-other main.shell{padding-inline:16px}}
/* Amber marks the one buy action ("Go to eBay"); card buttons are navy outlines. */
.pcard-price .btn-primary,.deals-card .btn-primary{background:var(--paper);color:var(--ink);border:1px solid var(--navy)}
.pcard-price .btn-primary:hover,.deals-card .btn-primary:hover{background:var(--navy);color:#fff}

/* Stored prices notice (live checks unavailable) */
.stale-notice{margin:0 0 12px;padding:8px 12px;border-radius:var(--r8);background:var(--amber-tint);color:var(--text);font-size:13px;font-weight:600}
@media (max-width:900px){.stale-notice{margin:10px 14px 0}}

/* Compare page buttons: navy outline like the other cards (amber is the one Go to eBay action). */
.compare-table .btn-primary,.compare-page .btn-primary{background:var(--paper);color:var(--ink);border:1px solid var(--navy)}
.compare-table .btn-primary:hover,.compare-page .btn-primary:hover{background:var(--navy);color:#fff}

/* Price parts keep the owner's raised currency style while making cents legible. */
.p-amt{white-space:nowrap;font-variant-numeric:tabular-nums lining-nums}
.p-amt [data-t]::before{content:attr(data-t)}
.p-cur,.p-cents{position:relative;font-weight:inherit}
.p-cur{font-size:.62em;top:-.52em;margin-right:.06em}
.p-cents{font-size:.72em;top:-.3em;margin-left:.02em}

/* Headings and labels in the platform font: no forced weight 800 or tight tracking anywhere. */
h1,h2,h3,.display{letter-spacing:-.005em}
.display{font-weight:700}

/* Search suggestions with photo and price (worker/suggest.ts, 2026-10-31): product rows show a 40px photo,
   the name, and "from $X" (.price gets the raised cents) when a recent price is known; the brand otherwise. */
.np-suggest li a.np-suggest-product{grid-template-columns:40px minmax(0,1fr) auto;gap:12px;padding:6px 10px}
.np-suggest-thumb,.sg-terms .sg-thumb{flex:none;width:40px;height:40px;border-radius:var(--r6);background:var(--mist);display:flex;align-items:center;justify-content:center;overflow:hidden}
.np-suggest-thumb img,.sg-terms .sg-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.np-suggest-price,.sg-terms em.sg-from{white-space:nowrap;font-size:12px;color:var(--text-3);font-style:normal}
.np-suggest-price .price,.sg-terms em.sg-from .price{font-size:16px;color:var(--ink);margin-left:2px}
.sg-terms li.sg-term-product a{min-height:56px;padding-block:8px}
.sg-terms li.sg-term-product a>span:not(.sg-thumb){min-width:0;overflow-wrap:anywhere}
/* One card per model: "3 colours" / "3 sizes" line on search cards (2026-10-31). */
.pcard-opts,.gcard-opts{font-size:13px;color:var(--ink);font-weight:600}
.gcard-opts{font-size:12px}

.p-listed{display:block;font-size:12px;font-weight:400;color:var(--text-2);letter-spacing:0;white-space:nowrap}

/* Price targets reflow when the browser enlarges text rather than escaping the alert sheet. */
.alert-quick{display:flex;flex-wrap:wrap;gap:6px}
.alert-quick .chip{flex:1 1 100px;min-width:0;min-height:44px;justify-content:center;padding:6px;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:12px}
.alert-quick .chip::after{inset:0}

/* Keep every navigation label inside its own hit area when text-only size is enlarged. */
@media (max-width:360px){
 :root{--tabbar:112px}
 .np-tabbar{height:auto;min-height:62px}
 .np-tabbar a{min-width:0;min-height:48px;padding:4px 1px;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.1}
 .np-tabbar.is-large-text{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:2px}
 .np-tabbar.is-large-text a:nth-child(-n+3){grid-column:span 2}
 .np-tabbar.is-large-text a:nth-child(n+4){grid-column:span 3}
}

/* Windows forced colors: preserve state with shape and system colors. */
@media (forced-colors:active){
 :focus-visible{outline:3px solid Highlight;outline-offset:3px}
 body .chip[aria-pressed="true"],body .chip[aria-selected="true"],body .seg button[aria-pressed="true"],body .switch-group button[aria-pressed="true"],body .country-opt[aria-checked="true"]{border:3px solid Highlight}
 body button:disabled,body .btn[aria-disabled="true"]{opacity:1;color:GrayText;border:2px dashed GrayText;text-decoration:line-through}
 body .input[aria-invalid="true"]{border:3px solid Mark}
 body .field-error:not([hidden]){border-left:3px solid Mark;padding-left:8px;color:CanvasText}
 body .field-error:focus{outline:3px solid Highlight;outline-offset:2px}
}
@media (max-width:900px){body.route-product .np-footer{padding-bottom:0}body.route-product{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
/* menu: a sector with several groups titles each group across both columns (2026-11-08) */
.menu-subs .menu-sub-h{grid-column:1/-1;padding:14px 0 2px;font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--text-2)}

.np-menu-panel .np-menu-gh{margin:10px 0 2px;padding-left:34px;font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--text-2)}
.np-menu-panel .menu-all{min-height:44px;display:flex;align-items:center}
/* Mobile QA 2026-11-09: 44px touch targets on phones (deals sort, text links that stand alone in empty states). */
@media (max-width:900px){.deals-sort select{min-height:44px}.state>a:not(.btn){display:inline-flex;align-items:center;min-height:44px}}
/* Mobile QA 2026-11-09 (audit F20): on phones the country notice is part of the page under the header, not a layer over it. */
/* It keeps the header's deep-blue band around it (box-shadow spread fills its margin), so a page's own blue search bar below never looks split off (UI review 2026-11-09). */
@media (max-width:900px){.geo-notice{position:static;margin:12px;max-width:none;border:0;box-shadow:0 0 0 12px var(--navy);padding:12px 14px}}
/* Mobile QA 2026-11-09: the toast and the page's last rows clear the compare tray, whatever its height (two rows at 390 px). */
body:has(.compare-tray:not([hidden])) .toast{bottom:calc(var(--tabbar) + var(--tray-h,84px) + 32px)}
@media (max-width:900px){body.has-tabbar:has(.compare-tray:not([hidden])){padding-bottom:calc(var(--tabbar) + var(--tray-h,84px) + 24px + env(safe-area-inset-bottom,0px))}}
@media (min-width:900px){body:has(.compare-tray:not([hidden])) .toast{bottom:calc(var(--tray-h,64px) + 32px)}}

/* The page container takes keyboard focus after each navigation (app.mjs); it is not a control, so it draws no focus ring. */
#main:focus,#main:focus-visible{outline:none}
/* Phase G (gate K): the server's LCP picture (nana-seo.mjs serverLcp). It shows above the server text until the page draws, then the
   page reuses the same element (app.mjs). In a product frame it fills the hero box. */
.ssr-lcp{display:block;width:100%;max-width:560px;height:auto;aspect-ratio:1/1;object-fit:contain;margin:0 0 16px;mix-blend-mode:multiply}
.ssr-lcp-card{max-width:270px}
@media (max-width:900px){.ssr-lcp{max-width:none;max-height:min(86vw,420px)}.ssr-lcp-card{width:45vw;max-height:none}}
.prod-hero>.ssr-lcp,.m-prod-images>.ssr-lcp{width:100%;height:100%;max-width:none;max-height:none;margin:0}
