* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f7f9f6;
    color: #333;
}

/* 1. टॉप नेविगेशन बार */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2e7d32;
    color: white;
    padding: 12px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 15px;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 450px;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    padding: 2px 8px;
}

.search-bar input {
    width: 100%;
    border: none;
    padding: 8px 12px;
    outline: none;
    font-size: 14px;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

.login-btn {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 15px;
}

.cart-box {
    background: #1b5e20;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.cart-box:hover {
    background: #144617;
}

/* 2. हीरो बैनर */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), 
                url('https://images.unsplash.com/photo-1540420773420-3366772f4999?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-shop {
    display: inline-block;
    background-color: #ff9800;
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.2s;
}

.btn-shop:hover {
    background-color: #f57c00;
}

/* 3. ट्रस्ट बैज और कूरियर पिनकोड चेकर */
.trust-pincode-section {
    background: white;
    max-width: 1100px;
    margin: 20px auto;
    padding: 18px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pincode-checker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pincode-checker span {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.pincode-input-group {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.pincode-input-group input {
    border: none;
    padding: 8px 12px;
    outline: none;
    font-size: 13px;
    width: 140px;
}

.pincode-input-group button {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.pincode-status {
    width: 100%;
    font-size: 13px;
    font-weight: bold;
    margin-top: 5px;
}

/* 4. प्रोडक्ट सेक्शन */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #2e7d32;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.img-box {
    width: 100%;
    height: 190px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.pack-size {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.product-desc {
    color: #555;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
}

.price-row {
    margin-bottom: 12px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #2e7d32;
}

.mrp {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
    margin-left: 6px;
}

.btn-add {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.btn-add:hover {
    background-color: #f57c00;
}

/* 5. ब्लॉग सेक्शन */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.blog-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    border-left: 4px solid #2e7d32;
}

.blog-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
}

.blog-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.read-more {
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
}

/* 6. फ्लोटिंग सपोर्ट बटन्स (WhatsApp & AI) */
.floating-support {
    position: fixed;
    bottom: 25px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    border: none;
    padding: 10px 16px;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.whatsapp-btn {
    background-color: #25d366;
}

.ai-btn {
    background-color: #1976d2;
}

/* 7. स्लाइडिंग कार्ट ड्रॉर */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    max-width: 90%;
    height: 100%;
    background: white;
    box-shadow: -4px 0 16px rgba(0,0,0,0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 16px 20px;
    background: #2e7d32;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.cart-item-info h5 {
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-info p {
    color: #2e7d32;
    font-weight: bold;
    font-size: 13px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    background: #e0e0e0;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cart-footer {
    padding: 18px 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.delivery-row {
    color: #666;
    font-size: 13px;
}

.grand-total {
    font-size: 18px;
    font-weight: bold;
    color: #2e7d32;
    border-top: 1px dashed #ccc;
    padding-top: 8px;
    margin-top: 8px;
}

.btn-checkout {
    width: 100%;
    background: #2e7d32;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-checkout:hover {
    background: #1b5e20;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.cart-overlay.open {
    display: block;
}

/* 8. फुटर */
footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 25px 15px;
    margin-top: 50px;
    font-size: 13px;
    line-height: 1.6;
}
/* ==========================================
   apnaVeda™ Clean Mobile Header & Navbar Fix
   ========================================== */
@media (max-width: 768px) {
    /* Header layout ko compact banana */
    header, .navbar, .top-nav {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        gap: 8px !important;
    }

    /* Logo size mobile ke liye */
    header .logo, .nav-brand, header h1, header a:first-child {
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    /* Search bar ko full-width single line banana */
    .search-box, .search-container, header input[type="search"], header input[type="text"] {
        order: 3 !important;
        width: 100% !important;
        margin: 6px 0 0 0 !important;
    }

    /* Unzaroori links mobile screen se compact karna ya chip banana */
    .nav-links, .menu-links, header nav {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 12px !important;
        flex-wrap: nowrap !important;
    }

    /* Cashback, Refer buttons ko chhota aur neat rakhna */
    header a, header button, .btn-nav {
        padding: 4px 8px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    /* Cart aur Login icons ko pass me rakhna */
    .cart-btn, .login-btn, #cart-icon, a[href*="cart"], a[href*="login"] {
        padding: 5px 10px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
        margin-left: 2px !important;
    }

    /* Top offer strip text chhota rakhna */
    .announcement-bar, .top-bar {
        font-size: 10px !important;
        padding: 4px 8px !important;
        text-align: center !important;
    }
}
@media (max-width: 768px) {
            .announcement-bar {
                font-size: 11px;
                padding: 6px 10px;
                line-height: 1.3;
            }
            .navbar {
                display: flex !important;
                flex-wrap: wrap !important;
                justify-content: space-between !important;
                align-items: center !important;
                padding: 10px 14px !important;
                gap: 10px !important;
            }
            .logo {
                font-size: 20px !important;
                font-weight: 800 !important;
            }
            /* मोबाइल पर गैर-जरूरी लिंक्स छिपाएँ ताकि हेडर साफ रहे */
            .mobile-hide {
                display: none !important;
            }
            .nav-links {
                display: flex !important;
                align-items: center !important;
                gap: 10px !important;
            }
            .nav-links a {
                font-size: 13px !important;
                color: #ffffff !important;
            }
            .cart-box {
                padding: 6px 12px !important;
                font-size: 12px !important;
                border-radius: 20px !important;
            }
            /* सर्च बार 100% चौड़ाई पर नीचे आ जाएगा */
            .search-bar {
                order: 3 !important;
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 !important;
                border-radius: 25px !important;
            }
            .search-bar input {
                padding: 8px 14px !important;
                font-size: 13px !important;
            }
            .products-grid {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
                padding: 0 14px !important;
            }
            .product-card {
                height: auto !important;
            }
            .hero-banner {
                padding: 45px 16px !important;
            }
            .hero-banner h1 {
                font-size: 24px !important;
            }
        }
        /* ========================================================
   apnaVeda™ Master Header Layout (Desktop + Mobile Perfect)
   ======================================================== */

/* --- 💻 DESKTOP LAYOUT --- */
.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #1b5e20 !important;
    padding: 12px 28px !important;
    gap: 20px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15) !important;
}

.navbar .logo {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* सर्च बार बीच में बड़ा और खुला रहेगा */
.navbar .search-bar {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    max-width: 480px !important;
    background: #ffffff !important;
    border-radius: 30px !important;
    padding: 3px 12px !important;
}

.navbar .search-bar input {
    width: 100% !important;
    border: none !important;
    outline: none !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
}

.navbar .search-bar button {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 16px !important;
}

.navbar .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.navbar .nav-links a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.navbar .cashback-nav-btn {
    background: #ffeb3b !important;
    color: #1b5e20 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
}

.navbar .affiliate-nav-btn {
    background: #15803d !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
}

.navbar .cart-box {
    background: #ffffff !important;
    color: #1b5e20 !important;
    padding: 7px 15px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

/* --- 📱 MOBILE LAYOUT (Screen under 768px) --- */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 14px !important;
        gap: 10px !important;
    }

    .navbar .logo {
        font-size: 19px !important;
    }

    /* मोबाइल पर Blog, Cashback, Refer, Support छिप जाएंगे */
    .mobile-hide {
        display: none !important;
    }

    .navbar .nav-links {
        gap: 10px !important;
    }

    .navbar .cart-box {
        padding: 5px 12px !important;
        font-size: 12px !important;
    }

    /* सर्च बार मोबाइल पर 100% चौड़ाई के साथ अगली लाइन में आएगा */
    .navbar .search-bar {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 4px !important;
    }
}