#vm-cart-popup{
    position: fixed;
    z-index: 999999;
    top:0;
    right: 0;
    bottom:0;
    width:0;
    transition: width 0.5s ease-in-out;
    background-color: white;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#vm-cart-popup.active{
    width:100%;  
}
#vm-cart-popup .vm-round-spinner.big{
    width: 3rem;
    height: 3rem;
}
#vm-cart-popup-choose-vendor{
    width: 40rem;
    margin: auto;
    cursor: pointer;
}
#vm-cart-popup-choose-vendor ul{
    cursor: pointer;
}
#vm-cart-popup-choose-vendor ul:hover{
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
#vm-cart-popup-choose-vendor li{
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
}
#vm-cart-popup-choose-vendor li h3{
    margin-left: 1rem;
}
.vm-cart-popup-vendor-wrapper{
    width:100%;
}
.vm-cart-popup-section{
   height: 100vh;
    overflow: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

#vm-cart-popup-close-wrapper{
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
}
.vm-cart-popup-section{
    width: 50%;
}
#vm-cart-popup-left{
    padding:2rem;
}
#vm-cart-popup-left.vm-call-to-action{
    padding:0.2rem;
}
#vm-cart-popup-right{
    padding: 0.8rem 1.2rem;
}

.vm-cart-popup-vendor{
    background-color: #fff;
    color: #000;
    width:0;
    display: none;
    transition: width 0.5s ease-in-out;
}
.vm-cart-popup-vendor.active{
    width:100%;
}
.vm-cart-popup-vendor.active{
    display: flex;
}
.vm-cart-popup-vendor .hidden{
    display: none;
}
.vm-cart-popup-vendor h3{
    margin: 0;
}
.vm-cart-popup-vendor .vm-vendor-toggle-content{
    margin:0;
    padding:0;
}
.vm-cart-popup-vendor-content{
    display: flex;
    flex-direction: column;
}

.vm-cart-popup-options{
    margin-top:1rem;
}
.vm-cart-popup-option, .vm-cart-popup-hub-option{
    border: solid 1px #ccc;
    border-radius: 10px;
    padding: 20px 10px;
    margin-bottom:10px;
    
}
.vm-cart-popup-option{
    cursor: pointer;
    transition: transform 0.2s ease;
}
.vm-cart-popup-option.active{
    cursor: auto;
}
.vm-cart-popup-option.active{
    background-color: #fff;
    color: #000;
    margin-right: -3.05rem;
    border-radius: 1rem 0 0 1rem;
}
.vm-cart-popup-option:hover, .vm-cart-popup-option-logistic:hover{
    background-color: rgba(0,0,0,0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px); /* Lift effect on hover */
}
.vm-cart-popup-option.active:hover{
    background-color: #fff;
    box-shadow: none;
    transform: none;
}
.vm-cart-popup-option-logistics{
    display: none;
}
.vm-cart-popup-option.active .vm-cart-popup-option-logistics{
    display: block;
}

