/*
 * bazaar — a ledger, not a magazine. Loaded after base.css; identity only.
 * Ledger-green header, dense white tiles, prices first in tabular figures, flame only for savings.
 * No hero takeover, no scroll animation, no decorative imagery, no shadows except menus and hover.
 */
:root { --o-gutter: clamp(10px, 2vw, 24px); --o-section: clamp(20px, 3vw, 40px); --o-gap: 10px; }
body { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--f-font-display); font-stretch: condensed; letter-spacing: 0; }
h2, .f-grid-title { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }

.f-chrome-header { border-block-end: 0; }
.f-site-title { font-size: 1.15rem; }

/* service strip under the header: one line of facts */
[data-n='bz-strip'] p { margin: 0; font-size: .85rem; font-weight: 600; }
[data-n='bz-strip'] p::before { content: '✓  '; opacity: .8; }

/* dense tiles: white on grey, many per row, the price is the loudest thing on the tile */
.f-grid-title { display: flex; align-items: baseline; justify-content: space-between; border-block-end: 2px solid var(--o-primary); padding-block-end: 6px; margin-block-end: 12px; }
.f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .f-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .f-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.f-card { background: var(--o-surface); border: 1px solid var(--o-rule); border-radius: 6px; padding: 8px 8px 10px; gap: 4px; }
.f-card:hover { box-shadow: 0 6px 18px -10px rgb(0 0 0 / .35); border-color: var(--o-rule-strong); }
.f-card img, .f-card-noimg { aspect-ratio: 1 / 1; object-fit: contain; border-radius: 4px; }
.f-card:hover img { transform: none; }
.f-card-title { font-size: .9rem; font-weight: 400; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; order: 2; }
.f-price { order: 3; font-size: 1.05rem; }
.f-price-now { font-weight: 700; }
.f-price-was { color: var(--o-sale); }
.f-badge-out { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; }

.f-btn { border-radius: 6px; }
.f-btn-primary { box-shadow: none; }

[data-n='bz-r'] > .f-section { padding-block: 0; }

/* ---- 2026-11 polish ---- */
/* ==== GENERATED: fonts (scripts/themes/gen.mjs) ==== */
@font-face { font-family: "Archivo Narrow"; src: url("t/bazaar/fonts/archivo-narrow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Archivo Narrow"; src: url("t/bazaar/fonts/archivo-narrow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("t/bazaar/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("t/bazaar/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
/* ==== END GENERATED ==== */
/* savings read as a stamped percentage chip, prices stay the loudest thing on the tile */
.f-card:is(:hover, :focus-within) { outline: 2px solid var(--o-primary); outline-offset: -2px; }
.f-price-now { font-size: 1.15em; letter-spacing: -0.01em; }
.f-badge { border-radius: 3px; font-variant-numeric: tabular-nums; }
