/*-------------------------------------------------------
Theme Name: Vitalize Juice - Divi Child
Author: CarewCo
Author URI: https://carewco.net/
Template: Divi
Version: 1.0.0
 */

:root {
    --vw-tan: #F8F2EA;
    --vw-grey: #333333;
}

body:not(.dsm_fixed_header_scroll_active) #site-header {
    background-color: transparent !important;
}

body.single-product {
    .site-logo-black {
        display: none !important;
    }

    &.dsm_fixed_header_scroll_active {

        .site-logo-black {
            display: inline-block !important;
        }

        .site-logo-white {
            display: none !important;
        }
    }

    &:not(.dsm_fixed_header_scroll_active) #site-header,
    &:not(.dsm_fixed_header_scroll_active) #site-header a {
        color: white !important;

        @media (max-width: 980px) {
            color: black !important;
        }
    }

    &.dsm_fixed_header_scroll_active #site-header,
    &.dsm_fixed_header_scroll_active #site-header a {
        color: black !important;
    }
}

.et_pb_menu #mobile_menu1.et_mobile_menu,
body.single-product .et_pb_menu #mobile_menu1.et_mobile_menu,
body.single-product.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu #mobile_menu1.et_mobile_menu {
    background-color: var(--vw-tan) !important;
    border-top: 3px solid var(--vw-grey) !important;
    top: calc(100% + 2rem) !important;

    li a {
        border-bottom: none;
        color: var(--vw-grey) !important;
        font-weight: normal !important;
        font-family: sofia-pro, arial, sans-serif !important;
        font-size: 1.5rem !important;
    }

    > li > a {
        padding-left: 0 !important;
        font-size: 1.75rem !important;
    }

    .sub-menu {
        background-color: var(--vw-tan) !important;
        padding-block: 1rem !important;
    }

    .menu-item-has-children > a {
        background: none !important;
        border-bottom: 2px solid var(--vw-grey) !important;
    }
}

.mobile_nav.opened {

    .mobile_menu_bar::before {
        content: "\4d" !important;
    }
}