span.choose-point-of-personal-collection a {
    font-size: 18px !important;
}

.extended-banner-texts {
    display: none !important;
}

/* zmenšení prostoru pro logo */
@media screen and (min-width: 1440px){
    .header-top > div {
        flex: 0 1 20% !important;
    }

    .header-top > div.search {
        flex: 0 1 60% !important;
    }
}

/* bílý text odkazů v patičce */
#footer .banner-wrapper a {
	color: white !important;
}

#header .site-name a img {max-height: 100px;}

.filter-section-parametric-id-25 fieldset {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
}

@media screen and (min-width: 768px) {
#header::after{background-color: #394d64;} /* BARVA POZADÍ MENU */
.navigation-in {background-color: transparent;}
.navigation-in > ul > li > a, .submenu-arrow::after {color: #fff;} /* BARVA TEXTU V MENU */
.menu-helper::after {color: #fff;} /* BARVA HAMBURGERU */
}

/* PŘIDÁNÍ E-MAILOVÉ ADRESY DO HLAVIČKY WEBU */

@media screen and (min-width: 1200px){
.top-navigation-bar .project-email {display: inline-block;font-size: 16px;font-weight: bold;margin-left: 24px;color: var(--color-primary);}
a.project-email::before {content: '\e910';font-size: 16px;}
}
@media screen and (min-width: 360px) and (max-width: 767px){
.top-navigation-contacts{display: block !important;}
.top-navigation-contacts .project-phone{display: none !important;}
.top-navigation-contacts .project-email{display: block !important;position: absolute;right: 164px;top: 15px;color: #A3A3AF;}
a.project-email::before {content: '\e910';}
.top-navigation-contacts .project-email span{display: none;}
}

/* Skrýt partnerské značky na malých zařízeních */
@media (max-width: 991.98px) {
    .prodejci-desktop {
        display: none !important;
    }
}

/* Mapa v patičce 2x širší */
.custom-footer__banner10 {
	width: 40% !important;
}

/* velká písmena v menu */
.menu-level-1>li>a{
	text-transform: uppercase !important;
}

/* obarvení patičky */
#footer {
	background-color: #2d3f54;
  color: white !important;
}

#footer h4 {
	color: white !important;
}

.custom-footer__newsletter {
	background-color: #394d64 !important;
}


/* CSS pro skrývání vysokého počtu podkategorií */
.subcategories.with-image.subcategories-preview > li.is-hidden {
    display: none;
}

.subcategories-toggle-wrap {
    margin-top: 20px;
    text-align: center;
}

.subcategories-toggle {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #d9d9d9;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
}

.subcategories-toggle:hover {
    text-decoration: none;
    opacity: .9;
}

/* Outlet */
.menu-item-4972 {
	background-color: #d90d1a !important;
  color: white;
}

/* hezké pop-up okno s dostupností skladem */
.custom-stock-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.custom-stock-popup-box {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 9999;

    width: 340px;
    max-width: 90vw;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);

    padding: 16px 18px;
    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.custom-stock-wrapper.is-open .custom-stock-popup-box {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.custom-stock-popup-box:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -8px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #e7e7e7;
    border-top: 1px solid #e7e7e7;
    transform: rotate(45deg);
}

.custom-stock-popup-head,
.custom-stock-popup-row {
    display: grid;
    grid-template-columns: 1fr 95px;
    gap: 14px;
    align-items: center;
}

.custom-stock-popup-head {
    font-size: 14px;
    font-weight: 700;
    color: #555;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ececec;
}

.custom-stock-popup-row {
    font-size: 15px;
    line-height: 1.45;
    padding: 8px 0;
    border-bottom: 1px solid #f3f3f3;
}

.custom-stock-popup-row:last-child {
    border-bottom: 0;
}

.custom-stock-popup-store {
    display: block;
    color: #333;
    text-align: left;
}

.custom-stock-popup-qty {
    display: block;
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
}

.custom-stock-popup-row.is-in-stock .custom-stock-popup-qty {
    color: #009901;
}

.custom-stock-popup-row.is-empty .custom-stock-popup-qty {
    color: #a5a5a5;
}

@media (max-width: 767px) {
    .custom-stock-popup-box {
        left: 0;
        right: auto;
        transform: none;
        width: 300px;
    }

    .custom-stock-wrapper.is-open .custom-stock-popup-box {
        transform: none;
    }

    .custom-stock-popup-box:before {
        left: 24px;
        margin-left: 0;
    }
}

/* samotné okno */
#cboxContent,
#cboxLoadedContent {
    height: auto !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}

