.hero-bg {
    background: linear-gradient(135deg, rgba(45, 112, 22, 0.9), rgba(74, 139, 44, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23228B22"/><path d="M0,400 Q300,300 600,400 T1200,400 L1200,600 L0,600 Z" fill="%232F7D32" opacity="0.7"/><circle cx="200" cy="150" r="20" fill="%23FFD700" opacity="0.6"/><circle cx="800" cy="100" r="25" fill="%23FFD700" opacity="0.5"/><path d="M100,500 Q200,450 300,500 T500,500" stroke="%234CAF50" stroke-width="3" fill="none" opacity="0.8"/></svg>');
    background-size: cover;
    background-position: center;
}

.category-card {
    transition: all 0.1s ease;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 112, 22, 0.8), rgba(74, 139, 44, 0.7));
    opacity: 0;
    z-index: 1;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fadeInOut 12s infinite;
    opacity: 0;
}

.hero-slider-bg:nth-child(1) {
    background-image: url('../assets/images/hero-slider/slide1.jpg');
    animation-delay: 0s;
}

.hero-slider-bg:nth-child(2) {
    background-image: url('../assets/images/hero-slider/slide2.jpg');
    animation-delay: 4s;
}

.hero-slider-bg:nth-child(3) {
    background-image: url('../assets/images/hero-slider/slide3.jpg');
    animation-delay: 8s;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    33% {
        opacity: 1;
    }
    43% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cart-count {
    min-width: 1.5rem;
    height: 1.5rem;
}


.glass-effect {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
}


.filter-card {
    border-radius: 10px;
}

.btn-primary {
    background: green;
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.hero-pattern {
    background: linear-gradient(135deg, rgba(45, 112, 22, 0.9), rgba(74, 139, 44, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23228B22"/><path d="M0,400 Q300,300 600,400 T1200,400 L1200,600 L0,600 Z" fill="%232F7D32" opacity="0.7"/><circle cx="200" cy="150" r="20" fill="%23FFD700" opacity="0.6"/><circle cx="800" cy="100" r="25" fill="%23FFD700" opacity="0.5"/><path d="M100,500 Q200,450 300,500 T500,500" stroke="%234CAF50" stroke-width="3" fill="none" opacity="0.8"/></svg>');
    background-size: cover;
    background-position: center;
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.pulse-on-hover:hover {
    animation: pulse 2s infinite;
}

.search-focus:focus {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
    border-color: var(--primary-green);
}

.category-item {
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 8px 12px;
    margin: 2px 0;
}

.category-item:hover {
    background: rgba(34, 197, 94, 0.05);
    transform: translateX(8px);
}

.price-badge {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ea580c 100%);
    color:black;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.mobile-filter-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    display: none;
}

@media (max-width: 1024px) {
    .mobile-filter-toggle {
        display: block;
    }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breadcrumb-link {
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.breadcrumb-link:hover {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
}

.category-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* position: absolute; */
    overflow: hidde;
}

.category-card::before {
    content: '';
    /* position: absolute; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.category-content {
    /* position: relative; */
    z-index: 2;
}

.category-card:hover::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
}

.category-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

        .partner-logo {
            filter: grayscale(100%);
            transition: all 0.4s ease;
            opacity: 0.7;
        }
        .partner-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.05);
        }
        .gradient-bg {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        }
        .floating-animation {
            animation: float 6s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        .slide-in {
            opacity: 0;
            transform: translateY(30px);
            animation: slideIn 0.8s ease-out forwards;
        }
        @keyframes slideIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    
        .category-card {
            background-size: cover !important;
            background-position: center !important;
            background-repeat: no-repeat !important;
            position: relative;
        }
        
        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 1rem;
        }
        
        .category-content {
            position: relative;
            z-index: 1;
        }
        
        .category-card a {
            position: relative;
            z-index: 1;
        }
        
        .bg-agro-green {
            background-color: #22c55e;
        }
        
        .bg-agro-light {
            background-color: #16a34a;
        }
    