/* Homepage interaction and layering regression fixes. */
body#index #stavim-home-carousel>.container>.d-flex {
    background: transparent !important;
}

body#index #stavim-home-carousel a[href="/content/category/18-okna"],
body#index #stavim-home-carousel a[href="/content/category/19-dvere"],
body#index #stavim-home-carousel a[href="/content/category/21-vrata"],
body#index #stavim-home-carousel a[href="/content/category/20-stineni"] {
    background: rgba(47, 53, 59, .90) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .17) !important;
}

body#index #stavim-home-carousel a[href="/content/category/18-okna"]>span:last-child,
body#index #stavim-home-carousel a[href="/content/category/19-dvere"]>span:last-child,
body#index #stavim-home-carousel a[href="/content/category/21-vrata"]>span:last-child,
body#index #stavim-home-carousel a[href="/content/category/20-stineni"]>span:last-child {
    padding: 20px 0 0 !important;
    border: 0 !important;
}

body#index div.d-none.d-md-block:has(>.oc-main-nav) {
    pointer-events: none !important;
}

body#index #header {
    z-index: 7000 !important;
}

body#index #cbp-hrmenu>ul>.oc-global-nav-item>a:hover,
body#index #cbp-hrmenu>ul>.oc-global-nav-item>a:focus-visible {
    color: #f58220 !important;
    border-bottom-color: #f05a22 !important;
}

body#index #oc-custom-footer a:hover,
body#index #oc-custom-footer a:focus-visible {
    color: #f58220 !important;
}

@media (min-width: 768px) {
    body#index #stavim-home-carousel>.container .d-flex>a,
    body#index #stavim-home-carousel .oc-more-products-trigger,
    body#index #stavim-home-carousel .oc-more-products-buttons>a,
    body#index #stavim-home-carousel>.container>.d-flex.justify-content-between>a[href="/konfigurator"] {
        position: relative;
        transform: translateY(0) !important;
        transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, color .2s ease !important;
    }

    body#index #stavim-home-carousel>.container .d-flex>a:hover,
    body#index #stavim-home-carousel>.container .d-flex>a:focus-visible {
        z-index: 2;
        transform: translateY(-5px) scale(1.018) !important;
        background: rgba(60, 66, 72, .88) !important;
        box-shadow: 0 18px 36px rgba(0, 0, 0, .30) !important;
    }

    body#index #stavim-home-carousel .oc-more-products-trigger:hover,
    body#index #stavim-home-carousel .oc-more-products-trigger:focus-visible,
    body#index #stavim-home-carousel .oc-more-products-buttons>a:hover,
    body#index #stavim-home-carousel .oc-more-products-buttons>a:focus-visible,
    body#index #stavim-home-carousel>.container>.d-flex.justify-content-between>a[href="/konfigurator"]:hover,
    body#index #stavim-home-carousel>.container>.d-flex.justify-content-between>a[href="/konfigurator"]:focus-visible {
        z-index: 2;
        transform: translateY(-4px) scale(1.018) !important;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .30) !important;
    }

    body#index #stavim-home-carousel>.container>.d-flex.justify-content-between>a[href="/konfigurator"] {
        align-self: center;
        height: 39px !important;
        min-height: 39px !important;
        padding: 9px 22px !important;
        color: #f58220 !important;
        background: rgba(52, 58, 64, .84) !important;
    }

    body#index #stavim-home-carousel>.container>.d-flex.justify-content-between>a[href="/konfigurator"]:hover,
    body#index #stavim-home-carousel>.container>.d-flex.justify-content-between>a[href="/konfigurator"]:focus-visible {
        color: #fff !important;
        background: #f58220 !important;
    }
}

@media (hover: none) {
    body#index #stavim-home-carousel>.container .d-flex>a:hover,
    body#index #stavim-home-carousel .oc-more-products-trigger:hover,
    body#index #stavim-home-carousel .oc-more-products-buttons>a:hover,
    body#index #stavim-home-carousel>.container>.d-flex.justify-content-between>a[href="/konfigurator"]:hover {
        transform: none !important;
    }
}

@media (max-width: 991.98px) {
    body#index #oc-static-mobile-trigger-v6 {
        z-index: 7200 !important;
    }

    body#index #oc-static-mobile-menu-v6 {
        z-index: 7210 !important;
    }
}
