/* Světlý vzhled webu „Travertin“ (varianta T3.1): teplý tmavší kámen, lesní zelená.
 * Základní barvy (pozadí, karty, text, zelené) jdou z data/theme.json přes theme.js,
 * takže je jde měnit v adminu; tady jsou jen odvozené odstíny a pravidla.
 * Videa a fotky NOKa jsou tmavé, proto sedí v tmavých „oknech“ a pruh
 * s kolem štěstí zůstává jako jeden tmavý filmový pás. */
:root {
  /* výchozí hodnoty = theme.json; theme.js je při načtení přepíše uloženými barvami */
  --bg: #cec3af; --bg-alt: #c3b7a1; --card: #e3dacb; --text: #1e1c15; --muted: #38332a; --accent-dim: #2c4616;
  --ink: var(--accent-dim);              /* zelený text, odkazy, ceny */
  --btn: #1f3a1a; --btn-text: #efe9dc;   /* hlavní tlačítka */
  --field: #fffdf9; --chip: #c9cfb4;
  --line: rgba(40, 35, 20, 0.14); --line-strong: rgba(40, 45, 25, 0.24);
  --nav-bg: rgba(206, 195, 175, 0.92);
  --shadow: 0 1px 2px rgba(40, 30, 10, 0.05), 0 14px 32px rgba(40, 30, 10, 0.08);
  --shadow-media: 0 24px 60px rgba(20, 25, 10, 0.3);
}

body { background: var(--bg); color: var(--text); }

