/* Təzə Bazar — design tokens */
:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-2: #f8faf9;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --line: #e3e8e6;
  --line-strong: #cfd8d4;
  --brand: #0f9d58;
  --brand-strong: #0b7f47;
  --brand-ink: #ffffff;
  --brand-soft: #e7f6ee;
  --accent: #ffd43b;
  --accent-ink: #1f1a00;
  --sale: #e5484d;
  --sale-soft: #fdecec;
  --warn-soft: #fff6d6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .05);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 14px 32px rgba(15, 23, 42, .10);
  --img-bg: #ffffff;
  --header-h: 120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1210; --surface: #121b18; --surface-2: #17221e; --text: #e8efec; --text-2: #c3cfca;
    --muted: #8a9a94; --line: #23302b; --line-strong: #314139; --brand: #2fbf71; --brand-strong: #46d184;
    --brand-ink: #04140b; --brand-soft: #12301f; --sale-soft: #3a1618; --warn-soft: #332a0d;
    --shadow: none; --shadow-hover: 0 0 0 1px var(--line-strong); --img-bg: #f4f6f5;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 6px 0 14px; }
h2 { font-size: 20px; letter-spacing: -.01em; margin: 0; }
h3 { font-size: 16px; margin: 0 0 6px; }
section { margin-top: 36px; }
.ico { width: 20px; height: 20px; flex: none; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.sec-head h1 { margin: 0; }

/* ---------- header ---------- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-row { display: flex; gap: 24px; align-items: center; padding-top: 14px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo-text b { color: var(--brand); font-weight: 800; }
.logo-sm .logo-mark { width: 28px; height: 28px; border-radius: 8px; }
.logo-sm .logo-mark svg { width: 16px; height: 16px; }
.logo-sm .logo-text { font-size: 18px; }

.search { flex: 1; min-width: 0; display: flex; align-items: center; position: relative; background: var(--surface);
          border: 2px solid var(--accent); border-radius: 14px; transition: box-shadow .15s; }
.search:focus-within { box-shadow: 0 0 0 4px rgba(255, 212, 59, .35); }
.search-ico { width: 19px; height: 19px; color: var(--muted); position: absolute; left: 14px; pointer-events: none; }
.search input { flex: 1; min-width: 0; border: 0; padding: 11px 12px 11px 42px; font: inherit; background: transparent; color: var(--text); outline: none; }
.search button { border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 0 22px; align-self: stretch; cursor: pointer; border-radius: 0 10px 10px 0; }
.search button:hover { filter: brightness(.97); }

.cats { display: flex; gap: 4px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 7px 14px 7px 11px; border-radius: 999px; white-space: nowrap; color: var(--text-2); font-weight: 500; }
.cats a .ico { width: 18px; height: 18px; color: var(--muted); }
.cats a:hover { background: var(--surface-2); }
.cats a.on { background: var(--brand-soft); color: var(--brand-strong); }
.cats a.on .ico { color: var(--brand); }

/* ---------- buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: var(--brand-ink);
       border: 1px solid transparent; border-radius: var(--radius-sm); padding: 9px 16px; font-weight: 600; text-decoration: none;
       cursor: pointer; white-space: nowrap; transition: background .15s, transform .05s; }
.btn:hover { background: var(--brand-strong); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--brand-strong); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-big { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.pill { display: inline-block; background: var(--brand-soft); color: var(--brand-strong); border-radius: 999px; padding: 2px 9px; font-weight: 600; font-size: 12px; }
.pill.bad { background: var(--sale-soft); color: var(--sale); }
.pill.wait { background: var(--warn-soft); color: #8a6d00; }
.avatar { --h: 150; width: 34px; height: 34px; border-radius: 10px; flex: none; display: inline-grid; place-items: center;
          font-weight: 800; font-size: 15px; color: hsl(var(--h) 55% 30%); background: hsl(var(--h) 60% 92%); }
.avatar.sm { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; margin-right: 8px; vertical-align: middle; }
@media (prefers-color-scheme: dark) { .avatar { color: hsl(var(--h) 60% 80%); background: hsl(var(--h) 35% 20%); } }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 28px;
        background: radial-gradient(1200px 400px at 0% 0%, var(--brand-soft), transparent 60%), var(--surface);
        border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-strong);
           background: var(--surface); border: 1px solid var(--line); padding: 5px 12px 5px 8px; border-radius: 999px; }
.eyebrow .ico { width: 16px; height: 16px; color: var(--brand); }
.hero h1 { font-size: 44px; line-height: 1.08; letter-spacing: -.035em; margin: 18px 0 14px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 17px; color: var(--text-2); margin: 0 0 22px; max-width: 600px; }
.hero-search { display: flex; align-items: center; position: relative; background: var(--surface); border: 2px solid var(--text);
               border-radius: 16px; max-width: 640px; box-shadow: var(--shadow); }
.hero-search .search-ico { left: 16px; width: 21px; height: 21px; }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 15px 12px 15px 46px; font: inherit; font-size: 16px; background: transparent; color: var(--text); outline: none; }
.hero-search button { border: 0; margin: 5px; background: var(--brand); color: var(--brand-ink); font-weight: 700; padding: 11px 20px; border-radius: 11px; cursor: pointer; white-space: nowrap; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.brand-chips a { text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.brand-chips a:hover { border-color: var(--brand); color: var(--brand-strong); }
.hero-stats { display: grid; gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; }
.stat b { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13.5px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none;
        display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
        box-shadow: var(--shadow); transition: box-shadow .15s, border-color .15s; }
.tile:hover { box-shadow: var(--shadow-hover); border-color: var(--brand); }
.tile-ico { grid-row: span 2; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.tile-ico .ico { width: 30px; height: 30px; }
.tile-name { font-weight: 700; font-size: 17px; }
.tile-count { color: var(--muted); font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.tile-count .ico { width: 15px; height: 15px; transition: transform .15s; }
.tile:hover .tile-count .ico { transform: translateX(3px); color: var(--brand); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.how-step p { margin: 0; color: var(--text-2); font-size: 14px; }
.how-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--warn-soft); color: #8a6d00; display: grid; place-items: center; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .how-ico { color: var(--accent); } }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; display: flex;
        flex-direction: column; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s; min-width: 0; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.thumb { position: relative; aspect-ratio: 1 / 1; background: var(--img-bg); display: flex; align-items: center; justify-content: center; padding: 18px; }
.thumb img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.badge-sale { position: absolute; top: 10px; left: 10px; background: var(--sale); color: #fff; font-weight: 700; font-size: 12.5px; padding: 3px 8px; border-radius: 8px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--line); }
.card-brand { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 14px; line-height: 1.35; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.card-price { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.card-old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.card-credit { font-size: 12.5px; color: var(--text-2); }
.card-stores { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; margin-top: 4px; }
.save { color: var(--brand-strong); font-weight: 600; }

/* ---------- listing ---------- */
.crumbs { margin: 18px 0 2px; color: var(--muted); font-size: 13.5px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.results-head .count { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.filter-toggle { display: none; }
.listing { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky;
           top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow: auto; }
.filters fieldset { border: 0; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.filters fieldset:last-of-type { border-bottom: 0; }
.filters legend { font-weight: 700; font-size: 14px; margin-bottom: 10px; padding: 0; }
.check { display: flex; gap: 10px; align-items: center; padding: 4px 0; cursor: pointer; font-size: 14px; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); margin: 0; }
.check em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12.5px; }
.brands .check.extra { display: none; }
.brands.all .check.extra { display: flex; }
.more { background: none; border: 0; color: var(--brand-strong); font-weight: 600; padding: 6px 0 0; cursor: pointer; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 6px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; }
.seg input:checked + span { background: var(--text); color: var(--surface); border-color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row2 input { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; background: var(--surface-2); color: var(--text); }
.row2 input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.filter-actions { display: flex; align-items: center; gap: 14px; }
.reset { color: var(--muted); font-size: 13.5px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; align-items: center; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; background: var(--text); color: var(--surface); font-size: 13px; font-weight: 500; padding: 5px 8px 5px 12px; border-radius: 999px; }
.chip .ico { width: 14px; height: 14px; opacity: .7; }
.chip:hover .ico { opacity: 1; }
.sorts { display: flex; gap: 2px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 3px; margin-left: auto; }
.sorts a { text-decoration: none; padding: 6px 12px; border-radius: 9px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.sorts a:hover { color: var(--text); }
.sorts a.on { background: var(--brand-soft); color: var(--brand-strong); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 28px 0 8px; }
.pager a { text-decoration: none; font-weight: 600; color: var(--brand-strong); padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); justify-self: start; }
.pager a:last-child { justify-self: end; }
.empty { padding: 40px 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty.slim { padding: 24px; }
.empty-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); display: inline-grid; place-items: center; color: var(--muted); margin-bottom: 10px; }
.empty p { margin: 0 0 12px; }

/* ---------- product ---------- */
.product { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 36px; background: var(--surface);
           border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-top: 10px; }
.product-img { background: var(--img-bg); border-radius: 14px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 22px; border: 1px solid var(--line); }
.product-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product h1 { font-size: 30px; margin: 4px 0 12px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec { font-size: 13px; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.spec b { color: var(--muted); font-weight: 500; margin-right: 4px; }
.best { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px;
        padding: 20px 22px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: 16px; }
.best-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-strong); }
.best-price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.best-price s { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.best-store { display: flex; align-items: center; gap: 10px; color: var(--text-2); margin-top: 6px; }
.best-store .avatar { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.facts .ico { color: var(--muted); width: 19px; height: 19px; }
.facts .good .ico { color: var(--brand); }

.offers { display: grid; gap: 8px; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) 150px 150px 110px auto; gap: 16px; align-items: center;
         background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.offer.top { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.offer.oos { opacity: .55; }
.offer-store { display: flex; gap: 12px; align-items: center; min-width: 0; }
.offer-store .ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.offer-price { display: flex; flex-direction: column; }
.offer-price b { font-size: 19px; letter-spacing: -.02em; }
.offer-price s { color: var(--muted); font-size: 13px; }
.offer-credit { display: flex; flex-direction: column; font-size: 14px; }
.offer-credit span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.offer-credit .ico { width: 16px; height: 16px; color: var(--muted); }

.chart-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: inherit; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; }
.legend i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }

.buybar { display: none; }

.about { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.about h2 { margin-bottom: 8px; }
.about p { margin: 0 0 8px; color: var(--text-2); max-width: 860px; }

/* ---------- tables (status) ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { color: var(--muted); font-weight: 600; font-size: 12.5px; background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table .err { white-space: normal; max-width: 360px; }

/* ---------- footer ---------- */
.foot { margin-top: 56px; border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; }
.foot-grid p { margin: 6px 0 0; max-width: 420px; }
.foot h4 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.foot a { text-decoration: none; color: var(--text-2); }
.foot a:hover { color: var(--brand-strong); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .offer { grid-template-columns: minmax(0, 1fr) 130px 130px auto; }
  .offer-seen { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 0px; }
  .wrap { padding: 0 16px; }
  .top { position: static; }
  .top-row { flex-wrap: wrap; gap: 12px; padding-top: 12px; }
  .search { flex-basis: 100%; order: 2; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; border-radius: 20px; margin-top: 16px; }
  .hero h1 { font-size: 32px; overflow-wrap: anywhere; }
  .hero-search button { padding: 11px 14px; }
  .lead { font-size: 15.5px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats .stat:last-child { grid-column: span 2; }
  .tiles, .how { grid-template-columns: 1fr; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; }
  .sorts { margin-left: 0; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .sorts a { white-space: nowrap; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .thumb { padding: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-price { font-size: 17px; }
  .product { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 18px; }
  .product-img { max-height: 320px; aspect-ratio: auto; }
  .product-img img { max-height: 280px; }
  .product h1 { font-size: 22px; }
  .best { padding: 16px; }
  .best .btn { width: 100%; }
  .best-price { font-size: 30px; }
  .offer { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "store price" "credit btn"; gap: 10px 12px; padding: 12px; }
  .offer-store { grid-area: store; }
  .offer-price { grid-area: price; text-align: right; }
  .offer-credit { grid-area: credit; flex-direction: row; gap: 8px; align-items: center; }
  .offer > .btn { grid-area: btn; padding: 8px 12px; }
  .offer-store .ttl { max-width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .has-buybar { padding-bottom: 76px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-between; align-items: center; gap: 12px;
            padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line);
            box-shadow: 0 -6px 20px rgba(15, 23, 42, .08); }
  .buybar > div { display: flex; flex-direction: column; line-height: 1.25; }
  .buybar b { font-size: 19px; }
  .buybar .btn { padding: 11px 18px; }
}
@media (max-width: 380px) {
  .grid { gap: 8px; }
  .card-title { font-size: 13px; }
  .hero h1 { font-size: 28px; }
}

/* ---------- landings, sections, FAQ ---------- */
.lead-sm { margin: -6px 0 6px; color: var(--text-2); font-size: 15.5px; }
.intro { margin: 0 0 18px; color: var(--muted); max-width: 900px; font-size: 14.5px; }
.check.dim { opacity: .45; }
.seg small { color: var(--muted); font-size: 11px; margin-left: 2px; }
.seg input:checked + span small { color: inherit; opacity: .7; }
.sec-head-link { justify-content: space-between; align-items: flex-end; }
.sec-head-link > div { display: flex; flex-direction: column; gap: 2px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; color: var(--brand-strong); white-space: nowrap; }
.see-all .ico { width: 16px; height: 16px; transition: transform .15s; }
.see-all:hover .ico { transform: translateX(3px); }
.grid-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.seo-links { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.link-groups { display: grid; gap: 16px; }
.link-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.link-group .brand-chips { margin-top: 0; }
.faq-list { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text-2); }
.notfound { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.notfound .hero-search { width: 100%; margin: 12px auto; }
.brand-chips.center { justify-content: center; }
@media (max-width: 1080px) { .grid-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-row > :nth-child(5) { display: none; } }
@media (max-width: 900px) {
  .grid-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-row > :nth-child(5) { display: none; }
  .seo-links { padding: 16px; }
}
