/* ==========================================================================
   Shop Garage – titulní stránka e-shopu (R-008). Modul PublicMC, prefix .esh-tit-,
   vše pod kořenem .esh.esh-tit, nic globálního. Barvy a písmo webu (Manrope, --red,
   --ink, --night) přes proměnné z eshop/assets/eshop.css (.esh).

   Video na pozadí: vrstva .esh-tit-pozadi je position: fixed (stojí, obsah jede přes ni),
   kořen ji clip-path: inset(0) ořízne jen na plochu titulky (hlavička a patička webu zůstávají
   beze změny). Clona ztmaví film na ~60–70 % černé; pásy a panely před ním jsou poloprůhledné
   (sklo s jemným rozmazáním), karty produktů na světlém papíře kvůli čitelnosti (WCAG AA).
   Mobil (< 900 px), prefers-reduced-motion a Save-Data: jen plakát, video se nestahuje (titulka.js).

   Mobil první; zlomy 640 / 900 / 1100 / 1440 / 1800 px. Globální pravidla webu
   (h1–h4, p{margin:0}, a{color:inherit}, svg{width:20px;height:20px}) jsou přebitá
   specifičtějšími selektory .esh-tit …
   ========================================================================== */

.esh.esh-tit {
    --esh-tit-sklo: rgba(13, 14, 16, .6);
    --esh-tit-sklo-silne: rgba(13, 14, 16, .76);
    --esh-tit-pas: rgba(10, 11, 13, .38);
    --esh-tit-linka: rgba(255, 255, 255, .13);
    --esh-tit-linka-silna: rgba(255, 255, 255, .36);
    --esh-tit-text-2: rgba(255, 255, 255, .82);
    --esh-tit-text-3: rgba(255, 255, 255, .7);
    --esh-tit-papir: rgba(247, 245, 240, .97);
    --esh-tit-cervena: #ff6b5e;
    --esh-tit-blur: blur(12px) saturate(1.15);
    --esh-tit-mezera: 12px;
    --esh-tit-sloupce: 3;

    position: relative;
    isolation: isolate;
    clip-path: inset(0);
    color: #fff;
    background: #121315;
}

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

/* jen vlastní ikony titulky; ikonky karty (eshop/sablony/ikony.php) zůstávají podle eshop.css */
.esh-tit .esh-tit-ikona,
.esh-tit .esh-tit-sipka,
.esh-tit .esh-tit-jiny-web {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.esh-tit .esh-tit-ikona {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
}

.esh-tit .esh-tit-sipka {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
    transition: transform .18s var(--esh-ease);
}

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

/* ---------- Video a plakát na pozadí ---------- */
.esh-tit .esh-tit-pozadi {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #16181a;
}

.esh-tit .esh-tit-pozadi__plakat {
    position: absolute;
    inset: 0;
    display: block;
}

.esh-tit .esh-tit-pozadi__plakat img,
.esh-tit .esh-tit-pozadi__video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.esh-tit .esh-tit-pozadi__plakat img {
    object-position: 64% 50%;
}

.esh-tit .esh-tit-pozadi__video {
    opacity: 0;
    transition: opacity .9s linear;
}

.esh-tit.is-video .esh-tit-pozadi__video {
    opacity: 1;
}

.esh-tit .esh-tit-pozadi__clona {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 12, .52) 0%, rgba(8, 10, 12, .6) 45%, rgba(8, 10, 12, .7) 100%);
}

