/*OBECNÉ*/
body:not(.document-ready) .extended-description {
    overflow: hidden;
}

.myvideo-overlay {
    z-index: 9999;
    background: rgba(0, 0, 0, .7);
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100dvh; /* use dynamic viewport to avoid being under browser UI */
    display: flex;
    align-items: center;
    justify-content: center;
}

.myvideo-overlay__inner {
    width: calc(100vw - 32px);
    height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    position: relative;
    z-index: 3;
}

.myvideo-overlay__inner video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.try-close {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.video-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-close__inner {
    mask-image: url("/user/documents/upload/kodovani/close.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("/user/documents/upload/kodovani/close.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    background-color: #000;
    width: 20px;
    height: 20px;
}

/* Video background in thumbnail */
.thumbnail-video {
    position: relative;
    overflow: hidden;
}

.thumbnail-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.thumbnail-video:hover .thumbnail-video-bg {
    opacity: 1;
}

.thumbnail-video:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.3);
    border: 1px solid #dadada;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.thumbnail-video:hover:before {
    opacity: 0;
}

.thumbnail-video:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 26, 41, 0.6);
    mask-image: url("/user/documents/upload/kodovani/play1.svg");
    mask-size: 30px;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("/user/documents/upload/kodovani/play1.svg");
    -webkit-mask-size: 35px;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.thumbnail-video:hover:after {
    opacity: 0;
}


/*HEADER*/

/* Sticky header */
body:not(.ordering-process) #header{position:-webkit-sticky;position:sticky;top:0;z-index:99;}

