.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loader.hidden {
    opacity: 0;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #e70b0b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-grid {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product-card img {
    object-fit: contain;
    height: 200px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: auto;
}

.feature-list li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: #007bff;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.price {
    color: #e63946;
}

.custom-btn {
    background: linear-gradient(45deg, #e63946, #f4a261);
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Staggered animations for each product */
.product-col:nth-child(1) .product-grid { animation-delay: 0.1s; }
.product-col:nth-child(2) .product-grid { animation-delay: 0.2s; }
.product-col:nth-child(3) .product-grid { animation-delay: 0.3s; }
.product-col:nth-child(4) .product-grid { animation-delay: 0.4s; }
.product-col:nth-child(5) .product-grid { animation-delay: 0.5s; }
.product-col:nth-child(6) .product-grid { animation-delay: 0.6s; }