/* případně lehce rozšířit okno */
#cboxContent {
    max-width: 920px;
}

#cboxLoadedContent {
    width: 100% !important;
    box-sizing: border-box;
    padding: 0;
}

.content-modal {
    padding: 24px;
}

#personal-collection-wrapper.branch-wrap h2 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
}

/* skrytí zbytečností */
#personal-collection-wrapper .personal-collection-point .em,
#personal-collection-wrapper .line {
    display: none !important;
}

/* každá pobočka do jednoho řádku */
#personal-collection-wrapper .personal-collection-point {
    display: grid;
    grid-template-columns: 180px 1fr 220px;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}

/* město */
#personal-collection-wrapper .personal-collection-point h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

/* adresa */
#personal-collection-wrapper .personal-collection-point > p {
    margin: 0;
    line-height: 1.45;
}

/* tlačítko obalit doprava */
#personal-collection-wrapper .personal-collection-point > p:last-child {
    text-align: right;
}

/* tlačítko zachovat velké */
#personal-collection-wrapper .personal-collection-point .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 46px;
    padding: 10px 18px;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 4px;
}

/* poslední položka bez spodní linky */
#personal-collection-wrapper .personal-collection-point:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* mobil / užší okna */
@media (max-width: 768px) {
    #cboxContent,
    #cboxLoadedContent {
        max-height: 85vh !important;
    }

    .content-modal {
        padding: 16px;
    }

    #personal-collection-wrapper .personal-collection-point {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
    }

    #personal-collection-wrapper .personal-collection-point > p:last-child {
        text-align: left;
    }

    #personal-collection-wrapper .personal-collection-point .btn {
        width: 100%;
        min-width: 0;
    }
}

/* Zobrazení dostupnosti produktu, bez toho to u některých produktů zlobí */
.p-detail .availability-amount .custom-stock-wrapper,
.p-detail .availability-amount .custom-stock-trigger {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.p-detail .availability-amount.tooltip-yes {
    font-size: 16px !important;
    line-height: 30px !important;
    vertical-align: middle !important;
}

/* podtržení odkazu na stav zásob v detailu produktu */
.custom-stock-link {
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* Skrytí dopravy zdarma, přes JS to zobrazím, když je košík přes 5K */
.extras-wrap .extra.delivery {
    display: none;
}

/* Skrytí značek z hlavního menu */
#nav-manufacturers {
    display: none;
}

/* Back to top tlačítko */
html {
    scroll-behavior: smooth;
}

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(16, 118, 183, 0.3);
    border: 1px solid #1076b7;
    border-radius: 6px;

    opacity: 0;
    visibility: hidden;
    transform: translateX(80px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.to-top img {
    width: 28px;
    height: 28px;
    display: block;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.to-top:hover {
    background-color: rgba(16, 118, 183, 0.6);
    border-color: #0b5d91;
}

/* Oprava zobrazení podkategorií na mobilu do dvou sloupců */
@media screen and (max-width: 479px) {
    .subcategories li {
        width: 50% !important;
    }
}

/* pouze OBKLADY A DLAŽBY – skrytí 3. úrovně */
.navigation-in .menu-level-1 > li.menu-item-707 .menu-level-2 .menu-level-3 {
    display: none !important;
}

/* pouze OBKLADY A DLAŽBY – skrytí šipek u položek 2. úrovně */
.navigation-in .menu-level-1 > li.menu-item-707 .menu-level-2 > li.has-third-level .submenu-arrow {
    display: none !important;
}

/* pouze OBKLADY A DLAŽBY – vertikální zarovnání textu */
.navigation-in .menu-level-1 > li.menu-item-707 .menu-level-2 > li.has-third-level > div {
    display: flex !important;
    align-items: center !important;
}

/* text zůstane vlevo */
.navigation-in .menu-level-1 > li.menu-item-707 .menu-level-2 > li.has-third-level > div > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    height: 100%;
}