/* ---------- Společné prvky ---------- */
.esh-tit .esh-tit-nadtitul {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #fff;
    font-size: calc(11px + 11 * var(--esh-s));
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.esh-tit .esh-tit-nadtitul::before {
    content: "";
    flex: none;
    width: 22px;
    height: 2px;
    background: var(--esh-tit-cervena);
}

.esh-tit .esh-tit-h2,
.esh-tit h2.esh-tit-h2 {
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: clamp(28px, 7.6vw, 36px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    text-wrap: balance;
}

.esh-tit .esh-tit-hlava {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 32px;
    margin-bottom: 22px;
}

.esh-tit .esh-tit-hlava__text {
    min-width: 0;
    max-width: 920px;
}

.esh-tit .esh-tit-hlava__uvod {
    margin: 10px 0 0;
    max-width: 40em;
    color: var(--esh-tit-text-2);
    font-size: calc(15px + 15 * var(--esh-s));
    line-height: 1.6;
    text-wrap: pretty;
}

.esh-tit .esh-tit-hlava__akce {
    display: flex;
    align-items: center;
    gap: 18px;
}

.esh-tit .esh-tit-vse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border-bottom: 2px solid transparent;
    color: #fff;
    font-size: calc(14px + 14 * var(--esh-s));
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .18s var(--esh-ease);
}

.esh-tit .esh-tit-vse:hover {
    border-bottom-color: var(--esh-tit-cervena);
}

.esh-tit .esh-tit-vse:hover .esh-tit-sipka,
.esh-tit .esh-tit-tl:hover .esh-tit-sipka {
    transform: translateX(4px);
}

.esh-tit .esh-tit-vse__pocet,
.esh-tit .esh-tit-tl__pocet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.esh-tit .esh-tit-tl__pocet {
    background: var(--esh-red);
}

/* Tlačítka (vzhled .re-btn webu, vlastní třídy) */
.esh-tit .esh-tit-tl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    margin: 0;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--esh-red);
    color: #fff;
    font: inherit;
    font-size: calc(14px + 14 * var(--esh-s));
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s var(--esh-ease), border-color .18s var(--esh-ease), color .18s var(--esh-ease);
}

.esh-tit .esh-tit-tl:hover {
    background: var(--esh-red-dark);
}

.esh-tit .esh-tit-tl--obrys {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .05);
}

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

.esh-tit .esh-tit-tl--svetle {
    background: #fff;
    color: var(--esh-ink);
}

.esh-tit .esh-tit-tl--svetle:hover {
    background: #ebe7df;
}

.esh-tit .esh-tit-tl--male {
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    font-size: calc(13px + 13 * var(--esh-s));
}

.esh-tit .esh-tit-tl .esh-tit-ikona {
    width: 18px;
    height: 18px;
}

.esh-tit .esh-tit-tl.is-aktivni {
    background: var(--esh-green);
}

.esh-tit .esh-tit-tl[aria-busy="true"] {
    opacity: .7;
    cursor: progress;
}

/* ---------- Hero ---------- */
.esh-tit .esh-tit-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(6, 10, 12, .18) 0%, rgba(6, 10, 12, .5) 55%, rgba(6, 10, 12, .66) 100%);
}

.esh-tit .esh-tit-hero__mrizka {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 30px;
}

.esh-tit .esh-tit-hero__text {
    min-width: 0;
}

