/* ==========================================
   DeliveryBaba - Pure Indian Flag (Tiranga) Theme
   Colors: Deep Saffron (Kesari) | Pure White | India Green | Dark Slate
   (ZERO BLUE / NO NIL COLOR)
   ========================================== */

:root {
    /* Pure Indian Flag (Tiranga) Palette: Deep Saffron | White | India Green */
    --saffron: #FF671F;
    --saffron-vibrant: #FF9933;
    --saffron-dark: #E65100;
    --saffron-light: #FFF5EC;
    --saffron-glow: rgba(255, 103, 31, 0.28);

    --india-green: #046A38;
    --india-green-web: #138808;
    --india-green-dark: #034F29;
    --india-green-light: #F0FDF4;
    --india-green-glow: rgba(4, 106, 56, 0.28);

    /* Semantic Mappings */
    --primary: #FF671F;
    --primary-dark: #E65100;
    --primary-darker: #CC4400;
    --primary-light: #FFF5EC;
    --primary-glow: rgba(255, 103, 31, 0.25);

    --secondary: #046A38;
    --secondary-dark: #034F29;
    --secondary-light: #F0FDF4;
    --secondary-glow: rgba(4, 106, 56, 0.25);

    --gold: #FF9933;
    --gold-light: #FFE8CC;
    --gold-gradient: linear-gradient(135deg, #FF671F, #FF9933);

    --accent: #FF671F;
    --accent-glow: rgba(255, 103, 31, 0.2);
    --dark: #046A38;
    --dark-soft: #034F29;
    --neutral-dark: #046A38;
    --neutral-darker: #034F29;
    --neutral-light: #F0FDF4;
    --text: #046A38;
    --text-dark: #1A1A1A;
    --text-light: #526E5D;
    --white: #FFFFFF;
    --light: #FAFAFA;
    --border: #D1E7DD;
    --danger: #DC2626;
    --danger-dark: #B91C1C;
    --warning: #FF9933;
    --success: #046A38;
    --info: #046A38;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 45px rgba(0, 0, 0, 0.15);
    --shadow-3d: 0 1px 0 rgba(255,255,255,0.8) inset;
    --shadow-glow-primary: 0 4px 20px rgba(255, 103, 31, 0.35);
    --shadow-glow-secondary: 0 4px 20px rgba(19, 136, 8, 0.35);

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.94);
    --glass-bg-strong: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(228, 228, 231, 0.85);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Gradients (Pure Tiranga) */
    --gradient-primary: linear-gradient(135deg, #FF671F, #E65100);
    --gradient-primary-light: linear-gradient(135deg, #FFF5EC, #FFE6D0);
    --gradient-secondary: linear-gradient(135deg, #138808, #0E6606);
    --gradient-hero: linear-gradient(135deg, #18181B 0%, #138808 60%, #FF671F 100%);
    --gradient-royal: linear-gradient(135deg, #18181B, #138808, #FF671F);
    --gradient-button: linear-gradient(135deg, #FF671F, #FF8032);
    --gradient-gold: linear-gradient(135deg, #FF671F, #FF9933, #FFB866);
    --gradient-tricolor: linear-gradient(90deg, #FF671F 0%, #FF9933 25%, #FFFFFF 48%, #FFFFFF 52%, #34C759 75%, #138808 100%);
    --gradient-tricolor-flag: linear-gradient(90deg, #FF671F 0%, #FF671F 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #138808 66.66%, #138808 100%);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

/* Mobile First Base */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.col { flex: 1; padding: 0 10px; }

/* ===== TOP HEADER ===== */
.top-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.top-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.top-header a { color: var(--white); text-decoration: none; margin-left: 15px; }

/* ===== MAIN HEADER ===== */
.main-header {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(4, 106, 56, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0;
    border-bottom: 2px solid #046A38;
}
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    position: relative;
}
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    z-index: 2;
}
.logo span { color: var(--secondary); }
.logo img {
    height: 38px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Search Bar (Fluid, Zero-Overlap) */
.search-bar {
    flex: 1 1 auto;
    min-width: 0 !important;
    max-width: 480px;
    margin: 0 10px;
    position: relative;
    z-index: 1;
}
.search-bar form {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    margin: 0;
}
.search-bar input {
    width: 100%;
    min-width: 0 !important;
    padding: 9px 42px 9px 15px;
    border: 2px solid #046A38;
    border-radius: 25px;
    font-size: 13.5px;
    outline: none;
    transition: var(--transition);
    text-overflow: ellipsis;
    background: #FFFFFF;
    box-sizing: border-box;
}
.search-bar input:focus {
    border-color: #FF671F;
    box-shadow: 0 0 0 3px rgba(255, 103, 31, 0.18);
}
.search-bar button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #FF671F;
    color: #FFFFFF;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}
.search-bar button:hover { background: #046A38; }

/* Header Icons - Compact, Non-Shrinking & Uniform */
.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    z-index: 2;
}
.header-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #FFFFFF;
    border: 1.5px solid #046A38;
    color: #046A38;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(4, 106, 56, 0.1);
    flex-shrink: 0;
    padding: 0;
}
.header-btn:hover {
    background: #046A38;
    color: #FFFFFF;
    border-color: #046A38;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(4, 106, 56, 0.2);
}
.header-btn.saffron-btn {
    border-color: #FF671F;
    color: #FF671F;
}
.header-btn.saffron-btn:hover {
    background: #FF671F;
    color: #FFFFFF;
    border-color: #FF671F;
    box-shadow: 0 4px 10px rgba(255, 103, 31, 0.25);
}
.header-btn i {
    font-size: 15px;
    line-height: 1;
}
.header-btn:hover i {
    color: #FFFFFF !important;
}
.header-btn .header-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #FF671F;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FFFFFF;
    padding: 0 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.header-btn .header-btn-label {
    display: none;
}
.mobile-search-toggle { display: none; }

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0;
}
.main-nav .container { display: flex; align-items: center; }
.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--primary-light);
}
.nav-list li a i { font-size: 16px; color: var(--secondary); }

/* ===== HERO BANNER (RESPONSIVE DUAL-VIEW - INDIAN FLAG THEME) ===== */
.hero-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(255,103,31,0.18);
    border: 1px solid rgba(255,103,31,0.3);
    margin: 15px 0 25px;
    background: linear-gradient(135deg, #18181B 0%, #138808 60%, #FF671F 100%);
}
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.banner-slide {
    display: none;
    position: relative;
    min-height: 240px;
    padding: 35px 40px;
    color: var(--white);
    background: linear-gradient(135deg, #18181B 0%, #138808 60%, #FF671F 100%);
    box-sizing: border-box;
}
.banner-slide.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInBanner 0.45s ease-in-out;
}
@keyframes fadeInBanner {
    from { opacity: 0; transform: scale(0.99); }
    to { opacity: 1; transform: scale(1); }
}
.banner-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.32;
    filter: saturate(1.1);
}
.banner-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}
.banner-tag {
    background: rgba(255,103,31,0.25);
    color: #FFE5D0;
    border: 1px solid #FF671F;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}
.banner-title {
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.25;
}
.banner-subtitle {
    font-size: 15px;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    color: #F8FAFC;
    margin-bottom: 18px;
    line-height: 1.4;
}
.banner-cta {
    background: linear-gradient(135deg, #FF671F, #FF8032) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    padding: 10px 26px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(255,103,31,0.4) !important;
    border: 1px solid #FFA768 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
}
.banner-cta:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 20px rgba(255,103,31,0.6) !important;
    background: linear-gradient(135deg, #E65100, #FF671F) !important;
}
.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.banner-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,103,31,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.banner-dots span.active {
    background: #FF671F;
    width: 26px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(255,103,31,0.8);
}
.banner-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #046A38;
    border: 2px solid #FF671F;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
}
.banner-nav-btn:hover {
    background: #FF671F;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
}
.banner-prev { left: 14px; }
.banner-next { right: 14px; }
@media (max-width: 768px) {
    .banner-nav-btn { display: none; }
}

/* Mobile Responsive Banner */
@media (max-width: 768px) {
    .hero-banner {
        border-radius: 16px;
        margin: 10px 0 18px;
    }
    .banner-slide {
        min-height: 190px;
        padding: 22px 18px 28px;
    }
    .banner-title {
        font-size: 20px;
        margin-bottom: 6px;
    }
    .banner-subtitle {
        font-size: 13px;
        margin-bottom: 14px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .banner-tag {
        font-size: 10px;
        padding: 2px 10px;
        margin-bottom: 6px;
    }
    .banner-cta {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }
    .banner-bg-img {
        opacity: 0.38;
    }
}

/* ===== CATEGORY CARDS ===== */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0 15px;
}
.section-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}
.section-title a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}
/* ===== HORIZONTAL COMPACT CATEGORY SLIDER ===== */
.category-slider-wrapper {
    position: relative;
    margin-bottom: 25px;
}
.category-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 4px 14px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.category-slider::-webkit-scrollbar {
    height: 5px;
}
.category-slider::-webkit-scrollbar-track {
    background: #f0f4f1;
    border-radius: 10px;
}
.category-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
.category-slider-card {
    flex: 0 0 auto;
    width: 112px;
    background: linear-gradient(160deg, #ffffff 0%, #f4fdf6 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05), inset 0 1px 1px rgba(255,255,255,0.9);
    border: 1px solid rgba(45,138,78,0.14);
    border-radius: 16px;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.category-slider-card:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 24px rgba(45,138,78,0.18);
    border-color: var(--primary);
}
.category-slider-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f5e9, #f0fdf4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 22px;
    color: var(--primary);
    border: 1px solid #bbf7d0;
    transition: all 0.3s ease;
}
.category-slider-card:hover .icon-box {
    background: var(--primary);
    color: white;
}
.category-slider-card h4 {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 3px 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 28px;
    color: var(--text);
}
.category-slider-card p {
    font-size: 10px;
    color: #888;
    margin: 0;
}
.cat-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}
.cat-scroll-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-60%) scale(1.1);
}
.cat-scroll-left { left: -12px; }
.cat-scroll-right { right: -12px; }
@media (max-width: 768px) {
    .cat-scroll-btn { display: none; }
    .category-slider-card { width: 96px; padding: 10px 5px; }
    .category-slider-card .icon-box { width: 42px; height: 42px; font-size: 19px; margin-bottom: 6px; }
    .category-slider-card h4 { font-size: 10px; height: 25px; }
}
.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    display: block;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.category-card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}
.category-card:hover .icon {
    background: var(--primary);
    color: var(--white);
}
/* ===== IPHONE APP LIQUID WATER GLOSSY & BREADCRUMBS ===== */
.breadcrumb-trail {
    margin: 15px 0;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(232, 226, 210, 0.85);
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748B;
    box-shadow: 0 4px 15px rgba(7, 26, 61, 0.04), inset 0 1px 1px rgba(255,255,255,0.9);
}
.breadcrumb-trail a {
    color: #FF671F;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-trail a:hover {
    color: #138808;
}

