/**
 * Sablona 2026-005 Technik - hlavicka (hlavicka.latte, ANALYZA kap. 2.1-2.4, artboardy 01, 06.1, 06.2, 06.9).
 * Linkuje ji komponenta hlavicka (komponenty.json). Jen tokeny var(--tpl-...), bez !important.
 *   topbar 32 · hlavni radek 80 (sticky 64) · menu 48 · mega menu strom · mobil 56 + hledani 44 · drawer po urovnich
 */

/* jadrove prvky, ktere Technik nahrazuje vlastnim markupem */
body div#hlavni_menu { display: none; }
.tpl-menu-toggle-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#hlavicka.tk-hd { position: relative; z-index: 60; background: var(--tpl-header-bg); color: var(--tpl-header-text); font-family: var(--tpl-font); }
#hlavicka.tk-hd [hidden] { display: none; }

/* --- oznamovaci lista 36 px (slot_oznameni) --- */
#hlavicka.tk-hd .tpl-oznameni { min-height: 36px; font-size: 14px; }
#hlavicka.tk-hd .tpl-oznameni-text { font-weight: 600; }
/* mobil: odkaz a krizek jako dotykove cile 44 px (lista 33 -> 44 px) */
@media (max-width: 768px) {
    #hlavicka .tpl-oznameni-in { min-height: 44px; padding-top: 0; padding-bottom: 0; }
    #hlavicka .tpl-oznameni a.tpl-oznameni-text { display: inline-flex; align-items: center; min-height: 44px; }
    #hlavicka .tpl-oznameni-zavrit { right: 0; width: 44px; height: 44px; }
}