/* zelený text tmavší, aby byl na světlém pozadí čitelný */
.accent, .eyebrow, .u-head a, .card-p__cat, .card-p__price, .nav__links a.is-current, .nav__login,
.detail__price, .wallet__value, .exchange__rewards em, .perks em, .arcade__hud strong,
.price-range__note strong { color: var(--ink) !important; }
.nav { background: var(--nav-bg) !important; border-bottom: 1px solid var(--line); }
body.nav-open .nav { background: var(--bg) !important; }
.nav__links a { color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__cta { border-color: var(--ink) !important; color: var(--ink) !important; }
.nav__cta:hover { background: var(--ink); color: #fff !important; }
.nav__logo img, .footer__logo { background: #0d110d; border-radius: 8px; padding: 4px; }

.btn--primary, .card-p__badge, .arcade-tab span { background: var(--btn); color: var(--btn-text); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.u-trust span::before, .steps li::before { color: var(--ink); border-color: var(--line-strong); }
.chips span, .chip { border-color: var(--line-strong); background: var(--chip); color: var(--text); }

/* karty: světlé, fotky v nich zůstávají tmavé */
.card-p, .wallet, .exchange, .gate__card, .filters, .cat { background: var(--card); box-shadow: var(--shadow); }
.card-p:hover { border-color: var(--ink); }
.card-p__out { background: rgba(255, 255, 255, 0.9); color: var(--muted); }

/* formuláře a filtry */
.check input, .price-range input, .sort select, .field input, .contact__form input, .contact__form textarea, .contact__form select {
  background: var(--field) !important; color: var(--text) !important; border-color: var(--line-strong) !important;
}
.price-slider { background: var(--line-strong); }

/* NOK ve videu: tmavé okno místo rozmazaného kruhu */
.hero-a__media, .page-hero .nok-media { border-radius: 28px; overflow: hidden; background: #0b0e0b; box-shadow: var(--shadow-media); }
.hero-a__media::before, .nok-media::before { display: none; }
.hero-a__media video, .nok-media video { -webkit-mask-image: none !important; mask-image: none !important; }
.split__media { box-shadow: var(--shadow-media); }

/* kolo štěstí: jeden tmavý filmový pás uprostřed světlé stránky */
.band { background: #090c09; color: #f4f6f3; }
.band .u-lead { color: #c3cbc2; }
.band .eyebrow, .band .accent { color: #9dff2e !important; }
.band .chips span { border-color: rgba(157, 255, 46, 0.35); background: rgba(157, 255, 46, 0.08); color: #f4f6f3; }
.band::after { background: linear-gradient(90deg, rgba(9, 12, 9, 0.95) 0%, rgba(9, 12, 9, 0.6) 42%, rgba(9, 12, 9, 0) 75%) !important; }

.footer { border-top: 1px solid var(--line); color: var(--muted); }
.nok-bubble { background: var(--card); color: var(--text); box-shadow: var(--shadow); }

/* Nadpisy si může varianta přepnout na jiné písmo (luxusní varianty mají patkové). */
h1, h2, .hero-a h1, .page-hero h1, .u-head h2, .band__copy h2, .split h2, .cat__txt h3 { font-family: var(--font-head, var(--font-display)); }
/* kategorie jsou tmavé fotky — text na nich zůstává bílý */
.cat, .cat__txt h3 { color: #ffffff !important; }
.cat__txt span { color: #c6f78f !important; }

/* NOK v klenutém okně (úvod i hlavičky podstránek) */
.hero-a__media, .page-hero .nok-media { border-radius: 200px 200px 28px 28px; }

/* Další zelené texty, které by na světlém pozadí nebyly čitelné */
.buy__note, .contact__list a, .sum__total dd, .line__name:hover, .crumbs a:hover, .values__icon, .number strong,
.earn__list em, .balance__value, .game__score strong, .game__result strong, .ledger em.is-plus, .ledger code,
.result__prize, .exchange__note a, .chip, .filters-toggle[aria-expanded="true"], .linkish:hover, .filters__reset:hover,
.btn--ghost:hover { color: var(--ink) !important; }
.detail__price { font-weight: 500; }

/* Hlavička Příběhu je tmavá fotka — text na ní zůstává světlý */
.story-hero, .story-hero h1 { color: #f4f6f3 !important; }
.story-hero p { color: #d3d9cf !important; }
.story-hero .accent, .story-hero .eyebrow { color: #9dff2e !important; }

/* Klub: karty odměn světlé, nedostupné jen zprůhledněné */
.reward { background: var(--card) !important; color: var(--text); border-color: var(--line-strong); }
.reward.is-locked { opacity: 0.6; }
.reward .btn:disabled { background: var(--line-strong); color: var(--muted); }
.nok-bubble a { color: var(--ink); }

/* ---- Opravy z testu webu (2026-10-23) ---- */

/* Čitelnost: na světlém kameni bylo tenké písmo (300) moc slabé – texty jsou tmavší a tučnější,
 * na telefonu ještě o kus víc (Jakub: „tmavší a mohutnější, hlavně na telefonu“). */
body { font-weight: 400; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; }
.nav__links a, .nav__drop-btn { font-weight: 500; }
.field span, .wallet__label, .filter-group h3, .card-p__cat { font-weight: 600; }
.u-lead, .page-hero p, .hero-a p { color: var(--text); }
@media (max-width: 700px) {
  body { font-weight: 500; font-size: 1.03rem; }
  .eyebrow { font-size: 0.84rem; }
  .card-p__body p, .exchange__note, .wallet__row, .sum__note, .checkout-help, .arcade__legend, .footer, .footer__admin,
  .exchange__rewards li, .earn__list li, .contact__note, .nav__item small { font-size: 0.95rem; }
  .card-p__mat, .field span, .price-range span, .sort span, .arcade__keys { font-size: 0.85rem; }
}

/* NOK Liga: úvodní okno a výsledek jsou tmavé (leží přes hřiště), text na nich musí být světlý */
.arcade__overlay, .arcade__overlay h2, .arcade__result { color: #f4f6f3; }
.arcade__overlay p, .arcade__keys, .arcade__result-label, .arcade__result-verdict { color: #c3cbc2 !important; }
.arcade__overlay .btn--ghost, .arcade__result-actions .btn--ghost { color: #f4f6f3; border-color: rgba(255, 255, 255, 0.32) !important; }
.arcade__overlay .btn--ghost:hover, .arcade__result-actions .btn--ghost:hover { color: #9dff2e !important; border-color: #9dff2e !important; }

/* Kolo štěstí: na tmavě zelených výsečích světlý popisek, na světlých (20 % a 30 %) tmavý */
.wheel__label em { color: #f4f6f3; }
.wheel__label.is-jackpot em, .wheel__label.is-bright em { color: #06110a; text-shadow: none; }

/* Aktivní položka menu: světlejší podklad, ať zelený text zůstane čitelný */
.nav--v2 .nav__links > a.is-current, .nav__drop-btn.is-current { background: rgba(31, 58, 26, 0.08); }

/* Mobil: NOK v okně už nenajíždí na štítek a nadpis (záporné okraje patřily starému rozmazanému videu) */
@media (max-width: 960px) {
  .hero-a__media { margin-bottom: 20px; max-width: 340px; }
}
@media (max-width: 900px) {
  .page-hero .nok-media { margin-bottom: 20px; }
}
/* Mobil: zavřené menu za pravým okrajem už nehází stín do stránky */
@media (max-width: 860px) {
  body:not(.nav-open) .nav--v2 .nav__links { box-shadow: none; }
}

/* Černé pruhy zapečené ve videu mávajícího NOKa (a NOKa na Kontaktu) schová mírné přiblížení */
.hero-a__media video, .page-hero .nok-media video[src*="scene4_lift"] { transform: scale(1.08); }

/* Formuláře: okraj pole je vidět a při psaní má pole zřetelný rámeček */
.check input, .price-range input, .sort select, .field input, .contact__form input, .contact__form textarea, .contact__form select {
  border-color: #8a8170 !important;
}
.field input:focus-visible, .price-range input:focus-visible, .sort select:focus-visible, .check input:focus-visible,
.contact__form input:focus-visible, .contact__form textarea:focus-visible, .contact__form select:focus-visible {
  border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(52, 80, 26, 0.28);
}
.check input { width: 20px; height: 20px; }
.check input:checked::after { line-height: 18px; }
.filters__reset { min-height: 24px; padding: 4px 0; }

/* Klávesnice: výrazný obrys u odkazů a tlačítek (jen při ovládání klávesnicí) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* „Přeskočit na obsah“ – vidět jen při ovládání klávesnicí */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 12px;
  background: var(--btn); color: var(--btn-text); font-weight: 600; text-decoration: none; transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; }
.skip-target:focus { outline: none; }

/* Košík: náhradní cesta, když se po „Objednat e-mailem“ neotevře pošta */
.checkout-help { margin: 14px 0 12px; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.checkout-help a { color: var(--ink); }
.checkout-help textarea {
  width: 100%; margin: 8px 0 4px; padding: 10px 12px; border-radius: 11px; resize: vertical;
  border: 1px solid #8a8170; background: var(--field); color: var(--text); font: 0.85rem/1.45 var(--font-body);
}

/* Tlačítko pauzy u videí NOKa */
.media-toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(9, 12, 9, 0.62); color: #f4f6f3;
  opacity: 0.75; transition: opacity 0.2s ease;
}
.media-toggle:hover, .media-toggle:focus-visible { opacity: 1; }
.media-toggle svg { width: 14px; height: 14px; }
.hero-a__media .media-toggle, .page-hero .nok-media .media-toggle { right: 50%; transform: translateX(50%); bottom: 12px; }

/* Snímky NOKa místo videí: video zůstalo jen mávajícímu NOKovi na úvodu, ostatní videa
 * se během přehrávání deformovala a působila „AI“ (Jakub 26. 10.). */
.nok-media img.nok-still { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.band img.nok-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.split__media img.nok-still { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- Vzhled podle taste-skill + impeccable (2026-10-26) ---- */

/* Mobil: menší okno s NOKem, aby hlavní tlačítko bylo vidět hned na první obrazovce */
@media (max-width: 600px) {
  .hero-a { padding-top: 80px; }
  .hero-a__media { aspect-ratio: 4 / 3; max-width: none; margin-bottom: 16px; }
  .hero-a .eyebrow { display: none; }
}

/* Štítky nad nadpisy jen opakovaly nadpis (typický znak šablonovitého webu) – zůstává jen NOKovo „Ahoj“ */
.u-head .eyebrow, .page-hero .eyebrow, .band .eyebrow, .split .eyebrow, .story-hero .eyebrow, .basket-head .eyebrow,
main > header:not(.hero-a) .eyebrow, body > header:not(.hero-a) .eyebrow { display: none; }
.hero-a .eyebrow { text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.u-head h2 { margin-top: 0; }

/* Detail produktu: větší fotka, tlačítko hned pod popisem, plná řada doporučených */
@media (min-width: 901px) {
  .detail__main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; }
  .detail__media { aspect-ratio: 5 / 4; }
}
.detail__media { border-radius: var(--radius); }
.detail__info { display: flex; flex-direction: column; }
.detail__info > .card-p__cat { align-self: flex-start; }
.specs { order: 3; margin: 28px 0 0; }
.detail__info h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.detail__price { font-size: 2rem; font-weight: 600; margin-bottom: 14px; }
.detail__desc { font-size: 1.125rem; line-height: 1.6; color: var(--text); max-width: 32em; }
.related h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; }
.related .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .related .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* Čitelnost: méně velikostí písma, žádné drobné prostrkané verzálky */
.card-p__body p { font-size: 0.95rem; line-height: 1.5; color: var(--text); }
.card-p__body h3 { font-size: 1.125rem; }
.card-p__price { font-size: 1.25rem; }
.card-p__cat, .filter-group h3, .field span, .contact__list span, .balance__label, .wallet__label {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em; text-transform: none; }
.card-p__badge, .card-p__out { font-size: 0.8rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.btn { font-size: 1rem; font-weight: 600; }
.u-lead { font-size: 1.125rem; line-height: 1.6; }
.u-trust, .crumbs, .specs > div, .detail__ship, .results__count, .sort span { font-size: 0.95rem; }
@media (max-width: 700px) {
  .btn { font-size: 1.0625rem; padding: 16px 28px; }
  .card-p__body h3 { font-size: 1.05rem; }
}

/* Karty: od pozadí je odliší jen odstín, stín se objeví až při najetí */
.card-p, .cat, .split__media { border: 0; box-shadow: none; }
.card-p:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(40, 30, 10, 0.14); }
.card-p__foot { border-top: 0; padding-top: 0; margin-top: 14px; }
.card-p__mat { display: none; }
@media (min-width: 961px) { .cat { aspect-ratio: 1 / 1; } }

/* Patička: kam dál + velké slovo noknom */
.footer--v2 { display: block; background: var(--bg-alt); border-top: 0; padding: 72px 8% 28px; text-align: left; color: var(--text); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width: 1400px; margin: 0 auto; width: 100%; }
.footer--v2 h2 { font: 600 1rem var(--font-display); margin-bottom: 10px; }
.footer--v2 nav a, .footer--v2 .footer__grid div > a { display: block; padding: 5px 0; }
.footer--v2 a:hover { color: var(--ink); }
.footer--v2 p { color: var(--muted); }
.footer__lead { max-width: 22em; font-size: 1.05rem; color: var(--text) !important; }
.footer__word { font: 700 clamp(4rem, 21vw, 19rem)/0.8 var(--font-display); letter-spacing: -0.05em; text-align: center;
  margin: 56px 0 18px; color: rgba(30, 28, 21, 0.9) !important; }
.footer__copy { font-size: 0.85rem; text-align: center; }
.footer__copy .footer__admin { margin: 0; font-size: inherit; }
@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

/* Jednotná zaoblení (10 px pole, 18 px karty, 28 px velká média) a čitelné vedlejší tlačítko */
.field input, .contact__form input, .contact__form textarea, .contact__form select, .price-range input, .checkout-help textarea,
.thumb, .line__media { border-radius: 10px !important; }
.contact__form, .gate__card, .wallet, .exchange, .reward, .nav__panel { border-radius: var(--radius); }
.split__media { border-radius: 28px; }
.btn--ghost { border: 1.5px solid rgba(30, 28, 21, 0.5); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(31, 58, 26, 0.06); }
.sort select {
  appearance: none; -webkit-appearance: none; padding: 10px 38px 10px 16px; border-radius: 999px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1c15' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 12px !important;
}

/* Neonová zelená patří jen do tmavých míst */
.price-slider::-webkit-slider-thumb { background: var(--btn); box-shadow: 0 0 0 3px var(--card); }
.price-slider::-moz-range-thumb { background: var(--btn); }
.cart-badge, .nav--v2 .cart-badge { background: var(--btn); color: var(--btn-text); }
.nok-bubble { border-color: var(--line-strong); }

/* ---- Pohyb podle skillů Emila Kowalského (2026-10-26) ---- */
/* Tlačítka dají odezvu na stisk */
.btn { transition: transform 0.16s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, filter 0.2s ease; }
.btn:active:not(:disabled) { transform: scale(0.97); }
.nav--v2 .nav__links > a.nav__cta { transition: transform 0.16s var(--ease-out), filter 0.2s ease; }
.nav--v2 .nav__links > a.nav__cta:active { transform: scale(0.97); }
/* Nabídka „Hraj a vyhrávej“ vyroste z tlačítka */
@media (min-width: 861px) {
  .nav__panel { transform: translate(-50%, -4px) scale(0.97); transform-origin: 50% 0;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s; }
  .nav__drop:hover .nav__panel, .nav__drop.is-open .nav__panel, .nav__drop:focus-within .nav__panel { transform: translate(-50%, 0) scale(1); }
}
/* Mobilní menu vyjede jako šuplík v iOS */
@media (max-width: 860px) { .nav__links { transition: transform 0.4s var(--ease-drawer); } }
/* Kolo: stín drží netočící se obal (dřív obíhal s kolem), ukazatel se kývá z vrcholu */
.wheel { box-shadow: 0 0 0 2px var(--accent-dim); }
.wheel-wrap { border-radius: 50%; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.wheel__pointer { transform-origin: 50% 0; }
/* Výhra vyjede, „Přidáno do košíku“ se jemně objeví */
.result:not([hidden]) { animation: result-in 0.45s var(--ease-out) both; }
@keyframes result-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
.buy__note { transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
@starting-style { .buy__note { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) {
  .wheel { transition-duration: 1.2s; }
  .result:not([hidden]) { animation-name: result-fade; }
  .btn:active:not(:disabled) { transform: none; }
}
@keyframes result-fade { from { opacity: 0; } }

/* NOK Flipper: stůl na výšku, vycentrovaný na tmavém podkladu, vejde se na obrazovku */
.arcade--flipper .arcade__stage { background: #060806; }
#flipper { width: min(100%, calc((100vh - 190px) * 460 / 780)); min-width: 280px; aspect-ratio: 460 / 780; margin: 0 auto; cursor: default; outline: none; }
.arcade--flipper .arcade__overlay .btn { min-width: 180px; }

/* ---- Pokladna v košíku a stránka objednávky (2026-10-26) ---- */
.checkout { grid-column: 1; display: grid; gap: 18px; }
.checkout__title { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--font-display); }
.checkout fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.checkout legend { font: 600 1.05rem var(--font-display); margin-bottom: 8px; padding: 0; }
.checkout .field { margin-bottom: 4px; }
.checkout .field input { width: 100%; }
.choice {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px;
  border: 1.5px solid #8a8170; border-radius: 14px; background: var(--field); cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(44, 70, 22, 0.18); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--btn); }
.choice b { display: block; font-weight: 600; }
.choice small { color: var(--muted); font-size: 0.9rem; }
.choice em { font-style: normal; font-weight: 600; color: var(--ink); white-space: nowrap; }
.choice.is-disabled { opacity: 0.5; cursor: not-allowed; }
.checkout__address { display: grid; gap: 4px; margin-top: 6px; }
.checkout__address[hidden] { display: none; }
.field__hint { color: var(--muted); font-size: 0.85rem; text-transform: none; letter-spacing: 0; }
.field__msg { color: #9b2c1f; font-size: 0.9rem; font-weight: 600; }
.field__msg:empty { display: none; }
.checkout [aria-invalid="true"] { border-color: #9b2c1f !important; box-shadow: 0 0 0 3px rgba(155, 44, 31, 0.15); }
.checkout__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkout__consent { align-items: flex-start; line-height: 1.5; }
.checkout__consent a { color: var(--ink); text-decoration: underline; }
.checkout__error { color: #9b2c1f; font-weight: 600; }
.checkout__submit { width: 100%; padding: 18px; font-size: 1.1rem; border: 0; cursor: pointer; }
.checkout-help .btn { width: 100%; margin: 8px 0; }
@media (max-width: 900px) { .checkout { grid-column: auto; padding: 22px; } }

.order { max-width: 1100px; margin: 0 auto; padding: 120px 8% 100px; display: grid; gap: 28px; justify-items: start; }
.order > * { width: 100%; }
.order > .btn { width: auto; }
.order__head h1 { font: 700 clamp(2rem, 4.5vw, 3.4rem)/1.05 var(--font-display); margin-bottom: 12px; }
.order__meta { margin-bottom: 6px; }
.order__status { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--chip); font-weight: 600; font-size: 0.9rem; }
.order__status--zaplaceno, .order__status--vyroba, .order__status--odeslano, .order__status--vyrizeno { background: var(--btn); color: var(--btn-text); }
.order__status--storno { background: #f3d6cf; color: #9b2c1f; }
.order__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.pay, .order__sum { background: var(--card); border-radius: var(--radius); padding: 24px; }
.pay h2, .order__sum h2 { font: 600 1.25rem var(--font-display); margin-bottom: 14px; }
.pay__grid { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.pay__qr { background: #fff; border-radius: 12px; padding: 6px; }
.pay__qr svg { display: block; width: 100%; height: auto; }
.pay__data div { display: grid; gap: 1px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pay__data dt { color: var(--muted); font-size: 0.85rem; }
.pay__data dd { font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.pay__hint { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }
.pay--done h2 { color: var(--ink); }
.pay > p + .btn { margin-top: 14px; }
.pay__alt { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.pay__alt summary { cursor: pointer; color: var(--ink); font-weight: 600; padding: 6px 0; }
.pay__alt[open] summary { margin-bottom: 12px; }
.order__items { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.order__items li { display: flex; justify-content: space-between; gap: 12px; }
.order__items small { display: block; color: var(--muted); }
.order__items em { font-style: normal; font-weight: 600; white-space: nowrap; }
.order__where { color: var(--muted); margin-top: 10px; }
.order__msg { font-size: 1.1rem; padding: 40px 0; }
@media (max-width: 900px) {
  .order { padding: 100px 6% 80px; }
  .order__grid, .pay__grid { grid-template-columns: 1fr; }
  .pay__qr { max-width: 260px; width: 100%; margin: 0 auto; }
}

/* Obchodní podmínky a ochrana údajů */
.legal { max-width: 760px; margin: 0 auto; padding: 120px 6% 90px; line-height: 1.7; }
.legal h1 { font: 700 clamp(2rem, 4.5vw, 3rem)/1.1 var(--font-display); margin-bottom: 12px; }
.legal h2 { font: 600 1.25rem var(--font-display); margin: 30px 0 8px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--ink); text-decoration: underline; }
.legal__lead { font-size: 1.1rem; }
.legal mark.todo { background: #f3e2b8; color: #7a5200; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.footer--v2 [hidden] { display: none !important; }
.footer__seller { font-size: 0.85rem; text-align: center; margin-bottom: 4px; }

/* Chytrý košík: pruh do dopravy zdarma a nabídka „Přihoď k tomu“ (js/upsell.js) */
.freebar { margin: 0 0 18px; }
.freebar__text { font-size: 0.92rem; line-height: 1.4; margin-bottom: 8px; }
.freebar__text b { color: var(--ink); white-space: nowrap; }
.freebar.is-done .freebar__text { color: var(--ink); font-weight: 600; }
.freebar__track { height: 8px; border-radius: 99px; background: var(--line-strong); overflow: hidden; }
.freebar__fill {
  display: block; height: 100%; background: var(--ink);
  transform-origin: left center; transform: scaleX(0);
  transition: transform 0.6s var(--ease-out);
}
@media (min-width: 901px) { .basket__summary { grid-column: 2; grid-row: 1 / span 3; } }
.upsell { grid-column: 1; min-width: 0; }
.upsell__title { font: 600 1.15rem var(--font-display); margin-bottom: 12px; }
.upsell__title:focus { outline: none; }
.upsell__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.upsell__item {
  display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.upsell__media { display: block; border-radius: 10px; overflow: hidden; background: #0a0d0a; aspect-ratio: 4 / 3; }
.upsell__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.upsell__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upsell__name { font: 600 0.98rem var(--font-display); }
.upsell__name:hover { color: var(--ink); text-decoration: underline; }
.upsell__price { font-size: 0.9rem; color: var(--muted); }
.upsell__price em { font-style: normal; font-weight: 600; color: var(--ink); white-space: nowrap; }
.upsell__add {
  min-height: 44px; padding: 0 18px; border-radius: 99px; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 0.92rem var(--font-body);
  transition: background-color 0.15s var(--ease-out), color 0.15s var(--ease-out), transform 0.12s var(--ease-out);
}
.upsell__add:hover { background: var(--ink); color: #fff; }
.upsell__add:active { transform: scale(0.97); }
/* úzké místo (mobil, panel u produktu): řádky s fotkou vlevo */
@media (max-width: 640px) {
  .upsell__list { grid-template-columns: 1fr; }
  .upsell__item { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: none; align-items: center; }
}
.upsell--side .upsell__title { font-size: 1rem; margin-bottom: 8px; }
.upsell--side .upsell__list { grid-template-columns: 1fr; gap: 8px; }
.upsell--side .upsell__item { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-rows: none; align-items: center; padding: 8px; box-shadow: none; }
/* panel „Přidáno do košíku“ na detailu produktu */
.added { margin-top: 16px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--card); display: grid; gap: 14px; }
.added__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.added__head b { color: var(--ink); }
.added .freebar { margin: 0; }
.added { transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
@starting-style { .added { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) {
  .freebar__fill, .added { transition: none; }
  .upsell__add:active { transform: none; }
}

/* Detail produktu na mobilu: lišta „Přidat do košíku“ dole, když tlačítko odjede nahoru (js/product.js) */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--card); border-top: 1px solid var(--line-strong); box-shadow: 0 -10px 30px rgba(40, 30, 10, 0.14);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.3s var(--ease-drawer), visibility 0s 0.3s;
}
.buybar.is-on { transform: none; visibility: visible; transition: transform 0.3s var(--ease-drawer), visibility 0s; }
.buybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.buybar__info b { font: 600 0.95rem var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__info span { color: var(--ink); font-weight: 600; }
.buybar .btn { border: 0; cursor: pointer; white-space: nowrap; padding: 13px 20px; }
@media (min-width: 901px) { .buybar { display: none; } }
/* NOK v rohu uhne liště z cesty */
.nok-buddy { transition: transform 0.2s var(--ease-out), translate 0.3s var(--ease-drawer); }
.nok-bubble { transition: opacity 0.15s var(--ease-out), transform 0.15s var(--ease-out), translate 0.3s var(--ease-drawer); }
@media (max-width: 900px) {
  body.has-buybar .nok-buddy, body.has-buybar .nok-bubble { translate: 0 -72px; }
  body.has-buybar { padding-bottom: 76px; } /* ať lišta nezakryje konec patičky */
}
@media (prefers-reduced-motion: reduce) { .buybar, .buybar.is-on { transition: none; } }

/* Lišta nahoře s oznámením (js/nav.js, admin → Texty → Lišta nahoře) */
.announce {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding-block: 9px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px));
  background: var(--btn); color: var(--btn-text); font-size: 0.92rem; line-height: 1.4; text-align: center;
}
.announce p { margin: 0; }
.announce a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; margin-left: 4px; }
.announce__close {
  position: absolute; right: max(6px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.announce__close:hover { background: rgba(255, 255, 255, 0.12); }
.announce a:focus-visible, .announce__close:focus-visible { outline: 2px solid var(--btn-text); outline-offset: 2px; }
@media (max-width: 600px) { .announce { font-size: 0.84rem; padding-block: 7px; } }
@media (max-width: 860px) { .nav--v2 .nav__links { padding-top: calc(92px + var(--nav-offset, 0px)); } }

/* Sněžení během akce (js/nav.js, admin → Akce → Vzhled → Sněžení) */
.snow { position: fixed; inset: 0; z-index: 95; overflow: hidden; pointer-events: none; }
.snow i {
  position: absolute; top: -12px; border-radius: 50%; background: #fff; opacity: 0.8;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7); animation: snow-fall linear infinite;
}
@keyframes snow-fall { to { transform: translate3d(36px, 105vh, 0); } }
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }

/* Sleva a dárek z akce v košíku a na stránce objednávky */
.sum .sum__disc dd, .sum .sum__disc dt { color: var(--ink); font-weight: 600; }
.sum__gift { color: var(--ink); font-weight: 600; }
.field__ok { display: block; margin-top: 4px; font-size: 0.88rem; color: var(--ink); font-weight: 600; }

/* Cedulky a odpočet z akcí (js/nav.js, admin → Akce) – barvy jdou z vzhledu akce (tlačítka) */
.card-p__deal {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 5px 11px; border-radius: 99px;
  background: var(--btn); color: var(--btn-text); font: 700 0.8rem/1.2 var(--font-display); letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.detail__deal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 14px; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.detail__deal .card-p__deal { position: static; box-shadow: none; }
.announce__count { font-weight: 600; white-space: nowrap; }
.detail__set { cursor: pointer; }

/* Menu: účet a košík vpravo, na mobilu vedle tlačítka menu (nav__tools, js/nav.js) */
.nav--v2 .nav__links { order: 1; }
.nav__tools { order: 2; display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.nav--v2 .nav__burger { order: 3; }
.nav__user, .nav--v2 .nav__cart {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text);
  font: 600 0.92rem var(--font-display); text-decoration: none; white-space: nowrap;
  transition: border-color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
}
.nav__user svg, .nav--v2 .nav__cart svg { width: 20px; height: 20px; flex: none; }
.nav__user:hover, .nav--v2 .nav__cart:hover { border-color: var(--ink); }
.nav__user.is-current, .nav--v2 .nav__cart.is-current { border-color: var(--ink); color: var(--ink) !important; }
.nav__user-label { max-width: 11ch; overflow: hidden; text-overflow: ellipsis; }
.nav--v2 .nav__cart-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.nav--v2 .cart-badge {
  position: static; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--btn); color: var(--btn-text); font: 700 0.75rem/1 var(--font-display);
}
.nav--v2 .cart-badge[hidden] { display: none; }
@media (max-width: 860px) {
  .nav__tools { order: 1; margin-left: auto; margin-right: 6px; }
  .nav--v2 .nav__burger { order: 2; }
  .nav__user, .nav--v2 .nav__cart { width: 42px; padding: 0; justify-content: center; }
  .nav__user-label, .nav--v2 .nav__cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav--v2 .cart-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; font-size: 0.7rem; }
}

/* Můj účet (ucet.html, js/ucet.js) */
.ucet { max-width: 1100px; margin: 0 auto; padding: 130px 6% 90px; display: grid; gap: 22px; }
.ucet__head h1 { font: 700 clamp(2rem, 4.5vw, 3rem)/1.1 var(--font-display); margin: 6px 0 8px; }
.ucet__lead { color: var(--muted); max-width: 60ch; }
.ucet__msg { padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--ink); color: var(--ink); font-weight: 600; }
.ucet__msg.is-error { border-color: #9b2c1f; color: #9b2c1f; }
.ucet__promo { padding: 14px 18px; border-radius: 14px; background: var(--btn); color: var(--btn-text); font-weight: 600; margin-bottom: 16px; }
.ucet__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; align-items: start; }
.ucet__card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 6px; min-width: 0; }
.ucet__card h2 { font: 600 1.3rem var(--font-display); margin-bottom: 8px; }
.ucet__card .field input { width: 100%; }
.ucet__card .btn { border: 0; cursor: pointer; justify-self: start; margin-top: 6px; }
.ucet__card .linkish { justify-self: start; margin-top: 4px; }
.ucet__narrow { max-width: 460px; }
.ucet__perks { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 4px; color: var(--muted); font-size: 0.93rem; }
.ucet__perks li::before { content: "✓ "; color: var(--ink); font-weight: 700; }
.ucet__error { color: #9b2c1f; font-weight: 600; }
.ucet__consent { align-items: flex-start; line-height: 1.5; margin: 6px 0; }
.ucet__consent a { color: var(--ink); text-decoration: underline; }
.ucet [aria-invalid="true"] { border-color: #9b2c1f !important; box-shadow: 0 0 0 3px rgba(155, 44, 31, 0.15); }
.ucet__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.ucet__bar .btn { cursor: pointer; }
.ucet__hint { color: var(--muted); font-size: 0.92rem; }
.ucet__hint a { color: var(--ink); }
.ucet__orders { list-style: none; padding: 0; margin: 0; display: grid; }
.ucet__orders li { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ucet__orders li:last-child { border-bottom: 0; }
.ucet__onum { font: 600 1rem var(--font-display); display: grid; }
.ucet__onum small { color: var(--muted); font: 400 0.82rem var(--font-body); }
.ucet__ostate { font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line-strong); white-space: nowrap; }
.ucet__ostate.is-zaplaceno, .ucet__ostate.is-vyroba, .ucet__ostate.is-odeslano, .ucet__ostate.is-vyrizeno { border-color: var(--ink); color: var(--ink); }
.ucet__ostate.is-storno { opacity: 0.6; }
.ucet__orders a { color: var(--ink); font-weight: 600; }
.ucet__danger { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.ucet__danger summary { cursor: pointer; color: #9b2c1f; font-weight: 600; }
.ucet__danger form { display: grid; gap: 6px; margin-top: 10px; }
.ucet__delete { background: #9b2c1f; color: #fff; }
@media (max-width: 600px) {
  .ucet { padding-top: 110px; }
  .ucet__orders li { grid-template-columns: 1fr auto; row-gap: 6px; }
}

/* Pokladna: řádek s účtem a nabídka slevy pro registrované */
.checkout__account { padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.checkout__account a { color: var(--ink); font-weight: 600; }
.sum__member { color: var(--ink); font-weight: 600; }
.sum__member a { color: var(--ink); text-decoration: underline; }

/* Košík: položky jako karty s větší fotkou, souhrn, ve kterém se částky nelámou */
.basket__items { display: grid; gap: 12px; align-content: start; }
.line {
  grid-template-columns: 88px minmax(0, 1fr) auto auto auto; gap: 16px; padding: 12px 14px 12px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.line__media { border-radius: 12px; aspect-ratio: 1; }
.line__name { font-weight: 600; font-size: 1.05rem; }
.line__price { font-weight: 700; font-size: 1.05rem; }
.qty--sm { border-color: var(--line-strong); background: var(--field); }
.line__remove { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; padding: 0; transition: background-color 0.15s var(--ease-out); }
.line__remove:hover { background: rgba(155, 44, 31, 0.1); color: #9b2c1f; }
.sum > div { align-items: baseline; }
.sum dd { white-space: nowrap; }
.basket__summary .btn#checkout { padding: 16px; font-size: 1.05rem; }
.basket__trust { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; font-size: 0.85rem; color: var(--muted); }
.basket__trust li::before { content: "✓ "; color: var(--ink); font-weight: 700; }
@media (max-width: 900px) {
  .line { grid-template-columns: 72px minmax(0, 1fr) auto; }
}
.ucet__actions { display: flex; gap: 8px; flex-wrap: wrap; }