/* Water Glossy Reflection Effect */
.glossy-card, .glossy-btn, .product-card, .category-slider-card, .card {
    position: relative;
    overflow: hidden;
}
.glossy-card::after, .glossy-btn::after, .product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}
.glossy-card {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(232, 226, 210, 0.85) !important;
    box-shadow: 0 10px 30px rgba(7, 26, 61, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
    border-radius: 22px !important;
}

/* ROYAL PRODUCT CARDS (iPhone App View) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.product-card {
    background: #FFFFFF;
    border: 1px solid #E8E2D2;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(7, 26, 61, 0.05), inset 0 1px 1px rgba(255,255,255,0.9);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(18, 60, 140, 0.16), 0 0 12px rgba(212, 175, 55, 0.25);
    border-color: #D4AF37;
    background: #FDFBF0;
}
/* Card Badges (Discount, Best Seller, Deals) - Only positioned at top corner */
.product-card > .badge,
.product-card > .badge-discount,
.product-card > .badge-best-seller,
.product-card > .badge-bestseller,
.product-card > .badge-deal,
.product-card > a > .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}
.badge-discount { background: #C62828 !important; color: #FFFFFF !important; }
.badge-bestseller, .badge-best-seller { background: #046A38 !important; color: #FFFFFF !important; top: 36px !important; }
.badge-deal { background: #FF671F !important; color: #FFFFFF !important; }

/* STRICT ZERO-OVERLAP: Any badge, unit tag, or text inside .product-info MUST NEVER be absolute */
.product-card .product-info .badge,
.product-card .product-info .product-unit-pill,
.product-card .product-info .product-weight,
.product-card .product-info span,
.product-card .product-info div,
.product-card .product-unit-pill {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    box-shadow: none !important;
    transform: none !important;
}

.product-card .product-unit-pill {
    display: inline-flex !important;
    align-items: center;
    background: #F1F5F9;
    color: #0F172A;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    white-space: nowrap;
    line-height: normal;
    flex-shrink: 0;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    border: 1px solid #E8E2D2;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.product-card .wishlist-btn:hover, .product-card .wishlist-btn.active {
    color: #C62828;
    background: #FFFFFF;
    transform: scale(1.1);
    border-color: #C62828;
}

/* SUPER GLOSSY PRODUCT IMAGE CONTAINER (Mobile & Web App View) */
.product-card .product-image {
    width: 100%;
    height: 165px;
    object-fit: contain;
    background: radial-gradient(circle at 50% 30%, #FFFFFF 0%, #F6F8FB 60%, #EBF2FA 100%);
    padding: 10px;
    border-bottom: 1px solid rgba(232, 226, 210, 0.7);
    filter: drop-shadow(0 5px 12px rgba(7, 26, 61, 0.12)) saturate(1.14) contrast(1.05);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9);
}
.product-card:hover .product-image {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 12px 24px rgba(18, 60, 140, 0.24)) saturate(1.2) contrast(1.07);
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { border-radius: 18px; }
    .product-card .product-image {
        height: 135px;
        padding: 8px;
        filter: drop-shadow(0 4px 10px rgba(7, 26, 61, 0.14)) saturate(1.16) contrast(1.05);
    }
}

.product-card .product-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.product-card .product-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card .product-weight {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 6px;
    font-weight: 500;
}
.product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}
.product-card .current-price {
    font-size: 17px;
    font-weight: 800;
    color: #18181B;
}
.product-card .old-price {
    font-size: 13px;
    color: #94A3B8;
    text-decoration: line-through;
}

.product-card .add-to-cart, .product-card .glossy-btn {
    width: 100%;
    padding: 9px 12px;
    background: linear-gradient(135deg, #138808, #0E6606);
    color: #FFFFFF;
    border: 1px solid rgba(19, 136, 8, 0.35);
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(19, 136, 8, 0.25);
    transition: all 0.3s ease;
}
.product-card .add-to-cart:hover {
    background: linear-gradient(135deg, #0E6606, #0A4A04);
    box-shadow: 0 6px 18px rgba(19, 136, 8, 0.35);
    border-color: #138808;
    transform: translateY(-1px);
}

/* Category Tints */
.cat-tint-veg { background: #EAF7EC !important; }
.cat-tint-fruits { background: #FFF1E8 !important; }
.cat-tint-dairy { background: #EEF5FF !important; }
.cat-tint-bakery { background: #FFF7D6 !important; }
.cat-tint-meat { background: #FFEAEA !important; }
.cat-tint-beverages { background: #EAF8F7 !important; }
.cat-tint-default { background: #F0FDF4 !important; }
.badge-best-seller { 
    background: #FF9933 !important; 
    color: #1A1A1A !important; 
    font-weight: 800 !important; 
    display: inline-block !important; 
    padding: 3px 10px !important; 
    border-radius: 12px !important; 
    font-size: 11px !important; 
    line-height: 1.2 !important; 
    text-shadow: none !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}
.badge-new { background: var(--primary); color: var(--white); }
.badge-cod { background: var(--info); color: var(--white); }
.product-card .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 2;
    color: var(--text-light);
}
.product-card .wishlist-btn.active { color: var(--danger); }
.product-card .wishlist-btn:hover { transform: scale(1.1); }
.product-card .product-image {
    width: 100%;
    height: 175px;
    object-fit: contain;
    background: #fafafa;
    padding: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}
.product-card:hover .product-image {
    transform: scale(1.04);
}
@media (max-width: 768px) {
    .product-card .product-image {
        height: 140px;
        padding: 6px;
    }
}
@media (max-width: 480px) {
    .product-card .product-image {
        height: 125px;
        padding: 4px;
    }
}
.product-card .product-info { padding: 12px; }
.product-card .product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}
.product-card .product-weight { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.product-card .product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.product-card .current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.product-card .old-price {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}
.product-card .add-to-cart {
    width: 100%;
    padding: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-card .add-to-cart:hover { background: var(--primary-dark); }

/* Quantity Selector */
.qty-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 8px;
}
.qty-selector button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}
.qty-selector button:first-child { border-radius: 5px 0 0 5px; }
.qty-selector button:last-child { border-radius: 0 5px 5px 0; }
.qty-selector button:hover { background: var(--primary-light); color: var(--primary); }
.qty-selector input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary { 
    background: linear-gradient(135deg, #FF671F, #E65100); 
    color: var(--white); 
    box-shadow: 0 4px 14px rgba(255, 103, 31, 0.3);
}
.btn-primary:hover { 
    background: linear-gradient(135deg, #E65100, #CC4400); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 18px rgba(255, 103, 31, 0.45);
}
.btn-secondary { 
    background: linear-gradient(135deg, #27272A, #18181B); 
    color: var(--white); 
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.btn-secondary:hover { 
    background: linear-gradient(135deg, #18181B, #09090B); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.btn-success { 
    background: linear-gradient(135deg, #138808, #0E6606); 
    color: var(--white); 
    box-shadow: 0 4px 14px rgba(19, 136, 8, 0.3);
}
.btn-success:hover { 
    background: linear-gradient(135deg, #0E6606, #0A4A04); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 18px rgba(19, 136, 8, 0.45);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { 
    background: var(--primary); 
    color: var(--white); 
    box-shadow: 0 4px 12px rgba(255, 103, 31, 0.25);
}
.btn-outline-green {
    background: transparent;
    border: 2px solid var(--india-green);
    color: var(--india-green);
}
.btn-outline-green:hover {
    background: var(--india-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(19, 136, 8, 0.25);
}
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #b91c1c; transform: translateY(-2px); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== FORMS & INPUTS - ZERO OVERLAP ARCHITECTURE ===== */
.form-group {
    margin-bottom: 18px;
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box !important;
    clear: both;
}
.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1E293B;
    line-height: 1.4;
    clear: both;
}
.form-group small {
    display: block;
    font-size: 11.5px;
    color: #64748B;
    margin-top: 5px;
    line-height: 1.4;
    clear: both;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select.form-control,
textarea.form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box !important;
    display: block;
    min-height: 42px;
    padding: 10px 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #FFFFFF;
    color: #0F172A;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: #046A38;
    box-shadow: 0 0 0 3px rgba(4, 106, 56, 0.15), 0 1px 3px rgba(0,0,0,0.05);
    background: #FFFFFF;
}

.form-control.error { border-color: #DC2626; }
textarea.form-control { min-height: 90px; resize: vertical; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23046A38' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* Checkbox & Radio Alignment */
input[type="checkbox"], input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #046A38;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow), var(--shadow-3d);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md), var(--shadow-3d);
}
.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent);
}
.card-body { padding: 20px; }
.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}

/* ===== ALERTS ===== */
.alert {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 14px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--secondary);
}
.footer-col p, .footer-col a {
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 5px 0;
    border-top: 1px solid var(--border);
}
.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0 2px;
}
.mobile-bottom-nav .nav-items a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    font-size: 9px;
    gap: 1px;
    padding: 4px 6px;
    transition: var(--transition);
    position: relative;
    min-width: 0;
    flex-shrink: 1;
}
.mobile-bottom-nav .nav-items a.active,
.mobile-bottom-nav .nav-items a:hover { color: var(--primary); }
.mobile-bottom-nav .nav-items a i { font-size: 18px; }
.mobile-bottom-nav .badge-mobile {
    position: absolute;
    top: 0;
    right: 5px;
    background: var(--secondary);
    color: var(--white);
    font-size: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin: 20px 0;
}
.product-gallery {
    position: relative;
}
.product-gallery .main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.product-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
}
.product-gallery .thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.product-gallery .thumbnails img.active,
.product-gallery .thumbnails img:hover { border-color: var(--primary); }
.product-info-detail .product-name { font-size: 24px; margin-bottom: 10px; }
.product-info-detail .product-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}
.product-info-detail .product-meta i { margin-right: 5px; }
.product-info-detail .price-section {
    background: var(--primary-light);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin: 15px 0;
}
.product-info-detail .price-section .price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 8px 0;
}
.product-info-detail .price-section .price-row label {
    min-width: 80px;
    font-weight: 600;
}
.product-info-detail .cutting-options {
    margin: 15px 0;
}
.product-info-detail .cutting-options .option-btn {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    cursor: pointer;
    margin: 5px;
    transition: var(--transition);
    font-size: 13px;
}
.product-info-detail .cutting-options .option-btn.active,
.product-info-detail .cutting-options .option-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

/* ===== CART PAGE ===== */
.cart-page {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    margin: 20px 0;
}
.cart-items { border-radius: var(--radius); overflow: hidden; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.cart-item:hover { background: var(--light); }
.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.cart-item .item-details { flex: 1; }
.cart-item .item-details h5 { font-size: 15px; margin-bottom: 4px; }
.cart-item .item-details p { font-size: 13px; color: var(--text-light); }
.cart-item .item-price { font-size: 16px; font-weight: 700; color: var(--primary); }
.cart-item .remove-btn {
    color: var(--danger);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 18px;
    transition: var(--transition);
}
.cart-item .remove-btn:hover { transform: scale(1.2); }
.cart-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}
.cart-summary h4 { margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}
.cart-summary .summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--border);
    padding-top: 10px;
    margin-top: 10px;
}
.cart-summary .coupon-input {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}
.cart-summary .coupon-input input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: 5px; font-size: 13px; }

/* ===== CHECKOUT ===== */
.checkout-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    margin: 20px 0;
}
.checkout-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}
.checkout-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--primary);
}
.address-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
}
.address-card:hover,
.address-card.selected { border-color: var(--primary); background: var(--primary-light); }
.address-card h5 { font-size: 14px; margin-bottom: 4px; }
.address-card p { font-size: 13px; color: var(--text-light); }
.payment-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.payment-options label:hover,
.payment-options input:checked + span + *,
.payment-options label:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    padding: 20px;
}
.auth-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
    padding: 35px;
}
.auth-box .logo {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    display: block;
}
.auth-box h3 { text-align: center; margin-bottom: 5px; }
.auth-box p { text-align: center; color: var(--text-light); font-size: 14px; margin-bottom: 20px; }
.auth-box .divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 13px;
}
.auth-box .divider::before,
.auth-box .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}
.auth-box .divider::before { margin-right: 10px; }
.auth-box .divider::after { margin-left: 10px; }
.auth-box .social-login {
    display: flex;
    gap: 10px;
}
.auth-box .social-login .btn { flex: 1; justify-content: center; }
.auth-box .toggle-auth { text-align: center; margin-top: 15px; font-size: 14px; }
.auth-box .toggle-auth a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* ===== ORDER CARDS ===== */
.order-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-hover); }
.order-card .order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.order-card .order-number { font-weight: 600; font-size: 14px; }
.order-card .order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #cce5ff; color: #004085; }
.status-preparing { background: #d6d8d9; color: #383d41; }
.status-out_for_delivery { background: #d4edda; color: #155724; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.order-card .order-items { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.order-card .order-total { font-size: 16px; font-weight: 700; color: var(--primary); }
.order-card .order-date { font-size: 12px; color: var(--text-light); }
.order-card .order-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ===== ORDER TRACKING ===== */
.tracking-timeline {
    position: relative;
    padding-left: 30px;
}
.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.tracking-item {
    position: relative;
    padding-bottom: 25px;
}
.tracking-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--white);
}
.tracking-item.completed::before { background: var(--primary); }
.tracking-item.active::before { background: var(--secondary); box-shadow: 0 0 0 3px rgba(255,107,53,0.3); }
.tracking-item .time { font-size: 12px; color: var(--text-light); }
.tracking-item .desc { font-size: 14px; font-weight: 500; }

