/* The static SEO pages (scraper/pages.py). Same colours and cards as the app (web/index.html). */
:root {
  --bg: #f4f5f7; --panel: #ffffff; --ink: #191b1f; --muted: #646973; --line: #e1e4e9;
  --accent: #2a4f8f; --accent-ink: #ffffff; --sale: #c2410c; --good: #15803d; --chip: #eceef2;
  --sale-ink: #ffffff; --good-ink: #ffffff;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141518; --panel: #1d1f23; --ink: #e9eaee; --muted: #9a9fa9; --line: #30333a;
    --accent: #8fb3f0; --accent-ink: #0f1a2c; --sale: #fb923c; --good: #4ade80; --chip: #272a30;
    --sale-ink: #1c0f04; --good-ink: #052e16;
  }
}
/* Sofia Sans (Lettersoup, OFL: web/fonts/SofiaSans-OFL.txt), self-hosted: the CSP allows only our own fonts, and
   Google's servers would see every visitor. One variable woff2 subset (Latin, Latin Ext-A, Cyrillic, €), made from
   google/fonts' SofiaSans[wght].ttf with fontTools to keep tabular figures (tnum), which Google's own files drop.
   Its default Cyrillic is the Bulgarian form (lang="bg"); a locl rule gives Russian shapes only for lang="ru". */
