/* fotokino-header-redesign: shared responsive layout from the supplied menu reference. */
header.fotokino-header-redesign,
header.fotokino-header-redesign #menu,
header.fotokino-header-redesign #menu > .navbar-collapse,
header.fotokino-header-redesign #menu > .showonmobileheader {
    background: #080a0a;
}

.fotokino-header-redesign .fotokino-logo-main {
    font-family: FotokinoMenuBold, Montserrat, sans-serif;
    font-weight: 700;
}

.fotokino-header-redesign .fotokino-lang-code { display: none; }
header.fotokino-header-redesign #menu li.fotokino-lang-switcher::before { display: none; content: none; }

/* fotokino-service-icons: responsive dimensions change without an intermediate overlap. */
.hlavne-kategorie:is(.tlac-page-kategorie, .atelier-page-kategorie, .prepis-page-kategorie) a.list-group-item .zoom-image img { transition: filter .5s ease, transform .5s ease; }

@media (width > 1200px) {
    header.fotokino-header-redesign #menu > :is(.showonmobileheader, .navbar-header) { display: none !important; }

    header.fotokino-header-redesign #menu > .navbar-collapse { display: block !important; }
    header.fotokino-header-redesign #menu {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    header.fotokino-header-redesign { height: 65px; }

    header.fotokino-header-redesign #menu > .navbar-collapse { margin: 0; padding: 0; }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav {
        --fotokino-header-control: clamp(44px, 3.86vw, 64px);
        --fotokino-header-language: clamp(94px, 7.66vw, 127px);
        --fotokino-header-gap: clamp(12px, 3vw, 50px);
        display: grid;
        grid-template-columns: max-content max-content repeat(4, minmax(0, var(--fotokino-header-gap)) max-content) minmax(0, 1fr) repeat(4, var(--fotokino-header-control)) var(--fotokino-header-language);
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        float: none;
        width: 100%;
        min-width: 0;
        max-width: 1920px;
        height: 65px;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 0 clamp(24px, 2.8vw, 56px) 0 clamp(24px, 4.8vw, 96px);
        gap: 0;
    }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        height: 65px;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.header-nadpis-logo {
        width: auto;
        min-width: 0;
        max-width: none;
        margin-right: clamp(16px, 5.1vw, 85px);
    }

    header.fotokino-header-redesign #menu .header-nadpis-logo::after { content: none; }

    header.fotokino-header-redesign #menu > .navbar-collapse .header-nadpis-logo > a {
        display: flex;
        align-items: center;
        height: 65px;
        padding: 0 !important;
        line-height: 1 !important;
        white-space: nowrap;
        gap: clamp(12px, 1.2vw, 20px);
    }

    header.fotokino-header-redesign #menu > .navbar-collapse .fotokino-logo-main { font-size: clamp(24px, 1.94vw, 32px); }
    header.fotokino-header-redesign #menu > .navbar-collapse .fotokino-logo-sub { margin: 0; font-size: clamp(18px, 1.45vw, 24px); font-weight: 400; }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item:not(.hideonmobileheader):not(.header-nadpis-logo) {
        justify-self: start;
    }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li:nth-child(2) { grid-column: 2; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li:nth-child(3) { grid-column: 4; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li:nth-child(4) { grid-column: 6; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li:nth-child(5) { grid-column: 8; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li:nth-child(6) { grid-column: 10; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.vyhladavac { grid-column: 12; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.oblibene-produkty { grid-column: 13; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.prihlaseniemenu { grid-column: 14; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.nakupny-kosik { grid-column: 15; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.fotokino-lang-switcher { grid-column: 16; }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item:not(.hideonmobileheader):not(.header-nadpis-logo) > :is(a, .js-eshop-menu-trigger) {
        display: flex;
        align-items: center;
        height: 65px;
        padding: 0 4px;
        font-size: clamp(14px, 1.1vw, 18px);
        font-weight: 400;
        color: #f4f4f4 !important;
        white-space: nowrap;
    }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item.active > :is(a, .js-eshop-menu-trigger) {
        font-family: FotokinoMenuBold, Montserrat, sans-serif;
        font-weight: 700;
    }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > :is(.vyhladavac, .oblibene-produkty, .prihlaseniemenu, .nakupny-kosik) {
        flex: 0 0 clamp(44px, 3.86vw, 64px);
        width: clamp(44px, 3.86vw, 64px);
        min-width: 0;
    }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.vyhladavac { margin-left: auto; }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.vyhladavac::before {
        content: "";
        position: absolute;
        top: calc(50% - 15px);
        width: 1px;
        height: 30px;
        background: rgb(255 255 255 / 26%);
        pointer-events: none;
    }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.vyhladavac::before { left: calc(-1 * clamp(14px, 1.69vw, 28px)); }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.vyhladavac > img {
        display: block;
        width: 24.7px;
        height: 24.7px !important;
        content: url('/image/fotokino-header-search-slim.svg?v=1');
        max-width: none;
        transform: none;
    }

    header.fotokino-header-redesign #menu > .navbar-collapse .common-oblibene { display: flex; align-items: center; justify-content: center; width: 100%; height: 65px; padding: 0; }
    header.fotokino-header-redesign #menu > .navbar-collapse .fotokino-header-wishlist-icon { width: 32.3px; height: 32.3px; }
    header.fotokino-header-redesign #menu > .navbar-collapse .fotokino-header-wishlist-icon path { stroke-width: 1.691667px; vector-effect: non-scaling-stroke; }
    header.fotokino-header-redesign #menu > .navbar-collapse li.prihlaseniemenu > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 65px; padding: 0; }
    header.fotokino-header-redesign #menu > .navbar-collapse .loginicon { width: 34.2px !important; height: 34.2px !important; margin: 0; background: transparent url('/image/fotokino-header-account-slim.svg?v=1') center/contain no-repeat; transform: none !important; zoom: 1; }
    header.fotokino-header-redesign #menu > .navbar-collapse .common-kosik { display: flex; align-items: center; justify-content: center; width: 100%; height: 65px; padding: 0; transform: none; }
    header.fotokino-header-redesign #menu > .navbar-collapse .common-kosik > img { opacity: 0; }
    header.fotokino-header-redesign #menu > .navbar-collapse .common-kosik::before { content: ""; position: absolute; top: 50%; left: 50%; width: 32.3px; height: 26.6px; background: url('/image/fotokino-header-cart-slim.svg?v=2') center/contain no-repeat; opacity: 1; transform: translate(-50%, -50%); pointer-events: none; }
    header.fotokino-header-redesign #menu > .navbar-collapse .common-kosik #cart-total { top: 10px; right: 4px; z-index: 2; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 999px; background: #b33e3f; color: #fff; font-size: 13px; font-weight: 600; line-height: 22px; transform: none; }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.fotokino-lang-switcher {
        flex: 0 0 clamp(94px, 7.66vw, 127px);
        width: clamp(94px, 7.66vw, 127px);
        min-width: 0;
        padding-left: clamp(18px, 1.7vw, 28px);
    }

    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.fotokino-lang-switcher .fotokino-lang-dropdown { width: 100%; height: auto; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.fotokino-lang-switcher .fotokino-lang-toggle { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 38px; padding: 0 8px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 999px; background: transparent; color: #f4f4f4; gap: 8px; transform: none; }
    header.fotokino-header-redesign #menu > .navbar-collapse .fotokino-lang-toggle img { width: clamp(20px, 1.45vw, 24px) !important; height: clamp(20px, 1.45vw, 24px) !important; }
    header.fotokino-header-redesign #menu > .navbar-collapse .fotokino-lang-code { display: inline; font-family: FotokinoMenuBold, Montserrat, sans-serif; font-size: clamp(12px, .97vw, 16px); font-weight: 700; line-height: 1; }
}

/* fotokino-header-compact: the same branding, icons and language control at every width. */
@media (width <= 1200px) {
    header.fotokino-header-redesign { --fotokino-control-height: 65px; height: 65px; }
    header.fotokino-header-redesign ~ .behind-header { height: 65px; }

    header.fotokino-header-redesign #menu { position: relative; width: 100%; max-width: none; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; }
    header.fotokino-header-redesign #menu > .showonmobileheader { display: block !important; position: static; width: 100%; height: 100%; margin: 0; padding: 0; }

    header.fotokino-header-redesign #menu > .showonmobileheader > .navbar-nav {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) repeat(4, 44px) 90px;
        align-items: center;
        gap: 8px;
        float: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0 16px 0 60px;
        overflow: visible;
    }

    header.fotokino-header-redesign #menu > .showonmobileheader > .navbar-nav::before,
    header.fotokino-header-redesign #menu > .showonmobileheader > .navbar-nav::after { display: none; content: none; }

    header.fotokino-header-redesign #menu > .showonmobileheader > .navbar-nav > li.menu-item {
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        float: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: var(--fotokino-control-height);
        margin: 0;
        padding: 0;
        border: 0;
        box-sizing: border-box;
        transform: none;
        transition: none;
        overflow: visible;
    }

    header.fotokino-header-redesign #menu > .showonmobileheader > .navbar-nav > li.header-nadpis-logo { justify-content: flex-start; }
    header.fotokino-header-redesign #menu .header-nadpis-logo::after { display: none; content: none; }
    header.fotokino-header-redesign #menu .showonmobileheader .header-nadpis-logo > a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        min-width: 0;
        max-width: 100%;
        height: 100%;
        margin: 0;
        padding: 0 !important;
        gap: 12px;
        line-height: 1 !important;
        white-space: nowrap;
        text-transform: uppercase;
        transform: none !important;
        overflow: visible;
    }

    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-logo-main { display: block; width: auto; font-size: 24px !important; line-height: 1 !important; }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-logo-sub { display: block; width: auto; margin: 0; font-size: 18px !important; font-weight: 400; line-height: 1 !important; }

    header.fotokino-header-redesign #menu .showonmobileheader .header-nadpis-logo > a > :is(.fotokino-logo-main, .fotokino-logo-sub) { width: auto; }

    header.fotokino-header-redesign #menu > .navbar-header { display: block !important; position: absolute; top: 0; left: 8px; width: 44px; height: 65px; margin: 0; padding: 0; background: transparent; }
    header.fotokino-header-redesign #menu > .navbar-header #category { display: none; }
    header.fotokino-header-redesign #menu .navbar-toggle { display: block !important; position: relative; float: none; width: 44px; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; -webkit-appearance: none; appearance: none; background: #080a0a; box-shadow: none; }
    header.fotokino-header-redesign #menu .navbar-toggle .icon-bar { position: absolute; left: 11px; width: 22px; height: 1.5px; margin: 0; border-radius: 0; background: #f4f4f4; transform: none; opacity: 1; }
    header.fotokino-header-redesign #menu .navbar-toggle .top-bar { top: calc(50% - 7px); }
    header.fotokino-header-redesign #menu .navbar-toggle .middle-bar { top: calc(50% - .75px); }
    header.fotokino-header-redesign #menu .navbar-toggle .bottom-bar { top: calc(50% + 5.5px); }
    header.fotokino-header-redesign #menu .navbar-toggle.openedmenunew { background: #b33e3f; }
    header.fotokino-header-redesign #menu .navbar-toggle.openedmenunew .top-bar { top: calc(50% - .75px); transform: rotate(45deg); }
    header.fotokino-header-redesign #menu .navbar-toggle.openedmenunew .middle-bar { opacity: 0; }
    header.fotokino-header-redesign #menu .navbar-toggle.openedmenunew .bottom-bar { top: calc(50% - .75px); transform: rotate(-45deg); }

    header.fotokino-header-redesign #menu .showonmobileheader li.vyhladavac > img { display: block; position: static; width: 24.7px; height: 24.7px !important; max-width: none; margin: 0; content: url('/image/fotokino-header-search-slim.svg?v=1'); transform: none !important; }
    header.fotokino-header-redesign #menu .showonmobileheader .common-oblibene,
    header.fotokino-header-redesign #menu .showonmobileheader .common-kosik,
    header.fotokino-header-redesign #menu .showonmobileheader li.prihlaseniemenu > a { display: flex; position: relative; align-items: center; justify-content: center; width: 100%; min-width: 0; height: var(--fotokino-control-height); margin: 0; padding: 0; border: 0; background: transparent; transform: none; }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-header-wishlist-icon { display: block; width: 32.3px; height: 32.3px; }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-header-wishlist-icon path { stroke-width: 1.691667px; vector-effect: non-scaling-stroke; }
    header.fotokino-header-redesign #menu .showonmobileheader .loginicon { display: block; width: 34.2px !important; height: 34.2px !important; margin: 0; background: transparent url('/image/fotokino-header-account-slim.svg?v=1') center/contain no-repeat; transform: none !important; zoom: 1; }
    header.fotokino-header-redesign #menu .showonmobileheader .common-kosik > img { opacity: 0; }
    header.fotokino-header-redesign #menu .showonmobileheader .common-kosik::before { content: ""; position: absolute; top: 50%; left: 50%; width: 32.3px; height: 26.6px; background: url('/image/fotokino-header-cart-slim.svg?v=2') center/contain no-repeat; opacity: 1; transform: translate(-50%, -50%); pointer-events: none; }
    header.fotokino-header-redesign #menu .showonmobileheader .common-kosik #cart-total { top: calc(50% - 22.5px); right: 0; z-index: 2; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 999px; background: #b33e3f; color: #fff; font-size: 13px; font-weight: 600; line-height: 22px; transform: none; }

    header.fotokino-header-redesign #menu .showonmobileheader li.fotokino-lang-switcher .fotokino-lang-dropdown { width: 100%; height: auto; }
    header.fotokino-header-redesign #menu .showonmobileheader li.fotokino-lang-switcher .fotokino-lang-toggle { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 38px; padding: 0 8px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 999px; background: transparent; color: #f4f4f4; gap: 7px; transform: none; }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-lang-toggle img { width: 22px !important; height: 22px !important; border-radius: 50%; object-fit: cover; }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-lang-code { display: inline; font-family: FotokinoMenuBold, Montserrat, sans-serif; font-size: 14px; font-weight: 700; line-height: 1; }
    header.fotokino-header-redesign #menu .showonmobileheader li.vyhladavac::before { content: ""; position: absolute; left: -4px; top: calc(50% - 15px); width: 1px; height: 30px; background: rgb(255 255 255 / 26%); pointer-events: none; }

    body header.fotokino-header-redesign #menu > .navbar-collapse:not(.in) { display: none !important; }
    body header.fotokino-header-redesign #menu > .navbar-collapse.in { display: block !important; position: fixed; top: calc(var(--fotokino-smartbar-offset, 0px) + var(--fotokino-header-offset, 0px) + var(--fotokino-header-height, 65px)); left: 0; right: 0; width: 100%; max-width: none; max-height: calc(100dvh - var(--fotokino-smartbar-offset, 0px) - var(--fotokino-header-offset, 0px) - var(--fotokino-header-height, 65px)); margin: 0; padding: 12px 0; border: 0; background: #080a0a !important; box-shadow: 0 8px 24px rgb(0 0 0 / 15%); overflow-x: hidden !important; overflow-y: auto !important; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav { display: flex; flex-direction: column; align-items: stretch; float: none; width: 100%; min-width: 0; max-width: 600px; height: auto; margin: 0 auto; padding: 0 24px; gap: 0; box-sizing: border-box; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > .hideonmobileheader { display: none !important; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item:not(.hideonmobileheader) { display: flex; position: relative; align-items: center; justify-content: center; width: 100%; height: 52px; margin: 0; padding: 0; border: 0; background: transparent; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item::after { display: none; content: none; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item:not(.hideonmobileheader):not(.header-nadpis-logo) > :is(a, .js-eshop-menu-trigger) { display: inline-flex; position: relative; align-items: center; justify-content: center; width: auto; height: 52px; margin: 0; padding: 0 12px; font-size: 18px; font-weight: 400; color: #f4f4f4 !important; line-height: 1.2; text-decoration: none; white-space: nowrap; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item.active:not(.hideonmobileheader):not(.header-nadpis-logo) > :is(a, .js-eshop-menu-trigger) { font-family: FotokinoMenuBold, Montserrat, sans-serif; font-weight: 700; text-decoration: none; }
    header.fotokino-header-redesign #menu > .navbar-collapse > .navbar-nav > li.menu-item.active:not(.hideonmobileheader):not(.header-nadpis-logo) > :is(a, .js-eshop-menu-trigger)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: #b53d3c; }
}

@media (560px < width <= 720px) {
    header.fotokino-header-redesign #menu .showonmobileheader .header-nadpis-logo > a { flex-wrap: wrap; align-content: center; align-items: center; justify-content: flex-start; gap: 2px 12px; }
}

@media (width <= 560px) {
    header.fotokino-header-redesign { --fotokino-control-height: 58px; height: 108px; }
    header.fotokino-header-redesign ~ .behind-header { height: 108px; }
    header.fotokino-header-redesign #menu > .showonmobileheader > .navbar-nav { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(76px, 1.5fr); grid-template-rows: 50px 58px; gap: 0 4px; padding: 0 8px; }
    header.fotokino-header-redesign #menu > .showonmobileheader > .navbar-nav > li.menu-item:not(.header-nadpis-logo) { top: -5px; }
    header.fotokino-header-redesign #menu > .showonmobileheader > .navbar-nav > li.header-nadpis-logo { grid-column: 1 / -1; grid-row: 1; justify-content: center; height: 50px; padding: 0 44px; container-type: inline-size; }
    header.fotokino-header-redesign #menu .showonmobileheader .header-nadpis-logo > a { flex-direction: row; align-items: center; justify-content: center; gap: clamp(8px, 3cqi, 12px); }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-logo-main { font-size: min(23px, 9.4cqi) !important; }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-logo-sub { font-size: min(17px, 6.95cqi) !important; }
    header.fotokino-header-redesign #menu > .navbar-header { height: 50px; }
    header.fotokino-header-redesign #menu .showonmobileheader li.vyhladavac::before { display: none; content: none; }
    header.fotokino-header-redesign #menu .showonmobileheader li.fotokino-lang-switcher .fotokino-lang-toggle { width: 72px; max-width: 100%; margin-inline: auto; gap: 5px; padding: 0 6px; }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-lang-toggle img { width: 20px !important; height: 20px !important; }
    header.fotokino-header-redesign #menu .showonmobileheader .fotokino-lang-code { font-size: 12px; }
}
