/* ═══ Playbag typografie — Questa Grande (nadpisy) + Akkurat (texty) ═══
   Úkol #2893, kontrakt _recon/contract-fonty-2026-08-18.md
   Akkurat = firemní font (potvrzeno CEO 2026-08-18: „máme to koupeno historicky";
   zdroj souborů: ales@playbag.cz 6.9.2023, akkurat.rar). Stará edice bez azbuky
   → uk mutace jede texty v Robotu (fallback přes var níže).
   Questa Grande: NASADIT AŽ po Fontspring checkoutu (webfont soubory + jejich CSS hlavička).
   Soubory: /user/documents/cleaned/fonts/*.woff2 */

@font-face {
  font-family: 'Akkurat';
  src: url('akkurat-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Akkurat';
  src: url('akkurat-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Texty: šablona čte --template-font (screen.min.css 18×) ──
   Roboto ve stacku = fallback pro znaky mimo Akkurat (mj. azbuka). */
:root {
  --template-font: 'Akkurat', 'Roboto', sans-serif;
}
/* uk mutace: Akkurat nemá azbuku — mix latinka/azbuka v odstavci vypadá rozbitě,
   texty celé v Robotu, dokud nebude azbuková edice. */
html[lang="uk"] {
  --template-font: 'Roboto', sans-serif;
}

/* ── Nadpisy: Questa Grande (Fontspring order 132295171, Web Font EULA 2.0,
   500k pageviews/měs; woff2 odvozen z licencovaného OTF — derivát nutný pro
   embedding dle EULA čl. 2). BOLD zatím NEregistrujeme: dodaný webfont je
   MacRoman subset BEZ české diakritiky → syntetický bold z Regularu je
   konzistentní; plnou sadu Bold vyžádat u Fontspring supportu.
   „Web Fonts from Fontspring.com — The fonts included are subject to the End
   User License you purchased from Fontspring. Modifying, reverse engineering,
   duplicating or distributing this font software is prohibited.
   (c) 2010-2026 Fontspring" */
@font-face {
  font-family: 'Questa Grande';
  src: url('questa-grande-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root { --template-headings-font: 'Questa Grande', 'Roboto', serif; }
/* uk: Questa nemá azbuku → nadpisy celé v Robotu (žádný mix písem) */
html[lang="uk"] { --template-headings-font: 'Roboto', sans-serif; }

/* Sekční nadpisy homepage (NOVINKY, NEJPRODÁVANĚJŠÍ… — naše DIVy ze scripts.js)
   stojí mimo template headings → napojit na tutéž proměnnou */
.homepage-group-title,
[class*="homepage-products-heading"] {
  font-family: var(--template-headings-font, serif) !important;
}