.esh-tit .esh-tit-hero__nadpis,
.esh-tit h1.esh-tit-hero__nadpis {
    max-width: 13em;
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: clamp(34px, 9.8vw, 48px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.04;
    text-wrap: balance;
}

.esh-tit .esh-tit-hero__uvod {
    max-width: 34em;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: calc(16px + 16 * var(--esh-s));
    line-height: 1.62;
    text-wrap: pretty;
}

.esh-tit .esh-tit-hero__tlacitka {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.esh-tit .esh-tit-hero__tlacitka .esh-tit-tl {
    flex: 1 1 auto;
}

/* Nejvýhodnější akce (sklo) */
.esh-tit .esh-tit-tip {
    display: grid;
    grid-template-areas: "stitek stitek" "foto info";
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px 16px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--esh-tit-linka);
    border-radius: 10px;
    background: var(--esh-tit-sklo);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: var(--esh-tit-blur);
    backdrop-filter: var(--esh-tit-blur);
}

.esh-tit .esh-tit-tip__stitek,
.esh-tit h2.esh-tit-tip__stitek {
    display: flex;
    grid-area: stitek;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: calc(11px + 11 * var(--esh-s));
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.esh-tit .esh-tit-tip__stitek .esh-tit-ikona {
    width: 16px;
    height: 16px;
    fill: var(--esh-tit-cervena);
    stroke: none;
}

.esh-tit .esh-tit-tip__foto {
    position: relative;
    display: block;
    grid-area: foto;
    align-self: start;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    background: var(--esh-foto);
}

.esh-tit .esh-tit-tip__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s var(--esh-ease);
}

.esh-tit .esh-tit-tip__foto:hover img {
    transform: scale(1.04);
}

.esh-tit .esh-tit-tip__procenta {
    position: absolute;
    top: 7px;
    left: 7px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--esh-red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.esh-tit .esh-tit-tip__info {
    display: flex;
    flex-direction: column;
    grid-area: info;
    gap: 4px;
    min-width: 0;
}

.esh-tit .esh-tit-tip__akce {
    margin: 0;
    color: var(--esh-tit-cervena);
    font-size: calc(12px + 12 * var(--esh-s));
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.35;
}

.esh-tit .esh-tit-tip__nazev {
    margin: 0;
    font-size: calc(14px + 14 * var(--esh-s));
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.3;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.esh-tit .esh-tit-tip__nazev a {
    color: #fff;
    text-decoration: none;
}

.esh-tit .esh-tit-tip__nazev a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.esh-tit .esh-tit-tip__cena {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin: 4px 0 0;
}

.esh-tit .esh-tit-tip__nova {
    color: #fff;
    font-size: calc(22px + 22 * var(--esh-s));
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.esh-tit .esh-tit-tip__puvodni {
    color: var(--esh-tit-text-3);
    font-size: calc(14px + 14 * var(--esh-s));
}

.esh-tit .esh-tit-tip__usetrite,
.esh-tit .esh-tit-tip__do {
    margin: 0;
    color: var(--esh-tit-text-2);
    font-size: calc(13px + 13 * var(--esh-s));
    line-height: 1.4;
}

.esh-tit .esh-tit-tip__usetrite strong {
    color: #fff;
    font-weight: 800;
}

.esh-tit .esh-tit-tip__do {
    display: flex;
    align-items: center;
    gap: 6px;
}

.esh-tit .esh-tit-tip__do .esh-tit-ikona {
    width: 15px;
    height: 15px;
}

.esh-tit .esh-tit-tip__tlacitka {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* Ovládání filmu (WCAG 2.2.2: pohyb jde zastavit) */
.esh-tit .esh-tit-film {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-bottom: 14px;
}

.esh-tit .esh-tit-film__popis {
    color: var(--esh-tit-text-3);
    font-size: calc(10.5px + 10.5 * var(--esh-s));
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.esh-tit .esh-tit-film__tl {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--esh-tit-linka-silna);
    border-radius: 50%;
    background: rgba(13, 14, 16, .45);
    color: #fff;
    cursor: pointer;
    transition: background .18s var(--esh-ease);
}

.esh-tit .esh-tit-film__tl:hover {
    background: rgba(255, 255, 255, .16);
}

.esh-tit .esh-tit-film__tl .esh-tit-ikona {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.esh-tit .esh-tit-film__tl .esh-tit-ikona--prehrat,
.esh-tit .esh-tit-film__tl[aria-pressed="true"] .esh-tit-ikona--pauza {
    display: none;
}

.esh-tit .esh-tit-film__tl[aria-pressed="true"] .esh-tit-ikona--prehrat {
    display: block;
    fill: currentColor;
    stroke: none;
}

/* Lišta důvěry */
.esh-tit .esh-tit-duvera {
    border-top: 1px solid var(--esh-tit-linka);
    background: var(--esh-tit-sklo-silne);
    -webkit-backdrop-filter: var(--esh-tit-blur);
    backdrop-filter: var(--esh-tit-blur);
}

.esh-tit .esh-tit-duvera__seznam {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 18px;
    padding-bottom: 18px;
    list-style: none;
}

.esh-tit .esh-tit-duvera__polozka {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.esh-tit .esh-tit-duvera__ikona {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--esh-tit-linka-silna);
    border-radius: 50%;
    color: #fff;
}

.esh-tit .esh-tit-duvera__ikona .esh-tit-ikona {
    width: 18px;
    height: 18px;
}

.esh-tit .esh-tit-duvera__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    color: var(--esh-tit-text-2);
    font-size: calc(12.5px + 12.5 * var(--esh-s));
    line-height: 1.4;
}

.esh-tit .esh-tit-duvera__text strong {
    color: #fff;
    font-size: calc(13.5px + 13.5 * var(--esh-s));
    font-weight: 800;
}

.esh-tit .esh-tit-duvera__text a {
    align-self: flex-start;
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--esh-tit-cervena);
    text-underline-offset: 3px;
}

/* ---------- Sekce pod hero ---------- */
.esh-tit .esh-tit-sekce {
    padding-top: 44px;
    padding-bottom: 44px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: var(--esh-tit-pas);
}

/* Kategorie: dlaždice se sklem a koláží fotek */
.esh-tit .esh-tit-kat {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esh-tit .esh-tit-kat__polozka {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.esh-tit .esh-tit-kat__dlazdice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--esh-tit-linka);
    border-radius: 10px;
    background: var(--esh-tit-sklo);
    color: #fff;
    text-decoration: none;
    -webkit-backdrop-filter: var(--esh-tit-blur);
    backdrop-filter: var(--esh-tit-blur);
    transition: border-color .2s var(--esh-ease), background .2s var(--esh-ease);
}

.esh-tit .esh-tit-kat__dlazdice:hover {
    border-color: var(--esh-tit-linka-silna);
    background: var(--esh-tit-sklo-silne);
}

.esh-tit .esh-tit-kat__dlazdice--slevy {
    border-color: rgba(255, 107, 94, .55);
}

.esh-tit .esh-tit-kat__dlazdice--slevy .esh-tit-kat__nazev {
    color: var(--esh-tit-cervena);
}

.esh-tit .esh-tit-kat__fotky {
    display: block;
    flex: none;
    width: 64px;
    aspect-ratio: 4 / 5;
}

.esh-tit .esh-tit-kat__foto {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: var(--esh-foto);
}

.esh-tit .esh-tit-kat__foto:nth-child(n+2) {
    display: none;
}

.esh-tit .esh-tit-kat__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s var(--esh-ease);
}

.esh-tit .esh-tit-kat__dlazdice:hover .esh-tit-kat__foto img {
    transform: scale(1.04);
}

.esh-tit .esh-tit-kat__text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.esh-tit .esh-tit-kat__nazev {
    font-size: calc(18px + 18 * var(--esh-s));
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
}

.esh-tit .esh-tit-kat__pocet {
    color: var(--esh-tit-text-2);
    font-size: calc(13px + 13 * var(--esh-s));
}

.esh-tit .esh-tit-kat__dlazdice > .esh-tit-sipka {
    width: 20px;
    height: 20px;
}

.esh-tit .esh-tit-kat__dlazdice:hover > .esh-tit-sipka {
    transform: translateX(4px);
}

/* Značky */
.esh-tit .esh-tit-znacky {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 22px;
}

.esh-tit .esh-tit-znacky__popis {
    margin: 0;
    color: var(--esh-tit-text-3);
    font-size: calc(11px + 11 * var(--esh-s));
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.esh-tit .esh-tit-znacky__seznam {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esh-tit .esh-tit-znacky__seznam > li {
    margin: 0;
    padding: 0;
}

.esh-tit .esh-tit-znacka {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 9px 6px 18px;
    border: 1px solid var(--esh-tit-linka-silna);
    border-radius: 999px;
    background: rgba(13, 14, 16, .45);
    color: #fff;
    font-size: calc(14px + 14 * var(--esh-s));
    font-weight: 800;
    text-decoration: none;
    transition: background .18s var(--esh-ease), color .18s var(--esh-ease);
}

.esh-tit .esh-tit-znacka:hover {
    background: #fff;
    color: var(--esh-ink);
}

.esh-tit .esh-tit-znacka__pocet {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .16);
    font-size: 12px;
}

.esh-tit .esh-tit-znacka:hover .esh-tit-znacka__pocet {
    background: var(--esh-paper);
}

/* Řady produktů: vodorovný posun se zarážkami, karty na světlém papíře */
.esh-tit .esh-tit-rada__seznam {
    display: grid;
    grid-auto-columns: 66%;
    grid-auto-flow: column;
    gap: var(--esh-tit-mezera);
    margin: 0 calc(-1 * var(--esh-gutter));
    padding: 4px var(--esh-gutter) 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    list-style: none;
    scroll-padding-inline: var(--esh-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(255, 255, 255, .35) transparent;
    scrollbar-width: thin;
}

.esh-tit .esh-tit-rada__polozka {
    min-width: 0;
    margin: 0;
    padding: 8px 8px 14px;
    border-radius: 8px;
    background: var(--esh-tit-papir);
    color: var(--esh-ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
    scroll-snap-align: start;
}

.esh-tit .esh-tit-rada__polozka .esh-karta__foto {
    border-radius: 5px;
}

.esh-tit .esh-tit-rada__polozka .esh-karta__info {
    padding-right: 4px;
    padding-left: 4px;
}

.esh-tit .esh-tit-posuny {
    display: none;
}

.esh-tit .esh-tit-posun {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--esh-tit-linka-silna);
    border-radius: 50%;
    background: rgba(13, 14, 16, .45);
    color: #fff;
    cursor: pointer;
    transition: background .18s var(--esh-ease), color .18s var(--esh-ease), opacity .18s var(--esh-ease);
}

.esh-tit .esh-tit-posun:hover:not(:disabled) {
    background: #fff;
    color: var(--esh-ink);
}

.esh-tit .esh-tit-posun:disabled {
    opacity: .35;
    cursor: default;
}

/* Motocykly */
.esh-tit .esh-tit-moto__mrizka {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.esh-tit .esh-tit-moto__text {
    min-width: 0;
}

.esh-tit .esh-tit-moto__tlacitka {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.esh-tit .esh-tit-moto__porovnat {
    margin-top: 14px;
}

.esh-tit .esh-tit-moto__modely {
    display: grid;
    grid-auto-columns: 62%;
    grid-auto-flow: column;
    gap: 12px;
    margin: 0 calc(-1 * var(--esh-gutter));
    padding: 0 var(--esh-gutter) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    list-style: none;
    scroll-padding-inline: var(--esh-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.esh-tit .esh-tit-moto__modely > li {
    min-width: 0;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
}

.esh-tit .esh-tit-moto__model {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 12px 14px 14px;
    border: 1px solid var(--esh-tit-linka);
    border-radius: 10px;
    background: radial-gradient(ellipse 72% 58% at 50% 50%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 72%), var(--esh-tit-sklo);
    color: #fff;
    text-decoration: none;
    transition: border-color .2s var(--esh-ease);
}

.esh-tit .esh-tit-moto__model:hover {
    border-color: var(--esh-tit-linka-silna);
}

.esh-tit .esh-tit-moto__foto {
    display: block;
    aspect-ratio: 700 / 450;
}

.esh-tit .esh-tit-moto__foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .45));
    transition: transform .5s var(--esh-ease);
}

.esh-tit .esh-tit-moto__model:hover .esh-tit-moto__foto img {
    transform: translateY(-4px) scale(1.02);
}

.esh-tit .esh-tit-moto__nazev {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: calc(15px + 15 * var(--esh-s));
    font-weight: 800;
    line-height: 1.25;
}

.esh-tit .esh-tit-moto__model:hover .esh-tit-sipka {
    transform: translateX(4px);
}

/* Služby Garage */
.esh-tit .esh-tit-sluzby__seznam {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esh-tit .esh-tit-sluzby__seznam > li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.esh-tit .esh-tit-sluzba {
    position: relative;
    display: grid;
    grid-template-areas: "ikona nazev" "ikona text";
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 2px 14px;
    height: 100%;
    padding: 16px 48px 16px 16px;
    border: 1px solid var(--esh-tit-linka);
    border-radius: 10px;
    background: var(--esh-tit-sklo);
    color: #fff;
    text-decoration: none;
    -webkit-backdrop-filter: var(--esh-tit-blur);
    backdrop-filter: var(--esh-tit-blur);
    transition: border-color .2s var(--esh-ease), background .2s var(--esh-ease);
}

.esh-tit .esh-tit-sluzba:hover {
    border-color: var(--esh-tit-linka-silna);
    background: var(--esh-tit-sklo-silne);
}

.esh-tit .esh-tit-sluzba__ikona {
    display: grid;
    grid-area: ikona;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--esh-tit-linka-silna);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.esh-tit .esh-tit-sluzba__nazev {
    display: flex;
    grid-area: nazev;
    align-items: center;
    gap: 6px;
    font-size: calc(16px + 16 * var(--esh-s));
    font-weight: 800;
    line-height: 1.3;
}

.esh-tit .esh-tit-sluzba__text {
    grid-area: text;
    color: var(--esh-tit-text-2);
    font-size: calc(14px + 14 * var(--esh-s));
    line-height: 1.5;
}

.esh-tit .esh-tit-sluzba > .esh-tit-sipka {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
}

.esh-tit .esh-tit-sluzba:hover > .esh-tit-sipka {
    transform: translateX(4px);
}

.esh-tit .esh-tit-jiny-web {
    display: inline-block;
    flex: none;
    width: 12px;
    height: 12px;
    opacity: .7;
    stroke-width: 2.2;
}

/* ==========================================================================
   Zlomy
   ========================================================================== */
@media (min-width: 640px) {
    .esh.esh-tit {
        --esh-tit-mezera: 16px;
        --esh-tit-sloupce: 3;
    }

    .esh-tit .esh-tit-hero__tlacitka .esh-tit-tl {
        flex: 0 0 auto;
    }

    .esh-tit .esh-tit-tip {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .esh-tit .esh-tit-kat {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .esh-tit .esh-tit-kat__dlazdice {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 12px 12px 16px;
    }

    .esh-tit .esh-tit-kat__fotky {
        display: grid;
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        gap: 6px;
        width: auto;
        aspect-ratio: 12 / 5;
    }

    .esh-tit .esh-tit-kat__foto:nth-child(n+2) {
        display: block;
    }

    .esh-tit .esh-tit-kat__text {
        padding: 0 40px 0 4px;
    }

    .esh-tit .esh-tit-kat__dlazdice > .esh-tit-sipka {
        position: absolute;
        right: 18px;
        bottom: 22px;
    }

    .esh-tit .esh-tit-rada__seznam {
        grid-auto-columns: calc((100% - (var(--esh-tit-sloupce) - 1) * var(--esh-tit-mezera)) / var(--esh-tit-sloupce));
    }

    .esh-tit .esh-tit-moto__modely {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .esh-tit .esh-tit-sluzby__seznam {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 900px) {
    .esh.esh-tit {
        --esh-tit-mezera: 18px;
    }

    .esh-tit .esh-tit-hero {
        min-height: clamp(620px, calc(100svh - var(--esh-nav) - 36px), 980px);
        background:
            linear-gradient(90deg, rgba(6, 10, 12, .8) 0%, rgba(6, 10, 12, .52) 42%, rgba(6, 10, 12, .16) 78%, rgba(6, 10, 12, .1) 100%),
            linear-gradient(0deg, rgba(6, 10, 12, .5) 0%, rgba(6, 10, 12, 0) 34%);
    }

    .esh-tit .esh-tit-hero__mrizka {
        padding-top: 56px;
        padding-bottom: 40px;
    }

    .esh-tit .esh-tit-hero__nadpis,
    .esh-tit h1.esh-tit-hero__nadpis {
        font-size: clamp(44px, 4.4vw, 92px);
    }

    .esh-tit .esh-tit-hero__tlacitka {
        gap: 12px;
        margin-top: 34px;
    }

    .esh-tit .esh-tit-duvera__seznam {
        grid-template-columns: none;
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        gap: 24px;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .esh-tit .esh-tit-duvera__polozka {
        align-items: center;
        gap: 14px;
    }

    .esh-tit .esh-tit-duvera__ikona {
        width: 44px;
        height: 44px;
    }

    .esh-tit .esh-tit-duvera__ikona .esh-tit-ikona {
        width: 21px;
        height: 21px;
    }

    .esh-tit .esh-tit-sekce {
        padding-top: calc(64px + 40 * var(--esh-s));
        padding-bottom: calc(64px + 40 * var(--esh-s));
    }

    .esh-tit .esh-tit-h2,
    .esh-tit h2.esh-tit-h2 {
        font-size: clamp(36px, 2.9vw, 60px);
    }

    .esh-tit .esh-tit-hlava {
        margin-bottom: calc(28px + 14 * var(--esh-s));
    }

    .esh-tit .esh-tit-rada__polozka {
        padding: 10px 10px 16px;
    }
}

@media (min-width: 1024px) {
    .esh.esh-tit {
        --esh-tit-sloupce: 4;
    }
}

@media (min-width: 1024px) and (hover: hover) {
    .esh-tit .esh-tit-posuny {
        display: flex;
        gap: 8px;
    }
}

/* Řada s méně kartami, než je sloupců (třída --malo-N = méně než N karet, --esh-tit-pocet = počet):
   nadpis stojí vlevo na místě prázdných sloupců, karty jsou stejně široké jako v ostatních řadách
   (šířka seznamu = počet sloupců řady + mezery), nic se neposouvá. Na celou šířku bez prázdného místa. */
@media (min-width: 1024px) {
    .esh-tit .esh-tit-rada--malo-4 > .esh-tit-obal {
        display: flex;
        align-items: flex-start;
        gap: var(--esh-tit-mezera);
    }

    .esh-tit .esh-tit-rada--malo-4 .esh-tit-hlava {
        flex: 1 1 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        min-width: 0;
        margin: 0;
        padding: 8px 24px 0 0;
    }

    .esh-tit .esh-tit-rada--malo-4 .esh-tit-rada__seznam {
        flex: 0 0 auto;
        grid-auto-columns: minmax(0, 1fr);
        width: calc((100% - (var(--esh-tit-sloupce) - 1) * var(--esh-tit-mezera)) / var(--esh-tit-sloupce) * var(--esh-tit-pocet) + (var(--esh-tit-pocet) - 1) * var(--esh-tit-mezera));
        margin: 0;
        padding: 4px 0 16px;
        overflow: visible;
        scroll-snap-type: none;
    }
}

@media (min-width: 1440px) {
    .esh-tit .esh-tit-rada--malo-5 > .esh-tit-obal {
        display: flex;
        align-items: flex-start;
        gap: var(--esh-tit-mezera);
    }

    .esh-tit .esh-tit-rada--malo-5 .esh-tit-hlava {
        flex: 1 1 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        min-width: 0;
        margin: 0;
        padding: 8px 24px 0 0;
    }

    .esh-tit .esh-tit-rada--malo-5 .esh-tit-rada__seznam {
        flex: 0 0 auto;
        grid-auto-columns: minmax(0, 1fr);
        width: calc((100% - (var(--esh-tit-sloupce) - 1) * var(--esh-tit-mezera)) / var(--esh-tit-sloupce) * var(--esh-tit-pocet) + (var(--esh-tit-pocet) - 1) * var(--esh-tit-mezera));
        margin: 0;
        padding: 4px 0 16px;
        overflow: visible;
        scroll-snap-type: none;
    }
}

@media (min-width: 1800px) {
    .esh-tit .esh-tit-rada--malo-6 > .esh-tit-obal {
        display: flex;
        align-items: flex-start;
        gap: var(--esh-tit-mezera);
    }

    .esh-tit .esh-tit-rada--malo-6 .esh-tit-hlava {
        flex: 1 1 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        min-width: 0;
        margin: 0;
        padding: 8px 24px 0 0;
    }

    .esh-tit .esh-tit-rada--malo-6 .esh-tit-rada__seznam {
        flex: 0 0 auto;
        grid-auto-columns: minmax(0, 1fr);
        width: calc((100% - (var(--esh-tit-sloupce) - 1) * var(--esh-tit-mezera)) / var(--esh-tit-sloupce) * var(--esh-tit-pocet) + (var(--esh-tit-pocet) - 1) * var(--esh-tit-mezera));
        margin: 0;
        padding: 4px 0 16px;
        overflow: visible;
        scroll-snap-type: none;
    }
}

@media (min-width: 1100px) {
    .esh-tit .esh-tit-hero__mrizka {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
        gap: clamp(40px, 5vw, 120px);
    }

    .esh-tit .esh-tit-tip {
        justify-self: end;
        width: 100%;
        max-width: 640px;
        grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
        gap: 14px 22px;
        padding: 18px;
    }

    .esh-tit .esh-tit-tip__info {
        align-self: center;
    }

    .esh-tit .esh-tit-kat {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 18px;
    }

    .esh-tit .esh-tit-moto__mrizka {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: clamp(40px, 5vw, 120px);
    }

    .esh-tit .esh-tit-moto__modely {
        gap: 16px;
    }

    .esh-tit .esh-tit-sluzby__seznam {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1440px) {
    .esh.esh-tit {
        --esh-tit-sloupce: 5;
        --esh-tit-mezera: 22px;
    }
}

@media (min-width: 1800px) {
    .esh.esh-tit {
        --esh-tit-sloupce: 6;
    }

    .esh-tit .esh-tit-tip {
        max-width: 720px;
        padding: 22px;
    }
}

/* Video jen na širších obrazovkách (titulka.js ho na mobilu ani nestahuje) */
@media (max-width: 899px) {
    .esh-tit .esh-tit-pozadi__video,
    .esh-tit .esh-tit-film {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .esh-tit .esh-tit-pozadi__video,
    .esh-tit .esh-tit-film {
        display: none !important;
    }

    .esh-tit *,
    .esh-tit *::before,
    .esh-tit *::after {
        transition: none !important;
    }

    .esh-tit .esh-tit-rada__seznam,
    .esh-tit .esh-tit-moto__modely {
        scroll-behavior: auto;
    }
}

/* Uživatel si nepřeje průhlednost: panely plné, video jen jako tlumený podklad */
@media (prefers-reduced-transparency: reduce) {
    .esh.esh-tit {
        --esh-tit-sklo: #16171a;
        --esh-tit-sklo-silne: #121315;
        --esh-tit-pas: rgba(12, 13, 15, .92);
    }

    .esh-tit .esh-tit-tip,
    .esh-tit .esh-tit-duvera,
    .esh-tit .esh-tit-kat__dlazdice,
    .esh-tit .esh-tit-sluzba {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media print {
    .esh.esh-tit {
        clip-path: none;
        color: #000;
        background: #fff;
    }

    .esh-tit .esh-tit-pozadi,
    .esh-tit .esh-tit-film,
    .esh-tit .esh-tit-posuny,
    .esh-tit .esh-tit-moto__modely {
        display: none !important;
    }

    .esh-tit .esh-tit-hero,
    .esh-tit .esh-tit-sekce,
    .esh-tit .esh-tit-duvera,
    .esh-tit .esh-tit-tip,
    .esh-tit .esh-tit-kat__dlazdice,
    .esh-tit .esh-tit-sluzba {
        color: #000;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .esh-tit .esh-tit-hero__nadpis,
    .esh-tit .esh-tit-h2,
    .esh-tit .esh-tit-nadtitul,
    .esh-tit .esh-tit-tip__nazev a,
    .esh-tit .esh-tit-tip__nova,
    .esh-tit .esh-tit-vse {
        color: #000;
    }

    .esh-tit .esh-tit-rada__seznam {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }
}
