/* Cart Sidebar Styling */
.mini-cart-sidebar {
    position: fixed;
    top: 0;
    right: -366px;
    width: 360px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

/* .mini-cart-sidebar.open {
    right: 0;
} */

.header-cart .mini-cart.open .mini-cart-sidebar {
    right: 0px;
}
.close-cart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.vns_sidecart_progressbar strong {
    font-weight: 600;
    color:#000;
}
.custom-mini-cart {
    padding: 20px;
}

.custom-mini-cart h4 {
    margin-bottom: 20px;
}

.custom-mini-cart .cart-item {
    display: flex;
    margin-bottom: 15px;
}

.custom-mini-cart .product-thumbnail img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
}

.custom-mini-cart .cart-buttons {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* -------------------------------------------------------- */
.custom-mini-cart.vns_sidecart {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.vns_sidecart {
    padding: 10px;
}
.vns_sidecart * {
    margin:0;
    padding:0;
}
.vns_sidecart_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}
.vns_sidecart_header a svg.icon {
    padding: 0px;
}
.vns_sidecart_content_des p {
    font-size: 13px;
}
.vns_sidecart_content_des p.mplus-cart-disclaimer {
    margin-top: 6px;
    padding: 2px;
}
.vns_sidecart_content_des p.mplus-cart-disclaimer a.order_bump_btn {
    margin: 2px 0 0 4px !important;
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 4px;
    min-height: 26px;
}

.vns_sidecart .vns_sidecart_content ul {
   max-height:100%;
   overflow: auto;
   margin-bottom: auto;
}
.vns_sidecart_content ul li {
    list-style: none;
    gap: 10px;
    font-size: 13px;
}
.header-cart .mini-cart.open .mini-cart-sidebar .cart-content,
.header-cart .mini-cart.open .mini-cart-sidebar .cart-content .vns_sidecart{
    height: 100%;
}

.vns_sidecart_content ul li .vns_sidecart_content_img {
    max-width: 90px;
    width: 100%;
    height: 100px;
}
.vns_sidecart_content ul li .vns_sidecart_content_img img {
    width: 100%;
    height: 100%;
}
.vns_sidecart_progressbar_color{
    background: #e7e7e7;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 6px;
}
.vns_sidecart_content ul li .vns_sidecart_content_des p span {
    color: #777777;
}
.vns_sidecart_progressbar_top_color{
    height: 14px;
    width: 30%;
    background: #7be000;
}

 .vns_sidecart .vns_sidecart_content {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: calc(100% - 126px);
}
.vns_sidecart .vns_sidecart_content .vns_sidecart_content_des a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    line-height: normal;
    font-size: 14px;
}
.vns_sidecart .vns_sidecart_content .vns_sidecart_sticker p {
    color: #000;
    font-size: 15px;
}
.vns_sidecart .vns_sidecart_content .vns_sidecart_content_des div {
    color: #666;
    margin-top: 0px;
}

.vns_sidecart .vns_sidecart_content .vns_sidecart_sticker {
    display: flex;
    border: 1px solid #979797;
    gap: 15px;
    padding: 4px 10px;
    border-radius: 10px;
    align-items: center;
    margin-top: auto;
}

.vns_sidecart .vns_sidecart_content .vns_sidecart_sticker a {
    background: #f97805;
    padding: 4px 10px;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}
/* .vns_sidecart_coupon {
    margin-top: auto;
} */

.vns_sidecart_coupon input[type="text"] {
    width: 100%;
    padding: 6px 10px;
    border-radius: 18px;
    border: 1px solid;
    height: 30px;
    font-size: 13px;
}

.vns_sidecart_coupon button {
    width: 100%;
    margin-top: 8px;
    background: #d7d7d7 !important;
    border: 0;
    padding: 0px 0px !important;
    cursor: pointer;
    font-size: 13px !important;
    color: #000 !important;
    text-transform: capitalize;
    font-weight: 900;
    border-radius: 50px;
}
.vns_sidecart .vns_sidecart_content .cart-total {
    display: flex;
    justify-content: space-between;
    /* font-size: 18px; */
    color: #000;
    font-weight: 600;
}

.vns_sidecart .vns_sidecart_content .vns_sidecart_subtotal p.vns_sidecart_total {
    display: flex;
    justify-content: space-between;
}
.vns_sidecart .cart-buttons a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    background: #f97805;
    width: 100%;
    display: inline-block;
    border-radius: 30px; 
    margin: 0px 0px 6px 0px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #f97805;
    padding: 1px;
    text-transform: capitalize;
}
.vns_sidecart .cart-buttons a.button.view-cart {
    background: transparent;
    color: #f97805;
}
.vns_sidecart .cart-buttons a:hover {
    background:#f97805 !important;
    color:#fff !important;
}
.vns_payment_gatway {
   display: flex;
   gap: 8px;
   flex-wrap: wrap;
   align-items: center;
   justify-content: center;
}
.vns_payment_gatway img {
   width: 36px;
   cursor: pointer;
}
.vns_sidecart_progressbar {
   text-align: center;
   padding-top: 10px;
}
.header-cart a#cart-icon {
    position: relative;
}
.header-cart a#cart-icon span {
    position: absolute;
    top: -9px;
    right: -7px;
    background: #f97805;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    padding: 2px 3px;
    line-height: normal;
    min-width: 17px;
}

