/*:root {*/
/*    --primary-red: #8b0000;*/
/*    --navy-blue: #1a2a44;*/
/*    --gold-accent: #c5a059;*/
/*    --bg-cream: #fdfaf5;*/
/*    --white: #ffffff;*/
/*    --title-font: 'Playfair Display', serif;*/
/*    --body-font: 'Poppins', sans-serif;*/
/*}*/

/** { */
/*    margin: 0; */
/*    padding: 0; */
/*    box-sizing: border-box; */
/*    font-family: var(--body-font); */
/*}*/

/*body { */
/*    background-color: var(--bg-cream); */
/*    color: #333; */
/*    line-height: 1.6;*/
/*}*/

/* HEADER STYLING */
/*header {*/
/*    background: var(--white);*/
/*    padding: 0px 0;*/
/*    box-shadow: 0 2px 15px rgba(0,0,0,0.08);*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 1000;*/
/*}*/

/*.header-content {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    padding: 0 20px;*/
/*}*/

/*.logo-title-group {*/
/*    display: flex;*/
/*    align-items: center;*/
/*     gap: 15px; */
/*}*/

/*.logo-container {*/
    /*width: 110px; */
/*    height: 110px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    flex-shrink: 0;*/
/*}*/

/*.logo-container img {*/
/*    max-width: 200px;*/
/*    max-height: 200px;*/
/*    border-radius: 50%;*/
/*    object-fit: contain;*/
/*}*/

/*.main-title {*/
/*    font-family: var(--title-font);*/
/*    color: var(--primary-red);*/
/*    font-size: 2.2rem;*/
/*    font-weight: 800;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 0.5px;*/
/*}*/

/* HERO SECTION */
/*.hero-banner {*/
/*    background: var(--navy-blue);*/
/*    color: var(--white);*/
/*    text-align: center;*/
/*    padding: 33px 20px;*/
/*}*/

/*.hero-banner h2 { */
/*    font-family: var(--title-font);*/
/*    color: var(--gold-accent); */
/*    font-size: 2.5rem; */
/*    margin-bottom: 10px; */
/*}*/

/* GRID LAYOUT */
/*.content-wrapper { */
/*    max-width: 1100px; */
/*    margin: 40px auto; */
/*    padding: 0 20px; */
/*}*/

/*.product-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));*/
/*    gap: 30px;*/
/*}*/

/*.menu-card {*/
/*    background: var(--white);*/
/*    padding: 25px;*/
/*    border-radius: 15px;*/
/*    box-shadow: 0 5px 20px rgba(0,0,0,0.05);*/
/*    border-top: 5px solid var(--primary-red);*/
/*}*/

/*.card-top {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    margin-bottom: 20px;*/
/*    padding-bottom: 10px;*/
/*    border-bottom: 2px solid #eee;*/
/*}*/

/*.card-top h3 { color: var(--primary-red); font-size: 1.4rem; }*/

/*.weight { */
/*    background: #f0f0f0; */
/*    padding: 4px 12px; */
/*    border-radius: 20px; */
/*    font-size: 0.8rem; */
/*    font-weight: bold;*/
/*}*/

/*.row {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    padding: 12px 0;*/
/*    border-bottom: 1px solid #fafafa;*/
/*}*/

/*.price { font-weight: bold; color: var(--navy-blue); }*/

/* FOOTER ACTIONS */
/*.action-footer {*/
/*    margin-top: 50px;*/
/*    text-align: center;*/
/*    background: var(--white);*/
/*    padding: 40px;*/
/*    border-radius: 15px;*/
/*    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);*/
/*}*/

/*.btn {*/
/*    display: inline-block;*/
/*    padding: 15px 35px;*/
/*    border-radius: 50px;*/
/*    text-decoration: none;*/
/*    font-weight: bold;*/
/*    color: white;*/
/*    margin: 10px;*/
/*    transition: 0.3s ease;*/
/*}*/

/*.whatsapp { background: #25D366; }*/
/*.call { background: var(--primary-red); }*/

/*.btn:hover { */
/*    transform: translateY(-3px); */
/*    box-shadow: 0 5px 15px rgba(0,0,0,0.2); */
/*}*/

/* Container for the grid */
/*.product-grid {*/
/*    display: grid;*/
/*    gap: 20px;*/
/*    padding: 20px;*/
    /* Desktop: 4 columns */
/*    grid-template-columns: repeat(4, 1fr);*/
/*}*/

/* Individual Card Styling */
/*.item-card {*/
/*    background: #fff;*/
/*    border-radius: 15px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 4px 15px rgba(0,0,0,0.1);*/
/*    transition: transform 0.3s ease;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

/*.item-card:hover {*/
/*    transform: translateY(-5px);*/
/*}*/

/* Image Styling */
/*.image-container {*/
/*    position: relative;*/
/*    width: 100%;*/
    /*aspect-ratio: 1 / 1; */
/*}*/