/* ===== ADMIN SIDEBAR ===== */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: var(--gradient-dark);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    transition: var(--transition);
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
}
.admin-sidebar .sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 10px;
}
.admin-sidebar .sidebar-header .logo { color: var(--white); font-size: 20px; display: flex; align-items: center; gap: 8px; }
.admin-sidebar .sidebar-header .logo span { color: var(--secondary); }
.admin-sidebar .sidebar-header small { color: rgba(255,255,255,0.4); font-size: 12px; display: block; margin-top: 4px; }
.admin-sidebar .nav-section { padding: 10px 0; }
.admin-sidebar .nav-section .section-title { padding: 8px 20px; font-size: 10px; text-transform: uppercase; color: rgba(255,255,255,0.3); letter-spacing: 1.5px; font-weight: 600; }
.admin-sidebar .nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    border-left: 3px solid transparent;
    margin: 2px 0;
}
.admin-sidebar .nav-item a:hover,
.admin-sidebar .nav-item a.active { background: rgba(255,255,255,0.06); color: var(--white); border-left-color: var(--secondary); }
.admin-sidebar .nav-item a i { width: 20px; text-align: center; font-size: 16px; }
.admin-sidebar .nav-item a.active i { color: var(--secondary); }
.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 20px 30px;
    background: var(--light);
    min-height: 100vh;
}
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px !important;
    border-bottom: 1px solid var(--border);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm), var(--shadow-3d);
}
.admin-topbar h3 { font-size: 22px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.admin-topbar .admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-topbar .admin-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid var(--white);
}

