/* =====================================================================
   Buyfo core — the 2026 clean design (loaded on every page)
   One accent (green = save), orange only for Buy, neutral greys,
   one font, SVG icons. Light + dark. Mobile-first.
   ===================================================================== */
:root {
  --c-bg: #f6f7f9;
  --c-surface: #ffffff;
  --c-soft: #f1f4f7;
  --c-line: #e6e9ef;
  --c-text: #0f172a;
  --c-muted: #556175;   /* ≥5.6:1 on every light background (WCAG AA) */
  --c-faint: #646f81;   /* ≥4.6:1 — was #94a3b8 (2.4:1, failed) */
  /* Brand greens come straight from the Buyfo logo (Nov 2026). #24C68A = logo emerald (icons, chart lines,
     highlights — never small text on white: 2.2:1). #087F5B = the logo's deep green, text-safe (5:1 on white). */
  --c-logo: #24C68A;
  --c-brand: #087F5B;      /* green text & links — 5:1 on white, 4.7:1 on the page background */
  --c-brand-2: #06684B;    /* hover / darker */
  --c-brand-soft: #E6F8F1; /* soft tint of the logo green */
  --c-fill: #087F5B;       /* solid green behind white text (buttons, pills) — 5:1 */
  --c-fill-2: #06684B;
  --c-buy: #CF4A0B;        /* orange Buy buttons — white text 4.53:1 (WCAG AA) */
  --c-buy-2: #B8420A;      /* hover: a shade deeper (5.5:1) */
  --c-red: #be123c;       /* ≥6:1 on white — was #e11d48 (4.3:1) */
  --c-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .05);
  --c-shadow-lg: 0 10px 30px rgba(15, 23, 42, .1);
  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 14px;
  --hdr-h: 64px;
  --bnav-h: 0px;
  /* legacy pages (still on style.css) use the same single font */
  --font: var(--f);
  --font-display: var(--f);
}
:root[data-theme="dark"] {
  --c-bg: #0b1120;
  --c-surface: #111827;
  --c-soft: #1a2233;
  --c-line: #243044;
  --c-text: #e5e9f0;
  --c-muted: #9aa6ba;
  --c-faint: #8d99ad;   /* dark mode ≥5.5:1 — was 3.5:1 */
  --c-logo: #24C68A;
  --c-brand: #24C68A;      /* the logo emerald reads well as text on dark (8.5:1) */
  --c-brand-2: #50D1A1;
  --c-brand-soft: rgba(36, 198, 138, .13);
  --c-fill: #087F5B;       /* white-on-green stays readable in dark mode too */
  --c-fill-2: #06684B;
  --c-buy: #CF4A0B;
  --c-buy-2: #B8420A;
  --c-red: #fb7185;
  --c-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --c-shadow-lg: 0 12px 30px rgba(0, 0, 0, .4);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--f); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.ico { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons + chips ---------- */
.btn-p, .btn-s, .btn-buy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn-p { background: var(--c-fill); color: #fff; }
.btn-p:hover { background: var(--c-fill-2); }
.btn-buy { background: var(--c-buy); color: #fff; font-weight: 800; }
.btn-buy:hover { background: var(--c-buy-2); }
.btn-s { background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-line); }
.btn-s:hover { border-color: var(--c-brand); color: var(--c-brand); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.chip:hover { border-color: var(--c-brand); color: var(--c-brand); }
.chip.on { background: var(--c-text); border-color: var(--c-text); color: var(--c-surface); }
.chip small { color: var(--c-faint); font-weight: 600; }
.chip.on small { color: inherit; opacity: .7; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--c-surface) 94%, transparent); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--c-line); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: var(--hdr-h); }
.logo2 { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
/* Buyfo wordmark (logo pack Nov 2026): letters follow currentColor; the split-path y is deep green on light,
   emerald with a lime tip on dark */
.logo2 { color: #0C1020; }
[data-theme="dark"] .logo2 { color: #F7FAF5; }
.bf-logo { display: block; height: 38px; width: auto; }
.ftr .bf-logo { height: 42px; }
[data-theme="dark"] .bf-logo .bf-y { fill: #24C68A; }
[data-theme="dark"] .bf-logo .bf-tip { fill: #C8F45C; }
.bf-icon { display: block; width: 100%; height: 100%; }
.hsearch { flex: 1 1 auto; max-width: 620px; position: relative; display: flex; align-items: center; }
.hsearch .ico { position: absolute; left: 14px; color: var(--c-faint); pointer-events: none; }
.hsearch input { width: 100%; height: 44px; padding: 0 96px 0 42px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-soft); font-size: 15px; outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.hsearch input::placeholder { color: var(--c-faint); }
.hsearch input:focus { background: var(--c-surface); border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-soft); }
.hsearch button { position: absolute; right: 4px; height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--c-fill); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.hsearch button:hover { background: var(--c-fill-2); }
.hnav { display: flex; align-items: center; gap: 4px; }
.hnav > a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--c-muted); text-decoration: none; white-space: nowrap; }
.hnav > a:hover, .hnav > a.on { color: var(--c-text); background: var(--c-soft); }
.hact { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hbtn { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 0; background: none; color: var(--c-muted); cursor: pointer; text-decoration: none; }
.hbtn:hover, .hbtn.on { background: var(--c-soft); color: var(--c-text); }
.hbtn .i-moon { display: none; }
[data-theme="dark"] .hbtn .i-sun { display: none; }
[data-theme="dark"] .hbtn .i-moon { display: inline-block; }
.hcta { margin-left: 6px; height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 1080px) { .hnav { display: none; } }
@media (max-width: 860px) {
  :root { --hdr-h: 56px; --bnav-h: 62px; }
  .hdr-in { flex-wrap: wrap; height: auto; gap: 0 8px; padding-top: 8px; padding-bottom: 10px; }
  .logo2 { height: 40px; }
  .hsearch { order: 3; flex: 1 1 100%; max-width: none; margin-top: 8px; }
  .hsearch input { height: 44px; font-size: 16px; padding-right: 12px; }
  .hsearch button { display: none; }
  .hcta, .hbtn.h-alerts { display: none; }
}

/* ---------- WhatsApp button ---------- */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(37, 211, 102, .4); }

/* ---------- mobile bottom bar ---------- */
.bnav { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom)); }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; height: calc(var(--bnav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--c-surface) 96%, transparent); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid var(--c-line); }
  .bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--c-muted); font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer; }
  .bnav .on { color: var(--c-brand); }
  .bnav .ico { width: 22px; height: 22px; }
  /* keep other floating bits above the bar */
  .buybar { bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom)) !important; }
  .wa-fab { bottom: calc(var(--bnav-h) + 16px + env(safe-area-inset-bottom)) !important; }
  body:has(.buybar.show) .wa-fab { bottom: calc(var(--bnav-h) + 90px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- sections ---------- */
.sec { padding: 36px 0; }
.sec + .sec { padding-top: 8px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-h h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.sec-h p { margin: 4px 0 0; color: var(--c-muted); font-size: 14px; }
.sec-h a { display: inline-flex; align-items: center; gap: 4px; color: var(--c-brand); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
@media (min-width: 768px) { .sec { padding: 52px 0; } .sec-h h2 { font-size: 26px; } }

/* ---------- product card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.pc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 12px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r); text-decoration: none; color: var(--c-text); transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.pc:hover { border-color: color-mix(in srgb, var(--c-brand) 45%, var(--c-line)); box-shadow: var(--c-shadow-lg); transform: translateY(-2px); }
.pc-img { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; background: #fff; overflow: hidden; margin-bottom: 4px; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }
.pc-badge { position: absolute; top: 6px; left: 6px; z-index: 1; font-size: 11px; font-weight: 700; color: #06684B; background: #E6F8F1; border-radius: 6px; padding: 3px 7px; line-height: 1.3; }
.pc-badge.is-low { background: var(--c-fill); color: #fff; }
.pc-score { position: absolute; bottom: 6px; right: 6px; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 999px; background: #fff; border: 2.5px solid var(--c); color: #0f172a; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.pc-store { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--c-muted); white-space: nowrap; overflow: hidden; }
.pc-store i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
/* Official store logos (pp_store_logo): crisp rounded squares with a hairline edge so white logos read on white */
.st-logo { flex: 0 0 auto; border-radius: 24%; background: #fff; object-fit: contain; vertical-align: -0.2em; box-shadow: 0 0 0 1px rgba(15, 23, 42, .1); }
[data-theme="dark"] .st-logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.st-logo-l { display: inline-flex; align-items: center; justify-content: center; width: var(--sl); height: var(--sl); color: #fff; font-weight: 800; font-size: calc(var(--sl) * .58); line-height: 1; font-style: normal; }
.st-tag { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.st-tag b { font-weight: inherit; }
.pc-store .st-logo { margin-right: 1px; }
.btn-buy .st-on-btn { margin: 0; }
.st-on-btn { margin: 0 6px 0 5px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55) !important; }
.pc-t { font-size: 13.5px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.pc-p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 7px; margin-top: auto; }
.pc-p b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.pc-p s { font-size: 12.5px; color: var(--c-faint); }
.pc-p em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--c-brand); }
.pc-stale { font-size: 11.5px; color: var(--c-faint); }
.pc-store em { font-style: normal; color: var(--c-brand); font-weight: 700; font-size: 11px; background: var(--c-brand-soft); border-radius: 5px; padding: 0 4px; }
/* every store's price on a card (pp_card_stores) */
.pc-cmp { color: var(--c-brand); font-weight: 700; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pc-store .pc-rate { flex-shrink: 0; }
.pc-sp { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; padding-top: 7px; border-top: 1px dashed var(--c-line); }
.pc-sp-r { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-muted); min-width: 0; }
.pc-sp-r > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pc-sp-r b { margin-left: auto; font-weight: 700; color: var(--c-text); white-space: nowrap; }
.pc-sp-r small { font-size: 11px; color: var(--c-faint); white-space: nowrap; }
.pc-sp-r.is-best { color: var(--c-text); font-weight: 600; }
.pc-sp-r.is-best b { color: var(--c-brand); }
.pc-sp-more { font-size: 11.5px; color: var(--c-faint); }
@media (max-width: 639px) { .pc-sp-r small { display: none; } }   /* phones: room for the store name */
.pc-rate { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--c-text); white-space: nowrap; }
.pc-rate small { color: var(--c-faint); font-weight: 600; font-size: 11px; }
.pc-usual { font-size: 12.5px; color: var(--c-muted); }
.pc-usual b { color: var(--c-brand); font-weight: 700; }
.pc-flag { font-size: 11.5px; font-weight: 700; color: var(--c-red); }
.pc-has-buy { padding-bottom: 10px; }
.pc-has-buy:hover { transform: none; }
.pc-a { display: flex; flex-direction: column; gap: 6px; flex: 1; text-decoration: none; color: inherit; min-width: 0; }
.pc-buy { display: flex; align-items: center; justify-content: center; height: 38px; margin-top: 8px; border-radius: 10px; background: var(--c-brand-soft); color: var(--c-brand-2); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s; }
.pc-buy:hover { background: var(--c-buy); color: #fff; }
@media (min-width: 640px) { .pc { padding: 12px 12px 14px; } .pc-t { font-size: 14px; } }

/* horizontal rail of cards (mobile scroll) */
.rail2 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.rail2::-webkit-scrollbar { display: none; }
.rail2 > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail2 { grid-auto-columns: minmax(180px, 23%); gap: 14px; } }

/* ---------- footer ---------- */
.ftr { margin-top: 24px; background: var(--c-surface); border-top: 1px solid var(--c-line); font-size: 14px; }
.ftr-top { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 24px; }   /* top/bottom only — keeps the .wrap side gutters */
@media (min-width: 900px) { .ftr-top { grid-template-columns: 1.3fr 2fr 1.3fr; gap: 40px; padding-top: 48px; padding-bottom: 32px; } }
.ftr-brand p { color: var(--c-muted); margin: 12px 0 0; max-width: 320px; line-height: 1.6; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ftr-cols h4, .ftr-news h4 { margin: 0 0 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text); }
.ftr-cols a { display: block; padding: 4px 0; color: var(--c-muted); text-decoration: none; }
.ftr-cols a:hover { color: var(--c-brand); }
.ftr-news p { color: var(--c-muted); margin: 0 0 10px; }
.ftr-news form { display: flex; gap: 8px; }
.ftr-news input[type=email] { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-soft); outline: none; }
.ftr-news input[type=email]:focus { border-color: var(--c-brand); background: var(--c-surface); }
.ftr-news .btn-p { height: 42px; padding: 0 16px; font-size: 14px; }
.ftr-ok { color: var(--c-brand); font-weight: 700; }
.ftr-tg { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--c-brand); font-weight: 600; text-decoration: none; font-size: 13.5px; }
.ftr-social { display: flex; gap: 8px; margin-top: 14px; }
.ftr-social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--c-line); display: inline-flex; align-items: center; justify-content: center; color: var(--c-muted); }
.ftr-social a:hover { color: var(--c-brand); border-color: var(--c-brand); }
.ftr-pop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 0 16px 20px; color: var(--c-muted); font-size: 13px; line-height: 2; }
@media (min-width: 768px) { .ftr-pop { padding: 0 24px 20px; } }
.ftr-pop b { color: var(--c-text); }
.ftr-pop a { color: var(--c-muted); text-decoration: none; white-space: nowrap; }
.ftr-pop a:hover { color: var(--c-brand); }
.ftr-bar { border-top: 1px solid var(--c-line); padding: 16px 0 20px; color: var(--c-faint); font-size: 12.5px; line-height: 1.6; }
.ftr-bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.ftr-bar a { color: var(--c-muted); text-decoration: none; margin-left: 14px; }
.ftr-bar a:first-child { margin-left: 0; }
@media (max-width: 520px) { .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ accordion ---------- */
.faq2 { border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-surface); }
.faq2 details { border-top: 1px solid var(--c-line); }
.faq2 details:first-child { border-top: 0; }
.faq2 summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; cursor: pointer; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary .ico { color: var(--c-faint); transition: transform .2s; transform: rotate(90deg); }
.faq2 details[open] summary .ico { transform: rotate(-90deg); }
.faq2 details p { margin: 0; padding: 0 18px 16px; color: var(--c-muted); font-size: 14.5px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Store logo strip (pp_store_strip) */
.st-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.st-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); font-size: 13px; font-weight: 600; color: var(--c-text); white-space: nowrap; }
.st-strip-icons { gap: 10px; }
.st-hero { display: block; margin: 0 auto 14px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 8px 24px -10px rgba(15, 23, 42, .25); }
.ext-works { margin: 18px auto 0; max-width: 760px; }
.ext-works > span { display: block; margin-bottom: 10px; color: var(--c-faint); font-size: 13px; font-weight: 600; }
.st-strip-icons .st-logo { transition: transform .15s; }
.st-strip-icons .st-logo:hover { transform: translateY(-2px); }
/* Colour-family tag on product cards ("3 colours") */
.pc-cols { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(15, 23, 42, .1); color: #334155; font-size: 11px; font-weight: 700; }

/* ---------- instant search suggestions (app.js) ---------- */
.sug { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 140; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; box-shadow: var(--c-shadow-lg), 0 12px 32px rgba(15, 23, 42, .12); text-align: left; }
.sug[hidden] { display: none; }
.sug-h { padding: 8px 10px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c-faint); }
.sug-o { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--c-text); text-decoration: none; font-size: 14px; line-height: 1.35; min-width: 0; }
.sug-o:hover, .sug-o.on { background: var(--c-soft); }
.sug-o img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; box-shadow: 0 0 0 1px var(--c-line); }
.sug-m { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sug-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sug-t b { font-weight: 800; }
.sug-m small { font-size: 12px; color: var(--c-brand); font-weight: 600; }
.sug-pr { margin-left: auto; font-weight: 800; white-space: nowrap; padding-left: 8px; }
.sug-ic { width: 28px; height: 28px; flex: 0 0 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--c-soft); color: var(--c-muted); font-weight: 800; }
.sug-o.is-cat .sug-ic { background: var(--c-brand-soft); color: var(--c-brand); }
.sug-o.is-all { justify-content: center; color: var(--c-brand); font-weight: 700; border-top: 1px solid var(--c-line); border-radius: 0 0 10px 10px; margin-top: 4px; padding-top: 10px; }

/* "Get the Buyfo app" banner (phones, from the 2nd visit) */
.bf-install { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom) + 10px); z-index: 120;
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: #0C1020; color: #F7FAF5;
  box-shadow: 0 12px 30px rgba(12, 16, 32, .35); animation: bfInstallIn .35s cubic-bezier(.2, .9, .3, 1.2); }
.bf-install img { border-radius: 11px; flex: 0 0 auto; }
.bf-install > div { flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 1.35; }
.bf-install b { display: block; font-size: 14.5px; }
.bf-install span b { display: inline; font-size: inherit; }
.bf-install span svg { vertical-align: -2px; }
.bf-install span { color: #b8c2d3; }
.bf-install-go { flex: 0 0 auto; height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: #24C68A; color: #0C1020; font-weight: 800; cursor: pointer; }
.bf-install-x { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .08); color: #b8c2d3; cursor: pointer; }
@keyframes bfInstallIn { from { transform: translateY(24px); } }   /* slide only, never stuck invisible */
@media (prefers-reduced-motion: reduce) { .bf-install { animation: none; } }