/* --- topbar 32 px --- */
.tk-topbar { background: var(--tpl-topbar-bg); color: var(--tpl-topbar-text); font-size: 13px; border-bottom: 1px solid var(--tpl-line); }
.tk-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 32px; }
.tk-tb { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.tk-tb--r { gap: 16px; }
.tk-tb-i { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tk-tb a { color: var(--tpl-topbar-text); }
.tk-tb a:hover { color: var(--tpl-topbar-text); text-decoration: underline; }
.tk-tb-tel { font-weight: 600; }
.tk-tb-lm { display: flex; align-items: center; gap: 4px; }

/* --- dropdown jazyk / mena (06.2) --- */
.tk-dd { position: relative; }
.tk-dd > summary { list-style: none; cursor: pointer; }
.tk-dd > summary::-webkit-details-marker { display: none; }
.tk-dd-tl { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 4px; font: 600 13px/1 var(--tpl-font); color: inherit; }
.tk-dd-panel {
    position: absolute; top: 34px; right: 0; z-index: 70; width: 220px; padding: 6px;
    background: var(--tpl-surface); color: var(--tpl-text); border: 1px solid var(--tpl-border);
    border-radius: var(--tpl-area-radius); box-shadow: var(--tpl-shadow-pop);
}
.tk-dd-nadpis { margin: 0; padding: 6px 10px 4px; font-size: 12px; font-weight: 700; color: var(--tpl-text-light); text-transform: uppercase; letter-spacing: .04em; }
.tk-dd-volba { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 6px; font-size: 14px; color: var(--tpl-text); }
.tk-dd-volba:hover { background: var(--tpl-surface-2); color: var(--tpl-text); text-decoration: none; }
.tk-dd-volba--on { background: var(--tpl-secondary); font-weight: 600; }
.tk-dd-volba .tk-ico { margin-left: auto; color: var(--tpl-link); }
.tk-dd-kod { width: 36px; font-weight: 700; }

/* --- hlavni radek 80 px --- */
.tk-hd-pruh { background: var(--tpl-header-bg); color: var(--tpl-header-text); }
.tk-hd-main { display: flex; align-items: center; gap: 24px; height: 80px; }
.tk-hd-burger, .tk-hd-vse { display: none; }
.tk-logo { flex: none; display: flex; align-items: center; gap: 10px; max-width: 200px; height: 56px; color: var(--tpl-header-text); text-decoration: none; }
.tk-logo:hover { color: var(--tpl-header-text); text-decoration: none; }
.tk-logo img { display: block; max-width: 200px; max-height: 56px; width: auto; height: auto; }
/* tmava hlavicka (header_mode primary/dark, Grafit): obrazkove logo byva tmave - svetly podklad, dokud jadro nema druhe logo (nalez J-T21) */
.tk-hd--tmava .tk-logo--obrazek { padding: 6px 12px; border-radius: var(--tpl-radius); background: var(--tpl-surface); }
.tk-logo-znak { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: var(--tpl-radius); background: var(--tpl-primary-fill); color: var(--tpl-primary-fill-text); }
.tk-logo-t { font: 600 18px/1.1 var(--tpl-font-head); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* hledani 640 x 48 (slot_search rezim 'pole' = modul fulltextu jadra) */
.tk-hd-search { flex: 0 1 640px; min-width: 0; }
.tk-hd-search .tpl-header-search { width: 100%; margin: 0; padding: 0; }
.tk-hd-search form#hlavicka_fulltext_form {
    position: relative; display: flex; align-items: stretch; width: 100%; height: 48px; margin: 0;
    border: 2px solid var(--tpl-search-border); border-radius: var(--tpl-input-radius); background: var(--tpl-surface); overflow: hidden;
}
.tk-hd-search input#fulltext_text {
    flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; margin: 0; padding: 0 14px;
    border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none;
    color: var(--tpl-text); font: 400 15px/1 var(--tpl-font);
}
.tk-hd-search input#fulltext_text::placeholder { color: var(--tpl-text-light); opacity: 1; }
.tk-hd-search input#fulltext_text::-webkit-search-cancel-button { cursor: pointer; }
.tk-hd-search form#hlavicka_fulltext_form input[type="submit"] {
    flex: 0 0 46px; width: 46px; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; cursor: pointer;
    background-color: var(--tpl-search-btn); color: transparent; font-size: 0;
    background-image: none;
}
.tk-hd-search form#hlavicka_fulltext_form::after {
    content: ''; position: absolute; right: 13px; top: 50%; width: 20px; height: 20px; margin-top: -10px; pointer-events: none;
    background: var(--tpl-search-btn-text);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tk-hd-search form#hlavicka_fulltext_form:focus-within { box-shadow: 0 0 0 3px var(--tpl-primary-tint-border); }