/* ===== STAT CARDS ===== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow), var(--shadow-3d);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255,255,255,0.5);
}
.stat-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-3d);
    transform: translateY(-3px);
}
.stat-card .icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.stat-card .icon.green { background: var(--gradient-primary-light); color: var(--primary-dark); }
.stat-card .icon.orange { background: var(--secondary-light); color: var(--secondary-dark); }
.stat-card .icon.blue { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #D97706; }
.stat-card .icon.red { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c62828; }
.stat-card .info h4 { font-size: 24px; font-weight: 700; }
.stat-card .info p { font-size: 13px; color: var(--text-light); }

/* ===== TABLES ===== */
.table-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table thead { background: var(--primary); color: var(--white); }
table th {
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
table tbody tr:hover { background: var(--light); }
table .product-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 5px; }
table .action-btns { display: flex; gap: 5px; }
table .action-btns a, table .action-btns button {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1150px) {
    .main-header .logo .desktop-only { display: none !important; }
    .main-header .search-bar { max-width: 360px; margin: 0 8px; }
    .main-header .search-bar input { font-size: 13px; }
    .logo { font-size: 18px; }
    .header-icons { gap: 6px; }
    .header-btn { width: 35px; height: 35px; }
}
@media (max-width: 992px) {
    .main-header .logo { max-width: 38%; }
    .main-header .search-bar { max-width: 280px; margin: 0 6px; }
    .main-header .search-bar input { font-size: 12.5px; padding: 8px 36px 8px 12px; }
    .main-header .search-bar button { width: 28px; height: 28px; font-size: 12px; }
    .header-icons .desktop-only { display: none !important; }
    .product-detail { grid-template-columns: 1fr; }
    .cart-page { grid-template-columns: 1fr; }
    .checkout-page { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .top-header { display: none; }
    .main-header { padding: 8px 0; position: sticky; top: 0; z-index: 1000; background: #FFFFFF; border-bottom: 2px solid #046A38; }
    .main-header .container { gap: 8px; justify-content: space-between; align-items: center; }
    .main-header .logo { font-size: 17px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
    .main-header .logo img { height: 30px !important; }
    .main-header .search-bar { display: none; }
    .header-icons { gap: 8px; flex-shrink: 0; flex-wrap: nowrap; }
    .header-btn { width: 34px; height: 34px; }
    .header-btn i { font-size: 14px; }
    .header-btn .header-badge { min-width: 15px; height: 15px; font-size: 8.5px; top: -3px; right: -3px; }
    .mobile-search-toggle { display: inline-flex !important; }
    .main-nav { display: none; }
    .hero-banner { min-height: 180px; margin: 10px 0; border-radius: 8px; }
    .hero-banner .banner-slide { padding: 20px; }
    .hero-banner .banner-slide h2 { font-size: 20px; }
    .hero-banner .banner-slide p { font-size: 13px; }
    .section-title h2 { font-size: 18px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .category-card { padding: 15px 10px; }
    .category-card .icon { width: 50px; height: 50px; font-size: 20px; }
    .mobile-bottom-nav { display: block; }
    .site-footer { display: none; }
    .admin-sidebar { width: 0; overflow: hidden; }
    .admin-sidebar.open { width: 260px; }
    .admin-main { margin-left: 0; }
    .admin-topbar .menu-toggle { display: block; }
    .auth-page { padding: 15px; }
    .auth-box { padding: 25px; }
    .cart-summary { position: static; }
    .order-detail-grid { grid-template-columns: 1fr !important; }
    /* Product detail mobile */
    .product-detail { padding: 15px; gap: 20px; }
    .product-gallery .main-image { height: 280px; }
    .product-info-detail .product-name { font-size: 20px; }
    .product-info-detail .product-meta { flex-wrap: wrap; gap: 8px; }
    .product-info-detail .product-meta span { flex: 1 1 45%; }
    .product-info-detail .price-section .price-row { flex-wrap: wrap; gap: 8px; }
    .product-info-detail .price-section .price-row span { font-size: 22px !important; }
    .price-type-toggle { flex-wrap: wrap; }
    .price-type-toggle button { flex: 1; min-width: 120px; }
    /* Delivery mobile */
    .delivery-stats { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-row { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .main-header { padding: 6px 0; }
    .main-header .logo { font-size: 16px; }
    .main-header .logo img { height: 26px !important; }
    .header-icons { gap: 6px; }
    .header-btn { width: 32px; height: 32px; }
    .header-btn i { font-size: 13.5px; }
    .header-btn .header-badge { min-width: 14px; height: 14px; font-size: 8px; top: -3px; right: -3px; }
    .mobile-bottom-nav .nav-items a { padding: 5px 6px; font-size: 10px; }
    .mobile-bottom-nav .nav-items a i { font-size: 18px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .category-card { padding: 12px 8px; }
    .category-card .icon { width: 45px; height: 45px; font-size: 18px; }
    .product-card .product-image { height: 120px; }
    .product-card > .badge, .product-card > .badge-discount { padding: 2px 7px; font-size: 9px; top: 5px !important; }
    .product-card > .badge-best-seller { top: 24px !important; }
    .product-card > .badge-cod { top: 43px !important; }
    .product-card .product-info .badge,
    .product-card .product-info .product-unit-pill { position: static !important; top: auto !important; box-shadow: none !important; }
    .product-card .product-name { font-size: 11px; min-height: 28px; }
    .product-card .current-price { font-size: 14px; }
    .product-card .old-price { font-size: 11px; }
    .product-card .add-to-cart { font-size: 10px; padding: 5px; }
    /* Product detail mobile */
    .product-detail { padding: 10px; }
    .product-gallery .main-image { height: 220px; }
    .product-info-detail .product-name { font-size: 18px; }
    .product-info-detail .product-meta { font-size: 12px; }
    .product-info-detail .product-meta span { flex: 1 1 100%; }
    .product-info-detail .price-section .price-row span { font-size: 20px !important; }
    .product-info-detail .price-section .price-row span.old-price { font-size: 13px !important; }
    .product-detail .qty-selector { width: 100px; }
    .product-detail .qty-input { width: 36px; font-size: 14px; }
    .product-detail .wishlist-btn { width: 42px !important; height: 42px !important; font-size: 16px !important; }
    .auth-box { padding: 20px; }
    .stat-grid { grid-template-columns: 1fr; }
    .container { padding: 0 10px; }
    .hero-banner { min-height: 150px; }
    .hero-banner .banner-slide h2 { font-size: 17px; }
    .footer-grid { grid-template-columns: 1fr; gap: 12px; }
    .footer-col h4 { font-size: 13px; }
}

/* ===== MISC ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.hidden { display: none; }

/* Product Price Type Toggle */
.price-type-toggle {
    display: flex;
    gap: 0;
    margin: 10px 0;
    border: 2px solid var(--primary);
    border-radius: 25px;
    overflow: hidden;
    width: fit-content;
}
.price-type-toggle button {
    padding: 6px 20px;
    border: none;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
}
.price-type-toggle button.active { background: var(--primary); color: var(--white); }
.price-type-toggle button:first-child { border-right: 1px solid var(--primary); }

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}
.toast {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    color: var(--white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    min-width: 280px;
}
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--info); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    align-items: center;
    justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 25px;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.modal-content .close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

/* Delivery Boy Specific */
.delivery-header {
    background: var(--secondary);
    color: var(--white);
    padding: 15px;
    text-align: center;
}
.delivery-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
}
.delivery-stat-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}
.delivery-stat-card h3 { font-size: 24px; color: var(--primary); }
.delivery-stat-card p { font-size: 12px; color: var(--text-light); }

/* Image Upload */
.image-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
}
.image-upload-area:hover { border-color: var(--primary); background: var(--primary-light); }
.image-upload-area i { font-size: 40px; color: var(--primary); margin-bottom: 10px; }
.image-preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.image-preview .preview-item {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}
.image-preview .preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview .preview-item .remove-img {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    background: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 3D GLASS / GLOSSY EFFECTS ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow), var(--shadow-3d);
}
.glass-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md), var(--shadow-3d);
}
.main-header.glass-header {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    box-shadow: var(--shadow-sm);
}
.mobile-bottom-nav.glass-nav {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}
.card.glass-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow), var(--shadow-3d);
}
.product-card.glossy {
    background: linear-gradient(160deg, #ffffff 0%, #fbfdfb 100%);
    box-shadow: 0 4px 20px rgba(10,25,49,0.06), 0 1px 3px rgba(10,25,49,0.04), inset 0 1px 1px rgba(255,255,255,0.8);
    border: 1px solid rgba(19,136,8,0.15);
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.product-card.glossy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: all 0.65s ease;
    pointer-events: none;
}
.product-card.glossy:hover::before {
    left: 100%;
}
.product-card.glossy:hover {
    box-shadow: 0 14px 35px rgba(255,103,31,0.18), 0 6px 16px rgba(10,25,49,0.08);
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255,103,31,0.35);
}
.btn.glossy {
    background: linear-gradient(135deg, #FF671F, #E65100);
    box-shadow: 0 4px 14px rgba(255,103,31,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.btn.glossy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: all 0.6s ease;
}
.btn.glossy:hover::after {
    left: 100%;
}
.btn.glossy:hover {
    box-shadow: 0 8px 24px rgba(255,103,31,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
    transform: translateY(-3px);
}
.btn-secondary.glossy {
    background: linear-gradient(135deg, #27272A, #18181B);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-secondary.glossy:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-3px);
}
.category-card.glossy-cat {
    background: linear-gradient(160deg, #ffffff 0%, #f6fbf7 100%);
    box-shadow: 0 4px 16px rgba(10,25,49,0.05), inset 0 1px 1px rgba(255,255,255,0.9);
    border: 1px solid rgba(19,136,8,0.15);
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.category-card.glossy-cat:hover {
    box-shadow: 0 10px 28px rgba(19,136,8,0.2);
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(19,136,8,0.4);
}
.add-to-cart.glossy-btn {
    background: linear-gradient(135deg, #138808, #0E6606);
    box-shadow: 0 4px 12px rgba(19,136,8,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
    border-radius: 25px;
    color: #FFFFFF !important;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.add-to-cart.glossy-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: all 0.6s ease;
}
.add-to-cart.glossy-btn:hover::after {
    left: 100%;
}
.add-to-cart.glossy-btn:hover {
    box-shadow: 0 8px 22px rgba(19,136,8,0.45);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0E6606, #0A4A04);
}
    transform: translateY(-2px);
}

/* ===== 3D ADMIN STATS ===== */
.admin-stat-card.glass-stat {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: var(--shadow), var(--shadow-3d);
    transition: var(--transition-bounce);
}
.admin-stat-card.glass-stat:hover {
    box-shadow: var(--shadow-lg), var(--shadow-3d);
    transform: translateY(-3px);
}

/* ===== 3D DELIVERY CARDS ===== */
.delivery-stat-card.glass-stat {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: var(--shadow), var(--shadow-3d);
    transition: var(--transition-bounce);
}
.delivery-stat-card.glass-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-3d);
}

/* ===== BODY PADDING FOR FIXED MOBILE NAV ===== */
body {
    padding-bottom: 0;
}
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== MOBILE SEARCH (Never Overlaps Header) ===== */
.search-bar.mobile-visible {
    display: block !important;
    position: fixed;
    top: 0 !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999 !important;
    background: rgba(10, 25, 49, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 16px;
    max-width: 100%;
    animation: fadeIn 0.18s ease;
}
.search-bar.mobile-visible form {
    max-width: 480px;
    margin: 55px auto 0;
    background: #FFFFFF;
    border-radius: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    padding: 4px;
    position: relative;
    display: flex;
    align-items: center;
}
.search-bar.mobile-visible input {
    border: 2px solid #046A38;
    box-shadow: none;
    font-size: 15px;
    padding: 11px 48px 11px 18px;
    width: 100%;
    border-radius: 25px;
}
.search-bar.mobile-visible button {
    right: 8px;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FF671F;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== BOTTOM NAV ACTIVE INDICATOR ===== */
.mobile-bottom-nav .nav-items a.active {
    color: var(--primary);
    position: relative;
}
.mobile-bottom-nav .nav-items a.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
}
@media (max-width: 480px) {
    .mobile-bottom-nav .nav-items a.active::after {
        width: 14px;
        height: 2px;
    }
}

/* ===== CART/CHECKOUT SHADOWS ===== */
.cart-summary, .checkout-section {
    box-shadow: var(--shadow), var(--shadow-3d);
    border: 1px solid rgba(255,255,255,0.4);
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== ADMIN RESPONSIVE ===== */
@media (max-width: 768px) {
    .admin-wrapper { flex-direction: column; }
    .admin-topbar { flex-wrap: wrap; gap: 8px; padding: 10px 15px !important; margin-bottom: 10px !important; }
    .admin-topbar h3 { font-size: 15px; }
    .admin-topbar .admin-profile { gap: 6px; }
    .admin-topbar .admin-profile span { display: none; }
    .admin-topbar .admin-profile img { width: 30px; height: 30px; }
    .admin-sidebar .nav-item a { font-size: 13px; padding: 8px 15px; }
    .admin-sidebar .sidebar-header .logo { font-size: 16px; }
    .admin-main { padding: 15px; margin-left: 0; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 15px; }
    .stat-card .icon { width: 40px; height: 40px; font-size: 18px; }
    .stat-card .info h4 { font-size: 20px; }
    .table-container { margin: 0 -15px; }
    table th, table td { padding: 8px 10px; font-size: 12px; }
    .card-header { font-size: 14px; padding: 12px 15px; }
    .card-body { padding: 15px; }
    .admin-notification { position: static; }
    .admin-notification i { font-size: 16px !important; }
    #notif-dropdown { right: 10px; width: 290px; }
    #notif-badge { width: 14px; height: 14px; font-size: 8px; top: -4px; right: -6px; }
    .admin-sidebar { position: fixed; z-index: 1001; }
    .admin-sidebar.open { width: 240px; }
    .admin-main .card { margin-bottom: 10px; }
    .admin-main .card .card-body { padding: 12px; }
}
@media (max-width: 480px) {
    .admin-main { padding: 10px; }
    .stat-grid { grid-template-columns: 1fr; gap: 8px; }
    .admin-topbar { padding: 8px 12px !important; }
    .admin-topbar h3 { font-size: 13px; }
    .admin-topbar .menu-toggle { font-size: 18px; }
    .admin-sidebar { width: 0; }
    .admin-sidebar.open { width: 220px; }
    table th, table td { padding: 5px 6px; font-size: 10px; }
    table .action-btns a, table .action-btns button { font-size: 10px; padding: 3px 6px; }
    table .product-thumb { width: 35px; height: 35px; }
    .admin-sidebar .nav-item a { font-size: 12px; padding: 6px 12px; }
    .admin-sidebar .sidebar-header { padding: 0 12px 12px; }
    .admin-sidebar .sidebar-header .logo { font-size: 14px; }
    .admin-sidebar .sidebar-header .logo img { height: 24px; }
    #notif-dropdown { width: 240px; right: 5px; }
    .admin-main .card .card-header { font-size: 13px; padding: 10px 12px; }
    .admin-main .card .card-body { padding: 10px; }
}

/* ===== CUSTOM SCROLLBARS ===== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,107,53,0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,107,53,0.5); }
#dnotif-dropdown::-webkit-scrollbar { width: 3px; }
#dnotif-dropdown::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }

/* ===== DELIVERY BOY RESPONSIVE ===== */
@media (max-width: 768px) {
    .app-container { max-width: 100% !important; }
}

/* ===== ADMIN NOTIFICATION BELL ===== */
.admin-notification {
    position: relative;
    cursor: pointer;
}
#notif-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--secondary);
    color: white;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 10px;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
    display: none;
}
#notif-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

/* ===== ADMIN STAT CARDS ===== */
.admin-stat-card {
    background: rgba(255,255,255,0.85);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow), var(--shadow-3d);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.4);
    transition: var(--transition-bounce);
}
.admin-stat-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-3d);
    transform: translateY(-3px);
}
.admin-stat-card .icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.admin-stat-card .icon.green { background: var(--gradient-primary-light); color: var(--primary-dark); }
.admin-stat-card .icon.orange { background: var(--secondary-light); color: var(--secondary-dark); }
.admin-stat-card .icon.blue { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #D97706; }
.admin-stat-card .icon.red { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c62828; }
.admin-stat-card .info h4 { font-size: 24px; font-weight: 700; }
.admin-stat-card .info p { font-size: 13px; color: var(--text-light); }

/* ===== FORM ROW & ADMIN GRID ARCHITECTURE (ZERO OVERLAP) ===== */
.admin-main {
    min-width: 0 !important;
    overflow-x: hidden;
    box-sizing: border-box;
}

.admin-main .card {
    margin-bottom: 24px;
    clear: both;
    position: relative;
    box-sizing: border-box;
}

.admin-main .card-body {
    position: relative;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.form-row > *,
.admin-main div[style*="grid-template-columns"] > * {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Tablet & Laptop Screen Breakpoint: Safely collapse crushed 2-column inline grids so text inputs NEVER overlap */
@media (max-width: 992px) {
    .form-row {
        grid-template-columns: 1fr !important;
    }
    .admin-main div[style*="grid-template-columns: 1fr 1fr"],
    .admin-main div[style*="grid-template-columns:1fr 1fr"],
    .admin-main div[style*="grid-template-columns: 1.2fr 0.8fr"],
    .admin-main div[style*="grid-template-columns: 1.1fr 1.9fr"],
    .admin-main div[style*="grid-template-columns: 360px 1fr"],
    .admin-main div[style*="grid-template-columns: 1fr 2fr"],
    .admin-main div[style*="grid-template-columns: 2fr 1fr"],
    .admin-main div[style*="grid-template-columns: 1.15fr 1.85fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .admin-sidebar, .admin-topbar, .mobile-bottom-nav, .site-footer, .main-header, .top-header, .main-nav, .no-print { display: none !important; }
    .admin-main { margin: 0 !important; padding: 0 !important; }
    body { background: white !important; padding: 0 !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; }
}
















/* ==========================================
   GLOBAL SCROLLBAR STYLES - APPLIES TO ALL PAGES
   ========================================== */

/* Webkit browsers (Chrome, Safari, Edge, Brave, Opera) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
}

::-webkit-scrollbar-corner {
    background: var(--light);
}

/* Firefox - applies to all pages */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--light);
}

/* Ensure body has proper scrolling on all pages */
body {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Smooth scrolling for all pages */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px;
    }
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
}

/* Print styles - hide scrollbars when printing */
@media print {
    ::-webkit-scrollbar {
        display: none;
    }
    * {
        scrollbar-width: none;
    }
}

/* Optional: Scroll progress indicator (adds visual flair) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #FF671F, #FFFFFF, #138808);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 103, 31, 0.5);
}

/* ==========================================================================
   INDIAN FLAG (TIRANGA) THEME COMPONENT EXTENSIONS
   Colors: Kesari Saffron (#FF671F) | Pure White (#FFF) | India Green (#138808) | Charcoal (#18181B)
   (ZERO BLUE / NO NIL COLOR)
   ========================================================================== */

/* Tiranga Top Stripe */
.tiranga-strip {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #FF671F 0%, #FF671F 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #138808 66.66%, #138808 100%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1001;
}

/* Tiranga Accent Badges */
.badge-saffron {
    background: linear-gradient(135deg, #FF671F, #FF8032);
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(255,103,31,0.3);
}
.badge-green {
    background: linear-gradient(135deg, #138808, #19A10E);
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(19,136,8,0.3);
}
.badge-dark {
    background: linear-gradient(135deg, #27272A, #18181B);
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.badge-tiranga {
    background: #FFFFFF;
    color: #18181B;
    border: 1px solid #FF671F;
    border-right-color: #138808;
    border-width: 1.5px;
    font-weight: 800;
    border-radius: 20px;
    padding: 2px 9px;
    font-size: 11px;
}

/* Pulsing Badge Effect */
@keyframes notifPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 103, 31, 0.7); }
    70% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255, 103, 31, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 103, 31, 0); }
}

/* Header Notification System */
.header-notif-wrap {
    position: relative;
    display: inline-block;
}
.header-notif-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 8px;
    border-radius: 8px;
    transition: var(--transition);
}
.header-notif-btn:hover {
    background: #FFF5EC;
    color: #FF671F;
}
.header-notif-btn i {
    font-size: 18px;
    color: #FF671F;
}
.notif-badge-counter {
    background: linear-gradient(135deg, #FF671F, #E65100);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FFFFFF;
    animation: notifPulse 2s infinite;
}

/* Notification Dropdown Card (Aligned, No Collision) */
.header-notif-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-width: calc(100vw - 20px);
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 16px 45px rgba(10,25,49,0.2), 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid #E2E8F0;
    border-top: 3px solid #FF671F;
    z-index: 10001;
    animation: fadeInDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.header-notif-dropdown.show {
    display: block;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #046A38, #0E6606);
    color: #FFFFFF;
}
.notif-dropdown-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.notif-dropdown-header .badge {
    background: #FF671F;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}
.notif-dropdown-body {
    max-height: 380px;
    overflow-y: auto;
    padding: 6px 0;
}
.notif-item-card {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #F1F5F9;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
    position: relative;
}
.notif-item-card:hover {
    background: #FFF9F3;
}
.notif-item-card.unread {
    background: #FFFDF9;
    border-left: 3px solid #FF671F;
}
.notif-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.notif-icon-box.saffron { background: #FFF0E5; color: #FF671F; }
.notif-icon-box.green { background: #E8F5E9; color: #138808; }
.notif-icon-box.emerald { background: #ECFDF5; color: #059669; }
.notif-icon-box.gold { background: #FFF8E1; color: #D97706; }

.notif-item-content {
    flex: 1;
    min-width: 0;
}
.notif-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.notif-item-title .tag {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.notif-item-desc {
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
    margin: 0 0 4px 0;
}
.notif-item-time {
    font-size: 10px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.notif-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    font-size: 12px;
}
.notif-dropdown-footer a {
    color: #FF671F;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.notif-dropdown-footer a:hover {
    text-decoration: underline;
}

/* Mobile Apps Footer Bottom Nav - Pure App-Style Layout (JioMart Style) */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 60px !important;
        background: #FFFFFF !important;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
        border-top: 1.5px solid #E2E8F0 !important;
        z-index: 9990 !important;
        padding: 4px 0 env(safe-area-inset-bottom, 4px) !important;
        box-sizing: border-box !important;
    }
    
    body {
        padding-bottom: 72px !important;
    }
    
    .site-footer {
        padding-bottom: 80px !important;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}
.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 4px;
}
.mobile-bottom-nav .nav-items li {
    flex: 1;
    text-align: center;
}
.mobile-bottom-nav .nav-items a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 4px;
    transition: var(--transition-fast);
    position: relative;
    border-radius: 10px;
}
.mobile-bottom-nav .nav-items a i {
    font-size: 19px;
    margin-bottom: 3px;
    color: #475569;
    transition: var(--transition-fast);
}
.mobile-bottom-nav .nav-items a.active,
.mobile-bottom-nav .nav-items a:active {
    color: #FF671F !important;
}
.mobile-bottom-nav .nav-items a.active i {
    color: #FF671F !important;
    transform: translateY(-2px);
}
.mobile-bottom-nav .nav-items a.active::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #FF671F, #138808);
    border-radius: 0 0 4px 4px;
}
.mobile-bottom-nav .badge-mobile {
    position: absolute;
    top: 2px;
    right: 22%;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FFFFFF;
}
.mobile-bottom-nav .badge-mobile.notif-badge {
    background: linear-gradient(135deg, #FF671F, #E65100);
    animation: notifPulse 2s infinite;
}
.mobile-bottom-nav .badge-mobile.cart-badge {
    background: linear-gradient(135deg, #138808, #0E6606);
}

/* Mobile Notification / Offers Slide-up Sheet */
.mobile-notif-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(10, 25, 49, 0.6) !important;
    z-index: 100000 !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-notif-backdrop.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.mobile-notif-sheet {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    max-height: 85vh !important;
    height: auto !important;
    background: #FFFFFF !important;
    border-radius: 22px 22px 0 0 !important;
    z-index: 100001 !important;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.35) !important;
    border-top: 3.5px solid #FF671F !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateY(105%) !important;
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.34s ease !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
}
.mobile-notif-sheet.show {
    transform: translateY(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.mobile-sheet-handle-wrap {
    padding: 8px 0 4px;
    background: #FFFFFF;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: pan-y;
}
.mobile-sheet-handle {
    width: 42px;
    height: 4.5px;
    background: #CBD5E1;
    border-radius: 3px;
}
.mobile-sheet-tabs {
    display: flex;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 4px 10px;
    gap: 8px;
    flex-shrink: 0;
}
.sheet-tab-btn {
    flex: 1;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.sheet-tab-btn.active {
    background: #FFFFFF;
    color: #046A38;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid #E2E8F0;
}
.sheet-tab-btn.active i {
    color: #FF671F;
}
.mobile-notif-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 12px 14px 20px !important;
    touch-action: pan-y;
}
.sheet-coupon-card {
    background: #FFFFFF;
    border: 1.5px dashed #CBD5E1;
    border-left: 5px solid #FF671F;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(10,25,49,0.03);
    transition: all 0.2s ease;
}
.sheet-coupon-card:active {
    transform: scale(0.99);
}
.sheet-coupon-left {
    flex: 1;
    min-width: 0;
}
.sheet-coupon-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 6px;
    background: #FFF0E5;
    color: #FF671F;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.sheet-coupon-code {
    font-size: 14px;
    font-weight: 800;
    color: #046A38;
    font-family: monospace;
    letter-spacing: 0.5px;
}
.sheet-coupon-desc {
    font-size: 12px;
    color: #475569;
    margin: 3px 0 0;
    line-height: 1.35;
}
.sheet-coupon-min {
    font-size: 11px;
    color: #94A3B8;
    margin-top: 3px;
    font-weight: 600;
}
.sheet-coupon-copy-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    background: linear-gradient(135deg, #FF671F, #E65100);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,103,31,0.25);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sheet-coupon-copy-btn.copied {
    background: #046A38 !important;
    box-shadow: 0 2px 8px rgba(4,106,56,0.25) !important;
}

/* ==========================================================================
   CART SECTION 4-NOTIFICATION / BENEFIT HIGHLIGHT CARDS
   ========================================================================== */
.cart-notif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}
.cart-notif-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(10,25,49,0.04);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.cart-notif-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10,25,49,0.08);
}
.cart-notif-card.saffron {
    border-left: 4px solid #FF671F;
    background: linear-gradient(135deg, #FFFFFF 60%, #FFF5EC 100%);
}
.cart-notif-card.green {
    border-left: 4px solid #138808;
    background: linear-gradient(135deg, #FFFFFF 60%, #F0FDF4 100%);
}
.cart-notif-card.emerald {
    border-left: 4px solid #059669;
    background: linear-gradient(135deg, #FFFFFF 60%, #ECFDF5 100%);
}
.cart-notif-card.amber {
    border-left: 4px solid #F59E0B;
    background: linear-gradient(135deg, #FFFFFF 60%, #FEF3C7 100%);
}
.cart-notif-card .card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.cart-notif-card.saffron .card-icon { background: #FFF0E5; color: #FF671F; }
.cart-notif-card.green .card-icon { background: #E8F5E9; color: #138808; }
.cart-notif-card.emerald .card-icon { background: #ECFDF5; color: #059669; }
.cart-notif-card.amber .card-icon { background: #FEF3C7; color: #D97706; }

.cart-notif-card .card-content {
    flex: 1;
    min-width: 0;
}
.cart-notif-card h5 {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 3px 0;
}
.cart-notif-card p {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    line-height: 1.35;
}
.cart-notif-card .card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #FF671F;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
.cart-notif-card .card-action-btn:hover {
    color: #E65100;
    text-decoration: underline;
}

/* Free Delivery Meter */
.free-del-meter {
    background: #F1F5F9;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin: 8px 0 4px;
}
.free-del-bar {
    height: 100%;
    background: linear-gradient(90deg, #FF671F, #138808);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* ==========================================================================
   ADMIN PANEL INDIAN FLAG THEME ENHANCEMENTS
   ========================================================================== */
.admin-sidebar {
    background: #18181B !important;
    border-right: 1px solid rgba(255, 103, 31, 0.2);
}
.admin-sidebar .sidebar-header {
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #FF671F, #FFFFFF, #138808) 1;
    padding-bottom: 15px;
}
.admin-sidebar .nav-item a {
    color: #CBD5E1;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}
.admin-sidebar .nav-item a:hover {
    background: rgba(255, 103, 31, 0.12);
    color: #FF8533;
    border-left-color: #FF671F;
}
.admin-sidebar .nav-item a.active {
    background: linear-gradient(90deg, rgba(255,103,31,0.22), transparent) !important;
    color: #FFFFFF !important;
    border-left-color: #FF671F !important;
    font-weight: 700;
}
.admin-sidebar .nav-item a.active i {
    color: #FF671F !important;
}
.admin-topbar {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 2px 10px rgba(10,25,49,0.05);
}
.admin-notification i {
    color: #FF671F !important;
    font-size: 20px;
}
#notif-badge {
    background: linear-gradient(135deg, #FF671F, #E65100) !important;
    color: white !important;
    animation: notifPulse 2s infinite;
}
.stat-card .icon.green {
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7) !important;
    color: #138808 !important;
}
.stat-card .icon.orange {
    background: linear-gradient(135deg, #FFF5EC, #FFE6D0) !important;
    color: #FF671F !important;
}
.stat-card .icon.blue {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A) !important;
    color: #D97706 !important;
}

/* ============================================================
   JioMart-Style Floating Bottom Cart Pill
   ============================================================ */
.jiomart-floating-cart-wrapper {
    position: fixed;
    bottom: 68px;
    left: 0;
    right: 0;
    z-index: 9980;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}
.jiomart-floating-cart-pill {
    pointer-events: auto;
    width: 100%;
    max-width: 420px;
    background: #0284C7;
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 35px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: popInCartPill 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.jiomart-floating-cart-pill:active {
    transform: scale(0.97);
}
.jiomart-cart-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.jiomart-cart-thumbs {
    display: flex;
    align-items: center;
    margin-right: -4px;
}
.jiomart-thumb-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    margin-left: -10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.jiomart-thumb-img:first-child {
    margin-left: 0;
}
.jiomart-thumb-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0284C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.jiomart-cart-details {
    display: flex;
    flex-direction: column;
}
.jiomart-cart-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
}
.jiomart-cart-sub {
    font-size: 11px;
    opacity: 0.95;
    color: #E0F2FE;
    font-weight: 600;
}
.jiomart-cart-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0284C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
@media (min-width: 769px) {
    .jiomart-floating-cart-wrapper {
        bottom: 24px;
        right: 24px;
        left: auto;
        width: 340px;
    }
}
@keyframes popInCartPill {
    0% { transform: translateY(20px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* JioMart Curated Offer Slider */
.jiomart-curated-slider::-webkit-scrollbar {
    display: none;
}
.jiomart-offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08) !important;
}

/* ========================================================
   UNIVERSAL ZERO-OVERLAP ENGINE (ADMIN FORMS & PRODUCT CARDS)
   ======================================================== */

/* 1. ADMIN PANEL FORM INPUTS & TEXT FIELDS: ZERO OVERLAP */
.admin-main input[type="text"],
.admin-main input[type="number"],
.admin-main input[type="email"],
.admin-main input[type="password"],
.admin-main input[type="url"],
.admin-main input[type="tel"],
.admin-main input[type="date"],
.admin-main input[type="time"],
.admin-main input[type="search"],
.admin-main input[type="file"],
.admin-main select,
.admin-main textarea,
.admin-main .form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    min-height: 42px;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    margin: 0 !important;
    clear: both;
}

.admin-main input[type="checkbox"],
.admin-main input[type="radio"] {
    width: 18px !important;
    min-height: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 8px 0 0 !important;
    cursor: pointer;
    flex-shrink: 0;
}

.admin-main .form-group {
    margin-bottom: 18px !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    clear: both;
}

.admin-main .form-group label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
    clear: both;
}

.admin-main .form-group small {
    display: block !important;
    font-size: 11.5px !important;
    color: #64748B !important;
    margin-top: 5px !important;
    line-height: 1.4 !important;
    clear: both;
}

/* Filter bar inline inputs */
.admin-main .filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: flex-end !important;
    padding: 14px 18px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
}

.admin-main .filter-bar .form-group {
    width: auto !important;
    min-width: 140px !important;
    flex: 0 1 auto !important;
    margin-bottom: 0 !important;
}

.admin-main .filter-bar input,
.admin-main .filter-bar select {
    min-height: 38px !important;
    height: 38px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
}

.admin-main .filter-bar .btn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* 2. CUSTOMER WEBSITE & APP: PRODUCT CARD DISCOUNT & UNIT ZERO-OVERLAP */
.product-card {
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

/* Corner discount badges ONLY */
.product-card > .badge,
.product-card > .badge-discount,
.product-card > a > .badge,
.product-card > a > .badge-discount {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 5 !important;
    background: #C62828 !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 9px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(198,40,40,0.3) !important;
    margin: 0 !important;
}

.product-card > .badge-best-seller,
.product-card > .badge-bestseller,
.product-card > a > .badge-best-seller {
    position: absolute !important;
    top: 36px !important;
    left: 10px !important;
    z-index: 5 !important;
    background: #046A38 !important;
    color: #FFFFFF !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
}

/* Product Info Container - Flow elements cleanly, never overlap */
.product-card .product-info {
    position: relative !important;
    z-index: 2 !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
}

/* Product weight and unit pill MUST BE STATIC and never jump to card corners */
.product-card .product-info .product-weight,
.product-card .product-info .product-unit-pill,
.product-card .product-info .badge,
.product-card .product-info span,
.product-card .product-unit-pill {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    box-shadow: none !important;
}

.product-card .product-unit-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #F1F5F9 !important;
    color: #0F172A !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #E2E8F0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Price Row Formatting (Price, MRP, % off wrapped nicely) */
.product-card .product-price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.product-card .product-price .current-price {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #0F172A !important;
    white-space: nowrap !important;
}

.product-card .product-price .old-price {
    font-size: 12px !important;
    color: #94A3B8 !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
}

/* Mobile responsive safeguards */
@media (max-width: 480px) {
    .product-card > .badge,
    .product-card > .badge-discount,
    .product-card > a > .badge,
    .product-card > a > .badge-discount {
        top: 6px !important;
        left: 6px !important;
        font-size: 9.5px !important;
        padding: 2px 7px !important;
    }
    .product-card > .badge-best-seller,
    .product-card > a > .badge-best-seller {
        top: 26px !important;
        left: 6px !important;
        font-size: 9px !important;
        padding: 1px 6px !important;
    }
    .product-card .product-info {
        padding: 10px 8px !important;
    }
    .product-card .product-unit-pill {
        font-size: 10px !important;
        padding: 1px 6px !important;
    }
    .product-card .product-price .current-price {
        font-size: 14px !important;
    }
}

/* Safeguard: Mobile App-Style Footer Navigation Always Visible on Mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}


