* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #fafaf7;
    color: #1e2a1e;
}

/* subtle texture */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#e9e3d0 0.8px, transparent 0.8px);
    background-size: 24px 24px;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

/* NAVBAR - WITH TROLLEY ICON */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e7e0cc;
    box-shadow: 0 4px 20px -10px rgba(120, 100, 60, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 0.8rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1d3b1d;
    white-space: nowrap;
}

.search-bar {
    flex: 1;
    max-width: 400px;
}
.search-bar input {
    width: 100%;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    border: 1px solid #dad5bb;
    background: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: 0.2s;
}
.search-bar input:focus {
    border-color: #b1aa7a;
    box-shadow: 0 0 0 3px #f0f2d7;
}

.right-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.right-menu span {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    white-space: nowrap;
}

.cart-btn {
    background: #f0f2d7;
    border: 1px solid #cbd3a0;
    color: #1d471d;
    font-size: 1.2rem !important;
    padding: 0.5rem 1.2rem !important;
}

.login-btn {
    background: #ffffff;
    border: 1px solid #cbd3a0;
    color: #1d471d;
}


/* HERO SECTION - CLEAN BANNER */
.hero {
    margin: 1.2rem 5%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eae3ca;
    box-shadow: 0 12px 25px -15px rgba(100, 90, 50, 0.2);
    position: relative;
    height: 270px;
}

.banner-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner1 { background-image: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1200&auto=format'); }
.banner2 { background-image: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url('https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?w=1200&auto=format'); }
.banner3 { background-image: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=1200&auto=format'); }

.banner-caption {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: rgba(255,255,240,0.15);
    backdrop-filter: blur(4px);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,200,0.3);
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 0;
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f5efd0;
    cursor: pointer;
    border: 1px solid #9e9466;
    transition: 0.2s;
}
.dot.active {
    background: #4f734f;
    transform: scale(1.3);
    border-color: #2e542e;
}

/* Mobile responsive */
@media (max-width: 800px) {
    .hero {
        height: auto;
        margin: 1rem 4%;
    }
    
    .banner-slide {
        aspect-ratio: 16/9;
    }
    
    .banner-caption {
        font-size: 1.2rem;
        padding: 0.3rem 1rem;
    }
}

@media (max-width: 480px) {
    .banner-caption {
        font-size: 1rem;
        padding: 0.2rem 0.8rem;
    }
}

/* DISCOUNT SECTION - HORIZONTAL SCROLL */
.discount-section {
    margin: 2rem 5%;
    position: relative;
}

.discount-section h2 {
    color: #2d472d;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    border-left: 5px solid #cfd8a6;
    padding-left: 1rem;
}

.discount-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd3a0 #f0f2d7;
}

.discount-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.discount-scroll-container::-webkit-scrollbar-track {
    background: #f0f2d7;
    border-radius: 10px;
}

.discount-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd3a0;
    border-radius: 10px;
}

.discount-grid {
    display: flex;
    gap: 1rem;
    width: max-content;
}

.discount-card {
    border-radius: 20px;
    border: 1px solid #e1deba;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: 0.2s;
    height: 230px;
    width: 180px;
    flex-shrink: 0;
}

.discount-card:hover {
    border-color: #cec99c;
    box-shadow: 0 8px 18px -12px #a89f6f;
}

.discount-image {
    width: 100%;
    height: 100px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    border: 1px solid #e0d8b0;
    flex-shrink: 0;
}