.vm-cart-popup-option-logistic{
    position: relative;
    border: solid 1px #ccc;
    border-radius: 1rem;
    padding:1rem;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.vm-cart-popup-option-logistic select{
    width: 100%;
    border-radius: 1rem;
    padding: 0.5rem;
    margin-top: 1rem;
    cursor: default;
    cursor: pointer;
}

.vm-cart-popup-option-logistic.select{
    cursor:inherit;
}
.vm-cart-popup-option-logistic.select.vm-checked::after{
    top:1.6rem;
}
.vm-cart-popup-option-logistic select:hover{
    background-color: rgba(0,0,0,0.1);
}
.vm-cart-popup-option-logistic.select:hover{
    transform: none;
}
.vm-cart-popup-option-logistic:hover{
    background-color: transparent;
}
.vm-cart-popup-options .vms-spinner{
    width: 1.5em;
    height: 1.5em;
    background: conic-gradient(#0000 10%,#9ea0a1);
    margin-bottom: 0px;
    float: right;
}
.vm-cart-popup-hub-option h3{
    font-size: 1.2rem;
    border-bottom: solid 1px;
    padding-bottom: 0.2rem;
    margin-bottom: 0.6rem;
}
.vm-cart-popup-hub-option-logistics li{
    margin-bottom:0.3rem;
}
.vm-cart-popup-hub-option-logistic-btn{
    margin-top:0.8rem;
}
.vm-cart-popup-hub-option-logistic-btn:hover{
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px); /* Lift effect on hover */
}
.vm-cart-popup-products {
    padding:0;
}

.vm-cart-popup-section .footer{
    margin-top:auto;
    display: block;
}
.vm-cart-popup-checkout .vm-btn{
    display: block;
}
/* cart */
.vm-cart-popup-cart-container, .vm-cart-popup-delivery{
    padding: 1rem 0;
}

.vm-cart-vendor-header{
    display: flex;
    margin-bottom: 1.2rem;
}
.vm-cart-vendor-header h3{
    margin-left: 1rem;
    flex: 1;
}
.vm-cart-vendor-header .price{
    display: none;
}
.vm-cart-popup-cart-container li{
    align-items: flex-start;
}

.vm-cart-item-image{
    width: 4rem;
    overflow: hidden;
    margin-right: 0.6rem;
}
.vm-cart-item-image img{
    width:4rem;
    height: auto;
    border-radius: 50%;
}
.vm-cart-item-info{
    flex:1;
}
.vm-cart-item-info h2{
    font-size: 1rem;
    font-weight: 400;
    margin:0;
}
.vm-cart-item-info-original{
    font-size: 0.6rem;
    margin: 0;
}
.vm-cart-popup-cart-container .vm-cart-item-price{
    text-align: right;
    width: 5rem;
}
.vm-product-quantity{
    display: flex;
    margin-top:0.8rem;
}
.vm-product-quantity .round{
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    border: 1px solid #ccc;
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
}
.vm-product-quantity .round .vm-round-spinner{
    margin-left: 0;
    height: 1rem;
    width: 1rem;
}
.vm-product-quantity .quantity{
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;
    height: 2rem;
    width: 2rem;
    text-align: center;
    font-size: 1.4rem;
}
.vm-cart-popup-cart-container .vm-product-quantity .round{
    font-size: 1rem;
    height: 1.5rem;
    width: 1.5rem;

}

.vm-product-quantity .hidden{
    display: none !important;
}
.vm-cart-popup-cart-container .vm-product-quantity .quantity{
    height: 1.5rem;
    width: 2rem;
    font-size: 1rem;
}

#vm-cart-popup-vendor-nav{
    display: none;
}
#vm-cart-popup-vendor-nav.active{
    display: flex;
    flex-direction: column;
    width: 400px;
    margin: auto;
    justify-content: center;
    align-items: center;
}

#vm-cart-popup-vendor-nav .vm-btn{
    width: 100%;
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;
    margin-bottom:0.3rem;
}

#vm-cart-popup-vendor-nav h3{
    margin:0;
    padding-left: 0.5rem;
    flex: 1;
    text-align: left;
    font-weight: 400;
}
#vm-cart-popup-vendor-nav .vm-btn:hover{
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}


/* Delivery */
.vm-cart-popup-delivery.mini .vm-cart-popup-option-logistic,
.vm-cart-popup-delivery.mini .text,
.vm-cart-popup-delivery.mini .vm-cart-popup-option,
.vm-cart-popup-delivery.mini .vm-cart-popup-hub-option{
    display: none;
}
.vm-cart-popup-delivery.mini .vm-cart-popup-option-logistic.vm-checked,
.vm-cart-popup-delivery.mini .vm-cart-popup-option.active{
    display: block;
}
#vm-cart-popup-edit-delivery{
    display:none;
}
.vm-cart-popup-delivery.mini #vm-cart-popup-edit-delivery{
    display:block;
}
@media (max-width: 768px) {
    #vm-cart-popup-vendor-nav.active{
        width: 100%;
    }
    .vm-cart-popup-vendor.active {
        flex-direction: column;
        height: 100vh;
        overflow-y: auto;
    }
    .vm-cart-popup-section{
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
        
    }
    #vm-cart-popup-left{
        padding: 0.5rem;
        padding-top: 3rem;
    }
    #vm-cart-popup-right{
        padding: 0.5rem;
    }
    .vm-cart-popup-option.active {
        margin-right: -0.5rem;
    }
}