/* ==========================================================================
   Shop Garage – účet zákazníka (F5-01): přihlášení, registrace, hesla,
   přehled, objednávky, doklady, body, oblíbené, hlídání, adresy, údaje,
   zabezpečení, soukromí. Desktop: levé menu; mobil: spodní lišta a list Více.
   Vše pod kořenem .esh.esh-pf, třídy s prefixem .esh-pf-, nic globálního.
   Vzhled webu klienta (RE Garage): noc, papír, červená, Manrope, nadtitulky
   s červenou linkou, zúžený proklad nadpisů; navíc mosaz pro členskou kartu.
   Světlý motiv je výchozí, tmavý přes data-esh-pf-motiv="tmavy", nebo
   "auto" podle systému. Plná šířka (obsah do 2 080 px s okraji --gutter).
   Animace jen při prefers-reduced-motion: no-preference.
   Globální pravidla webu (svg{width:20px;fill:none;stroke}, h1 velikosti,
   p{margin:0}, a{color:inherit}) se přebíjejí specifičtějšími selektory.
   ========================================================================== */

.esh.esh-pf {
    --pf-s: var(--fzd, 0px);
    --pf-gutter: var(--gutter, clamp(20px, 4.167vw, 80px));
    --pf-nav: var(--nav, 80px);
    --pf-ease: cubic-bezier(.2, .65, .25, 1);
    --pf-radius: 10px;
    --pf-radius-s: 6px;

    --pf-night: var(--night, #111214);
    --pf-bg: var(--paper, #f4f1eb);
    --pf-surface: #fffefb;
    --pf-surface-2: #ece8e0;
    --pf-ink: var(--ink, #191a1c);
    --pf-muted: var(--muted, #625f59);
    --pf-line: var(--line, #dcd8d1);
    --pf-line-strong: #b9b4ab;
    /* R-034/F5-29 P-02 (WCAG 1.4.11): hranice ovládacích prvků ≥ 3:1. #88837b na #fff 3,76, #fffefb 3,73, #f4f1eb 3,34, #ece8e0 3,08 */
    --pf-field-border: #88837b;
    --pf-red: var(--red, #c92d26);
    --pf-red-hover: #ad211c;
    --pf-red-text: #b3261f;
    --pf-red-soft: #f7e3e1;
    --pf-brass: #a8834a;
    --pf-brass-text: #7a5a2a;
    --pf-ok: #1d6b35;
    --pf-ok-bg: #e2f0e5;
    --pf-warn: #7f4c00;
    --pf-warn-bg: #fbeed6;
    --pf-info: #245080;
    --pf-info-bg: #e3ecf6;
    --pf-focus: #b3261f;
    --pf-shadow: 0 1px 2px rgba(17, 18, 20, .05), 0 18px 40px -26px rgba(17, 18, 20, .35);
    --pf-shadow-hover: 0 2px 4px rgba(17, 18, 20, .06), 0 26px 50px -26px rgba(17, 18, 20, .45);
    --pf-input-bg: #fff;
    --pf-ghost: #e2ddd4;

    display: block;
    width: 100%;
    color: var(--pf-ink);
    background: var(--pf-bg);
    font-family: Manrope, "Inter", Arial, Helvetica, sans-serif;
    font-size: calc(15px + 15 * var(--pf-s));
    line-height: 1.55;
    overflow-x: clip;
    color-scheme: light;
}

/* Tmavý motiv: ručně, nebo „auto“ podle systému */
.esh.esh-pf[data-esh-pf-motiv="tmavy"] {
    --pf-bg: #111214;
    --pf-surface: #1a1b1e;
    --pf-surface-2: #232428;
    --pf-ink: #f4f1eb;
    --pf-muted: #b3ada3;
    --pf-line: #2f3136;
    --pf-line-strong: #4a4c52;
    --pf-field-border: #6e7078; /* R-034 P-02: #141518 3,70, #1a1b1e 3,49, #111214 3,79, #232428 3,14 */
    --pf-red-hover: #de3a30;
    --pf-red-text: #ff8074;
    --pf-red-soft: rgba(255, 128, 116, .12);
    --pf-brass: #c9a468;
    --pf-brass-text: #dcbd85;
    --pf-ok: #7bd495;
    --pf-ok-bg: rgba(123, 212, 149, .12);
    --pf-warn: #f2bb62;
    --pf-warn-bg: rgba(242, 187, 98, .12);
    --pf-info: #93bdf0;
    --pf-info-bg: rgba(147, 189, 240, .12);
    --pf-focus: #ff9d93;
    --pf-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -26px rgba(0, 0, 0, .8);
    --pf-shadow-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 26px 50px -24px rgba(0, 0, 0, .9);
    --pf-input-bg: #141518;
    --pf-ghost: #2a2c31;
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    .esh.esh-pf[data-esh-pf-motiv="auto"] {
        --pf-bg: #111214;
        --pf-surface: #1a1b1e;
        --pf-surface-2: #232428;
        --pf-ink: #f4f1eb;
        --pf-muted: #b3ada3;
        --pf-line: #2f3136;
        --pf-line-strong: #4a4c52;
        --pf-field-border: #6e7078; /* R-034 P-02, jako tmavý motiv */
        --pf-red-hover: #de3a30;
        --pf-red-text: #ff8074;
        --pf-red-soft: rgba(255, 128, 116, .12);
        --pf-brass: #c9a468;
        --pf-brass-text: #dcbd85;
        --pf-ok: #7bd495;
        --pf-ok-bg: rgba(123, 212, 149, .12);
        --pf-warn: #f2bb62;
        --pf-warn-bg: rgba(242, 187, 98, .12);
        --pf-info: #93bdf0;
        --pf-info-bg: rgba(147, 189, 240, .12);
        --pf-focus: #ff9d93;
        --pf-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -26px rgba(0, 0, 0, .8);
        --pf-shadow-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 26px 50px -24px rgba(0, 0, 0, .9);
        --pf-input-bg: #141518;
        --pf-ghost: #2a2c31;
        color-scheme: dark;
    }
}

/* ---------- Základ (přebití globálních pravidel webu) ---------- */
.esh-pf *,
.esh-pf *::before,
.esh-pf *::after {
    box-sizing: border-box;
}

.esh-pf p,
.esh-pf ul,
.esh-pf ol,
.esh-pf dl,
.esh-pf dd,
.esh-pf figure,
.esh-pf address,
.esh-pf fieldset {
    margin: 0;
}

.esh-pf ul,
.esh-pf ol {
    padding: 0;
    list-style: none;
}

.esh-pf address {
    font-style: normal;
}

.esh-pf fieldset {
    min-width: 0;
    padding: 0;
    border: 0;
}

.esh-pf h1,
.esh-pf h2,
.esh-pf h3 {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.esh-pf a {
    color: inherit;
}

.esh-pf strong {
    font-weight: 800;
}

.esh-pf [hidden] {
    display: none !important;
}

.esh-pf .esh-pf-tlumene {
    color: var(--pf-muted);
    font-weight: 500;
}

.esh-pf .esh-pf-mt {
    margin-top: 16px;
}

.esh-pf :focus-visible {
    outline: 3px solid var(--pf-focus);
    outline-offset: 3px;
}

/* Ikony: globální svg webu má 20 px, stroke 1,6 a fill none */
.esh-pf svg.esh-pf-ikona {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -.2em;
}

.esh-pf svg.esh-pf-ikona--logo {
    stroke: none;
}

.esh-pf .esh-pf-obal {
    width: 100%;
    max-width: 2080px;
    margin: 0 auto;
    padding: 0 var(--pf-gutter);
}

/* ---------- Nadtitulek s červenou linkou (jako .re-eyebrow) ---------- */
.esh-pf .esh-pf-nadtitulek {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--pf-muted);
    font-size: calc(11.5px + 11.5 * var(--pf-s));
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.esh-pf .esh-pf-nadtitulek::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--pf-red);
}

.esh-pf .esh-pf-nadtitulek--svetly {
    color: rgba(255, 255, 255, .78);
}

/* ---------- Tlačítka ---------- */
.esh-pf .esh-pf-tl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--pf-radius-s);
    color: var(--pf-ink);
    background: transparent;
    font: inherit;
    font-size: calc(14px + 14 * var(--pf-s));
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s var(--pf-ease), border-color .18s var(--pf-ease), color .18s var(--pf-ease), box-shadow .18s var(--pf-ease), transform .18s var(--pf-ease);
}

.esh-pf .esh-pf-tl svg.esh-pf-ikona {
    transition: transform .18s var(--pf-ease);
}

.esh-pf .esh-pf-tl:hover svg.esh-pf-ikona {
    transform: translateX(3px);
}

.esh-pf .esh-pf-tl--plne {
    color: #fff;
    background: var(--pf-red);
    box-shadow: 0 10px 24px -14px rgba(201, 45, 38, .9);
}

.esh-pf .esh-pf-tl--plne:hover {
    color: #fff;
    background: var(--pf-red-hover);
}

.esh-pf .esh-pf-tl--obrys {
    border-color: var(--pf-line-strong);
    color: var(--pf-ink);
    background: transparent;
}

.esh-pf .esh-pf-tl--obrys:hover {
    border-color: var(--pf-ink);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-tl--obrys-svetly {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    background: rgba(255, 255, 255, .04);
}

.esh-pf .esh-pf-tl--obrys-svetly:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.esh-pf .esh-pf-tl--text {
    min-height: 40px;
    padding: 6px 8px;
    color: var(--pf-muted);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.esh-pf .esh-pf-tl--text:hover {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-tl--text:hover svg.esh-pf-ikona {
    transform: none;
}

.esh-pf .esh-pf-tl--nebezpecne:hover {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-tl--male {
    min-height: 40px;
    padding: 8px 14px;
    font-size: calc(13px + 13 * var(--pf-s));
}

.esh-pf .esh-pf-tl--siroke {
    width: 100%;
}

.esh-pf .esh-pf-tl:disabled,
.esh-pf .esh-pf-tl[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .55;
    box-shadow: none;
}

.esh-pf .esh-pf-tl:disabled:hover svg.esh-pf-ikona {
    transform: none;
}

.esh-pf .esh-pf-tl[data-esh-pf-pracuje] {
    cursor: progress;
    opacity: .75;
}

.esh-pf .esh-pf-tl[data-esh-pf-pracuje]::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
}

.esh-pf .esh-pf-odkaz {
    color: var(--pf-red-text);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.esh-pf .esh-pf-odkaz:hover {
    text-decoration-thickness: 2px;
}

.esh-pf .esh-pf-odkaz--male {
    font-size: calc(13px + 13 * var(--pf-s));
}

.esh-pf .esh-pf-odkaz--sipka {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: calc(13.5px + 13.5 * var(--pf-s));
    text-decoration: none;
}

.esh-pf .esh-pf-odkaz--sipka:hover {
    text-decoration: underline;
}

/* ---------- Štítky a odznaky ---------- */
.esh-pf .esh-pf-stitek {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid var(--pf-brass);
    border-radius: 999px;
    color: var(--pf-brass-text);
    font-size: calc(10.5px + 10.5 * var(--pf-s));
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.esh-pf .esh-pf-stitek--svetly {
    border-color: rgba(220, 189, 133, .7);
    color: #e8cf9f;
}

.esh-pf .esh-pf-odznak {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--pf-ink);
    background: var(--pf-surface-2);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.esh-pf .esh-pf-odznak svg.esh-pf-ikona {
    width: 14px;
    height: 14px;
}

.esh-pf .esh-pf-odznak--ok {
    color: var(--pf-ok);
    background: var(--pf-ok-bg);
}

.esh-pf .esh-pf-odznak--pozor {
    color: var(--pf-warn);
    background: var(--pf-warn-bg);
}

.esh-pf .esh-pf-odznak--info {
    color: var(--pf-info);
    background: var(--pf-info-bg);
}

.esh-pf .esh-pf-odznak--cervena {
    color: var(--pf-red-text);
    background: var(--pf-red-soft);
}

/* ---------- Hlášky ---------- */
.esh-pf .esh-pf-hlasky {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.esh-pf .esh-pf-hlaska {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-left-width: 4px;
    border-radius: var(--pf-radius-s);
    color: var(--pf-ink);
    background: var(--pf-surface);
    font-weight: 600;
    line-height: 1.45;
}

.esh-pf .esh-pf-karta .esh-pf-hlaska {
    margin-bottom: 18px;
}

.esh-pf .esh-pf-hlaska > svg.esh-pf-ikona {
    margin-top: 2px;
}

.esh-pf .esh-pf-hlaska--ok {
    border-color: var(--pf-ok);
    background: var(--pf-ok-bg);
}

.esh-pf .esh-pf-hlaska--ok > svg.esh-pf-ikona {
    color: var(--pf-ok);
}

.esh-pf .esh-pf-hlaska--chyba {
    border-color: var(--pf-red);
    background: var(--pf-red-soft);
}

.esh-pf .esh-pf-hlaska--chyba > svg.esh-pf-ikona {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-hlaska--info {
    border-color: var(--pf-info);
    background: var(--pf-info-bg);
}

.esh-pf .esh-pf-hlaska--pozor {
    border-color: var(--pf-warn);
    background: var(--pf-warn-bg);
}

.esh-pf .esh-pf-ukazka {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px dashed var(--pf-brass);
    border-radius: var(--pf-radius-s);
    background: color-mix(in srgb, var(--pf-brass) 10%, var(--pf-surface));
    font-size: calc(14px + 14 * var(--pf-s));
}

.esh-pf .esh-pf-ukazka__stitek {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pf-brass-text);
    font-size: calc(11.5px + 11.5 * var(--pf-s));
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.esh-pf .esh-pf-ukazka__odkaz {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pf-red-text);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

.esh-pf .esh-pf-pozn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--pf-radius-s);
    color: var(--pf-muted);
    background: var(--pf-surface-2);
    font-size: calc(13.5px + 13.5 * var(--pf-s));
    line-height: 1.45;
}

.esh-pf .esh-pf-pozn > svg.esh-pf-ikona {
    margin-top: 1px;
    color: var(--pf-info);
}

/* ---------- Formuláře ---------- */
.esh-pf .esh-pf-formular {
    display: grid;
    gap: 18px;
}

.esh-pf .esh-pf-pole {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.esh-pf .esh-pf-pole__radek {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.esh-pf .esh-pf-pole__popisek {
    color: var(--pf-ink);
    font-size: calc(13.5px + 13.5 * var(--pf-s));
    font-weight: 800;
    line-height: 1.3;
}

.esh-pf .esh-pf-pole__nepovinne {
    margin-left: 6px;
    color: var(--pf-muted);
    font-size: .88em;
    font-weight: 600;
}

.esh-pf .esh-pf-pole__vstup {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid var(--pf-field-border); /* R-034 P-02 */
    border-radius: var(--pf-radius-s);
    color: var(--pf-ink);
    background: var(--pf-input-bg);
    font: inherit;
    font-size: max(16px, calc(15px + 15 * var(--pf-s)));
    font-weight: 600;
    line-height: 1.3;
    transition: border-color .18s var(--pf-ease), box-shadow .18s var(--pf-ease);
    appearance: none;
}

.esh-pf select.esh-pf-pole__vstup {
    padding-right: 42px;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.esh-pf .esh-pf-pole__vstup:hover {
    border-color: var(--pf-muted);
}

.esh-pf .esh-pf-pole__vstup:focus {
    border-color: var(--pf-ink);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-focus) 35%, transparent);
}

.esh-pf .esh-pf-pole__vstup:focus-visible {
    outline: 3px solid var(--pf-focus);
    outline-offset: 1px;
    box-shadow: none;
}

.esh-pf .esh-pf-pole--chyba .esh-pf-pole__vstup {
    border-color: var(--pf-red);
    background: color-mix(in srgb, var(--pf-red) 4%, var(--pf-input-bg));
}

.esh-pf .esh-pf-pole__napoveda {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    line-height: 1.4;
}

.esh-pf .esh-pf-pole__chyba {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--pf-red-text);
    font-size: calc(13px + 13 * var(--pf-s));
    font-weight: 700;
    line-height: 1.4;
}

.esh-pf .esh-pf-pole__chyba svg.esh-pf-ikona {
    margin-top: 1px;
}

.esh-pf .esh-pf-dvojice,
.esh-pf .esh-pf-trojice {
    display: grid;
    gap: 18px 16px;
}

@media (min-width: 560px) {
    .esh-pf .esh-pf-dvojice {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .esh-pf .esh-pf-trojice {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr);
    }
}

.esh-pf .esh-pf-formular__akce {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding-top: 4px;
}

/* Heslo: tlačítko Zobrazit uvnitř pole */
.esh-pf .esh-pf-heslo {
    position: relative;
}

.esh-pf .esh-pf-heslo .esh-pf-pole__vstup {
    padding-right: 56px;
}

.esh-pf .esh-pf-heslo__ukaz {
    position: absolute;
    top: 50%;
    right: 6px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: var(--pf-radius-s);
    color: var(--pf-muted);
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.esh-pf .esh-pf-heslo__ukaz:hover {
    color: var(--pf-ink);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-heslo__ukaz .esh-pf-heslo__oko-ne,
.esh-pf .esh-pf-heslo__ukaz[aria-pressed="true"] .esh-pf-heslo__oko {
    display: none;
}

.esh-pf .esh-pf-heslo__ukaz[aria-pressed="true"] .esh-pf-heslo__oko-ne {
    display: inline-block;
}

/* Měřič síly hesla */
.esh-pf .esh-pf-sila {
    display: grid;
    gap: 7px;
}

.esh-pf .esh-pf-sila__pruh {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.esh-pf .esh-pf-sila__pruh span {
    height: 5px;
    border-radius: 3px;
    background: var(--pf-line);
    transition: background-color .25s var(--pf-ease);
}

.esh-pf [data-esh-pf-skore="1"] .esh-pf-sila__pruh span:nth-child(-n+1) {
    background: var(--pf-red);
}

.esh-pf [data-esh-pf-skore="2"] .esh-pf-sila__pruh span:nth-child(-n+2) {
    background: #c7851a;
}

.esh-pf [data-esh-pf-skore="3"] .esh-pf-sila__pruh span:nth-child(-n+3) {
    background: #4f8f3a;
}

.esh-pf [data-esh-pf-skore="4"] .esh-pf-sila__pruh span {
    background: var(--pf-ok);
}

.esh-pf .esh-pf-sila__text {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    line-height: 1.4;
}

.esh-pf [data-esh-pf-vyhovuje="1"] .esh-pf-sila__text {
    color: var(--pf-ok);
    font-weight: 700;
}

/* Zaškrtávátko */
.esh-pf .esh-pf-zaskrt {
    position: relative;
    display: grid;
    gap: 6px;
}

.esh-pf .esh-pf-zaskrt input[type="checkbox"] {
    position: absolute;
    top: 2px;
    left: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.esh-pf .esh-pf-zaskrt label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: calc(14px + 14 * var(--pf-s));
    line-height: 1.5;
    cursor: pointer;
}

.esh-pf .esh-pf-zaskrt__box {
    display: grid;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1.5px solid var(--pf-field-border); /* R-034 P-02 */
    border-radius: 5px;
    color: transparent;
    background: var(--pf-input-bg);
    transition: background-color .15s var(--pf-ease), border-color .15s var(--pf-ease);
}

.esh-pf .esh-pf-zaskrt__box svg.esh-pf-ikona {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}

.esh-pf .esh-pf-zaskrt input:checked + label .esh-pf-zaskrt__box {
    border-color: var(--pf-red);
    color: #fff;
    background: var(--pf-red);
}

.esh-pf .esh-pf-zaskrt input:focus-visible + label .esh-pf-zaskrt__box {
    outline: 3px solid var(--pf-focus);
    outline-offset: 2px;
}

.esh-pf .esh-pf-zaskrt.esh-pf-pole--chyba .esh-pf-zaskrt__box {
    border-color: var(--pf-red);
}

.esh-pf .esh-pf-zaskrt__text {
    padding-top: 1px;
}

/* Volba (radio jako dlaždice) */
.esh-pf .esh-pf-volba {
    display: grid;
    gap: 8px;
}

.esh-pf .esh-pf-volba__moznosti {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.esh-pf .esh-pf-volba__moznost {
    position: relative;
    display: block;
    cursor: pointer;
}

.esh-pf .esh-pf-volba__moznost input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.esh-pf .esh-pf-volba__moznost span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--pf-field-border); /* R-034 P-02 */
    border-radius: var(--pf-radius-s);
    background: var(--pf-input-bg);
    font-weight: 700;
    line-height: 1.25;
    transition: border-color .15s var(--pf-ease), box-shadow .15s var(--pf-ease);
}

.esh-pf .esh-pf-volba__moznost input:checked + span {
    border-color: var(--pf-red);
    box-shadow: inset 0 0 0 1px var(--pf-red);
}

.esh-pf .esh-pf-volba__moznost input:checked + span svg.esh-pf-ikona {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-volba__moznost input:focus-visible + span {
    outline: 3px solid var(--pf-focus);
    outline-offset: 2px;
}

/* Spínač (novinky) */
.esh-pf .esh-pf-spinac {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 4px;
    border: 0;
    color: var(--pf-ink);
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.esh-pf .esh-pf-spinac__kolejnice {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: var(--pf-field-border); /* R-034 P-02 */
    transition: background-color .2s var(--pf-ease);
}

.esh-pf .esh-pf-spinac__jezdec {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    transition: transform .2s var(--pf-ease);
}

.esh-pf .esh-pf-spinac[aria-checked="true"] .esh-pf-spinac__kolejnice {
    background: var(--pf-ok);
}

.esh-pf .esh-pf-spinac[aria-checked="true"] .esh-pf-spinac__jezdec {
    transform: translateX(20px);
}

.esh-pf .esh-pf-spinac__text {
    min-width: 5.5em;
    font-size: calc(13.5px + 13.5 * var(--pf-s));
}

/* Past na roboty (honeypot): mimo obrazovku, ne display:none */
.esh-pf .esh-pf-past {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ==========================================================================
   Přihlášení a registrace
   ========================================================================== */
.esh-pf--vstup {
    background: var(--pf-bg);
}

.esh-pf .esh-pf-vstup {
    display: grid;
    min-height: calc(100vh - var(--pf-nav));
    min-height: calc(100svh - var(--pf-nav));
}

.esh-pf .esh-pf-vstup__vizual {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 260px;
    overflow: hidden;
    color: #fff;
    background: var(--pf-night);
    isolation: isolate;
}

.esh-pf .esh-pf-vstup__foto {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
}

.esh-pf .esh-pf-vstup__vizual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(17, 18, 20, .15) 0%, rgba(17, 18, 20, .55) 45%, rgba(17, 18, 20, .94) 100%),
        linear-gradient(90deg, rgba(17, 18, 20, .55), rgba(17, 18, 20, 0) 70%);
}

.esh-pf .esh-pf-vstup__prekryv {
    width: 100%;
    padding: 40px var(--pf-gutter) 32px;
}

.esh-pf .esh-pf-vstup__claim {
    max-width: 12ch;
    margin-bottom: 20px;
    font-size: clamp(36px, 4.2vw, 96px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .98;
}

.esh-pf .esh-pf-vyhody {
    display: none;
    gap: 16px;
    max-width: 560px;
}

.esh-pf .esh-pf-vyhody li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, .82);
    font-size: calc(14.5px + 14.5 * var(--pf-s));
    line-height: 1.45;
}

.esh-pf .esh-pf-vyhody strong {
    color: #fff;
}

.esh-pf .esh-pf-vyhody svg.esh-pf-ikona {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: #e8cf9f;
}

.esh-pf .esh-pf-vstup__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px var(--pf-gutter) 56px;
}

.esh-pf .esh-pf-karta--vstup {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-top: -64px;
    padding: 28px 22px;
}

.esh-pf .esh-pf-vstup__duvera {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    text-align: center;
}

@media (min-width: 900px) {
    .esh-pf .esh-pf-vstup {
        grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    }

    .esh-pf .esh-pf-vstup__vizual {
        position: sticky;
        top: var(--pf-nav);
        height: calc(100vh - var(--pf-nav));
        height: calc(100svh - var(--pf-nav));
        min-height: 560px;
    }

    .esh-pf .esh-pf-vstup__prekryv {
        padding: 56px clamp(32px, 4vw, 96px) clamp(40px, 5vw, 96px);
    }

    .esh-pf .esh-pf-vyhody {
        display: grid;
    }

    .esh-pf .esh-pf-vstup__panel {
        padding: clamp(40px, 5vw, 110px) var(--pf-gutter);
    }

    .esh-pf .esh-pf-karta--vstup {
        max-width: calc(560px + 140 * var(--pf-s));
        margin-top: 0;
        padding: clamp(32px, 3vw, 56px);
    }
}

.esh-pf .esh-pf-karta__titulek {
    margin-bottom: 8px;
    font-size: calc(30px + 26 * var(--pf-s));
    letter-spacing: -.045em;
    line-height: 1.05;
}

.esh-pf .esh-pf-karta__titulek:focus {
    outline: none;
}

.esh-pf .esh-pf-karta__uvod {
    margin-bottom: 24px;
    color: var(--pf-muted);
    font-size: calc(15px + 15 * var(--pf-s));
    line-height: 1.5;
}

.esh-pf .esh-pf-karta__pata {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--pf-line);
    color: var(--pf-muted);
    font-size: calc(14px + 14 * var(--pf-s));
    text-align: center;
}

/* Přepínač Přihlásit / Nový účet */
.esh-pf .esh-pf-prepinac {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 28px;
    padding: 5px;
    border-radius: 999px;
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-prepinac__zalozka {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--pf-muted);
    font-size: calc(14px + 14 * var(--pf-s));
    font-weight: 800;
    text-decoration: none;
    transition: color .2s var(--pf-ease);
}

.esh-pf .esh-pf-prepinac__zalozka[aria-selected="true"] {
    color: var(--pf-ink);
}

.esh-pf .esh-pf-prepinac__zalozka:hover {
    color: var(--pf-ink);
}

.esh-pf .esh-pf-prepinac__jezdec {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    border-radius: 999px;
    background: var(--pf-surface);
    box-shadow: 0 2px 8px rgba(17, 18, 20, .12);
    transition: transform .3s var(--pf-ease);
}

.esh-pf .esh-pf-prepinac:has(#esh-pf-tab-registrace[aria-selected="true"]) .esh-pf-prepinac__jezdec {
    transform: translateX(100%);
}

/* Bez :has() (starší prohlížeče) zvýrazní vybranou záložku podklad */
@supports not selector(:has(*)) {
    .esh-pf .esh-pf-prepinac__jezdec {
        display: none;
    }

    .esh-pf .esh-pf-prepinac__zalozka[aria-selected="true"] {
        background: var(--pf-surface);
    }
}

.esh-pf .esh-pf-alternativy {
    margin-top: 22px;
}

.esh-pf .esh-pf-alternativy__oddelovac {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.esh-pf .esh-pf-alternativy__oddelovac::before,
.esh-pf .esh-pf-alternativy__oddelovac::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--pf-line);
}

.esh-pf .esh-pf-alternativy__tlacitka {
    display: grid;
    gap: 10px;
}

@media (min-width: 420px) {
    .esh-pf .esh-pf-alternativy__tlacitka {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.esh-pf .esh-pf-alternativy__tlacitka .esh-pf-tl {
    gap: 8px;
    font-weight: 700;
}

.esh-pf .esh-pf-zpet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--pf-muted);
    font-size: calc(13.5px + 13.5 * var(--pf-s));
    font-weight: 700;
    text-decoration: none;
}

.esh-pf .esh-pf-zpet:hover {
    color: var(--pf-ink);
}

/* Stavové obrazovky (odesláno, neplatný odkaz, odhlášení) */
.esh-pf .esh-pf-stav {
    display: grid;
    justify-items: start;
    gap: 6px;
}

.esh-pf .esh-pf-stav .esh-pf-karta__uvod {
    margin-bottom: 10px;
}

.esh-pf .esh-pf-stav .esh-pf-pozn {
    margin-bottom: 16px;
}

.esh-pf .esh-pf-stav form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.esh-pf .esh-pf-stav__ikona {
    display: grid;
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 50%;
    color: var(--pf-ink);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-stav__ikona svg.esh-pf-ikona {
    width: 28px;
    height: 28px;
}

.esh-pf .esh-pf-stav__ikona--ok {
    color: var(--pf-ok);
    background: var(--pf-ok-bg);
}

.esh-pf .esh-pf-stav__ikona--pozor {
    color: var(--pf-warn);
    background: var(--pf-warn-bg);
}

/* ==========================================================================
   Přihlášená část: hero, členská karta, navigace
   ========================================================================== */
.esh-pf .esh-pf-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--pf-night);
    isolation: isolate;
}

.esh-pf .esh-pf-hero__foto {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    opacity: .6;
}

.esh-pf .esh-pf-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(17, 18, 20, .96) 0%, rgba(17, 18, 20, .78) 45%, rgba(17, 18, 20, .35) 100%),
        linear-gradient(0deg, rgba(17, 18, 20, .9) 0%, rgba(17, 18, 20, 0) 45%);
}

.esh-pf .esh-pf-hero__mrizka {
    display: grid;
    align-items: end;
    gap: 32px;
    padding-top: clamp(36px, 5vw, 110px);
    padding-bottom: clamp(36px, 4.5vw, 96px);
}

.esh-pf .esh-pf-hero--mala .esh-pf-hero__mrizka {
    padding-top: clamp(28px, 3.2vw, 72px);
    padding-bottom: clamp(28px, 3vw, 64px);
}

.esh-pf .esh-pf-hero__titulek {
    max-width: 16ch;
    font-size: clamp(38px, 4.6vw, 104px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
    overflow-wrap: anywhere;
}

.esh-pf .esh-pf-hero--mala .esh-pf-hero__titulek {
    font-size: clamp(34px, 3.4vw, 80px);
}

.esh-pf .esh-pf-hero__uvod {
    max-width: 58ch;
    margin-top: 18px;
    color: rgba(255, 255, 255, .82);
    font-size: calc(16px + 16 * var(--pf-s));
    line-height: 1.55;
}

.esh-pf .esh-pf-hero__uvod strong {
    color: #fff;
}

.esh-pf .esh-pf-hero__akce {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

@media (min-width: 1024px) {
    .esh-pf .esh-pf-hero__mrizka {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 56px;
    }
}

/* Členská karta */
.esh-pf .esh-pf-clen {
    --pf-rx: 0deg;
    --pf-ry: 0deg;
    --pf-mx: 30%;
    --pf-my: 20%;
    position: relative;
    display: grid;
    align-content: space-between;
    gap: 22px;
    width: min(100%, calc(430px + 180 * var(--pf-s)));
    aspect-ratio: 1.586;
    padding: clamp(20px, 2vw, 34px);
    overflow: hidden;
    border: 1px solid rgba(220, 189, 133, .45);
    border-radius: 18px;
    color: #f7f1e5;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(201, 164, 104, .38) 0%, rgba(201, 164, 104, 0) 55%),
        radial-gradient(90% 120% at 100% 100%, rgba(201, 45, 38, .35) 0%, rgba(201, 45, 38, 0) 60%),
        linear-gradient(135deg, #25221d 0%, #15161a 55%, #0d0e10 100%);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
    transform: perspective(1000px) rotateX(var(--pf-rx)) rotateY(var(--pf-ry));
    transition: transform .35s var(--pf-ease);
}

.esh-pf .esh-pf-clen__lesk {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at var(--pf-mx) var(--pf-my), rgba(255, 244, 220, .18) 0%, rgba(255, 244, 220, 0) 60%);
    pointer-events: none;
}

.esh-pf .esh-pf-clen::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(220, 189, 133, .18);
    border-radius: 12px;
    pointer-events: none;
}

.esh-pf .esh-pf-clen__hlava {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.esh-pf .esh-pf-clen__znak {
    display: grid;
    width: calc(52px + 30 * var(--pf-s));
    height: calc(52px + 30 * var(--pf-s));
    place-items: center;
    border: 1px solid rgba(220, 189, 133, .7);
    border-radius: 50%;
    color: #e8cf9f;
    background: rgba(0, 0, 0, .25);
    font-size: calc(19px + 12 * var(--pf-s));
    font-weight: 800;
    letter-spacing: .04em;
}

.esh-pf .esh-pf-clen__obchod {
    color: #e8cf9f;
    font-size: calc(11px + 11 * var(--pf-s));
    font-weight: 800;
    letter-spacing: .18em;
    text-align: right;
    text-transform: uppercase;
}

.esh-pf .esh-pf-clen__jmeno {
    position: relative;
    font-size: calc(22px + 18 * var(--pf-s));
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.esh-pf .esh-pf-clen__fakta {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 14px;
}

.esh-pf .esh-pf-clen__fakta dt {
    color: rgba(247, 241, 229, .62);
    font-size: calc(10.5px + 10.5 * var(--pf-s));
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.esh-pf .esh-pf-clen__fakta dd {
    font-size: calc(15px + 15 * var(--pf-s));
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.esh-pf .esh-pf-clen__cislo {
    letter-spacing: .08em;
}

/* Lepkavá navigace účtu */
.esh-pf .esh-pf-nav {
    position: sticky;
    top: var(--pf-nav);
    z-index: 40;
    border-bottom: 1px solid var(--pf-line);
    background: color-mix(in srgb, var(--pf-bg) 92%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

.esh-pf .esh-pf-nav__obal {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.esh-pf .esh-pf-nav__seznam {
    display: flex;
    flex: 1 1 auto;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.esh-pf .esh-pf-nav__seznam::-webkit-scrollbar {
    display: none;
}

.esh-pf .esh-pf-nav__seznam li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.esh-pf .esh-pf-nav__odkaz {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 100%;
    min-height: 58px;
    padding: 0 14px;
    border: 0;
    color: var(--pf-muted);
    background: transparent;
    font: inherit;
    font-size: calc(14px + 14 * var(--pf-s));
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s var(--pf-ease);
}

.esh-pf .esh-pf-nav__odkaz::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: -1px;
    left: 14px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--pf-red);
    transform: scaleX(0);
    transition: transform .25s var(--pf-ease);
}

.esh-pf .esh-pf-nav__odkaz:hover {
    color: var(--pf-ink);
}

.esh-pf .esh-pf-nav__odkaz[aria-current="page"] {
    color: var(--pf-ink);
}

.esh-pf .esh-pf-nav__odkaz[aria-current="page"]::after {
    transform: scaleX(1);
}

.esh-pf .esh-pf-nav__odkaz[aria-current="page"] svg.esh-pf-ikona {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-nav__nastroje {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    padding-left: 8px;
    border-left: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-nav__odhlaseni {
    display: flex;
    height: 100%;
}

.esh-pf .esh-pf-nav__odkaz--odhlasit::after {
    display: none;
}

.esh-pf .esh-pf-nav__odkaz--odhlasit:hover {
    color: var(--pf-red-text);
}

@media (max-width: 719px) {
    .esh-pf .esh-pf-nav__odkaz {
        min-height: 52px;
        padding: 0 11px;
        font-size: 14px;
    }

    .esh-pf .esh-pf-nav__odkaz--odhlasit span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* Přepínač motivu */
.esh-pf .esh-pf-motiv {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    align-self: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--pf-muted);
    background: transparent;
    cursor: pointer;
}

.esh-pf .esh-pf-motiv:hover {
    color: var(--pf-ink);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-motiv__ikona {
    display: none;
    grid-area: 1 / 1;
}

.esh-pf[data-esh-pf-motiv="auto"] .esh-pf-motiv__ikona--auto,
.esh-pf[data-esh-pf-motiv="svetly"] .esh-pf-motiv__ikona--svetly,
.esh-pf[data-esh-pf-motiv="tmavy"] .esh-pf-motiv__ikona--tmavy {
    display: inline-flex;
}

/* ==========================================================================
   Tělo účtu, karty, mřížky
   ========================================================================== */
.esh-pf .esh-pf-telo {
    display: grid;
    gap: clamp(20px, 1.8vw, 40px);
    padding-top: clamp(24px, 2.6vw, 56px);
    padding-bottom: clamp(56px, 6vw, 140px);
}

.esh-pf .esh-pf-telo > .esh-pf-hlasky {
    margin-bottom: 0;
}

.esh-pf .esh-pf-karta {
    position: relative;
    min-width: 0;
    padding: clamp(20px, 1.8vw, 40px);
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius);
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow);
}

.esh-pf .esh-pf-karta--tmava {
    border-color: transparent;
    color: #fff;
    background: var(--pf-night);
}

.esh-pf .esh-pf-karta__hlava {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 20px;
}

.esh-pf .esh-pf-karta__nadpis {
    font-size: calc(22px + 20 * var(--pf-s));
    letter-spacing: -.035em;
    line-height: 1.15;
}

.esh-pf .esh-pf-karta__akce {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 22px;
}

.esh-pf .esh-pf-karta > p + p {
    margin-top: 10px;
}

.esh-pf .esh-pf-sekce {
    min-width: 0;
}

.esh-pf .esh-pf-sekce__hlava {
    margin-bottom: 16px;
}

.esh-pf .esh-pf-sekce__nadpis {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: calc(22px + 20 * var(--pf-s));
    letter-spacing: -.035em;
}

.esh-pf .esh-pf-sekce__nadpis svg.esh-pf-ikona {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-mrizka {
    display: grid;
    gap: clamp(16px, 1.6vw, 36px);
    min-width: 0;
}

@media (min-width: 1100px) {
    .esh-pf .esh-pf-mrizka--hlavni {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    }

    .esh-pf .esh-pf-mrizka--nastaveni {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (min-width: 760px) {
    .esh-pf .esh-pf-mrizka--tri {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1300px) {
    .esh-pf .esh-pf-mrizka--tri {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 2200px) {
    .esh-pf .esh-pf-mrizka--nastaveni {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .esh-pf .esh-pf-mrizka--nastaveni > #esh-pf-udaje {
        grid-row: span 2;
    }
}

/* Pruh „potvrďte e-mail“ */
.esh-pf .esh-pf-pruh {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    padding: 16px 20px;
    border: 1px solid color-mix(in srgb, var(--pf-warn) 35%, transparent);
    border-radius: var(--pf-radius);
    background: var(--pf-warn-bg);
}

.esh-pf .esh-pf-pruh__ikona {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--pf-warn);
    background: var(--pf-surface);
}

.esh-pf .esh-pf-pruh__text {
    flex: 1 1 320px;
    line-height: 1.45;
}

/* ---------- KPI ---------- */
.esh-pf .esh-pf-kpi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 32px);
}

@media (min-width: 1100px) {
    .esh-pf .esh-pf-kpi {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.esh-pf .esh-pf-kpi__polozka {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    padding: clamp(16px, 1.6vw, 34px);
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius);
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow);
}

.esh-pf .esh-pf-kpi__popisek {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-weight: 800;
    line-height: 1.3;
}

.esh-pf .esh-pf-kpi__popisek svg.esh-pf-ikona {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-kpi__hodnota {
    font-size: clamp(22px, calc(24px + 30 * var(--pf-s)), 60px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.esh-pf .esh-pf-kpi__mala {
    color: var(--pf-muted);
    font-weight: 600;
}

.esh-pf .esh-pf-kpi__pod {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    line-height: 1.4;
}

.esh-pf .esh-pf-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 800;
}

.esh-pf .esh-pf-trend--nahoru {
    color: var(--pf-ok);
}

.esh-pf .esh-pf-trend--dolu {
    color: var(--pf-red-text);
}

@media (max-width: 459px) {
    .esh-pf .esh-pf-kpi__polozka {
        padding: 14px;
    }
}

/* ---------- Poslední objednávka a časová osa ---------- */
.esh-pf .esh-pf-osa {
    display: grid;
    gap: 0;
    margin: 4px 0 24px;
}

.esh-pf .esh-pf-osa__krok {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    padding-bottom: 18px;
}

.esh-pf .esh-pf-osa__krok::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 0;
    left: 14px;
    width: 2px;
    background: var(--pf-line);
}

.esh-pf .esh-pf-osa__krok:last-child {
    padding-bottom: 0;
}

.esh-pf .esh-pf-osa__krok:last-child::before {
    display: none;
}

.esh-pf .esh-pf-osa__krok--hotovo::before {
    background: var(--pf-red);
}

.esh-pf .esh-pf-osa__bod {
    display: grid;
    grid-row: span 2;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 2px solid var(--pf-line-strong);
    border-radius: 50%;
    color: #fff;
    background: var(--pf-surface);
}

.esh-pf .esh-pf-osa__bod svg.esh-pf-ikona {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}

.esh-pf .esh-pf-osa__krok--hotovo .esh-pf-osa__bod {
    border-color: var(--pf-red);
    background: var(--pf-red);
}

.esh-pf .esh-pf-osa__krok--aktualni .esh-pf-osa__bod {
    border-color: var(--pf-red);
    box-shadow: 0 0 0 5px var(--pf-red-soft);
}

.esh-pf .esh-pf-osa__krok--aktualni .esh-pf-osa__bod::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pf-red);
}

.esh-pf .esh-pf-osa__krok--storno .esh-pf-osa__bod {
    border-color: var(--pf-muted);
    background: var(--pf-muted);
}

.esh-pf .esh-pf-osa__nazev {
    align-self: center;
    font-weight: 800;
    line-height: 1.3;
}

.esh-pf .esh-pf-osa__krok--ceka .esh-pf-osa__nazev {
    color: var(--pf-muted);
    font-weight: 600;
}

.esh-pf .esh-pf-osa__kdy {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

@media (min-width: 640px) {
    .esh-pf .esh-pf-osa {
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
    }

    .esh-pf .esh-pf-osa__krok {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 30px auto auto;
        row-gap: 8px;
        padding: 0 10px 0 0;
    }

    .esh-pf .esh-pf-osa__krok::before {
        top: 14px;
        right: 0;
        bottom: auto;
        left: 30px;
        width: auto;
        height: 2px;
    }

    .esh-pf .esh-pf-osa__krok:last-child::before {
        display: none;
    }

    .esh-pf .esh-pf-osa__bod {
        grid-row: auto;
    }
}

.esh-pf .esh-pf-objednavka__telo {
    display: grid;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--pf-line);
}

@media (min-width: 720px) {
    .esh-pf .esh-pf-objednavka__telo {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.esh-pf .esh-pf-nahledy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.esh-pf .esh-pf-nahledy__polozka {
    display: grid;
    width: calc(72px + 40 * var(--pf-s));
    height: calc(72px + 40 * var(--pf-s));
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    color: var(--pf-muted);
    background: #fff;
}

.esh-pf .esh-pf-nahledy__polozka img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.esh-pf .esh-pf-nahledy__zastupce {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-nahledy__vice {
    background: var(--pf-surface-2);
    font-weight: 800;
}

.esh-pf .esh-pf-objednavka__fakta {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 10px 28px;
}

.esh-pf .esh-pf-objednavka__fakta dt {
    color: var(--pf-muted);
    font-size: calc(12px + 12 * var(--pf-s));
    font-weight: 700;
}

.esh-pf .esh-pf-objednavka__fakta dd {
    font-weight: 800;
}

.esh-pf .esh-pf-objednavka__castka {
    font-size: calc(18px + 14 * var(--pf-s));
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 459px) {
    .esh-pf .esh-pf-objednavka__fakta {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Prázdné stavy ---------- */
.esh-pf .esh-pf-prazdne {
    display: grid;
    justify-items: start;
    gap: 14px;
    padding: 8px 0;
    color: var(--pf-muted);
    line-height: 1.5;
}

.esh-pf .esh-pf-prazdne p {
    max-width: 46ch;
}

.esh-pf .esh-pf-prazdne__ikona {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    color: var(--pf-red-text);
    background: var(--pf-red-soft);
}

.esh-pf .esh-pf-prazdne__ikona svg.esh-pf-ikona {
    width: 26px;
    height: 26px;
}

.esh-pf .esh-pf-prazdne--male .esh-pf-prazdne__ikona {
    width: 46px;
    height: 46px;
}

/* ---------- Moje garáž (připravené místo) ---------- */
.esh-pf .esh-pf-garaz {
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    overflow: hidden;
    isolation: isolate;
}

.esh-pf .esh-pf-garaz__foto {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 50%;
    opacity: .75;
    transition: transform .8s var(--pf-ease);
}

.esh-pf .esh-pf-garaz:hover .esh-pf-garaz__foto {
    transform: scale(1.03);
}

.esh-pf .esh-pf-garaz::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(0deg, rgba(17, 18, 20, .96) 0%, rgba(17, 18, 20, .7) 45%, rgba(17, 18, 20, .15) 100%);
}

.esh-pf .esh-pf-garaz__obsah {
    display: grid;
    justify-items: start;
    gap: 12px;
    max-width: 52ch;
}

.esh-pf .esh-pf-garaz__obsah p:not(.esh-pf-nadtitulek) {
    color: rgba(255, 255, 255, .82);
}

/* ---------- Graf útraty (vlastní SVG) ---------- */
.esh-pf .esh-pf-graf__souhrn {
    display: grid;
    justify-items: end;
    font-size: calc(24px + 22 * var(--pf-s));
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
    line-height: 1.1;
    text-align: right;
}

.esh-pf .esh-pf-graf__souhrn span {
    margin-top: 4px;
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-weight: 600;
    letter-spacing: 0;
}

.esh-pf .esh-pf-graf__plocha {
    position: relative;
    overflow-x: auto;
}

.esh-pf svg.esh-pf-graf__svg {
    display: block;
    width: 100%;
    min-width: 560px;
    height: auto;
    max-height: calc(360px + 200 * var(--pf-s));
    fill: none;
    stroke: none;
    overflow: visible;
}

.esh-pf .esh-pf-graf__mrizka {
    stroke: var(--pf-line);
    stroke-width: 1;
    stroke-dasharray: 3 5;
}

.esh-pf .esh-pf-graf__osa,
.esh-pf .esh-pf-graf__mesic {
    fill: var(--pf-muted);
    stroke: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
}

.esh-pf .esh-pf-graf__sloupec rect {
    fill: color-mix(in srgb, var(--pf-red) 72%, var(--pf-surface));
    transition: fill .2s var(--pf-ease);
}

.esh-pf .esh-pf-graf__sloupec--max rect {
    fill: var(--pf-red);
}

.esh-pf .esh-pf-graf__sloupec--ted rect {
    fill: var(--pf-brass);
}

.esh-pf .esh-pf-graf__sloupec:hover rect,
.esh-pf .esh-pf-graf__sloupec:focus rect {
    fill: var(--pf-ink);
}

.esh-pf .esh-pf-graf__sloupec:focus {
    outline: none;
}

.esh-pf .esh-pf-graf__sloupec:focus-visible .esh-pf-graf__mesic {
    fill: var(--pf-ink);
    font-weight: 800;
    text-decoration: underline;
}

.esh-pf .esh-pf-graf__sloupec--ted .esh-pf-graf__mesic {
    fill: var(--pf-ink);
    font-weight: 800;
}

.esh-pf .esh-pf-graf__plocha--prazdna .esh-pf-graf__sloupec rect {
    fill: var(--pf-ghost);
}

.esh-pf .esh-pf-graf__prazdno {
    position: absolute;
    top: 38%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--pf-line);
    border-radius: 999px;
    color: var(--pf-ink);
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow);
    font-weight: 700;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

@media (max-width: 599px) {
    .esh-pf .esh-pf-graf__prazdno {
        left: 12px;
        white-space: normal;
        transform: translateY(-50%);
    }

    .esh-pf .esh-pf-graf__souhrn {
        justify-items: start;
        text-align: left;
    }
}

.esh-pf .esh-pf-data {
    margin-top: 16px;
}

.esh-pf .esh-pf-data summary {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--pf-muted);
    font-size: calc(13.5px + 13.5 * var(--pf-s));
    font-weight: 700;
    cursor: pointer;
}

.esh-pf .esh-pf-data summary:hover {
    color: var(--pf-ink);
}

.esh-pf .esh-pf-tabulka {
    width: 100%;
    max-width: 520px;
    margin-top: 10px;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.esh-pf .esh-pf-tabulka th,
.esh-pf .esh-pf-tabulka td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--pf-line);
    text-align: left;
}

.esh-pf .esh-pf-tabulka td {
    text-align: right;
}

.esh-pf .esh-pf-tabulka thead th {
    color: var(--pf-muted);
    font-size: .88em;
}

/* ---------- Oblíbené a hlídací psi ---------- */
.esh-pf .esh-pf-produkty {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.esh-pf .esh-pf-produkt {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.esh-pf .esh-pf-produkt__odkaz {
    display: grid;
    gap: 8px;
    text-decoration: none;
}

.esh-pf .esh-pf-produkt__foto {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    color: var(--pf-muted);
    background: #fff;
}

.esh-pf .esh-pf-produkt__foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s var(--pf-ease);
}

.esh-pf .esh-pf-produkt__odkaz:hover img {
    transform: scale(1.04);
}

.esh-pf .esh-pf-produkt__nazev {
    display: -webkit-box;
    overflow: hidden;
    font-size: calc(13.5px + 13.5 * var(--pf-s));
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.esh-pf .esh-pf-produkt__odkaz:hover .esh-pf-produkt__nazev {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.esh-pf .esh-pf-produkt__cena {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.esh-pf .esh-pf-psi {
    display: grid;
    gap: 10px;
}

.esh-pf .esh-pf-psi__polozka {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
}

.esh-pf .esh-pf-psi__polozka--ok {
    border-color: color-mix(in srgb, var(--pf-ok) 40%, transparent);
    background: var(--pf-ok-bg);
}

.esh-pf .esh-pf-psi__ikona {
    display: grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--pf-info);
    background: var(--pf-info-bg);
}

.esh-pf .esh-pf-psi__polozka--ok .esh-pf-psi__ikona {
    color: var(--pf-ok);
    background: var(--pf-surface);
}

.esh-pf .esh-pf-psi__polozka--pozor .esh-pf-psi__ikona {
    color: var(--pf-warn);
    background: var(--pf-warn-bg);
}

.esh-pf .esh-pf-psi__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.esh-pf .esh-pf-psi__nazev {
    overflow: hidden;
    font-weight: 800;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.esh-pf .esh-pf-psi__nazev:hover {
    text-decoration: underline;
}

.esh-pf .esh-pf-psi__popis {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

/* ---------- Věrnost (připravené místo) ---------- */
.esh-pf .esh-pf-vernost {
    overflow: hidden;
    border-color: color-mix(in srgb, var(--pf-brass) 45%, var(--pf-line));
    background:
        radial-gradient(90% 90% at 100% 0%, color-mix(in srgb, var(--pf-brass) 18%, transparent) 0%, transparent 60%),
        var(--pf-surface);
}

.esh-pf .esh-pf-vernost .esh-pf-karta__nadpis {
    margin-bottom: 10px;
}

.esh-pf .esh-pf-vernost p:not(.esh-pf-nadtitulek) {
    color: var(--pf-muted);
}

.esh-pf .esh-pf-vernost__urovne {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 22px;
}

.esh-pf .esh-pf-vernost__urovne span {
    height: 8px;
    border-radius: 4px;
    background: var(--pf-line);
}

.esh-pf .esh-pf-vernost__urovne span:first-child {
    background: linear-gradient(90deg, var(--pf-brass), color-mix(in srgb, var(--pf-brass) 50%, var(--pf-line)));
}

/* ---------- Rychlé akce ---------- */
.esh-pf .esh-pf-rychle {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(250px + 120 * var(--pf-s))), 1fr));
    gap: clamp(10px, 1.2vw, 24px);
    margin-top: 16px;
}

.esh-pf .esh-pf-rychle__odkaz {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 16px 18px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius);
    background: var(--pf-surface);
    text-decoration: none;
    transition: border-color .2s var(--pf-ease), box-shadow .2s var(--pf-ease), transform .2s var(--pf-ease);
}

.esh-pf .esh-pf-rychle__odkaz:hover {
    border-color: var(--pf-line-strong);
    box-shadow: var(--pf-shadow-hover);
    transform: translateY(-2px);
}

.esh-pf .esh-pf-rychle__ikona {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    color: var(--pf-red-text);
    background: var(--pf-red-soft);
}

.esh-pf .esh-pf-rychle__text {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
    min-width: 0;
}

.esh-pf .esh-pf-rychle__text span {
    color: var(--pf-muted);
    font-size: calc(13px + 13 * var(--pf-s));
}

.esh-pf svg.esh-pf-rychle__sipka {
    color: var(--pf-muted);
    transition: transform .2s var(--pf-ease), color .2s var(--pf-ease);
}

.esh-pf .esh-pf-rychle__odkaz:hover svg.esh-pf-rychle__sipka {
    color: var(--pf-red-text);
    transform: translateX(3px);
}

/* ==========================================================================
   Osobní údaje, souhlasy, export
   ========================================================================== */
.esh-pf .esh-pf-prehled {
    display: grid;
    gap: 0;
}

.esh-pf .esh-pf-prehled > div {
    display: grid;
    gap: 2px 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-prehled > div:first-child {
    padding-top: 0;
}

.esh-pf .esh-pf-prehled > div:last-child {
    border-bottom: 0;
}

.esh-pf .esh-pf-prehled dt {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-weight: 700;
}

.esh-pf .esh-pf-prehled dd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (min-width: 560px) {
    .esh-pf .esh-pf-prehled > div {
        grid-template-columns: minmax(140px, 36%) minmax(0, 1fr);
        align-items: baseline;
    }
}

.esh-pf .esh-pf-firma {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: var(--pf-radius-s);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-souhlasy {
    display: grid;
}

.esh-pf .esh-pf-souhlasy__polozka {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-souhlasy__polozka:first-child {
    padding-top: 0;
}

.esh-pf .esh-pf-souhlasy__text {
    display: grid;
    flex: 1 1 240px;
    gap: 2px;
}

.esh-pf .esh-pf-souhlasy__text span {
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

.esh-pf .esh-pf-historie {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    font-size: calc(13px + 13 * var(--pf-s));
    line-height: 1.45;
}

.esh-pf .esh-pf-historie span {
    display: block;
}

/* ==========================================================================
   Adresy
   ========================================================================== */
.esh-pf .esh-pf-adresy {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(330px + 140 * var(--pf-s))), 1fr));
    align-items: start;
    gap: clamp(12px, 1.4vw, 28px);
}

.esh-pf .esh-pf-adresa {
    min-width: 0;
    padding: clamp(18px, 1.5vw, 32px);
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius);
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow);
}

.esh-pf .esh-pf-adresa--vychozi {
    border-color: color-mix(in srgb, var(--pf-red) 45%, var(--pf-line));
    box-shadow: inset 4px 0 0 var(--pf-red), var(--pf-shadow);
}

.esh-pf .esh-pf-adresa[data-esh-pf-upravuje] {
    grid-column: 1 / -1;
}

@media (min-width: 1100px) {
    .esh-pf .esh-pf-adresa[data-esh-pf-upravuje] .esh-pf-adresa-formular {
        max-width: 880px;
    }
}

.esh-pf .esh-pf-adresa__hlava {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.esh-pf .esh-pf-adresa__nazev {
    font-size: calc(16px + 16 * var(--pf-s));
    font-weight: 800;
}

.esh-pf .esh-pf-adresa__text {
    line-height: 1.6;
}

.esh-pf .esh-pf-adresa__akce {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 14px -8px -8px;
    padding-top: 10px;
    border-top: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-adresa__akce form {
    display: contents;
}

.esh-pf .esh-pf-adresa--nova {
    padding: 0;
    border-style: dashed;
    border-color: var(--pf-line-strong);
    background: transparent;
    box-shadow: none;
}

.esh-pf .esh-pf-adresa--nova[data-esh-pf-upravuje] {
    padding: clamp(18px, 1.5vw, 32px);
    border-style: solid;
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow);
}

.esh-pf .esh-pf-adresa__pridat {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 120px;
    padding: 20px;
    border-radius: inherit;
    text-decoration: none;
    transition: background-color .2s var(--pf-ease);
}

.esh-pf .esh-pf-adresa__pridat:hover {
    background: var(--pf-surface);
}

.esh-pf .esh-pf-adresa__pridat > span:last-child {
    display: grid;
    gap: 3px;
}

.esh-pf .esh-pf-adresa__plus {
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--pf-red);
    transition: transform .25s var(--pf-ease);
}

.esh-pf .esh-pf-adresa__pridat:hover .esh-pf-adresa__plus {
    transform: rotate(90deg);
}

/* ==========================================================================
   Zabezpečení: zařízení a deník
   ========================================================================== */
.esh-pf .esh-pf-zarizeni {
    display: grid;
}

.esh-pf .esh-pf-zarizeni__polozka {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-zarizeni__polozka:first-child {
    padding-top: 0;
}

.esh-pf .esh-pf-zarizeni__ikona {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    color: var(--pf-muted);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-zarizeni__polozka--toto .esh-pf-zarizeni__ikona {
    color: var(--pf-ok);
    background: var(--pf-ok-bg);
}

.esh-pf .esh-pf-zarizeni__text {
    display: grid;
    flex: 1 1 220px;
    gap: 2px;
    min-width: 0;
}

.esh-pf .esh-pf-zarizeni__nazev {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.esh-pf .esh-pf-zarizeni__text .esh-pf-tlumene {
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

.esh-pf .esh-pf-denik {
    display: grid;
}

.esh-pf .esh-pf-denik__polozka {
    position: relative;
    display: grid;
    gap: 1px;
    padding: 0 0 14px 26px;
}

.esh-pf .esh-pf-denik__polozka::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 0;
    left: 5px;
    width: 2px;
    background: var(--pf-line);
}

.esh-pf .esh-pf-denik__polozka:last-child::before {
    display: none;
}

.esh-pf .esh-pf-denik__bod {
    position: absolute;
    top: 5px;
    left: 0;
    width: 12px;
    height: 12px;
    border: 2px solid var(--pf-surface);
    border-radius: 50%;
    background: var(--pf-muted);
    box-shadow: 0 0 0 1px var(--pf-line-strong);
}

.esh-pf .esh-pf-denik__polozka--pozor .esh-pf-denik__bod {
    background: var(--pf-red);
    box-shadow: 0 0 0 1px var(--pf-red);
}

.esh-pf .esh-pf-denik__co {
    font-weight: 700;
}

.esh-pf .esh-pf-denik__polozka .esh-pf-tlumene {
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

/* ==========================================================================
   Pohyb (jen když ho uživatel nevypnul)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    .esh-pf.esh-pf--anim [data-esh-pf-anim] {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .7s var(--pf-ease), transform .7s var(--pf-ease), box-shadow .2s var(--pf-ease), border-color .2s var(--pf-ease);
    }

    .esh-pf.esh-pf--anim [data-esh-pf-anim].je-videt {
        opacity: 1;
        transform: none;
    }

    .esh-pf.esh-pf--anim .esh-pf-clen[data-esh-pf-anim].je-videt {
        transform: perspective(1000px) rotateX(var(--pf-rx)) rotateY(var(--pf-ry));
    }

    .esh-pf.esh-pf--anim .esh-pf-rychle__odkaz[data-esh-pf-anim].je-videt:hover {
        transform: translateY(-2px);
    }

    .esh-pf.esh-pf--anim .esh-pf-graf.je-videt .esh-pf-graf__sloupec rect {
        transform-box: fill-box;
        transform-origin: 50% 100%;
        animation: esh-pf-rust .9s var(--pf-ease) both;
        animation-delay: calc(var(--esh-pf-i, 0) * 45ms + 150ms);
    }

    .esh-pf .esh-pf-osa__krok--aktualni .esh-pf-osa__bod {
        animation: esh-pf-puls 2.4s ease-in-out infinite;
    }

    .esh-pf .esh-pf-tl[data-esh-pf-pracuje]::after {
        animation: esh-pf-toc .8s linear infinite;
    }
}

@keyframes esh-pf-rust {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes esh-pf-puls {
    0%,
    100% {
        box-shadow: 0 0 0 5px var(--pf-red-soft);
    }

    50% {
        box-shadow: 0 0 0 9px var(--pf-red-soft);
    }
}

@keyframes esh-pf-toc {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .esh-pf *,
    .esh-pf *::before,
    .esh-pf *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .esh-pf .esh-pf-clen {
        transform: none !important;
    }
}

/* Vysoký kontrast (Windows) */
@media (forced-colors: active) {
    .esh-pf .esh-pf-tl,
    .esh-pf .esh-pf-karta,
    .esh-pf .esh-pf-kpi__polozka,
    .esh-pf .esh-pf-adresa,
    .esh-pf .esh-pf-pole__vstup {
        border: 1px solid CanvasText;
    }

    .esh-pf .esh-pf-graf__sloupec rect {
        fill: CanvasText;
    }
}

@media print {
    .esh-pf .esh-pf-nav,
    .esh-pf .esh-pf-hero__foto,
    .esh-pf .esh-pf-rychle,
    .esh-pf form {
        display: none !important;
    }
}

/* ==========================================================================
   F5-01 účet jako jedno místo: levé menu (desktop), spodní lišta a list Více
   (mobil), objednávky, detail, doklady, body, oblíbené, hlídání, soukromí,
   propojení Google/Facebook. Mobile-first od 390 px, plná šířka.
   ========================================================================== */
.esh-pf .esh-pf-rozlozeni {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 clamp(24px, 2.4vw, 56px);
    align-items: start;
}

.esh-pf .esh-pf-bok {
    display: none;
}

@media (min-width: 1024px) {
    .esh-pf .esh-pf-rozlozeni {
        grid-template-columns: clamp(240px, 16vw, 320px) minmax(0, 1fr);
    }

    .esh-pf .esh-pf-bok {
        display: block;
        position: sticky;
        top: calc(var(--pf-nav) + 16px);
        padding-top: clamp(24px, 2.6vw, 56px);
    }
}

.esh-pf .esh-pf-bok__obal {
    display: grid;
    gap: 6px;
    padding: 18px 14px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius);
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow);
}

.esh-pf .esh-pf-bok__kdo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    padding: 0 6px 14px;
    border-bottom: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-bok__znak {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--pf-red) 0%, #7d1a16 100%);
    font-weight: 800;
    letter-spacing: .02em;
}

.esh-pf .esh-pf-bok__jmeno {
    display: grid;
    min-width: 0;
    line-height: 1.3;
}

.esh-pf .esh-pf-bok__jmeno strong,
.esh-pf .esh-pf-bok__jmeno span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.esh-pf .esh-pf-bok__jmeno span {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

.esh-pf .esh-pf-bok__skupina {
    margin: 10px 8px 2px;
    color: var(--pf-muted);
    font-size: calc(10.5px + 10.5 * var(--pf-s));
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.esh-pf .esh-pf-bok__seznam {
    display: grid;
    gap: 2px;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-bok__odkaz {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--pf-radius-s);
    color: var(--pf-ink);
    background: transparent;
    font: inherit;
    font-size: calc(14.5px + 14.5 * var(--pf-s));
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s var(--pf-ease), color .18s var(--pf-ease);
}

.esh-pf .esh-pf-bok__odkaz svg.esh-pf-ikona {
    flex: 0 0 auto;
    color: var(--pf-muted);
    transition: color .18s var(--pf-ease);
}

.esh-pf .esh-pf-bok__odkaz:hover {
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-bok__odkaz:hover svg.esh-pf-ikona,
.esh-pf .esh-pf-bok__odkaz[aria-current="page"] svg.esh-pf-ikona {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-bok__odkaz[aria-current="page"] {
    background: var(--pf-red-soft);
    font-weight: 800;
}

.esh-pf .esh-pf-bok__odkaz[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--pf-red);
}

.esh-pf .esh-pf-bok__nastroje {
    display: grid;
    gap: 2px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-bok__odkaz--odhlasit:hover {
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-motiv--siroky {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: var(--pf-radius-s);
    font: inherit;
    font-size: calc(14.5px + 14.5 * var(--pf-s));
    font-weight: 700;
}

.esh-pf .esh-pf-motiv--siroky[hidden] {
    display: none;
}

.esh-pf .esh-pf-motiv--siroky .esh-pf-motiv__ikona {
    grid-area: auto;
}

.esh-pf .esh-pf-motiv:not(.esh-pf-motiv--siroky) .esh-pf-motiv__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Spodní lišta sekcí (mobil a tablet) */
.esh-pf .esh-pf-lista {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    padding: 0 max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
    border-top: 1px solid var(--pf-line);
    background: color-mix(in srgb, var(--pf-surface) 90%, transparent);
    backdrop-filter: saturate(1.5) blur(14px);
    -webkit-backdrop-filter: saturate(1.5) blur(14px);
    box-shadow: 0 -10px 30px -18px rgba(17, 18, 20, .35);
}

.esh-pf.esh-pf--ucet .esh-pf-telo {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

@media (min-width: 1024px) {
    .esh-pf .esh-pf-lista {
        display: none;
    }

    .esh-pf.esh-pf--ucet .esh-pf-telo {
        padding-bottom: clamp(56px, 6vw, 140px);
    }
}

.esh-pf .esh-pf-lista__seznam {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-lista__odkaz {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 3px;
    min-height: 62px;
    padding: 9px 4px 7px;
    color: var(--pf-muted);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.esh-pf .esh-pf-lista__odkaz::-webkit-details-marker {
    display: none;
}

.esh-pf .esh-pf-lista__odkaz svg.esh-pf-ikona {
    width: 24px;
    height: 24px;
    transition: transform .25s var(--pf-ease), color .2s var(--pf-ease);
}

.esh-pf .esh-pf-lista__odkaz[aria-current="page"],
.esh-pf .esh-pf-vice[open] > .esh-pf-lista__odkaz {
    color: var(--pf-ink);
}

.esh-pf .esh-pf-lista__odkaz[aria-current="page"] svg.esh-pf-ikona,
.esh-pf .esh-pf-vice[open] > .esh-pf-lista__odkaz svg.esh-pf-ikona {
    color: var(--pf-red-text);
    transform: translateY(-2px);
}

.esh-pf .esh-pf-lista__odkaz[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 28px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--pf-red);
    transform: translateX(-50%);
}

.esh-pf .esh-pf-vice__list {
    position: fixed;
    right: 0;
    bottom: calc(63px + env(safe-area-inset-bottom));
    left: 0;
    z-index: 61;
    display: grid;
    gap: 6px;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 10px 14px 16px;
    border-top: 1px solid var(--pf-line);
    border-radius: 18px 18px 0 0;
    background: var(--pf-surface);
    box-shadow: 0 -24px 60px -20px rgba(17, 18, 20, .45);
}

.esh-pf .esh-pf-vice__uchop {
    justify-self: center;
    width: 40px;
    height: 4px;
    margin-bottom: 4px;
    border-radius: 4px;
    background: var(--pf-line-strong);
}

.esh-pf .esh-pf-vice__seznam {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-vice__odkaz {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 12px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.esh-pf .esh-pf-vice__odkaz svg.esh-pf-ikona {
    flex: 0 0 auto;
    color: var(--pf-red-text);
}

.esh-pf .esh-pf-vice__odkaz[aria-current="page"] {
    border-color: var(--pf-red);
    background: var(--pf-red-soft);
}

.esh-pf .esh-pf-vice__nastroje {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
}

.esh-pf.esh-pf--vice-otevreno::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(17, 18, 20, .38);
}

@media (prefers-reduced-motion: no-preference) {
    .esh-pf .esh-pf-vice[open] .esh-pf-vice__list {
        animation: esh-pf-list .32s var(--pf-ease) both;
    }

    .esh-pf .esh-pf-obj-radek__odkaz,
    .esh-pf .esh-pf-doklad {
        transition: transform .2s var(--pf-ease), box-shadow .2s var(--pf-ease), border-color .2s var(--pf-ease);
    }

    .esh-pf .esh-pf-obj-radek__odkaz:hover,
    .esh-pf .esh-pf-doklad:hover {
        transform: translateY(-2px);
    }

    .esh-pf .esh-pf-body__cesta span {
        animation: esh-pf-plnit 1.2s var(--pf-ease) .3s both;
    }
}

@keyframes esh-pf-list {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes esh-pf-plnit {
    from {
        width: 0;
    }
}

/* ---------- Objednávky: filtr, řádky, stránkování ---------- */
.esh-pf .esh-pf-filtr {
    display: grid;
    gap: 12px;
}

@media (min-width: 900px) {
    .esh-pf .esh-pf-filtr {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
        align-items: center;
    }
}

.esh-pf .esh-pf-filtr__zalozky {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.esh-pf .esh-pf-filtr__zalozky::-webkit-scrollbar {
    display: none;
}

.esh-pf .esh-pf-filtr__zalozka {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 6px 14px;
    border: 1px solid var(--pf-line);
    border-radius: 999px;
    background: var(--pf-surface);
    font-size: calc(13.5px + 13.5 * var(--pf-s));
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.esh-pf .esh-pf-filtr__zalozka[aria-current="true"] {
    border-color: var(--pf-ink);
    color: var(--pf-bg);
    background: var(--pf-ink);
}

.esh-pf .esh-pf-filtr__pocet {
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 999px;
    color: var(--pf-muted);
    background: var(--pf-surface-2);
    font-size: 12px;
    text-align: center;
}

.esh-pf .esh-pf-filtr__zalozka[aria-current="true"] .esh-pf-filtr__pocet {
    color: var(--pf-ink);
    background: var(--pf-bg);
}

.esh-pf .esh-pf-filtr__hledat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 14px;
    border: 1px solid var(--pf-field-border); /* R-034 P-02: hledací pole, dřív --pf-line 1,4:1 */
    border-radius: 999px;
    background: var(--pf-input-bg);
}

.esh-pf .esh-pf-filtr__hledat:focus-within {
    border-color: var(--pf-ink);
}

.esh-pf .esh-pf-filtr__hledat svg.esh-pf-ikona {
    flex: 0 0 auto;
    color: var(--pf-muted);
}

.esh-pf .esh-pf-filtr__hledat input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    border: 0;
    outline: 0;
    color: var(--pf-ink);
    background: transparent;
    font: inherit;
    font-size: 16px;
}

.esh-pf .esh-pf-filtr__hledat .esh-pf-tl {
    border-radius: 999px;
}

.esh-pf .esh-pf-obj-seznam {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-obj-radek__odkaz {
    display: grid;
    grid-template-areas:
        "hlava stav"
        "nahledy castka";
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 14px;
    padding: 16px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius);
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow);
    text-decoration: none;
}

.esh-pf .esh-pf-obj-radek__odkaz:hover {
    border-color: var(--pf-line-strong);
    box-shadow: var(--pf-shadow-hover);
}

.esh-pf .esh-pf-obj-radek__hlava {
    display: grid;
    grid-area: hlava;
    gap: 2px;
    min-width: 0;
}

.esh-pf .esh-pf-obj-radek__cislo {
    font-size: calc(16px + 16 * var(--pf-s));
    font-weight: 800;
    letter-spacing: -.01em;
}

.esh-pf .esh-pf-obj-radek__datum,
.esh-pf .esh-pf-obj-radek__pocet {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-weight: 600;
}

.esh-pf .esh-pf-obj-radek__odkaz > .esh-pf-nahledy {
    grid-area: nahledy;
}

.esh-pf .esh-pf-obj-radek__stav {
    grid-area: stav;
    justify-self: end;
}

.esh-pf .esh-pf-obj-radek__castka {
    display: grid;
    grid-area: castka;
    justify-items: end;
    font-size: calc(16px + 16 * var(--pf-s));
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.esh-pf .esh-pf-obj-radek__sipka {
    display: none;
}

@media (min-width: 900px) {
    .esh-pf .esh-pf-obj-radek__odkaz {
        grid-template-areas: "hlava nahledy stav castka sipka";
        grid-template-columns: minmax(150px, 1fr) minmax(0, 1.4fr) minmax(150px, auto) minmax(130px, auto) 24px;
        padding: 14px 20px;
    }

    .esh-pf .esh-pf-obj-radek__sipka {
        display: block;
        grid-area: sipka;
        color: var(--pf-muted);
        transition: transform .2s var(--pf-ease), color .2s var(--pf-ease);
    }

    .esh-pf .esh-pf-obj-radek__odkaz:hover .esh-pf-obj-radek__sipka {
        color: var(--pf-red-text);
        transform: translateX(3px);
    }
}

.esh-pf .esh-pf-nahledy--male {
    gap: 6px;
}

.esh-pf .esh-pf-nahledy--male .esh-pf-nahledy__polozka {
    width: 52px;
    height: 52px;
    font-size: 13px;
}

.esh-pf .esh-pf-strankovani {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
}

.esh-pf .esh-pf-strankovani__stav {
    color: var(--pf-muted);
    font-weight: 700;
}

.esh-pf .esh-pf-prazdne--velke {
    justify-items: center;
    padding-block: clamp(40px, 5vw, 96px);
    text-align: center;
}

.esh-pf .esh-pf-prazdne--velke > p {
    max-width: 52ch;
}

/* ---------- Detail objednávky ---------- */
.esh-pf .esh-pf-zpet {
    margin-bottom: -6px;
}

.esh-pf .esh-pf-zpet .esh-pf-odkaz {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.esh-pf .esh-pf-mrizka--detail {
    align-items: start;
}

.esh-pf .esh-pf-detail__hlavni,
.esh-pf .esh-pf-detail__bok,
.esh-pf .esh-pf-sloupec {
    display: grid;
    gap: clamp(16px, 1.6vw, 36px);
    min-width: 0;
}

@media (min-width: 1200px) {
    .esh-pf .esh-pf-mrizka--detail {
        grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
    }
}

.esh-pf .esh-pf-zasilky {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-zasilka {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 14px;
    padding: 14px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-zasilka__ikona {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--pf-red-text);
    background: var(--pf-surface);
}

.esh-pf .esh-pf-zasilka__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.esh-pf .esh-pf-zasilka__cislo {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
    word-break: break-all;
}

.esh-pf .esh-pf-zasilka__akce {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 8px;
}

@media (min-width: 640px) {
    .esh-pf .esh-pf-zasilka {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .esh-pf .esh-pf-zasilka__akce {
        grid-column: auto;
    }
}

.esh-pf .esh-pf-kopirovano {
    color: var(--pf-ok);
}

.esh-pf .esh-pf-polozky {
    display: grid;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-polozka {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-polozka:first-child {
    padding-top: 0;
}

.esh-pf .esh-pf-polozka__foto {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    color: var(--pf-muted);
    background: #fff;
}

.esh-pf .esh-pf-polozka__foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.esh-pf .esh-pf-polozka__text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.esh-pf .esh-pf-polozka__text strong {
    line-height: 1.35;
}

.esh-pf .esh-pf-polozka__text .esh-pf-tlumene {
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

.esh-pf .esh-pf-polozka__text s {
    margin-left: 6px;
    opacity: .75;
}

.esh-pf .esh-pf-polozka__cena {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.esh-pf .esh-pf-rekapitulace {
    display: grid;
    gap: 6px;
    max-width: 420px;
    margin-top: 16px;
    margin-left: auto;
}

.esh-pf .esh-pf-rekapitulace > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.esh-pf .esh-pf-rekapitulace dd {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.esh-pf .esh-pf-rekapitulace__dph {
    color: var(--pf-muted);
    font-size: calc(13px + 13 * var(--pf-s));
}

.esh-pf .esh-pf-rekapitulace__celkem {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 2px solid var(--pf-ink);
    font-size: calc(18px + 18 * var(--pf-s));
}

.esh-pf .esh-pf-rekapitulace__celkem dt,
.esh-pf .esh-pf-rekapitulace__celkem dd {
    font-weight: 800;
}

.esh-pf .esh-pf-adresy-obj {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    margin-top: 6px;
}

.esh-pf .esh-pf-adresy-obj address {
    font-style: normal;
    line-height: 1.55;
}

.esh-pf .esh-pf-mala-hlava {
    margin-bottom: 4px;
    color: var(--pf-muted);
    font-size: calc(12px + 12 * var(--pf-s));
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.esh-pf .esh-pf-zadost {
    padding: 12px 14px;
    border: 1px dashed var(--pf-line-strong);
    border-radius: var(--pf-radius-s);
}

.esh-pf .esh-pf-zadost + .esh-pf-zadost {
    margin-top: 10px;
}

.esh-pf .esh-pf-rozbal > summary {
    list-style: none;
    cursor: pointer;
}

.esh-pf .esh-pf-rozbal > summary::-webkit-details-marker {
    display: none;
}

.esh-pf .esh-pf-rozbal[open] > summary {
    display: none;
}

.esh-pf textarea.esh-pf-pole__vstup {
    min-height: 96px;
    resize: vertical;
}

/* ---------- Doklady ---------- */
.esh-pf .esh-pf-kpi--dva {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.esh-pf .esh-pf-doklady {
    display: grid;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-doklad {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 14px;
    padding: 12px 14px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    background: var(--pf-surface);
    text-decoration: none;
}

.esh-pf .esh-pf-doklad:hover {
    border-color: var(--pf-line-strong);
    box-shadow: var(--pf-shadow);
}

.esh-pf .esh-pf-doklad__ikona {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: var(--pf-radius-s);
    color: var(--pf-red-text);
    background: var(--pf-red-soft);
}

.esh-pf .esh-pf-doklad__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.esh-pf .esh-pf-doklad__text span {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

.esh-pf .esh-pf-doklad > .esh-pf-odznak {
    grid-column: 2;
    justify-self: start;
}

.esh-pf .esh-pf-doklad__castka {
    grid-row: 1;
    grid-column: 3;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.esh-pf .esh-pf-doklad__pdf {
    display: inline-flex;
    grid-column: 3;
    align-items: center;
    justify-self: end;
    gap: 4px;
    color: var(--pf-red-text);
    font-size: 13px;
    font-weight: 800;
}

.esh-pf .esh-pf-doklady--male .esh-pf-doklad__pdf {
    grid-row: 1;
}

@media (min-width: 900px) {
    .esh-pf .esh-pf-doklady:not(.esh-pf-doklady--male) .esh-pf-doklad {
        grid-template-columns: auto minmax(0, 1fr) auto minmax(120px, auto) auto;
    }

    .esh-pf .esh-pf-doklady:not(.esh-pf-doklady--male) .esh-pf-doklad > .esh-pf-odznak,
    .esh-pf .esh-pf-doklady:not(.esh-pf-doklady--male) .esh-pf-doklad__castka,
    .esh-pf .esh-pf-doklady:not(.esh-pf-doklady--male) .esh-pf-doklad__pdf {
        grid-row: auto;
        grid-column: auto;
        justify-self: end;
    }
}

/* ---------- Věrnostní body ---------- */
.esh-pf .esh-pf-body {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(201, 164, 104, .35) 0%, transparent 55%),
        linear-gradient(145deg, #1b1c20 0%, #111214 60%);
}

.esh-pf .esh-pf-body__cislo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-top: 6px;
    color: #f7f1e5;
    font-size: clamp(44px, 6vw, 96px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: 1;
}

.esh-pf .esh-pf-body__jednotka {
    color: #dcbd85;
    font-size: .32em;
    letter-spacing: .02em;
}

.esh-pf .esh-pf-body__hodnota {
    margin-top: 12px;
    color: #dcbd85;
    font-weight: 800;
}

.esh-pf .esh-pf-body__cesta {
    height: 8px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
}

.esh-pf .esh-pf-body__cesta span {
    display: block;
    width: var(--esh-pf-pct, 0%);
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #a8834a, #dcbd85);
}

.esh-pf .esh-pf-body__pod {
    margin-top: 8px;
    color: rgba(247, 241, 229, .72);
    font-size: 13.5px;
}

.esh-pf .esh-pf-seznam-fajfky {
    display: grid;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-seznam-fajfky li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.esh-pf .esh-pf-seznam-fajfky svg.esh-pf-ikona {
    flex: 0 0 auto;
    color: var(--pf-ok);
}

.esh-pf .esh-pf-pohyby {
    display: grid;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-pohyb {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pf-line);
}

.esh-pf .esh-pf-pohyb__body {
    padding: 4px 8px;
    border-radius: var(--pf-radius-s);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.esh-pf .esh-pf-pohyb--plus .esh-pf-pohyb__body {
    color: var(--pf-ok);
    background: var(--pf-ok-bg);
}

.esh-pf .esh-pf-pohyb--minus .esh-pf-pohyb__body {
    color: var(--pf-red-text);
    background: var(--pf-red-soft);
}

.esh-pf .esh-pf-pohyb__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.esh-pf .esh-pf-pohyb__text span {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
}

/* ---------- Oblíbené, hlídání ---------- */
.esh-pf .esh-pf-produkty--plne {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: clamp(14px, 1.4vw, 28px);
}

@media (min-width: 1300px) {
    .esh-pf .esh-pf-produkty--plne {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    }
}

.esh-pf .esh-pf-produkty--plne .esh-pf-produkt {
    position: relative;
}

.esh-pf .esh-pf-produkt__odebrat {
    position: absolute;
    top: 8px;
    right: 8px;
}

.esh-pf .esh-pf-ikona-tl {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--pf-line);
    border-radius: 50%;
    color: var(--pf-muted);
    background: color-mix(in srgb, var(--pf-surface) 92%, transparent);
    cursor: pointer;
    transition: color .18s var(--pf-ease), border-color .18s var(--pf-ease), transform .18s var(--pf-ease);
}

.esh-pf .esh-pf-ikona-tl:hover {
    border-color: var(--pf-red);
    color: var(--pf-red-text);
    transform: scale(1.06);
}

.esh-pf .esh-pf-psi--plne .esh-pf-psi__polozka {
    align-items: center;
}

.esh-pf .esh-pf-psi__foto {
    display: grid;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    color: var(--pf-info);
    background: #fff;
}

.esh-pf .esh-pf-psi__foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.esh-pf .esh-pf-psi--plne .esh-pf-psi__text {
    flex: 1 1 auto;
}

.esh-pf .esh-pf-psi--plne .esh-pf-psi__nazev {
    white-space: normal;
}

.esh-pf .esh-pf-psi__akce {
    flex: 0 0 auto;
}

.esh-pf .esh-pf-psi__polozka--neaktivni {
    opacity: .7;
}

/* ---------- Soukromí, propojení ---------- */
.esh-pf .esh-pf-karta--nebezpeci {
    border-color: color-mix(in srgb, var(--pf-red) 35%, var(--pf-line));
}

.esh-pf .esh-pf-propojeni {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-propojeni__polozka {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
}

.esh-pf .esh-pf-propojeni__polozka--pripojeno {
    border-color: color-mix(in srgb, var(--pf-ok) 35%, var(--pf-line));
    background: var(--pf-ok-bg);
}

.esh-pf .esh-pf-propojeni__logo {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px var(--pf-line);
}

.esh-pf .esh-pf-propojeni__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.esh-pf .esh-pf-propojeni__text .esh-pf-tlumene {
    overflow: hidden;
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    text-overflow: ellipsis;
    white-space: nowrap;
}

.esh-pf .esh-pf-propojeni__pozn {
    max-width: 16ch;
    font-size: 12px;
    text-align: right;
}

.esh-pf .esh-pf-tl--social {
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.esh-pf .esh-pf-tl--social svg.esh-pf-ikona--logo {
    width: 20px;
    height: 20px;
}

.esh-pf .esh-pf-formular--social {
    display: grid;
    gap: 10px;
    margin-bottom: 6px;
}

.esh-pf .esh-pf-alternativy__pozn {
    font-size: 12.5px;
    text-align: center;
}

/* ---------- R-049: Provize z doporučení (/ucet/partner/) ----------
   Nové třídy s prefixem esh-pf-partner-, barvy jen přes proměnné profilu (--pf-…). Tmavá karta zůstatku
   přebírá .esh-pf-body (věrnostní body), historie .esh-pf-pohyby. Mobile-first, plná šířka obsahu. */
.esh-pf .esh-pf-partner-zustatek__cislo--druhe {
    margin-top: 14px;
    font-size: clamp(32px, 4vw, 60px);
}

.esh-pf .esh-pf-partner-fakta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px 18px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid color-mix(in srgb, var(--pf-brass) 35%, transparent);
}

.esh-pf .esh-pf-partner-fakta dt {
    color: var(--pf-brass);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.esh-pf .esh-pf-partner-fakta dd {
    margin-top: 2px;
    color: var(--pf-bg);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.esh-pf[data-esh-pf-motiv="tmavy"] .esh-pf-partner-fakta dd {
    color: var(--pf-ink);
}

@media (prefers-color-scheme: dark) {
    .esh-pf[data-esh-pf-motiv="auto"] .esh-pf-partner-fakta dd {
        color: var(--pf-ink);
    }
}

.esh-pf .esh-pf-partner-uvod__nadpis {
    margin-top: 8px;
    color: var(--pf-bg);
    font-size: clamp(28px, 3.4vw, 52px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
}

.esh-pf[data-esh-pf-motiv="tmavy"] .esh-pf-partner-uvod__nadpis {
    color: var(--pf-ink);
}

@media (prefers-color-scheme: dark) {
    .esh-pf[data-esh-pf-motiv="auto"] .esh-pf-partner-uvod__nadpis {
        color: var(--pf-ink);
    }
}

.esh-pf .esh-pf-partner-uvod__akce {
    margin-top: 20px;
}

.esh-pf .esh-pf-partner-kopie {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.esh-pf .esh-pf-partner-kopie__vstup {
    flex: 1 1 220px;
    min-width: 0;
    font-variant-numeric: tabular-nums;
}

.esh-pf .esh-pf-partner-kopie__tl {
    flex: 0 0 auto;
}

.esh-pf .esh-pf-partner-kod {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px dashed var(--pf-line-strong);
    border-radius: var(--pf-radius);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-partner-kod__popisek {
    flex: 1 0 100%;
    color: var(--pf-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.esh-pf .esh-pf-partner-kod__hodnota {
    margin-right: auto;
    color: var(--pf-ink);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    letter-spacing: .12em;
}

.esh-pf .esh-pf-partner-sleva {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    color: var(--pf-muted);
}

.esh-pf .esh-pf-partner-sleva svg.esh-pf-ikona {
    flex: 0 0 auto;
    color: var(--pf-brass-text);
}

.esh-pf .esh-pf-partner-pohyby .esh-pf-pohyb {
    grid-template-columns: minmax(96px, max-content) minmax(0, 1fr);
}

.esh-pf .esh-pf-partner-pohyby .esh-pf-pohyb__body {
    white-space: nowrap;
}

@media (min-width: 700px) {
    .esh-pf .esh-pf-partner-pohyby .esh-pf-pohyb {
        grid-template-columns: 150px minmax(0, 1fr);
    }
}

@media print {
    .esh-pf .esh-pf-bok,
    .esh-pf .esh-pf-lista {
        display: none !important;
    }

    .esh-pf .esh-pf-rozlozeni {
        grid-template-columns: 1fr !important;
    }
}

/* F5-33: detail objednávky — podrobná historie, náhled „Koupit znovu“ za dnešní ceny, vrácení a reklamace, slevy
   a doplatek v rekapitulaci. Jen nové třídy s prefixem esh-pf-, barvy přes tokeny profilu (var(--pf-…)). Mobile-first. */
.esh-pf .esh-pf-historie > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-weight: 700;
    cursor: pointer;
}

.esh-pf .esh-pf-historie__seznam {
    display: grid;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    border-left: 2px solid var(--pf-line);
}

.esh-pf .esh-pf-historie__radek {
    display: grid;
    gap: 2px;
    padding: 8px 0 8px 14px;
}

.esh-pf .esh-pf-historie__radek--platba .esh-pf-historie__text {
    color: var(--pf-ok);
}

.esh-pf .esh-pf-historie__kdy {
    color: var(--pf-muted);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
    .esh-pf .esh-pf-historie__radek {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: baseline;
        gap: 16px;
    }
}

.esh-pf .esh-pf-rekapitulace__sleva dd {
    color: var(--pf-ok);
}

.esh-pf .esh-pf-rekapitulace__rozdil {
    font-weight: 800;
}

.esh-pf .esh-pf-znovu {
    padding: 14px;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    background: var(--pf-surface-2);
}

.esh-pf .esh-pf-znovu__seznam {
    display: grid;
    gap: 8px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-znovu__radek {
    display: grid;
    gap: 4px;
}

.esh-pf .esh-pf-znovu__radek--nelze .esh-pf-znovu__nazev {
    color: var(--pf-muted);
    text-decoration: line-through;
}

.esh-pf .esh-pf-znovu__cena {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
    .esh-pf .esh-pf-znovu__radek {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 16px;
    }
}

.esh-pf .esh-pf-vraceni__akce {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

/* ==========================================================================
   F5-34: sledování v účtu — porovnání, naposledy prohlížené, akce jedním
   klikem, platnost a prodloužení hlídacích psů, lupa miniatur.
   Nové třídy .esh-pf-sled* a .esh-pf-lupa*, barvy jen přes --pf-*.
   Mobil 390 px: bloky pod sebou, pás miniatur se posouvá prstem;
   od 1100 px porovnání a naposledy vedle sebe (1 : 2), plná šířka.
   ========================================================================== */
.esh-pf .esh-pf-sled {
    display: grid;
    gap: clamp(16px, 1.6vw, 36px);
    min-width: 0;
}

@media (min-width: 1100px) {
    .esh-pf .esh-pf-sled {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    }

    .esh-pf .esh-pf-sled--jeden {
        grid-template-columns: minmax(0, 1fr);
    }
}

.esh-pf .esh-pf-sled__blok {
    display: grid;
    align-content: start;
    gap: 14px;
}

.esh-pf .esh-pf-sled__blok .esh-pf-karta__hlava {
    margin-bottom: 0;
}

.esh-pf .esh-pf-sled__pocet {
    display: inline-grid;
    min-width: 32px;
    height: 32px;
    place-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--pf-surface);
    background: var(--pf-ink);
    font-weight: 800;
    font-size: calc(13px + 13 * var(--pf-s));
}

.esh-pf .esh-pf-sled__pozn {
    color: var(--pf-muted);
    font-size: calc(13.5px + 13.5 * var(--pf-s));
}

.esh-pf .esh-pf-sled__pozn--male {
    font-size: calc(12px + 12 * var(--pf-s));
}

.esh-pf .esh-pf-sled__akce,
.esh-pf .esh-pf-sled__rychle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.esh-pf .esh-pf-sled__rychle {
    margin-top: 14px;
}

.esh-pf .esh-pf-sled__akce .esh-pf-ikona,
.esh-pf .esh-pf-sled__rychle .esh-pf-ikona {
    width: 18px;
    height: 18px;
}

/* miniatury porovnání (plní profil.js) */
.esh-pf .esh-pf-sled__mini {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 132px));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esh-pf .esh-pf-sled__mini[hidden] {
    display: none;
}

.esh-pf .esh-pf-sled__mini-polozka a {
    display: grid;
    gap: 4px;
    text-decoration: none;
}

.esh-pf .esh-pf-sled__mini-polozka span {
    overflow: hidden;
    color: var(--pf-muted);
    font-size: calc(11.5px + 11.5 * var(--pf-s));
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* pás naposledy prohlížených: mobil = vodorovný posun se zarážkami, desktop = hustá mřížka */
.esh-pf .esh-pf-sled__pas {
    display: grid;
    grid-auto-columns: minmax(118px, 36%);
    grid-auto-flow: column;
    gap: 10px;
    margin: 0 calc(-1 * clamp(20px, 1.8vw, 40px));
    padding: 2px clamp(20px, 1.8vw, 40px) 8px;
    overflow-x: auto;
    list-style: none;
    scroll-padding-inline: clamp(20px, 1.8vw, 40px);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
}

@media (min-width: 720px) {
    .esh-pf .esh-pf-sled__pas {
        grid-auto-columns: auto;
        grid-auto-flow: row;
        grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

.esh-pf .esh-pf-sled__polozka {
    min-width: 0;
    scroll-snap-align: start;
}

.esh-pf .esh-pf-sled__odkaz {
    display: grid;
    gap: 4px;
    min-width: 0;
    text-decoration: none;
}

.esh-pf .esh-pf-sled__foto,
.esh-pf .esh-pf-sled__mini-polozka .esh-pf-sled__foto {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius-s);
    color: var(--pf-muted);
    background: var(--pf-input-bg);
}

.esh-pf .esh-pf-sled__foto img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* miniatura vždy celá */
    transition: transform .35s var(--pf-ease);
}

.esh-pf .esh-pf-sled__odkaz:hover .esh-pf-sled__foto img {
    transform: scale(1.04);
}

.esh-pf .esh-pf-sled__nazev {
    display: -webkit-box;
    overflow: hidden;
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.esh-pf .esh-pf-sled__odkaz:hover .esh-pf-sled__nazev {
    text-decoration: underline;
}

.esh-pf .esh-pf-sled__cena {
    color: var(--pf-ink);
    font-size: calc(12.5px + 12.5 * var(--pf-s));
    font-weight: 800;
}

/* ikony akcí v hlavičce karty (Oblíbené) */
.esh-pf .esh-pf-sled__ikony {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.esh-pf .esh-pf-sled__ikony .esh-pf-ikona-tl,
.esh-pf .esh-pf-sled__radek-akce .esh-pf-ikona-tl {
    text-decoration: none;
}

.esh-pf .esh-pf-sled__ikony .esh-pf-ikona-tl[hidden] {
    display: none;
}

/* hlídací psi: platnost a akce v řádku */
.esh-pf .esh-pf-sled__platnost {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--pf-muted);
    font-size: calc(12px + 12 * var(--pf-s));
}

.esh-pf .esh-pf-sled__platnost .esh-pf-ikona {
    width: 14px;
    height: 14px;
}

.esh-pf .esh-pf-sled__radek-akce {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.esh-pf .esh-pf-sled__prodl {
    display: flex;
    align-items: center;
    gap: 4px;
}

.esh-pf .esh-pf-sled__vyber {
    height: 40px;
    padding: 0 6px;
    border: 1px solid var(--pf-field-border);
    border-radius: var(--pf-radius-s);
    color: var(--pf-ink);
    background: var(--pf-input-bg);
    font: inherit;
    font-size: calc(13px + 13 * var(--pf-s));
}

.esh-pf .esh-pf-sled__vyber:focus-visible {
    outline: 2px solid var(--pf-focus);
    outline-offset: 2px;
}

@media (max-width: 559px) {
    .esh-pf .esh-pf-psi--plne .esh-pf-psi__polozka {
        flex-wrap: wrap;
    }

    .esh-pf .esh-pf-psi--plne .esh-pf-psi__text {
        flex-basis: calc(100% - 70px);
    }

    .esh-pf .esh-pf-sled__radek-akce {
        width: 100%;
        justify-content: flex-end;
    }
}

/* lupa: najetí myší na miniaturu = velká fotka přes obrazovku (jen zařízení s myší, profil.js) */
.esh-pf-lupa {
    position: fixed;
    z-index: 2147483000;
    top: 50%;
    left: 50%;
    display: grid;
    width: min(72vmin, 760px);
    aspect-ratio: 1;
    place-items: center;
    padding: 12px;
    border: 1px solid var(--pf-line, #dcd8d1);
    border-radius: 12px;
    background: var(--pf-input-bg, #fff);
    box-shadow: 0 30px 80px -20px rgba(17, 18, 20, .55);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.96);
    transition: opacity .16s ease, transform .16s ease;
}

.esh-pf-lupa.esh-pf-lupa--videt {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.esh-pf-lupa img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
    .esh-pf-lupa {
        transition: none;
    }
}

.esh-pf .esh-pf-sled [hidden] {
    display: none;
}
