/* 🥗 FOJI FRESH PREMIUM STYLESHEET */

@import url('https://fonts.googleapis.com/css2?family=Hind:wght@400;600;700;900&display=swap');

/* --- बेसिक सेटअप --- */
body { 
    font-family: 'Hind', sans-serif; 
    background: #f8fafc; 
    margin: 0; 
    padding-bottom: 280px; /* कार्ट और नेविगेशन के लिए जगह */
    scroll-behavior: smooth; 
    overflow-x: hidden; 
}

/* --- प्रीमियम एनिमेशन्स --- */

/* बहता हुआ बैकग्राउंड (Welcome Screen) */
.bg-animated { 
    background: linear-gradient(-45deg, #064e3b, #047857, #065f46, #022c22); 
    background-size: 400% 400%; 
    animation: gradientBG 8s ease infinite; 
}

@keyframes gradientBG { 
    0% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
    100% { background-position: 0% 50%; } 
}

/* ग्लास पैनल इफेक्ट */
.glass-panel { 
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
}

/* बटन पर चमक वाला इफेक्ट */
.shine-btn { position: relative; overflow: hidden; }
.shine-btn::after { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 50%; 
    height: 100%; 
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); 
    transform: skewX(-20deg); 
    animation: shine 3s infinite; 
}

@keyframes shine { 
    0% { left: -100%; } 
    20% { left: 200%; } 
    100% { left: 200%; } 
}

/* पेज बदलने पर धुंधला सा आना (Fade In) */
.page-section { display: none; }
.page-section.active { 
    display: block; 
    animation: fadeIn 0.4s ease-in-out; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(15px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* हवा में तैरता हुआ इफेक्ट (Welcome Screen Logo) */
.float-anim { animation: float 3s ease-in-out infinite; }
@keyframes float { 
    0%, 100% { transform: translateY(0px); } 
    50% { transform: translateY(-12px); } 
}

/* बिल पॉप एनीमेशन */
.pop-animation { animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes pop { 
    0% { transform: scale(1); } 
    50% { transform: scale(1.15); } 
    100% { transform: scale(1); } 
}

/* --- कार्ड्स और सेक्शन्स --- */

/* सब्जी का कार्ड */
.sabji-card { 
    border-radius: 15px; 
    background: white; 
    margin-bottom: 10px; 
    padding: 12px; 
    border: 1px solid #f1f5f9; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); 
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* जब कोई सब्जी कार्ट में हो */
.sabji-card.active { 
    border-color: #10b981; 
    background: #f0fdf4; 
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.1); 
    transform: scale(1.02); 
}

/* आउट ऑफ़ स्टॉक */
.sabji-card.out-of-stock { 
    background-color: #f9fafb; 
    opacity: 0.6; 
    pointer-events: none; 
    filter: grayscale(80%);
}

/* --- फुटर और नेविगेशन --- */

.sticky-footer { 
    position: fixed; 
    bottom: 0; 
    width: 100%; 
    background: white; 
    border-top: 1px solid #e2e8f0; 
    z-index: 1000; 
    box-shadow: 0 -10px 25px rgba(0,0,0,0.05); 
}

.nav-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    font-size: 11px; 
    font-weight: 800; 
    color: #94a3b8; 
    cursor: pointer; 
    transition: 0.3s; 
    padding: 8px; 
    text-transform: uppercase; 
}

.nav-item.active { 
    color: #059669; 
    transform: translateY(-3px); 
}

/* लोडर */
#loader { 
    position: fixed; 
    inset: 0; 
    background: white; 
    z-index: 10000; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column; 
}

/* मोबाइल ऐप इंस्टॉल बटन */
#install-btn { display: none; }