@font-face { font-family: "Sofia Sans"; src: url("/fonts/SofiaSans-var.woff2") format("woff2"); font-weight: 1 1000; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 16px/1.55 "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--accent); }

header.top { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding: 18px 24px 10px; max-width: 1200px; width: 100%; margin: 0 auto; }
.brand-link { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-link:hover .brand-name { color: var(--accent); }
.logo { width: 48px; height: 48px; flex: none; }
.logo .a { stroke: var(--accent); } .logo .ah { fill: var(--accent); } .logo .p { stroke: var(--sale); }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.brand-sub { font-size: 14px; color: var(--muted); }
header nav.cats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
header nav.cats a { color: var(--muted); text-decoration: none; padding: 2px 0; }
header nav.cats a:hover, header nav.cats a[aria-current] { color: var(--accent); }
/* Phones: no category links under the logo (the footer has them), so the page starts right away. */
@media (max-width: 820px) { header nav.cats { display: none; } }

main.page { width: 100%; max-width: 1200px; margin: 0 auto; padding: 8px 24px 40px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 6px 0 4px; }
.crumbs a { color: var(--muted); }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.015em; margin: 4px 0 12px; }
h2 { font-size: 20px; letter-spacing: -0.01em; margin: 34px 0 12px; }
.lead { max-width: 820px; font-size: 16px; }
/* The intro: the "Most a legolcsóbb" card beside number tiles (3 x 2 or 2 x 2), then the link into the app.
   On a phone: the card, the link, then the tiles 2 per row.
   Colours, one meaning each: green = the lowest price (the card and its store button, the page's one solid
   button: the click that pays), blue = going elsewhere on the site (the outlined link into the app),
   orange = discounts (Black Friday, price drops). */
.lead-block { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 18px; }
.cta-row { margin: 0; }
.intro { display: grid; grid-template-columns: minmax(300px, 25%) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.stats:has(> .stat:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-width: 0; }
.stat dd { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat dt { font-size: 13px; line-height: 1.35; color: var(--muted); }
.stat-model { position: relative; }
.stat-model:hover { border-color: var(--accent); }
.stat-link { color: inherit; text-decoration: none; }
.stat-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* the whole tile is the link */
.stat-name { display: block; margin-top: 2px; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-name::after { content: " →"; }
.deal { display: flex; flex-direction: column; gap: 8px; background: var(--panel); border: 1.5px solid var(--good); border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.deal .eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--good); }
/* The deals page's card under folder tabs. The card is tinted green, and the selected tab is the same tint
   and border with no line under it, so it reads as part of the card's top edge. The other tabs are plain
   muted text on the page background. Corners are only slightly rounded. The tabs come in rows of at most
   TABS_PER_ROW (pages.py, balanced: 5 tabs are 3 + 2), each row's tabs sharing its width, so a short row has
   no gaps; pages.js moves the selected tab's row to the bottom, against the card, as multi-row tabs do. The
   card's corner under a selected end-of-row tab is square (data-edge), so the tab runs straight into the
   card's side. */
.deal-tabs { --tab-bg: color-mix(in srgb, var(--good) 7%, var(--bg)); display: flex; flex-direction: column; min-width: 0; }
.deal-tabs > [role=tabpanel] { flex: 1; display: flex; flex-direction: column; }
.deal-tabs .deal { flex: 1; background: var(--tab-bg); }
/* On a desktop the deals card takes half the width and the tiles stack 2 per row beside it; pages.js puts the
   tabs in at least 3 rows, more when the widest name wouldn't fit. */
.intro:has(> .deal-tabs) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.intro:has(> .deal-tabs) .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.deal-tabs .deal-img { width: 120px; height: 120px; }
.deal-tabs .deal-name { font-size: 18px; }
.deal-tabs[data-edge~=left] .deal { border-top-left-radius: 0; }
.deal-tabs[data-edge~=right] .deal { border-top-right-radius: 0; }
.tabs { display: flex; flex-direction: column; margin-bottom: -1.5px; position: relative; z-index: 1; }
.tab-row { display: flex; gap: 2px; }
.tabs button { flex: 1 1 0; min-width: 0; padding: 8px 4px 7px; border: 1.5px solid transparent; border-bottom: 0; border-radius: 4px 4px 0 0;
  background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) { .tabs button:hover { color: var(--ink); } }   /* not on touch: the rows move under the finger */
.tabs button[aria-selected=true] { background: var(--tab-bg); color: var(--good); border-color: var(--good); font-weight: 700;
  padding-bottom: 8.5px; }   /* 1.5px taller: it covers the card's top border under it */
.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.deal-main { display: flex; gap: 12px; align-items: flex-start; }
.deal-img { flex: none; width: 76px; height: 76px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.deal-img img { width: 100%; height: 100%; object-fit: contain; }
.deal-name { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.deal-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; }
.deal-price { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.deal-store { color: var(--muted); font-size: 14px; }
.deal-more { color: var(--good); font-size: 13px; font-weight: 600; margin-top: -6px; }
.deal .cta { text-align: center; background: var(--good); color: var(--good-ink); }
@media (max-width: 820px) {
  .intro { display: contents; }   /* its card and tiles become the lead block's items, so the link goes between them */
  .lead-block { gap: 12px; }
  .lead-block .deal, .lead-block .deal-tabs { order: 0; }
  .cta-row { order: 1; }
  .lead-block .stats { order: 2; }
  .cta-row .cta { display: block; text-align: center; padding: 11px 16px; }
  .stats, .stats:has(> .stat:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 10px 12px; }
  .stat dd { font-size: 22px; }
}
.cta { display: inline-block; padding: 10px 18px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.cta:hover { filter: brightness(1.08); }
/* The link into the app under the intro: secondary, outlined in blue on every page. */
.cta-row .cta { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); padding: 8.5px 16.5px; }
.cta-row .cta:hover { filter: none; background: color-mix(in srgb, var(--accent) 8%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: 14px; text-decoration: none; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip .n { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; margin-left: 2px; }
.more { margin: 10px 0 0; font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-1px); }
.card a { color: inherit; text-decoration: none; }
.card > a.main { display: flex; flex-direction: column; flex: 1; }
.img { aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.img img { width: 100%; height: 100%; object-fit: contain; }
.store { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 6px; }
.body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.name { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: 11px; background: var(--chip); border-radius: 5px; padding: 1px 6px; color: var(--muted); }
.price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .now { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price .drop { color: var(--good); font-size: 12px; font-weight: 600; }
.best { color: var(--good); font-size: 12px; font-weight: 600; }
.offers { border-top: 1px solid var(--line); padding: 6px 12px 10px; font-size: 13px; }
.offers a { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.offers a:hover .o-store { color: var(--accent); text-decoration: underline; }
.offers a:first-child .o-price { color: var(--good); }
.offers .o-price { font-variant-numeric: tabular-nums; font-weight: 600; }
.more-offers { display: block; color: var(--muted); font-size: 12px; padding-top: 2px; }
/* A card's link to its model page (blue: moving around the site). */
.card .cmp { display: block; border-top: 1px solid var(--line); padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--accent); }
.card .cmp:hover { text-decoration: underline; }
/* A model page's specs under its h1, and the methodology page's tiles (4 in a row). */
.model-tags { margin: -4px 0 14px; }
.model-tags .tag { font-size: 13px; padding: 2px 8px; }
.about-stats.stats:has(> .stat:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
@media (max-width: 820px) { .about-stats.stats:has(> .stat:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.seg { display: inline-block; vertical-align: top; width: 100%; max-width: 520px; margin-right: 32px; }
table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
th, td { text-align: left; padding: 7px 12px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
td:nth-child(2), td:nth-child(3), th:nth-child(2), th:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }

.guide, .faq { max-width: 820px; }
.guide ul { padding-left: 20px; }
.guide li { margin: 4px 0; }
/* FAQ accordion (<details name="faq">): one answer open at a time. */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: 8px 0; transition: border-color .15s; }
.faq details[open] { border-color: var(--accent); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateX(-3px); border-color: var(--accent); }
.faq summary:hover h3 { color: var(--accent); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }
.faq h3 { font-size: 16px; margin: 0; font-weight: 600; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--ink); }
.faq details ul { margin: 0; padding: 0 16px 14px 34px; color: var(--ink); }
.faq details li + li { margin-top: 6px; }
.updated { margin-top: 36px; color: var(--muted); font-size: 13px; }

.foot { margin-top: auto; border-top: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 13px; }
.foot-inner { max-width: 1200px; margin: 0 auto; padding: 36px 24px 28px; display: grid; grid-template-columns: minmax(270px, 1.3fr) 4fr; gap: 40px; }
.foot-name { color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.foot-brand p { margin: 8px 0 12px; line-height: 1.55; max-width: 34ch; }
.foot-deal { color: var(--sale); font-weight: 600; text-decoration: none; }
.foot-deal:hover { text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-col h2 { margin: 0 0 10px; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col li { margin: 0 0 7px; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--accent); text-decoration: underline; }
.foot-deal { display: inline-block; }
.foot-legal { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; }
.foot-legal a, .foot-legal button { white-space: nowrap; }
.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--accent); }
.foot button { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }
.foot button:hover { color: var(--accent); }
@media (max-width: 960px) {
  .foot-inner { grid-template-columns: 1fr; gap: 28px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}
@media (max-width: 820px) { .foot-inner { padding: 28px 16px 24px; } }
.consent { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; padding: 14px 16px; font-size: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.consent p { margin: 0 0 10px; }
.consent .actions { display: flex; gap: 8px; justify-content: flex-end; }
/* Both choices look the same: refusing must be as easy as accepting. */
.consent button { padding: 8px 18px; border-radius: 8px; border: 1px solid var(--accent); background: var(--panel); color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }

@media (max-width: 820px) {
  header.top { padding: 14px 16px 6px; }
  main.page { padding: 4px 16px 32px; }
  h1 { font-size: 24px; }
  .lead { font-size: 15px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .seg { margin-right: 0; }
}

/* Back to the top, as in the app: shown once the page has scrolled 600px. */
.to-top { position: fixed; z-index: 20; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 14px rgba(0,0,0,.25); cursor: pointer; }
.to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Category pages: the brand chip row. Phone model pages: prices by storage, each storage's offers, the price chart. */
.chips-label { align-self: center; color: var(--muted); font-size: 13px; margin-right: 2px; }
.chips + .chips { margin-top: -6px; }
.phone-models { max-width: 640px; }
.variants table td:nth-child(n+2), .variants table th:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.variants table td:nth-child(3), .variants table th:nth-child(3) { text-align: left; }
.offer-list, .variants { max-width: 900px; }
.offers-table td:nth-child(2), .offers-table th:nth-child(2) { text-align: left; }
.offers-table td:nth-child(3), .offers-table th:nth-child(3) { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.offers-table td:first-child { white-space: nowrap; }
.offers-table tr:first-child td:nth-child(3) { color: var(--good); }
.offers-table a { color: var(--ink); text-decoration: none; }
.offers-table a:hover { color: var(--accent); text-decoration: underline; }
.seller { display: block; color: var(--muted); font-size: 12px; white-space: normal; }
.specs th { text-transform: none; letter-spacing: 0; font-size: 14px; width: 40%; }
.specs td:nth-child(2) { text-align: left; }
.spark { margin: 0 0 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px 6px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 8px; }
.spark-y { position: relative; height: 140px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.spark-y span { display: block; visibility: hidden; height: 0; line-height: 0; white-space: nowrap; }  /* sets the width */
.spark-y span[style] { position: absolute; right: 0; visibility: visible; }
.spark-plot { position: relative; height: 140px; touch-action: pan-y; cursor: crosshair; }
.spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.spark .grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark figcaption { grid-column: 2; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.spark-rule { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--muted); opacity: .5; pointer-events: none; }
.spark-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--accent); border: 2px solid var(--panel); pointer-events: none; }
.spark-tip { position: absolute; top: 2px; transform: translateX(-50%); background: var(--ink); color: var(--panel); font-size: 12px; line-height: 1.3;
  padding: 4px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.spark-tip b { font-weight: 700; }
.spark figcaption span:not(:nth-child(2)) { white-space: nowrap; }
@media (max-width: 520px) {
  .spark figcaption { flex-wrap: wrap; row-gap: 0; }
  .spark figcaption span:nth-child(2) { order: 3; flex-basis: 100%; text-align: center; }
}
.variants, .offer-list { overflow-x: auto; }
@media (max-width: 560px) {
  .variants table th:nth-child(3), .variants table td:nth-child(3), .variants table th:nth-child(4), .variants table td:nth-child(4) { display: none; }
  .offers-table { font-size: 13px; }
  .offers-table td, .offers-table th { padding: 7px 8px; }
  .offers-table td:first-child { white-space: normal; }
}

/* A long table (pages.py clip): CLIP_ROWS rows, then "További" opens the rest in a scrolling box of the same height. */
.clip { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.clip table { border: 0; border-radius: 0; overflow: visible; }
.clip:not(.open) tbody tr:nth-child(n+6) { display: none; }
.clip:not(.open) tbody tr:nth-child(5) td { border-bottom: 0; }
.clip.open { overflow-y: auto; overscroll-behavior: contain; }
.clip.open thead th { position: sticky; top: 0; z-index: 1; background: var(--panel); box-shadow: inset 0 -1px 0 var(--line); }
.clip-more { display: block; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; cursor: pointer; }
.clip-more:hover { text-decoration: underline; }
/* The methodology page's store table: counts, not prices, so no green "cheapest" row. */
.about-stores tr:first-child td:nth-child(3) { color: inherit; font-weight: 400; }
/* "Röviden": the page's numbers as one paragraph, above the FAQ (pages.summary). */
.summary-text p { max-width: 820px; margin: 0; line-height: 1.6; }
/* "Jó ár ez most?" (pages.price_verdict): a verdict, then the price's range over the window: a track from
   the lowest to the highest daily price, a tick at the usual (median) price, a marker for today. Green only when
   today is low (green = the lowest price, as everywhere); otherwise ink. */
.verdict { max-width: 720px; }
.verdict-line { margin: 0 0 14px; }
.verdict-line.good strong { color: var(--good); }
.range { position: relative; height: 10px; margin: 26px 6px 6px; border-radius: 5px; background: var(--chip); }
.range-usual { position: absolute; top: -3px; width: 2px; height: 16px; margin-left: -1px; background: var(--muted); border-radius: 1px; }
.range-now { position: absolute; top: -4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 2px var(--bg); }
.range-now.good { background: var(--good); }
.range-now span { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.range-ends { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* A card's "Legalacsonyabb 30 nap alatt". */
.price .low { color: var(--good); font-size: 12px; font-weight: 600; }
/* Tables with a share as a bar (store comparison, announced vs real discounts): the value is printed, the bar
   is a thin single-hue shape on a recessive track. */
table.bars td:nth-child(n+2), table.bars th:nth-child(n+2) { text-align: right; }
.bar-cell { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; width: 100%; }
.bar { flex: 1; max-width: 140px; height: 8px; border-radius: 4px; background: var(--chip); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.bar-val { min-width: 3.2em; font-variant-numeric: tabular-nums; }
.stores-cmp, .announced { max-width: 820px; }
@media (max-width: 820px) { .bar { max-width: 70px; } table.bars { font-size: 13px; } table.bars td, table.bars th { padding: 7px 8px; } }
.range-now.at-start span { left: 0; transform: none; }
.range-now.at-end span { left: auto; right: 0; transform: none; }