/* ikony s popiskem 12 px (Porovnat, Oblibene, Prihlasit) + kosik na CTA */
.tk-hd-ikony { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.tk-hi,
.tk-hi .tpl-porovnani-ikona {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 64px; height: 56px; padding: 0 6px; border-radius: var(--tpl-radius);
    color: var(--tpl-header-text); font-size: 12px; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.tk-hi--porovnat { min-width: 0; height: auto; padding: 0; }
.tk-hi--porovnat:empty { display: none; }
a.tk-hi:hover,
.tk-hi .tpl-porovnani-ikona:hover { background: color-mix(in srgb, var(--tpl-header-text) 8%, transparent); color: var(--tpl-header-text); text-decoration: none; }
.tk-hi .tpl-porovnani-ikona .tpl-ico { width: 24px; height: 24px; }
.tk-hi .tpl-porovnani-popisek { font-size: 12px; }
.tk-badge,
.tk-hi .tpl-porovnani-pocet {
    position: absolute; top: 3px; left: 50%; margin-left: 4px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--tpl-hd-badge-bg); color: var(--tpl-hd-badge-text);
    font: 700 11px/18px var(--tpl-font); text-align: center;
}
.tk-hi .tpl-porovnani-ikona--prazdne .tpl-porovnani-pocet { display: none; }
.tk-hd-kosik {
    display: flex; align-items: center; gap: 10px; height: 48px; margin-left: 8px; padding: 0 14px; flex: none;
    border-radius: var(--tpl-radius); background: var(--tpl-header-cart-bg); color: var(--tpl-cta-text); text-decoration: none;
}
.tk-hd-kosik:hover { background: var(--tpl-header-cart-bg-hover); color: var(--tpl-cta-text); text-decoration: none; }
.tk-kosik-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--tpl-cta-text); color: var(--tpl-cta-bg); font: 700 12px/20px var(--tpl-font); text-align: center; }
.tk-kosik-t { display: flex; flex-direction: column; line-height: 1.15; }
.tk-kosik-t small { font-size: 12px; }
.tk-kosik-t b { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-kosik-t b:empty { display: none; }
.tk-kosik-t small,
.tk-hi-t { display: block; }
.tk-kosik-t small::first-letter,
.tk-hi-t::first-letter { text-transform: uppercase; }

/* --- menu 48 px --- */
.tk-nav { position: relative; background: var(--tpl-nav-bg); color: var(--tpl-nav-text); }
.tk-nav-in { display: flex; align-items: center; gap: 2px; height: 48px; }
.tk-nav-vse {
    display: flex; align-items: center; gap: 10px; width: 240px; height: 48px; margin-right: 8px; padding: 0 16px; flex: none;
    border: 0; border-radius: 0; background: var(--tpl-primary-fill); color: var(--tpl-primary-fill-text); font: 600 15px/1 var(--tpl-font); cursor: pointer;
}
.tk-nav-vse-sipka { margin-left: auto; transition: transform var(--tpl-transition); }
.tk-nav-vse[aria-expanded="true"] .tk-nav-vse-sipka { transform: rotate(180deg); }
.tk-nav-ul { display: flex; align-items: center; gap: 2px; min-width: 0; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.tk-nav-a { display: flex; align-items: center; height: 48px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--tpl-nav-text); white-space: nowrap; text-decoration: none; }
.tk-nav-a:hover, .tk-nav-a--on { color: var(--tpl-link); text-decoration: none; }
.tk-nav-akce { margin-left: auto; height: 32px; border-radius: var(--tpl-radius); background: var(--tpl-accent); color: var(--tpl-accent-text); }
.tk-nav-akce:hover { color: var(--tpl-accent-text); text-decoration: none; background: color-mix(in srgb, var(--tpl-accent) 88%, #000); }
.tk-nav-ul + .tk-nav-novinky { margin-left: auto; }

/* --- mega menu strom (06.1) --- */
.tk-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 65; }
.tk-mega-in {
    display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 380px; max-height: calc(100vh - 220px);
    background: var(--tpl-surface); color: var(--tpl-text); border: 1px solid var(--tpl-border); border-top: 0;
    border-radius: 0 0 var(--tpl-area-radius) var(--tpl-area-radius); box-shadow: var(--tpl-shadow-pop); overflow: hidden;
}
.tk-mega-l1 { margin: 0; padding: 8px 0; list-style: none; background: var(--tpl-surface-2); border-right: 1px solid var(--tpl-border); overflow-y: auto; }
.tk-mega-l1-a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--tpl-text); text-decoration: none; }
.tk-mega-l1-a .tk-ikona { width: 20px; height: 20px; color: var(--tpl-primary); }
.tk-mega-chev { margin-left: auto; color: var(--tpl-text-light); }
.tk-mega-l1-a:hover, .tk-mega-l1-a.is-on { background: var(--tpl-surface); color: var(--tpl-link); box-shadow: inset 3px 0 0 var(--tpl-primary); text-decoration: none; }
.tk-mega-panel { display: none; flex-direction: column; min-width: 0; overflow-y: auto; }
.tk-mega-panel.is-on { display: flex; }
.tk-mega-hl { padding: 16px 24px 0; }
.tk-mega-vse { font-size: 14px; font-weight: 600; }
.tk-mega-vse span { font-weight: 400; color: var(--tpl-text-light); }
.tk-mega-sloupce { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-content: start; padding: 16px 24px 20px; flex: 1 1 auto; }
.tk-mega-l2 { margin: 0; font: 700 15px/1.3 var(--tpl-font); letter-spacing: 0; }
.tk-mega-l2 a { color: var(--tpl-text); }
.tk-mega-l2 a:hover { color: var(--tpl-link); }
.tk-mega-l2 span { font-weight: 400; font-size: 13px; color: var(--tpl-text-light); }
.tk-mega-sl ul { margin: 6px 0 0; padding: 0; list-style: none; }
.tk-mega-sl li a { display: flex; align-items: center; min-height: 30px; font-size: 14px; color: var(--tpl-text); }
.tk-mega-sl li a:hover { color: var(--tpl-link); }
.tk-mega-sl li a.tk-mega-dalsi { color: var(--tpl-link); font-weight: 600; }
.tk-mega-znacky { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 24px; border-top: 1px solid var(--tpl-line); }
.tk-mega-znacky-t { font-size: 13px; font-weight: 700; color: var(--tpl-text-light); margin-right: 4px; }
.tk-mega-znacka { display: flex; align-items: center; justify-content: center; min-width: 100px; height: 40px; padding: 0 12px; border: 1px solid var(--tpl-border); border-radius: 6px; font: 600 13px/1 var(--tpl-font-head); color: var(--tpl-text-light); text-decoration: none; }
.tk-mega-znacka:hover { border-color: var(--tpl-primary); color: var(--tpl-link); text-decoration: none; }