/*.image-container img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/

/*.badge {*/
/*    position: absolute;*/
/*    top: 10px;*/
/*    left: 10px;*/
/*    background: rgba(230, 126, 34, 0.9);*/
/*    color: white;*/
/*    padding: 4px 10px;*/
/*    font-size: 0.7rem;*/
/*    border-radius: 20px;*/
/*    text-transform: uppercase;*/
/*}*/

/* Text Content */
/*.item-info {*/
/*    padding: 15px;*/
/*    text-align: center;*/
/*}*/

/*.item-info h3 {*/
/*    margin: 0;*/
/*    font-size: 1.1rem;*/
/*    color: #2c3e50;*/
/*}*/

/*.weight-label {*/
/*    font-size: 0.8rem;*/
/*    color: #7f8c8d;*/
/*    margin: 5px 0;*/
/*}*/

/*.price {*/
/*    font-size: 1.2rem;*/
/*    font-weight: 800;*/
/*    color: #c0392b;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.buy-small {*/
/*    display: inline-block;*/
/*    padding: 8px 15px;*/
/*    background: #25d366;*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    border-radius: 5px;*/
/*    font-size: 0.8rem;*/
/*    font-weight: bold;*/
/*}*/


/* MOBILE RESPONSIVE FIX */
/*@media (max-width: 768px) {*/
/*    .header-content {*/
/*        padding: 5px 10px;*/
/*    }*/

/*    .logo-title-group {*/
        /*gap: 8px; */
/*    }*/

/*    .logo-container {*/
        /*width: 80px; */
/*        height: 80px;*/
/*    }*/
/*    .logo-container img {*/
/*        max-width: 150px;*/
/*        max-height: 150px;*/
/*        border-radius: 50%;*/
/*        object-fit: contain;*/
/*    }*/

/*    .main-title { */
/*        font-size: 1.25rem; */
/*        white-space: nowrap; */
/*    }*/
/*    .hero-banner {*/
/*        background: var(--navy-blue);*/
/*        color: var(--white);*/
/*        text-align: center;*/
/*        padding: 10px 10px;*/
/*    }*/

/*    .hero-banner h2 { font-size: 1.8rem; }*/
    
/*    .btns { display: flex; flex-direction: column; }*/
/*    .btn { width: 100%; margin: 5px 0; }*/
    
/*    .product-grid {*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*        gap: 10px;*/
/*        padding: 10px;*/
/*    }*/
    
/*    .item-info h3 {*/
/*        font-size: 0.9rem;*/
/*    }*/
/*}*/

/*footer { */
/*    text-align: center; */
/*    padding: 40px; */
/*    color: #777; */
/*    font-size: 0.9rem; */
/*}*/







:root {
    --primary-red: #8b0000;
    --navy-blue: #1a2a44;
    --gold-accent: #c5a059;
    --bg-cream: #fdfaf5;
    --white: #ffffff;
    --title-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: var(--body-font); 
}

body { 
    background-color: var(--bg-cream); 
    color: #333; 
    line-height: 1.6;
}

/* HEADER */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

.logo-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.main-title {
    font-family: var(--title-font);
    color: var(--primary-red);
    font-size: 1.8rem;
    text-transform: uppercase;
}

