/* 
 * Village Food (গ্রামের খাঁটি খাবার) - Authentic Bengali Organic Theme
 * Crafted by CodingBurg (codingburg.com)
 */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --font-bn: 'Hind Siliguri', sans-serif;
    --font-en: 'Plus Jakarta Sans', sans-serif;
    --font-title: 'Playfair Display', serif;

    --deshi-green: #14532d;
    --deshi-green-light: #166534;
    --deshi-emerald: #15803d;
    --mustard-gold: #d97706;
    --terracotta: #c2410c;
    --terracotta-dark: #9a3412;
    --clay-pot: #b45309;
    
    --bg-page: #fbf9f4;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-bn);
    background-color: var(--bg-page);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.font-en {
    font-family: var(--font-en);
}

/* Gradient text accents */
.text-deshi-green-gradient {
    background: linear-gradient(135deg, #14532d 0%, #15803d 50%, #166534 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-mustard-gradient {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-terracotta-gradient {
    background: linear-gradient(135deg, #9a3412 0%, #c2410c 50%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Authentic Bengali Organic Cards */
.deshi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(20, 83, 45, 0.06);
    transition: all 0.3s ease;
}

.deshi-card:hover {
    border-color: #86efac;
    box-shadow: 0 12px 28px -4px rgba(20, 83, 45, 0.12);
    transform: translateY(-2px);
}

.deshi-card-highlight {
    background: #ffffff;
    border: 2px solid #16a34a;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.15);
}

/* Buttons */
.btn-deshi-green {
    background: linear-gradient(135deg, #15803d 0%, #166534 50%, #14532d 100%);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(22, 101, 52, 0.35);
}

.btn-deshi-green:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
    box-shadow: 0 8px 24px rgba(22, 101, 52, 0.5);
    transform: translateY(-2px);
}

.btn-terracotta {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 50%, #9a3412 100%);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(194, 65, 12, 0.35);
}

.btn-terracotta:hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
    box-shadow: 0 8px 24px rgba(194, 65, 12, 0.5);
    transform: translateY(-2px);
}

/* Shimmer Button */
.btn-shimmer-gold {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.35);
}

.btn-shimmer-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.65s;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    40%, 100% { left: 160%; }
}

/* Pulse animation */
@keyframes pulseGreen {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(22, 163, 74, 0);
    }
}

.animate-pulse-green {
    animation: pulseGreen 2.5s infinite;
}

@keyframes pulseOrange {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.6);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(234, 88, 12, 0);
    }
}

.animate-pulse-orange {
    animation: pulseOrange 2.5s infinite;
}

/* Radio Card Selection */
.package-card input[type="radio"]:checked + .package-content {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.18);
}

.package-card input[type="radio"]:checked + .package-content .radio-indicator {
    border-color: #16a34a;
    background-color: #16a34a;
}

/* Accordion transition */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    opacity: 1;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Live Notification Toast */
#live-sale-toast {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 40;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#live-sale-toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 640px) {
    #live-sale-toast {
        left: 12px;
        right: 12px;
        bottom: 84px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}