/* ikona kategorie (maska ze souboru ikony/*.svg v barve textu) */
.tk-ikona { display: inline-block; flex: none; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--tk-ikona) center / contain no-repeat; mask: var(--tk-ikona) center / contain no-repeat; }
.tk-ikona--img { background: none; -webkit-mask: none; mask: none; object-fit: contain; }
.tk-ikona--text { background: none; -webkit-mask: none; mask: none; width: auto; height: auto; font-size: 18px; line-height: 1; }

/* --- drawer (mobil) --- */
.tk-drawer, .tk-drawer-overlay { display: none; }

/* --- sticky hlavicka (hd_sticky = ano; jadro pridava body.tpl-hd-sticky po 120 px) --- */
#hlavicka.tk-hd { min-height: var(--tk-hd-h, auto); }
body.tpl-hd-sticky #hlavicka.tk-hd .tk-hd-pruh {
    position: fixed; top: 0; left: 0; right: 0; z-index: 80; box-shadow: var(--tpl-shadow-hover);
    border-bottom: 1px solid var(--tpl-border);
}
@media (min-width: 1025px) {
    body.tpl-hd-sticky .tk-hd-main { height: 64px; }
    body.tpl-hd-sticky .tk-logo { height: 40px; }
    body.tpl-hd-sticky .tk-logo img { max-height: 40px; }
    body.tpl-hd-sticky .tk-hd-search form#hlavicka_fulltext_form { height: 40px; }
    body.tpl-hd-sticky .tk-hi-t,
    body.tpl-hd-sticky .tk-hi .tpl-porovnani-popisek,
    body.tpl-hd-sticky .tk-kosik-t small { display: none; }
    body.tpl-hd-sticky .tk-hi, body.tpl-hd-sticky .tk-hi .tpl-porovnani-ikona { height: 44px; min-width: 48px; }
    body.tpl-hd-sticky .tk-hd-kosik { height: 40px; }
    body.tpl-hd-sticky .tk-hd-vse {
        display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; padding: 0;
        border: 0; border-radius: var(--tpl-radius); background: var(--tpl-primary-fill); color: var(--tpl-primary-fill-text); cursor: pointer;
    }
    body.tpl-hd-sticky .tk-mega { position: fixed; top: 64px; z-index: 79; }
}