/* HERO SECTION */
.hero-banner {
    background: var(--navy-blue);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.hero-banner h2 { 
    font-family: var(--title-font);
    color: var(--gold-accent); 
    font-size: 2.2rem; 
    margin-bottom: 5px; 
}

/* MAIN CONTENT */
.content-wrapper { 
    max-width: 1200px; 
    margin: 30px auto; 
    padding: 0 15px; 
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px;
    border-left: 5px solid var(--primary-red);
    padding-left: 15px;
}

.section-header h3 {
    font-family: var(--title-font);
    font-size: 1.6rem;
    color: var(--navy-blue);
}

.weight-tag {
    background: #eee;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 20px;
    margin-bottom: 40px;
}

.item-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.item-card:hover {
    transform: translateY(-5px);
}

.image-container {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps images perfectly square */
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: white;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.item-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-name {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.buy-btn {
    display: block;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 1px;
    border-radius: 36px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FOOTER ACTIONS */
.action-footer {
    margin-top: 60px;
    text-align: center;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
}

.btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    flex: 1;
    max-width: 250px;
}
.delivery-notice {
    background: #ffecb3; /* Light festive yellow */
    color: #d32f2f;      /* Deep Andhra-chili red */
    padding: 5px 0;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    border-radius: 4px;
    margin-top: 5px;
    display: block;
}
.whatsapp { background: #128C7E; }
.call { background: var(--primary-red); }

.divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 40px 0;
}
.marquee-wrapper {
    width: 100%;
    background-color: #fff3e0; /* Subtle cream background */
    border-top: 1px solid #ffe0b2;
    border-bottom: 1px solid #ffe0b2;
    margin-top: 10px;
}

.marquee-wrapper marquee {
    color: #d32f2f; /* Deep red for contrast */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    display: block;
}
footer {
    text-align: center; 
    padding: 30px; 
    color: #888; 
}

.cart-panel-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.03); /* Subtle shadow to separate from body */
}

/* Price Summary Row */
.total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.total-label {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.total-amount {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 800; /* Makes the price pop */
}

/* WhatsApp Checkout Button */
.checkout-whatsapp {
    width: 100%;
    background: #25D366; /* Official WhatsApp Green */
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.checkout-whatsapp:hover {
    background: #128C7E; /* Darker WhatsApp Green */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.checkout-whatsapp:active {
    transform: translateY(0);
}

/* Icon inside button */
.wa-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Makes the logo white */
}

/* Small legal/help text */
.footer-note {
    text-align: center;
    font-size: 11px;
    color: #bdc3c7;
    margin-top: 12px;
    margin-bottom: 0;
}
.cart-floater {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #ff5722;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    cursor: pointer;
}
/* Elegant Close Button */
.close-panel {
    background: #f8f9fa;      /* Subtle light background */
    border: none;
    color: #333;              /* Darker color for the 'X' */
    width: 32px;
    height: 32px;
    border-radius: 50%;       /* Makes it perfectly circular */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;          /* Clean size for the × symbol */
    font-weight: 300;         /* Thinner, more elegant lines */
    cursor: pointer;
    transition: all 0.2s ease-in-out; /* Smooth transition for hover */
    outline: none;
    line-height: 1;
}

/* Hover Effect */
.close-panel:hover {
    background: #e9ecef;      /* Slightly darker grey on hover */
    color: #ff5722;           /* Matches your cart theme color */
    transform: rotate(90deg); /* Subtle playful rotation */
}

/* Active/Click Effect */
.close-panel:active {
    transform: scale(0.9);    /* Slight shrink when clicked */
}

/* Adjustment for the Header Container */
.cart-panel-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;      /* Keeps title and button vertically aligned */
}

.cart-panel-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.cart-count-pill {
    position: absolute;
    top: 0;
    right: 0;
    background: black;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Side Panel Drawer */
.cart-side-panel {
    position: fixed;
    top: 0;
    right: -350px; /* Hidden off-screen */
    width: 320px;
    height: 100%;
    background: white;
    z-index: 10000;
    transition: 0.3s;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.cart-side-panel.show-cart {
    right: 0;
}

.cart-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 15px;
    background-color: #fcfcfc;
}

/* Individual Item Row */
.cart-panel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

/* Left Side: Name and Price per unit */
.item-details {
    display: flex;
    flex-direction: column;
    max-width: 55%;
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-meta {
    font-size: 11px;
    color: #888;
}

/* Right Side: Stepper and Total */
.item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Quantity Stepper Design */
.qty-stepper {
    display: flex;
    align-items: center;
    background: #f1f3f5;
    border-radius: 6px;
    padding: 2px;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    transition: 0.2s;
}

.qty-btn:hover {
    color: #ff5722;
}

.qty-val {
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.item-total-price {
    font-size: 14px;
    color: #2c3e50;
}

/* Empty State */
.empty-cart-state {
    text-align: center;
    padding: 50px 20px;
    color: #aaa;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Internal Panel Styles */
.cart-panel-header { padding: 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; }
.remove-tiny { background: #eee; border: 1px solid #ddd; padding: 2px 8px; margin-left: 5px; cursor: pointer;}

.address-section {
    padding: 15px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.address-section h5 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 10px;
}

.cart-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box; /* Crucial for padding */
}

.cart-input:focus {
    border-color: #25D366;
    outline: none;
    background: #fff;
}

textarea.cart-input {
    resize: none;
}

/* Disabled state for button */
.checkout-whatsapp:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
}

/* Creative Spiced Toast Notification */
.toast-error {
    position: absolute;
    top: 75px;
    left: 20px;
    right: 20px;
    background: rgba(192, 57, 43, 0.95); /* Deep Spiced Red */
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    z-index: 10001;
    
    /* Elegant Shadow & Blur */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);

    /* Initial State */
    visibility: hidden;
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy entrance */
}

/* Show State with Shake Animation */
.toast-error.show {
    visibility: visible;
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: spice-shake 0.4s ease-in-out;
}

/* Subtle Shake Keyframes */
@keyframes spice-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-2px); }
}

.input-error-glow {
    border-color: #c0392b !important;
    box-shadow: 0 0 8px rgba(192, 57, 43, 0.3);
    transition: all 0.3s;
}
/* Optional: Adding a tiny icon inside via CSS */
.toast-error::before {
    content: '🌶️';
    margin-right: 8px;
    font-size: 14px;
}


/* MOBILE RESPONSIVE FIXES */
@media (max-width: 768px) {
    .main-title { font-size: 1.3rem; }
    
    .logo-container img {
        width: 60px;
        height: 60px;
    }

    .hero-banner h2 { font-size: 1.6rem; }

    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 10px;
    }

    .item-info { padding: 10px; }
    .item-name { font-size: 0.9rem; }
    .price { font-size: 1.1rem; }
    
    .btns { flex-direction: column; }
    .btn { max-width: 100%; }
    .delivery-notice {
            font-size: 0.8rem;  /* Ensure it doesn't wrap to two lines */
        }
    .cart-side-panel { width: 100%; right: -100%; }
}