/* DISCOUNT SECTION IMAGES */
.img1 { background-image: url('https://images.unsplash.com/photo-1568901346375-23c9450c58cd?w=200&auto=format'); }
.img2 { background-image: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?w=200&auto=format'); }
.img3 { background-image: url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=200&auto=format'); }
.img4 { background-image: url('https://images.unsplash.com/photo-1551782450-a2132b4ba21d?w=200&auto=format'); }
.img5 { background-image: url('https://images.unsplash.com/photo-1585937421612-70a008356fbe?w=200&auto=format'); }
.img6 { background-image: url('https://images.unsplash.com/photo-1631452180519-c014fe946bc7?w=200&auto=format'); }
.img7 { background-image: url('https://images.unsplash.com/photo-1585937421612-70a008356fbe?w=200&auto=format'); }
.img8 { background-image: url('https://images.unsplash.com/photo-1596797038530-2c107aa23c10?w=200&auto=format'); }
.img9 { background-image: url('https://images.unsplash.com/photo-1563379091339-03b21ab4a4f8?w=200&auto=format'); }
.img10 { background-image: url('https://images.unsplash.com/photo-1645112411342-4665a10d7e8c?w=200&auto=format'); }
.img11 { background-image: url('https://images.unsplash.com/photo-1627308595171-d1b5d669c269?w=200&auto=format'); }
.img12 { background-image: url('https://images.unsplash.com/photo-1606491956391-70868b5c75bd?w=200&auto=format'); }
.img13 { background-image: url('https://images.unsplash.com/photo-1631515243349-e0cb75fb8d3a?w=200&auto=format'); }
.img14 { background-image: url('https://images.unsplash.com/photo-1606491956391-70868b5c75bd?w=200&auto=format'); }
.img15 { background-image: url('https://images.unsplash.com/photo-1645112411342-4665a10d7e8c?w=200&auto=format'); }
.img16 { background-image: url('https://images.unsplash.com/photo-1626082927381-49cd09790d7e?w=200&auto=format'); }
.img17 { background-image: url('https://images.unsplash.com/photo-1603360946369-dc9bb6258143?w=200&auto=format'); }
.img18 { background-image: url('https://images.unsplash.com/photo-1527477396000-2711eaf3694c?w=200&auto=format'); }
.img19 { background-image: url('https://images.unsplash.com/photo-1627308595171-d1b5d669c269?w=200&auto=format'); }

.discount-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.discount-details h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d471d;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    flex-wrap: wrap;
}

.stars {
    color: #f5b342;
}

.rating-value {
    color: #5a735a;
}

.offer-badge {
    background: #e84141;
    color: white;
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: auto;
}

.price-discount {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.1rem 0;
}

.current-price {
    font-size: 1rem;
    font-weight: 600;
    color: #aa4e2b;
}

.original-price {
    font-size: 0.7rem;
    color: #9a9a8a;
    text-decoration: line-through;
}

.discount-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.buy-now-btn, .add-cart-btn {
    padding: 0.25rem 0.4rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    white-space: nowrap;
    text-align: center;
}

.buy-now-btn {
    background: #e9b67c;
    border: 1px solid #c2a875;
    color: #2d4a2d;
}

.add-cart-btn {
    background: transparent;
    border: 1.5px solid #cbd3a0;
    color: #2c542c;
}

/* Mobile responsive for discount */
@media screen and (max-width: 768px) {
    .discount-section {
        margin: 1.5rem 4%;
    }
    
    .discount-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .discount-scroll-container {
        padding-bottom: 0.8rem;
        margin: 0 -0.5rem;
        padding-left: 0.5rem;
    }
    
    .discount-grid {
        gap: 0.8rem;
    }
    
    .discount-card {
        width: 160px;
        height: 215px;
        padding: 0.7rem;
    }
    
    .discount-image {
        height: 85px;
    }
    
    .discount-details h3 {
        font-size: 0.9rem;
    }
    
    .rating-badge {
        font-size: 0.7rem;
        gap: 0.2rem;
    }
    
    .offer-badge {
        padding: 0.1rem 0.4rem;
        font-size: 0.6rem;
    }
    
    .current-price {
        font-size: 0.95rem;
    }
    
    .original-price {
        font-size: 0.65rem;
    }
    
    .discount-actions {
        gap: 0.3rem;
        margin-top: 0.2rem;
    }
    
    .buy-now-btn, .add-cart-btn {
        padding: 0.2rem 0.3rem;
        font-size: 0.65rem;
    }
}

@media screen and (max-width: 480px) {
    .discount-section {
        margin: 1.2rem 3%;
    }
    
    .discount-section h2 {
        font-size: 1.3rem;
        padding-left: 0.8rem;
    }
    
    .discount-scroll-container {
        margin: 0 -0.3rem;
        padding-left: 0.3rem;
    }
    
    .discount-grid {
        gap: 0.6rem;
    }
    
    .discount-card {
        width: 145px;
        height: 200px;
        padding: 0.6rem;
    }
    
    .discount-image {
        height: 75px;
    }
    
    .discount-details {
        gap: 0.2rem;
    }
    
    .discount-details h3 {
        font-size: 0.85rem;
    }
    
    .rating-badge {
        font-size: 0.65rem;
    }
    
    .offer-badge {
        padding: 0.05rem 0.3rem;
        font-size: 0.55rem;
    }
    
    .current-price {
        font-size: 0.9rem;
    }
    
    .original-price {
        font-size: 0.6rem;
    }
    
    .discount-actions {
        gap: 0.3rem;
        margin-top: 0.2rem;
    }
    
    .buy-now-btn, .add-cart-btn {
        padding: 0.15rem 0.25rem;
        font-size: 0.6rem;
    }
}

@media screen and (max-width: 360px) {
    .discount-card {
        width: 135px;
        height: 200px;
        padding: 0.5rem;
    }
    
    .discount-image {
        height: 70px;
    }
    
    .discount-details h3 {
        font-size: 0.8rem;
    }
}

/* ========== MAIN SPLIT - WORKING WITH MOBILE TABS ========== */
.main-split {
    border-radius: 24px;
    border: 1px solid #e0dbbd;
    box-shadow: 0 15px 30px -18px #b1a97c;
    overflow: hidden;
    margin: 2rem 5%;
}

/* Mobile Tabs */
.mobile-category-tabs {
    display: none;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #4a674a;
    cursor: pointer;
    transition: 0.2s;
}

.tab-btn.active {
    border-bottom-color: #7f9f6f;
    background: #ffffff;
    color: #1d471d;
    font-weight: 600;
}

.split-container {
    display: flex;
    width: 100%;
}

.side {
    flex: 0 0 50%;
    padding: 1.8rem;
    border: 1px solid #ece7cf;
    background: #ffffff;
}

.veg-side { 
    border-right: 1px solid #efebd2; 
}

/* Category title with badges */
.category-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-icon { 
    font-size: 2rem; 
}

.category-title h3 {
    font-size: 1.6rem;
    color: #2c4f2c;
    border-bottom: 2px dotted #d8dbb2;
    padding-bottom: 0.5rem;
    flex: 1;
}

.veg-badge {
    background: #e8f5e8;
    color: #2e7d32;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    border: 1px solid #a5d6a5;
    white-space: nowrap;
}

.nonveg-badge {
    background: #ffebee;
    color: #c62828;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    border: 1px solid #ef9a9a;
    white-space: nowrap;
}

/* Product Scroll Container */
.product-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd3a0 #f0f2d7;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.product-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.product-scroll-container::-webkit-scrollbar-track {
    background: #f0f2d7;
    border-radius: 10px;
}