.quantity-controls button {
    background: #ddd;
    padding: 0 7px;
    min-height: fit-content;
    height: 100%;
    border-radius: 0;
}

.cart-content .quantity-controls.quantity {
    gap: 5px;
    align-items: center;
    padding: 10px 0 12px;
}
/* .cart-content button.minus-btn,
.cart-content button.plus-btn {
    padding: 2px 7px;
    background-color: #f97805;
} */
.cart-content button.minus-btn,
 .cart-content button.plus-btn {
    padding: 0px 5px;
    background-color: #f97805;
    font-size: 23px;
    width: 26px;
    height: 26px;
    line-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500 !important;
    border-radius: 100px;
    color: #fff;
    min-height: 26px;
}

button.single_add_to_cart_button.myloader {
    position: relative;
    background-color: #0007 !important;
    color: #0007 !important;
}

button.single_add_to_cart_button.myloader:after {
    content: "";
    width: 35px;
    height: 35px;
    border: 3px solid #fff;
    display: inline-block;
    border-radius: 50%;
    top: 12px;
    border-left-color: transparent;
    animation: rotation 1s infinite linear;
    position: absolute;
    left: 75%;
}
.cartLoader .mini-cart-sidebar:after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid #f5f5f5c4;
    border-top: 5px solid #ff9f49;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: block;
    position: absolute;
    right: 50%;
    top: 50%;
    z-index: 5;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cartLoader .mini-cart-sidebar:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #00000024;
    display: block;
    position: absolute;
    z-index: 1;
}

@keyframes rotation{
    0%{transform:rotate(0deg)}
    100%{transform:rotate(360deg)}
}

.quantity-add-btn a {
    background: #f97805;
    padding: 6px 10px;
    text-decoration: none;
    color: #fff !important;
    border-radius: 4px;
}


.vns_sidecart_content_des > p,
.vns_sidecart_content_des > p span{
    color: #333333 !important;
    font-size: 14px;
    line-height: normal;
}
.vns_sidecart_content ul li ul li {
    line-height: 1.3em;
}
.vns_sidecart_content ul.custom-mini-cart-items > li:not(:last-child) {
    margin-bottom: 12px;
    border-bottom: 1px solid #cacaca;
}
.vns_sidecart_content_des > p:nth-child(3) {
    margin-bottom:4px;
}
.vns_sidecart_content_des p.mplus-cart-disclaimer a.order_bump_btn span {
    color: #fff !important;
    font-size: 12px;
    font-weight: 400;
}

.custom-mini-cart .cart-item > .product-details {
    position: relative;
}
.custom-mini-cart .cart-item > .product-details .product-remove-item {
    position: absolute;
    right: 10px;
    top: 40px;
}
.vns_sidecart .cart-discount {
    display: flex;
}
.vns_sidecart .cart-discount strong {
    width: 100%;
    max-width: fit-content;
}
.vns_sidecart .cart-discount ul {
    width: 100%;
}
.vns_sidecart .cart-discount ul li {
    display: flex;
}
.vns_sidecart .cart-discount ul li span {
    margin-left: auto;
}
.vns_sidecart .cart-discount ul li a:hover {
    color: #f97805;
}
.vns_sidecart_content div#coupon-message p.success {
    background: none;
    color: #05721b;
    padding: 0px 5px;
    text-align: center;
    margin-top: 4px;
}
.vns_sidecart_content .cart-subtotal {
    display: flex;
}
.vns_sidecart_content .cart-subtotal span.woocommerce-Price-amount.amount {
    margin-left: auto;
}
.vns_sidecart_content div#coupon-message{ text-align:center; }

body.single-product  button.single_add_to_cart_button:after {
    left: calc(50% - 12px);
    top: calc(50% - 12px);
    width: 25px;
    height: 25px;
}



@media(max-width:767px){
.vns_sidecart_sticker{
    display: none !important;
}
.vns_sidecart_coupon {
    margin-top: auto;
}
}

@media(max-width:360px){
    .mini-cart-sidebar {
        width: 100vw;
    }
    .vns_payment_gatway img {
        width: 38px;
    }
    /* .vns_sidecart .cart-buttons a {
        font-size: 16px;
    } */
}