/* ---------------- tablet ≤ 1024 px: menu = Vsechny kategorie + 3 odkazy, uzsi hledani ---------------- */
@media (max-width: 1240px) {
    .tk-hd-main { gap: 16px; }
    .tk-hi, .tk-hi .tpl-porovnani-ikona { min-width: 56px; }
    .tk-nav-vse { width: auto; }
}
@media (max-width: 1024px) {
    .tk-nav-ul li:nth-child(n+4) { display: none; }
    .tk-tb-i:nth-child(n+3) { display: none; }
    .tk-hi-t, .tk-hi .tpl-porovnani-popisek { display: none; }
    .tk-hi, .tk-hi .tpl-porovnani-ikona { min-width: 44px; height: 44px; }
    .tk-kosik-t small { display: none; }
    .tk-mega-sloupce { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------- mobil ≤ 768 px: radek 56 + hledani 44 (sticky), drawer ---------------- */
@media (max-width: 768px) {
    .tk-topbar, .tk-nav { display: none; }
    .tk-hd-pruh { border-bottom: 1px solid var(--tpl-line); }
    body.tpl-hd-sticky #hlavicka.tk-hd .tk-hd-pruh { box-shadow: var(--tpl-shadow); }
    .tk-hd-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "burger logo ikony" "search search search"; gap: 0 4px; height: auto; padding: 6px 8px 10px; }
    .tk-hd-burger { grid-area: burger; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--tpl-radius); color: var(--tpl-header-text); cursor: pointer; }
    .tk-logo { grid-area: logo; height: 44px; max-width: 160px; gap: 8px; }
    .tk-logo img { max-width: 140px; max-height: 40px; }
    .tk-logo-znak { width: 32px; height: 32px; }
    .tk-logo-t { font-size: 16px; }
    .tk-hd-ikony { grid-area: ikony; gap: 0; }
    .tk-hi--porovnat, .tk-hi--oblibene { display: none; }
    .tk-hi { min-width: 44px; height: 44px; padding: 0; }
    .tk-hd-kosik { position: relative; width: 44px; height: 44px; margin-left: 4px; padding: 0; justify-content: center; }
    .tk-kosik-t { display: none; }
    .tk-kosik-n { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; }
    .tk-hd-search { grid-area: search; flex: none; width: 100%; margin-top: 4px; }
    .tk-hd-search form#hlavicka_fulltext_form { height: 44px; }

    /* drawer zleva 88 %, panely po urovnich */
    .tk-drawer {
        display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 1001; width: 88%; max-width: 360px;
        background: var(--tpl-surface); color: var(--tpl-text); box-shadow: var(--tpl-shadow-pop);
        transform: translateX(-105%); transition: transform .25s ease; visibility: hidden;
    }
    .tk-drawer-overlay { display: block; position: fixed; inset: 0; z-index: 1000; background: var(--tpl-overlay); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
    #tpl-menu-toggle:checked + #hlavicka .tk-drawer,
    #tpl-menu-toggle:checked ~ #hlavicka .tk-drawer { transform: none; visibility: visible; }
    #tpl-menu-toggle:checked + #hlavicka .tk-drawer-overlay,
    #tpl-menu-toggle:checked ~ #hlavicka .tk-drawer-overlay { opacity: 1; pointer-events: auto; }
    .tk-drawer-h { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 4px 0 16px; border-bottom: 1px solid var(--tpl-border); flex: none; }
    .tk-drawer-h b { font: 600 18px/1 var(--tpl-font-head); }
    .tk-mib { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; cursor: pointer; color: var(--tpl-text); }
    .tk-drawer-l { flex: 1 1 auto; overflow-y: auto; }
    .tk-drawer-panel { margin: 0; padding: 0; list-style: none; }
    .tk-dr-i {
        display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; margin: 0;
        border: 0; border-bottom: 1px solid var(--tpl-line); border-radius: 0; background: none;
        font: 600 15px/1.3 var(--tpl-font); color: var(--tpl-text); text-align: left; text-decoration: none; cursor: pointer;
    }
    .tk-dr-i:hover { color: var(--tpl-link); text-decoration: none; }
    .tk-dr-i .tk-ikona { color: var(--tpl-primary); }
    .tk-dr-chev { margin-left: auto; color: var(--tpl-text-light); }
    .tk-dr-i small { margin-left: auto; font-weight: 400; font-size: 14px; color: var(--tpl-text-light); }
    .tk-dr-i--sub { font-weight: 400; }
    .tk-dr-i--vse { color: var(--tpl-link); }
    .tk-dr-i--akce span { color: var(--tpl-sale-price); }
    .tk-dr-zpet { color: var(--tpl-link); background: var(--tpl-surface-2); }
    .tk-drawer-f { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-top: 1px solid var(--tpl-border); background: var(--tpl-surface-2); font-size: 14px; flex: none; }
    .tk-drawer-f > a { display: flex; align-items: center; gap: 8px; min-height: 40px; color: var(--tpl-text); }
    .tk-drawer-lm { display: flex; gap: 8px; margin-top: 4px; }
    .tk-drawer-lm .tk-dd-tl { height: 44px; padding: 0 12px; border: 1px solid var(--tpl-border); border-radius: var(--tpl-radius); background: var(--tpl-surface); font-size: 14px; }
    .tk-drawer-lm .tk-dd-panel { top: auto; bottom: 48px; left: 0; right: auto; }
    html.tk-drawer-otevreny { overflow: hidden; }
}
@media (max-width: 380px) {
    .tk-logo-t { display: none; }
}

/* --- kompaktni hlavicka pokladny (hd_checkout_kompaktni, _core/hlavicka--checkout.latte; navrh 06.2): 64 px --- */
#hlavicka.tpl-hd-checkout { background: var(--tpl-header-bg); color: var(--tpl-header-text); border-bottom: 1px solid var(--tpl-border); font-family: var(--tpl-font); }
#hlavicka.tpl-hd-checkout .tpl-hd-checkout-obsah {
    max-width: calc(var(--tpl-max-width) + 2 * var(--tpl-gutter)); min-height: 64px; margin: 0 auto; padding: 0 var(--tpl-gutter); gap: 32px;
}
#hlavicka.tpl-hd-checkout .tpl-header-logo img { max-height: 40px; width: auto; }
.tpl-hd-checkout-bezpecne { color: var(--tpl-stav-skladem); font-weight: 600; font-size: 14px; }
.tpl-hd-checkout-kroky { margin: 0 auto; }
.tpl-hd-checkout-krok { font-weight: 600; color: var(--tpl-text-light); }
.tpl-hd-checkout-krok--aktivni { color: var(--tpl-header-text); }
.tpl-hd-checkout-krok--aktivni .tpl-hd-checkout-cislo { background: var(--tpl-primary-fill); border-color: var(--tpl-primary-fill); color: var(--tpl-primary-fill-text); }
.tpl-hd-checkout-krok--hotovo .tpl-hd-checkout-cislo { background: var(--tpl-stav-skladem); border-color: var(--tpl-stav-skladem); color: var(--tpl-surface); }
.tpl-hd-checkout-krok--hotovo a { color: var(--tpl-header-text); }
.tpl-hd-checkout-pravy .tpl-header-contact a { color: var(--tpl-header-text); font-size: 14px; font-weight: 600; }
.tpl-hd-checkout-pravy .tpl-header-email { display: none; }
/* mobil: odkaz zpet na kosik (hotovy krok) a telefon jako dotykove cile 44 px (hlavicka ma 64 px) */
@media (max-width: 768px) {
    .tpl-hd-checkout-krok--hotovo a,
    .tpl-hd-checkout-pravy .tpl-header-contact a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
}
