#header:has(.video-background) {
    position: relative !important;
    min-height: 480px;
}

main:has(.video-background)>section#wrapper {
    margin-top: 0;
}

.header-nav:has(.video-background) img.logo,
#header:hover .header-nav:has(.video-background) img.logo.img-fluid,
.header-nav:has(.video-background) #leo_block_top>a>svg,
.header-nav:has(.video-background) #_desktop_cart svg {
    filter: brightness(0) invert(1) !important;
}

.header-nav:has(.video-background) .ets_mm_megamenu:not(.scroll_heading) {
    background-color: transparent;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background video,
.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
    text-align: center;
}

.category-text .category-title {
    font-size: 48px;
    font-weight: 600;
}

.category-text .category-subtitle {
    font-size: 32px;
    font-weight: 600;
}

.header-nav:has(.video-background) .currency-selector>a>span:not(.hidden),
.header-nav:has(.video-background) .language-selector-wrapper>a>span:not(.hidden),
.header-nav:has(.video-background) .fa-angle-down:before,
.header-nav:has(.video-background) #_desktop_cart .cart-products-count {
    color: #fff !important;
}

.header-nav:has(.video-background) #search_widget {
    background: url(/themes/at_fashionstyle/assets/img/search.svg) no-repeat;
}

.header-nav:has(.video-background) #leo_block_top>a>i::before {
    content: url(../img/account_white.svg) !important;
}

.header-nav:has(.video-background) #_desktop_cart .header i.fa-shopping-bag::before {
    content: url(../img/cart_white.svg) !important;
}

#page #header:has(.header-nav .video-background) {
    margin: 0 !important;
    width: 100% !important;
}

#page #header .header-nav:has(.video-background) .ets_mm_megamenu .mm_columns_ul {
    position: absolute;
    top: 100% !important;
    transform: translateY(0) translateX(-15px) !important;
    width: 100% !important;
    left: 0 !important;
}

.header-nav:has(.video-background) .ets_mm_megamenu,
.header-nav:has(.video-background) .ets_mm_megamenu_content .ets_mm_megamenu_content_content {
    position: initial;
}

@media (min-width: 992px) {
    .header-nav:has(.video-background) .nav2-center.ApColumn {
        position: initial;
    }

    #header .header-nav:has(.video-background) .bg-fullwidth-container:has(.mm_menus_ul > .mm_menus_li.hover) .layout_layout1:not(.ybc_vertical_menu):not(.scroll_heading) .mm_menus_li>a .mm_menu_content_title {
        color: #000000CC;
    }

    /* #page #header:has(.header-nav .video-background) .bottomnav .wrapper>.container {
        width: calc(100% - 70px);
        margin-left: 35px;
        margin-right: 35px;
        margin-top: 20px;
        position: initial;
    } */

    .bg-fullwidth-container:has(.mm_has_sub.hover) {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    #header:has(.video-background) .bg-fullwidth-container {
        padding: 0px 50px 0px 50px;
    }

    .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu):not(.click_open_submenu) .mm_menus_li:hover>a,
    .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu).click_open_submenu .mm_menus_li.open_li>a,
    .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu) .mm_menus_li.menu_hover>a,
    .header-nav:has(.video-background) .ets_mm_megamenu.layout_layout1.ybc_vertical_menu:hover,
    #header .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu):not(.click_open_submenu) .mm_menus_li:hover>a,
    #header .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu).click_open_submenu .mm_menus_li.open_li>a,
    #header .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu) .mm_menus_li.menu_hover>a,
    .header-nav:has(.video-background) .ets_mm_megamenu.layout_layout1.ybc_vertical_menu:hover {
        background: transparent !important;
        color: #ff4d1c;
    }

    .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu):not(.click_open_submenu) .mm_menus_li>a:before,
    .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu):not(.click_open_submenu) .mm_menus_li>a:after {
        display: none;
    }
}

@media (min-width: 1200px) {
    #header .header-nav:has(.video-background) .layout_layout1:not(.ybc_vertical_menu):not(.scroll_heading) .mm_menus_li>a .mm_menu_content_title {
        color: #fff;
    }
}

@media (max-width: 767px) {
    .header-nav:has(.video-background) .nav2-top-mobile {
        background-color: transparent;
    }

    .header-nav:has(.video-background) .ets_mm_megamenu .container {
        background-color: transparent;
    }

    .header-nav:has(.video-background) .ybc-menu-toggle .icon-bar {
        background-color: #fff;
        -webkit-transition: all 0.4s ease 0s, background-color 0s;
    }

    .header-nav:has(.video-background) .top-left-mobile:has(.ets_mm_megamenu.scroll_heading) .ybc-menu-toggle .icon-bar {
        background-color: #000;
    }
}