/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product card hover */
.product-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-border-hover);
}

/* WhatsApp floating button pulse */
@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse 3s infinite;
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.1);
    transition: transform var(--transition-fast);
}

/* Filter button active state */
.filter-btn {
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

/* Badge shimmer */
@keyframes shimmer {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.badge {
    animation: shimmer 2s ease-in-out infinite;
}

/* Category filter transition */
.product-card.hidden {
    display: none;
}

/* Image loading skeleton */
.product-card img {
    background: var(--color-bg-tertiary);
    transition: opacity var(--transition-normal);
}

/* WhatsApp button hover */
.btn-whatsapp {
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.02);
}

/* Hero fade in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-header {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger product cards */
.product-card:nth-child(1) { transition-delay: 0.05s; }
.product-card:nth-child(2) { transition-delay: 0.1s; }
.product-card:nth-child(3) { transition-delay: 0.15s; }
.product-card:nth-child(4) { transition-delay: 0.2s; }
.product-card:nth-child(5) { transition-delay: 0.25s; }
.product-card:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
