/** begin::Text Formatting **/
.bm-basket-popup .woocommerce table.cart td.product-price,
.bm-basket-popup .woocommerce table.cart td.product-name,
.bm-basket-popup .woocommerce table.cart td.product-name a
.bm-basket-popup .woocommerce table.cart td.product-quantity input,
.bm-basket-popup .woocommerce-cart-form td.product-subtotal,
.bm-basket-popup .woocommerce table.shop_table th,
.bm-basket-popup .woocommerce table.shop_table td,
.bm-basket-popup .woocommerce table.shop_table td bdi,
.bm-basket-popup .cart .quantity input.minus, 
.bm-basket-popup .cart .quantity input.plus,
.bm-basket-popup .cart .quantity input.qty  {
    font-family: "Source Serif 4" !important;
}

.bm-basket-popup .woocommerce-cart-form td.product-subtotal {
    color: black;
}

.bm-basket-popup .cart-collaterals .cart-subtotal th,
.bm-basket-popup .cart-collaterals .cart-subtotal td,
.bm-basket-popup .cart-collaterals .cart-discount th,
.bm-basket-popup .cart-collaterals .cart-discount td,
.bm-basket-popup .woocommerce-cart-form td.product-name bdi,
.bm-basket-popup .woocommerce-cart-form td.product-name bdi span {
    color: #bebebe !important;
}

.bm-basket-popup .cart-collaterals .order-total th,
.bm-basket-popup .cart-collaterals .order-total td,
.bm-basket-popup .woocommerce .woocommerce-cart-form a.remove:hover {
    color: white !important;
}
/** end::Text Formatting **/

/** begin::Basic Popup Styling **/
.bm-login-popup,
.bm-basket-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    background: white;
    z-index: 9000000 !important;
}

.bm-basket-popup .woocommerce h2,
.bm-login-popup .woocommerce h2 {
    position: relative;
    margin-bottom: 60px;
    text-align: center;
}

.bm-basket-popup .woocommerce h2::after,
.bm-login-popup .woocommerce h2::after {
    content: '';
    background: url(/wp-content/uploads/Vector-7.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    width: 30%;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    height: 6px;
}
.bm-basket-popup__close,
.bm-login-popup__close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 30px !important;
    color: #EBAE5C;
    z-index: 100;
    
}
/** end::Basic Popup Styling **/

/** begin::Login Popup **/
.bm-login-popup .woocommerce {
    height: 100%;
    overflow: auto;
    padding: 50px 20px;
    width: 450px;
    max-width: 80vh;
}
.bm-login-popup__content {
    position: relative;
    background: white;
    border: 20px;
    padding: 20px;
    display: flex !important;
    justify-content: center;
    text-align: center !important;
}
.bm-login-popup__container,
.bm-login-popup__container > div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}
.bm-login-popup__container > div {
    position: relative;
    width: 100%;    
    padding: 20px;
}
.bm-login-popup label {
    margin-bottom: 10px !important;
}
.bm-login-popup .woocommerce-form__label-for-checkbox {
    opacity: .6;
    margin-left: 5px;
}
.bm-login-popup .woocommerce-LostPassword {
    text-align: center;
    padding-bottom: 0 !important;
}
.bm-login-popup .woocommerce-LostPassword a {
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid;
    font-size: 14px;
}
.bm-login-popup button.woocommerce-Button {
    display: block !important;
    width: 100%;
    padding: 20px 0;
    color: black;
}
/** end::Login Popup **/



/** begin::Basket Popup **/
/* Main Form Layout */
.bm-basket-popup {
    align-items: flex-start;
}

.bm-basket-popup .woocommerce {
    display: flex;
    flex-direction: column;
    justify-content: flex-start ;
    height: 100%;
    /*overflow: auto;*/
}

.bm-basket-popup .woocommerce .woocommerce-notices-wrapper,
.bm-basket-popup .product-subtotal,
.cart_totals.calculated_shipping h2 {
    display: none !important;
}

.bm-basket-popup .bm-basket-popup__container {
    height: 100vh !important;
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    position: relative;
}

.bm-basket-popup .bm-basket-popup__container > div {
    height: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.bm-basket-popup .woocommerce .woocommerce-notices-wrapper,
.bm-basket-popup .product-subtotal,
.coupon h2 {
    display: none !important;
}



.bm-basket-popup .woocommerce .woocommerce-notices-wrapper,
.bm-basket-popup .product-subtotal,
.woocommerce-cart-form .coupon h2 {
    display: none !important;
}


body .bm-popup-header h2 {
    text-align: center !important;
    font-size: 40px !important;
    line-height: 1 !important;
    color: black !important;
    
}
.bm-popup-header { 
    margin: 20px 0  !important;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100% !important;
    align-items: center;
}
.bm-basket-popup .bm-popup-header {
    justify-content: flex-start;
    align-items: flex-start
}
.bm-popup-header > div {
    display: flex; 
    justify-content: center;
    width: 100px
}
.bm-popup-header > div > span {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    font-size: 10px !important;
    color: #bebebe !important
}
.bm-popup-header > div > span::after {
    content: '';
    display: block;
    background: url(/wp-content/uploads/Vector-7.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 12px;
    width: 100% !important;
    margin-left: 5px 
}




@media screen and (min-width: 768px) {
    .bm-login-popup, .bm-basket-popup
    {
        padding: 100px !important;	
        background: #00000080 !important;
    }
    
    .bm-login-popup__container,
    .bm-basket-popup__container {
        background: white;
        border-radius: 30px
    }
    
    .bm-basket-popup__close, .bm-login-popup__close {
        position: absolute;
        right: 40px;
        top: 30px;
    }
    
    .bm-basket-popup__container {
        padding: 70px !important
    }

    .bm-basket-popup .bm-basket-popup__container {
        height: 100% !important;
        width: 100% !important;
        max-width: 1200px;
        margin: 0 auto;
        background: white;
        overflow: scroll;
    }
}



body .bm-basket-popup .woocommerce table.cart td.product-price,
body .bm-basket-popup .woocommerce table.cart td.product-name,
body .bm-basket-popup .woocommerce table.cart td.product-name a {
    font-family: "Source Serif 4" !important;
    text-align: left !important;
}

body .bm-basket-popup .woocommerce table.cart td.product-name,
body .bm-basket-popup .woocommerce table.cart td.product-name a {
    font-size: 22px !important;
    line-height: 1.2;
    color: black;
}

body .bm-basket-popup td.product-name bdi {
    display: block;
}

body .bm-basket-popup td.product-name bdi,
body .bm-basket-popup td.product-name bdi span {
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin-top: 20px !important;
}