.product-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd3a0;
    border-radius: 10px;
}

/* Product Grid - Horizontal scroll */
.product-scroll-container .product-grid {
    display: flex;
    gap: 1rem;
    width: max-content;
}

/* Desktop - Show exactly 3 products visible */
@media (min-width: 801px) {
    .product-scroll-container {
        max-width: calc(200px * 3 + 2rem);
    }
}

/* Product Card */
.product-card {
    border-radius: 20px;
    border: 1px solid #e1deba;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: 0.2s;
    height: 250px;
    width: 200px;
    flex-shrink: 0;
    background: #ffffff;
}

.product-card:hover {
    border-color: #cec99c;
    box-shadow: 0 8px 18px -12px #a89f6f;
}

/* Veg card indicator */
/* .veg-card {
    border-left: 4px solid #4caf50;
}

.nonveg-card {
    border-left: 4px solid #f44336;
} */

.product-image {
    width: 100%;
    height: 110px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    border: 1px solid #e0d8b0;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
}

.product-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d471d;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.veg-tag {
    color: #4caf50;
    font-size: 1rem;
    background: #e8f5e8;
    padding: 0.1rem 0.3rem;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
}

.nonveg-tag {
    color: #f44336;
    font-size: 1rem;
    background: #ffebee;
    padding: 0.1rem 0.3rem;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    /* font-size: 0.8rem; */
}

.stars {
    color: #f5b342;
}

.rating-value {
    color: #5a735a;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.1rem 0;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #aa4e2b;
}

.product-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.sub-category {
    margin: 1.5rem 0 0.8rem;
}

.sub-category h4 {
    font-size: 1.2rem;
    color: #426442;
    border-left: 4px solid #cfd8a6;
    padding-left: 0.8rem;
    margin-bottom: 0.8rem;
}

/* Remove view all buttons and roll overlays */
.view-all-btn,
.roll-overlay-logo {
    display: none !important;
}