/* Header info bar */
:root{--header-info-bar-BG:#073351;--header-info-bar-BG-hover:#073351;--header-info-bar-text-color:#fff;--header-info-bar-icon-color:var(--header-info-bar-text-color);--header-info-bar-btn-BG:#fff;--header-info-bar-btn-BG-hover:#fff;--header-info-bar-btn-text-color:#000;--header-info-bar-btn-text-color-hover:#000;}


/* Hlavní styly z hlavičky */
.sidebar .categories{margin-left:0;margin-right:0;}
.faq-sekce > div .faq-inner p:nth-last-child(1){margin-bottom:0;}
.faq-sekce > div .faq-inner:not(.open-it) ul,.faq-sekce > div .faq-inner:not(.open-it) img,.faq-sekce > div .faq-inner:not(.open-it) table{display:none;}
.underkosik a.watchdog::after{content:"Hlídat"}
#dklabFavContainer a.btn,.productVisible a.btn{border-color:#28bf65!important;background-color:#28bf65!important;}
.p:hover .btn-primary{border-color:#20ae30!important;color:#fff;background-color:#20ae30!important;}
.p-info-wrapper .dkLabFavouriteControls strong.heart:before{color:#e68789;top:4px;margin-right:0;}
#oblibeneBtn{display:inline!important;}
.filter-section.filter-section-boolean{padding:0;display:none;}
.kosik{flex-wrap:wrap;}
.type-detail .p-info-wrapper .dkLabFavDiv span{padding-left:0;position:relative;top:2px;}
.type-detail .p-info-wrapper .dkLabFavDiv{position:relative;width:100%;margin-bottom:32px;}
.type-detail .p-info-wrapper .dkLabFavouriteControls strong{width:39px;left:0;margin:0;text-align:center;height:39px;line-height:1;border-radius:50%;background-color:#fff;padding:7px 5px;position:absolute;top:-7px!important;border:2px solid #fff;box-shadow:1px 1px 4px rgb(0 0 0/15%);cursor:pointer;}
.flag-dklabFav{display:none!important;}
.savings{font-size:13px;}
#dklabFavContainer a.btn,.productVisible a.btn,.p:hover .btn-primary{border-color:#e68789;background-color:#e68789;color:#fff!important;text-decoration:none!important;}
#dklabFavContainer a.btn:hover,.productVisible a.btn:hover{border-color:#e68789;background-color:#e68789;}
.template-11.in-kosik #dklabFavContainer{margin-top:10px!important;}
.plugin-fixed-header__price{color:#000;}
.plugin-fixed-header__availability{color:#009901;}
.plugin-fixed-header__name{font-size:22px;font-weight:500;color:#000;}
.product .dkLabFavouriteDiv.dklabFavStyl2:hover{border:2px solid #e68789;}
.product .dkLabFavouriteDiv.dklabFavStyl2 .dkLabFavouriteControls svg{stroke:#e68789!important;stroke-width:2px!important;}
.product .dkLabFavouriteDiv{width:39px;height:39px;line-height:1;border-radius:50%;background-color:#fff;padding:7px 5px;position:absolute;right:-20px!important;top:-20px!important;border:2px solid #fff;box-shadow:1px 1px 4px rgb(0 0 0/15%);cursor:pointer;}
.bannery a{text-decoration:underline;font-weight:600;line-height:1;}
.bannery a:hover{text-decoration:none;}
.product .flags-extra{top:36px;}
.products-related-header:not(.products-related-header.souvysprod){display:none!important;}
.ordering-process .contact-box ul{padding-left:100px;}
div.extras-wrapper.mj{margin-top:10px;padding-top:20px;border-top:1px dashed #b2b2b2;}
div.extras-wrapper.mj .extra.delivery::before{content:''}

/* Košík a objednávka */
.cust-advanced-order-extra{display:none;}
.havecupon.cart-table tr.removeable>td{padding:3px 5px!important;}
.havecupon tr.pkCartHeader>td{padding:3px 5px!important;}
.havecupon tr.pkCartHeader>td:nth-child(6){flex-basis:155px;text-align:right;}
.havecupon tr.pkCartHeader>td:nth-child(5){flex-basis:49px;}
.havecupon tr.pkCartHeader>td:nth-child(4){flex-basis:95px;}
.havecupon tr.pkCartHeader>td:nth-child(3){flex-basis:115px;}
.havecupon tr.pkCartHeader>td:nth-child(2){flex-basis:120px;}

/* Cookies lišta */
.siteCookies__form,.siteCookies--bottom.siteCookies--scrolled{background-color:#ebe3e0;}
.siteCookies__text,.siteCookies__text a{color:#073350;}

/* LB rec štítky */
.flag[style="background-color: rgb(255, 255, 255);"]{display:none;}

/* Prevence CLS - obrázky bez width/height atributů */
.p.swap-images .image img{aspect-ratio:423/318;width:100%;height:auto;}
.dklabBanplusBox img{aspect-ratio:1/1;width:100%;height:auto;}
.instagram-widget img{aspect-ratio:1/1;width:100%;height:auto;}


@media (min-width: 992px) {

}


/*RESPO*/

@media (max-width: 1600px) and (min-width: 1440px) {

}

@media (max-width: 1600px) and (min-width: 992px) {

}

@media (max-width: 1600px) {

}

@media (max-width: 1439px) and (min-width: 1200px) {

}

@media (max-width: 1439px) {
    .havecupon tr.pkCartHeader>td:nth-child(6){flex-basis:130px;}
    .havecupon tr.pkCartHeader>td:nth-child(5){flex-basis:50px;}
    .havecupon tr.pkCartHeader>td:nth-child(4){flex-basis:95px;}
    .havecupon tr.pkCartHeader>td:nth-child(3){flex-basis:93px;}
}

@media (max-width: 1199px) and (min-width: 992px) {

}

@media (max-width: 1199px) {
    .havecupon tr.pkCartHeader>td:nth-child(6){flex-basis:132px;}
}

@media (max-width: 991px) {
    .havecupon tr.pkCartHeader>td:nth-child(6){flex-basis:123px;}
}

@media (min-width: 768px) {
    .in-kosik #cart-wrapper .back-shopping-link{display:none;}
    .navigation-in>ul>li.ext.exp>ul{top:40px;}
    .popup-widget.cart-widget{display:block;position:fixed;top:60px;z-index:100;}
    .popup-widget.cart-widget::before{display:none;}
    .popup-widget.login-widget{z-index:100;}
    .top-navigation-bar-menu-helper{z-index:100;padding:10px;}
    .top-navigation-bar-menu-helper li a::before{display:none;}
}

@media (min-width: 767px) {
    #category-filter-hover{display:unset!important;}
    .filter-section.filter-section-button{display:none!important;}
}

@media (max-width: 767px) {
    .myvideo-overlay {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .myvideo-overlay__inner {
        width: calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));
        height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }

    /* Place close button in safe top-right and keep it always visible */
    .video-close {
        position: fixed;
        top: calc(env(safe-area-inset-top) + 8px);
        right: calc(env(safe-area-inset-right) + 8px);
        z-index: 10000;
        width: 36px;
        height: 36px;
        border-radius: 18px;
        box-shadow: 0 2px 8px rgba(0,0,0,.2);
    }

    .video-close {
        width: 30px;
        height: 30px;
    }
    .video-close__inner {
        width: 15px;
        height: 15px;
    }

    body:not(.ordering-process) #header{padding-bottom:16px;border-bottom:1px solid #eee;}
}

@media (max-width: 499px) {
}
