#cart-wrapper {
	    display: none;
    position: fixed;
    background: white;
    color: black;
    top: 0;
    left: unset;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    max-width: 500px;
    right: 0;
    z-index: 33;
}


body.dark-mode #cart-wrapper{    
    background: #151515;
    color: white;}


@media screen and (max-width:700px){
	#cart-wrapper {
		
    position: fixed;
    background: white;
    color: black;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}
	
	
}


.bottom-nav {
       position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
	
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

 body.dark-mode .bottom-nav  {
    background: #282828;}
	
	
	.nav-item{
	color: #666;
    background: #ffffff;
}

 body.dark-mode .nav-item{
	background: #282828;
	color:white;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    
    
    border: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item:active {
    color: #28a745; /* Highlight color on click */
}

/* Cart Icon Wrapper & Badge */
.icon-wrapper {
    position: relative;
}

#cart-count {
          position: absolute;
   
    right: -18px;
    background: #b21523;
    color: white;
    font-size: 11px;
    padding: 3px 4px;
    border-radius: 10px;
    min-width: 12px;
    top: -7px;
}

#cart-count.show {
    display: block;
}

/* Animation */
.cart-animate {
    transform: scale(1.4);
    color: #28a745;
}




.cart-container {
             padding: 30px;
    margin-bottom: 50px;
}

.cart-item {
        display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #7f7f7f;
}

.cart-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-details {
    flex: 1;
}

.cart-details h4 {
    font-size: 14px;
    margin: 0;
}

.cart-details p {
    margin: 4px 0;
    font-size: 13px;
    color: #666;
}



body.dark-mode .qty-btn {    background: #4c4545;
    color: white;
    border: 0px;}


.qty_crt_btn {     display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;}
/* Add to Cart Button */

.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-total {
    font-weight: 600;
    font-size: 14px;
}

.cart-grand-total {
    margin-top: 12px;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}

.cart-empty {
    padding: 30px;
    text-align: center;
    color: #777;
}


.delete-btn {
        background: #ff4d4d;
    font-size: 16px;
    cursor: pointer;
    width: fit-content;
    color: white;
    padding: 4px;
    border-radius: 3px;
    margin-left: 30px;
    float: right;
    position: absolute;
    right: 16px;
}

.delete-btn:hover {
    color: black;
}


.checkout-btn {
       width: fit-content;
    margin-top: 12px;
    padding: 12px;
    background: #25D366;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.checkout-btn:hover {
    background: #1ebe5d;
}

.checkout-form {
    margin-top: 12px;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.checkout-form textarea {
    resize: none;
    height: 70px;
}



body.dark-mode .checkout-form input,body.dark-mode .checkout-form textarea,body.dark-mode  .cart-coupon input {
	    background: #1d1919;
    border: 1px solid #464242;
    color: white;
}

/* ITEM TOTAL */
.cart-total {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 6px;
}

/* SUMMARY */
.cart-summary {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.cart-summary .row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 4px 0;
}

.cart-summary .total {
    font-size: 16px;
    font-weight: 700;
}

/* CHECKOUT FORM */
.checkout-form {
    margin-top: 12px;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* EMPTY CART WRAPPER */
.empty-cart-wrapper {
    padding: 40px 20px;
    text-align: center;
    position: relative;
    height: 100%;
}


/* CLOSE BUTTON */
.cart_close_btn {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 22px;
    color: #333;
    cursor: pointer;
}

/* CONTENT */
.empty-cart-content {
    margin-top: 40px;
}

.empty-cart-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 12px;
}

.empty-cart-content h3 {
    font-size: 18px;
    margin: 6px 0;
    font-weight: 600;
}

.empty-cart-content p {
    font-size: 14px;
    color: #777;
}


.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.continue-shopping i {
    font-size: 16px;
}

.continue-shopping:hover {
    background: #25d366; /* WhatsApp green for consistency */
    color: #fff;
    border-color: #25d366;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Payment Popup Overlay */
.payment-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Content */
.payment-popup-content {
      background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    height: 82vh;
    max-width: 320px;
    margin: 8px auto;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    overflow-y: auto;
}

/* Close Button */
.payment-popup-content .popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

/* QR Image */
.payment-popup-content .payment-qr {
       width: 180px;
    height: auto;
    max-height: 300px;
    margin: 16px 0;
    border-radius: 12px;
}

/* Pay Now button inside popup */
.payment-popup-content .checkout-btn {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.payment-popup-content .checkout-btn:hover {
    background: #1ebe5d;
}

/* Main "Pay Now" button */
.payment-popup-btn {
        width: fit-content;
    margin-top: 12px;
    padding: 12px;
    background: #FF5722;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.payment-popup-btn:hover {
    background: #bc3207;
}


body.dark-mode .payment-popup-content {
	    background: #1e1d1d;
   
    
    width: -webkit-fill-available;
    max-width: 320px;
    margin: 10px auto;
    
}

/* UPI Pay button */
.upi-pay-btn {
    display: inline-block;
    margin: 12px 0;
    padding: 10px 16px;
    background: #ff9800;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.upi-pay-btn:hover {
    background: #e68900;
}


.payment_btn_holder {    display: flex;
    justify-content: space-between;}
	
	@media screen and (max-width:700px){
		.checkout-btn {
    width: fit-content;
    margin-top: 12px;
    padding: 12px;
    background: #25D366;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}


.payment-popup-btn {
    width: fit-content;
    margin-top: 12px;
    padding: 12px;
    background: #bc3207;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
	}
	
	
	
	#voiceBtn.listening i {
    color: red;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


.category-link  i {    font-size: 50px;
    background: #fff5e5;
    width: 94px;
    height: 94px;
    color: #f9a58b;
    margin: 0px 0px 25px;
    border-radius: 100px;
    display: flex;
    align-items: anchor-center;
    justify-content: center;}
	
body.dark-mode .category-link  i {   
    background: linear-gradient(45deg, #1e1d1d, #4a4141);
   
    color: #a0a0a0;
   }
   
   

.checkout-form label {    font-size: 12px;
    padding: 10px;
    display: block;}

.checkout_options {
        display: flex;
    background: #ffe8e8;
    padding: 5px;
    border-radius: 29px;
}



.option-btn {
       flex: 1;
    border: none;
    padding: 10px;
    cursor: pointer;
    background: transparent;
    border-radius: 47px;
    transition: 0.3s;
}

.option-btn.active {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: bold;
}


body.dark-mode .option-btn {color:white;} 
body.dark-mode .option-btn.active {
       background: #eebb58;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: bold;
    border: 1px solid #ff893e;
    color: #100f0f;
}

body.dark-mode .checkout_options {background:#3b3a3a;}