.header-top-right {
    display: flex;
    align-items: center;
}

#header .header-top {
    background-color: rgba(0,0,0,0.6);
}

#header {
    background-image: url("/themes/kolzbytTheme/assets/img/header/header-background.png");
    height: 328px;
    background-size: cover;
}
#index #header {
    position: absolute;
    background: transparent;
    left: 50%;
    transform: translatex(-50%);
    box-shadow: unset;
    height: 120px;
}
.user-info i {
    color: white;
    font-size: 30px;
    width: auto;
    height: auto;
}
.blockcart i {
    color: white;
    width: auto;
    height: auto;
}
.blockcart {
    margin-right: 25px;
    position: relative;
}
.blockcart .cart-products-count {
    position: absolute;
    top: -20px;
    right: -15px;
    width: 24px;
    height: 24px;
    background: var(--mainColor);
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 16px;
    border-radius: 50%;
}
@media(max-width: 768px) {

    .mobile_icon_box_menu {
        display: flex;
        justify-content: space-evenly;
    }

    #header .header-top {
        background-color: transparent;
    }

    .header-top #search_widget{
        display: none;
    }

    .header-nav #search_widget{
        margin-bottom: 0;
        padding: 0 20px;
    }

    .mobile_menu_container {
        display: flex;
        flex-direction: column;
        padding: 0 10px 10px;
        background-color: rgba(0,0,0,0.6);
    }
    #header .header-nav .blockcart {
        background: transparent;
    }
    .blockcart .cart-products-count {
        top: 0px;
        right: -5px;
    }
    #header .header-nav .blockcart {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 4px;
    }
    #header .header-nav #menu-icon {
        margin-top: 20px;
    }
    #header {
        width: 100%;
        padding: 0 15px;
        height: 220px;
    }
    .menu_is_open {
        background: black;
    }
    .menu_is_open #mobile_top_menu_wrapper {
        background: black;
    }
    .menu_is_open #mobile_top_menu_wrapper .top-menu .sub-menu {
        background: black
    }
    .menu_is_open #mobile_top_menu_wrapper .top-menu .sub-menu .dropdown-item {
        color: white;
        text-align: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 400;
    }
    .menu_is_open #header {
        background-image: unset;
        height: auto;
        background: black;
    }
}
.header_page_title_container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
}
.header_page_title {
    font-size: 64px;
    font-weight: 700;
    line-height: normal;
    color: white
}
@media(max-width: 1200px) {
    .header_page_title {
        font-size: 32px;
    }
}
@media(max-width: 576px) {
    .header_page_title_container {
       width: 100%;
    }
}
#_desktop_top_menu #top-menu {
    display: flex;
    justify-content: center;
    padding-right: 25px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: end;
    height: 3.5rem;
    margin-right: 1.2rem;
    margin-bottom: 4px;
}

.mobile_icon_box_menu .search-container {
    margin-right: 0;
    margin-bottom: 0;
}

.search-container #search_widget {
    position: absolute;
    width: 260px;
    left: -110px;
    top: 65px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.search-container #search_widget.active {
    display: block;
    opacity: 1;
}

.searchbar-autocomplete{
    padding: 20px;
}

#header .top-menu[data-depth="0"] > .category a[data-depth="0"] {
    font-size: 14px;
}

@media (min-width: 768px) {
    #header .top-menu[data-depth="0"] > .category a[data-depth="0"] {
        font-size: 8px;
    }
}

@media (min-width: 998px) {
    #header .top-menu[data-depth="0"] > .category a[data-depth="0"] {
        font-size: 10px;
    }
}

@media (min-width: 1200px) {
    #header .top-menu[data-depth="0"] > .category a[data-depth="0"] {
        font-size: 12px;
    }
}

@media (min-width: 1300px) {
    #header .top-menu[data-depth="0"] > .category a[data-depth="0"] {
        font-size: 14px;
    }
}

@media (min-width: 1500px) {
    #header .top-menu[data-depth="0"] > .category a[data-depth="0"] {
        font-size: 16px;
    }
}

#header .logo {
    width: 100%;
}

#_desktop_cart .header a, #_desktop_user_info .user-info a, #_desktop_cart .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}