/* MOBILE RESPONSIVE - FIXED TABS */
@media (max-width: 800px) {
    /* Show mobile tabs */
    .mobile-category-tabs {
        display: flex;
    }
    
    .split-container {
        flex-direction: column;
    }
    
    .side {
        flex-basis: auto !important;
        width: 100%;
        padding: 1.2rem;
    }
    
    .veg-side { 
        border-right: none; 
    }
    
    /* Default: Show veg side, hide non-veg */
    .nonveg-side {
        display: none;
    }
    
    .veg-side {
        display: block;
    }
    
    /* When non-veg tab is active */
    .split-container.mobile-show-nonveg .veg-side {
        display: none;
    }
    
    .split-container.mobile-show-nonveg .nonveg-side {
        display: block;
    }
    
    /* When veg tab is active */
    .split-container.mobile-show-veg .veg-side {
        display: block;
    }
    
    .split-container.mobile-show-veg .nonveg-side {
        display: none;
    }
    
    /* Mobile: Show 2 products visible */
    .product-scroll-container {
        overflow-x: auto;
        max-width: calc(160px * 2 + 1rem);
    }
    
    .product-scroll-container .product-grid {
        display: flex;
        gap: 0.8rem;
        width: max-content;
    }
    
    .product-card {
        width: 160px;
        height: 235px;
    }
    
    .product-image {
        height: 90px;
    }
    
    .category-title h3 {
        font-size: 1.4rem;
    }
    
    .sub-category h4 {
        font-size: 1.1rem;
    }
    
    .navbar { 
        padding: 0.6rem 4%;
    }
    .logo { 
        font-size: 1.2rem;
    }
    .search-bar input { 
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .right-menu span { 
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    .cart-btn {
        font-size: 1.1rem !important;
        padding: 0.4rem 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .side {
        padding: 1rem;
    }
    
    .product-card {
        width: 150px;
        height: 225px;
        padding: 0.6rem;
    }
    
    .product-image {
        height: 80px;
    }
    
    .product-header h3 {
        font-size: 0.9rem;
    }
    
    .product-scroll-container {
        max-width: calc(150px * 2 + 1rem);
    }
    
    .category-title h3 {
        font-size: 1.2rem;
    }
    
    .sub-category h4 {
        font-size: 1rem;
    }
    
    .tab-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .navbar {
        gap: 0.4rem;
    }
    .logo { 
        font-size: 1rem; 
    }
    .search-bar input { 
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    .right-menu span { 
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    .cart-btn {
        font-size: 1rem !important;
        padding: 0.3rem 0.7rem !important;
    }
}

/* Footer styles */
.footer {
    background: #1d3b1d;
    color: #f5efe0;
    margin-top: 3rem;
    padding: 2rem 5% 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #cfd8a6;
}

.footer-links a {
    display: block;
    color: #f5efe0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    color: #e9b67c;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #3a5a3a;
    font-size: 0.85rem;
    opacity: 0.7;
}

@media (max-width: 800px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}


    .cart-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 380px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            border-left: 2px solid #e0dbbd;
        }

        .cart-sidebar.open {
            right: 0;
        }

        .cart-header {
            padding: 1.5rem;
            background: #f8f8f0;
            border-bottom: 2px solid #e0dbbd;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-header h3 {
            font-size: 1.3rem;
            color: #1d471d;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .close-cart {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #aa4e2b;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .close-cart:hover {
            background: #ffebee;
        }

        .cart-items {
            flex: 1;
            overflow-y: auto;
            padding: 1rem;
        }

        .cart-item {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            border-bottom: 1px solid #eae3ca;
            position: relative;
        }

        .cart-item-image {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            background-size: cover;
            background-position: center;
            border: 1px solid #e0d8b0;
        }

        .cart-item-details {
            flex: 1;
        }

        .cart-item-title {
            font-weight: 600;
            color: #1d471d;
            margin-bottom: 0.3rem;
        }

        .cart-item-price {
            color: #aa4e2b;
            font-weight: 600;
        }

        .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.3rem;
        }

        .quantity-btn {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 1px solid #cbd3a0;
            background: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quantity-btn:hover {
            background: #f0f2d7;
        }

        .item-quantity {
            font-weight: 600;
        }

        .remove-item {
            color: #f44336;
            cursor: pointer;
            font-size: 0.8rem;
            margin-top: 0.3rem;
        }

        .cart-footer {
            padding: 1.5rem;
            background: #f8f8f0;
            border-top: 2px solid #e0dbbd;
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            font-weight: 600;
            font-size: 1.1rem;
        }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #3a5a3a;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left {
    opacity: 0.7;
}

.footer-bottom-right {
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-bottom-right strong {
    color: #e9b67c;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-left,
    .footer-bottom-right {
        width: 100%;
        justify-content: center;
    }
}
        .order-btn {
            width: 100%;
            padding: 1rem;
            background: #e9b67c;
            border: 1px solid #c2a875;
            color: #1d471d;
            font-weight: 600;
            border-radius: 40px;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 4px 0 #c2a875;
        }

        .order-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 0 #c2a875;
        }

        /* Modal Styles */
        .product-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .product-modal.open {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 24px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            border: 2px solid #e0dbbd;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: white;
            border: 2px solid #e0dbbd;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            z-index: 10;
        }

        .modal-close:hover {
            background: #ffebee;
        }

        .modal-image {
            width: 100%;
            height: 250px;
            background-size: cover;
            background-position: center;
            border-bottom: 2px solid #e0dbbd;
        }

        .modal-body {
            padding: 1.5rem;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .modal-header h2 {
            font-size: 1.8rem;
            color: #1d471d;
        }

        .modal-tag {
            padding: 0.3rem 0.8rem;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .modal-tag.veg {
            background: #e8f5e8;
            color: #2e7d32;
            border: 1px solid #a5d6a5;
        }

        .modal-tag.nonveg {
            background: #ffebee;
            color: #c62828;
            border: 1px solid #ef9a9a;
        }

        .modal-rating {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .modal-stars {
            color: #f5b342;
        }

        .modal-price {
            font-size: 2rem;
            font-weight: 600;
            color: #aa4e2b;
            margin-bottom: 1rem;
        }

        .modal-description {
            color: #4a5a4a;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            padding: 1rem 0;
            border-top: 1px dashed #e0dbbd;
            border-bottom: 1px dashed #e0dbbd;
        }

        .modal-actions {
            display: flex;
            gap: 1rem;
        }

        .modal-actions .buy-now-btn,
        .modal-actions .add-cart-btn {
            padding: 0.8rem;
            font-size: 1rem;
        }

        .cart-count {
            background: #aa4e2b;
            color: white;
            border-radius: 50%;
            padding: 0.2rem 0.5rem;
            font-size: 0.8rem;
            margin-left: 0.3rem;
        }

        /* Overlay for sidebar */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            z-index: 999;
        }

        .overlay.open {
            display: block;
        }

        /* Success Modal Styles */
        .success-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 3000;
            align-items: center;
            justify-content: center;
        }

        .success-modal.open {
            display: flex;
        }

        .success-content {
            background: white;
            border-radius: 24px;
            max-width: 350px;
            width: 90%;
            padding: 2rem;
            text-align: center;
            border: 2px solid #e0dbbd;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            position: relative;
        }

        .success-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            color: #4caf50;
        }

        .success-title {
            font-size: 1.5rem;
            color: #1d471d;
            margin-bottom: 0.5rem;
        }

        .success-message {
            color: #4a5a4a;
            margin-bottom: 1.5rem;
        }

        .success-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .success-buttons button {
            padding: 0.8rem 1.5rem;
            border-radius: 40px;
            font-weight: 500;
            cursor: pointer;
            transition: 0.2s;
        }

        .view-cart-btn {
            background: #e9b67c;
            border: 1px solid #c2a875;
            color: #1d471d;
        }

        .continue-btn {
            background: transparent;
            border: 1.5px solid #cbd3a0;
            color: #2c542c;
        }

        /* Mobile Responsive */
        @media (max-width: 800px) {
            .cart-sidebar {
                width: 100%;
                right: -100%;
            }

            .cart-sidebar.open {
                right: 0;
            }
        }

        /* Login Button Styling */
        .login-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white !important;
            padding: 8px 20px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
            margin-left: 15px;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        }

        .login-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 5px rgba(102, 126, 234, 0.3);
        }

        /* Style 2: Outline button */
        .login-btn.outline {
            background: transparent;
            border: 2px solid #667eea;
            color: #667eea !important;
            box-shadow: none;
        }

        .login-btn.outline:hover {
            background: #667eea;
            color: white !important;
        }

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-icon, .profile-icon {
    background: #f0f2d7;
    border: 1px solid #cbd3a0;
    color: #1d471d;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-left: 10px;
}

.user-icon:hover, .profile-icon:hover {
    background: #e3e9c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 0 #cbd3a0;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 16px;
    border: 1px solid #e0dbbd;
    margin-top: 5px;
}

.dropdown-content a {
    color: #1d471d;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eae3ca;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8f8f0;
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

@media (max-width: 600px) {
    .user-icon, .profile-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}