/* ================================================================
   EFFECTS - Hojitas cayendo + Imágenes fade-in scroll
   ================================================================ */

/* ── Hojitas cayendo ───────────────────────────── */
.hojitas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.hojita {
    position: absolute;
    top: -60px;
    font-size: 1.5rem;
    animation: caer linear infinite;
    opacity: 0.7;
    user-select: none;
}

@keyframes caer {
    0% {
        transform: translateY(-60px) rotate(0deg) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(105vh) rotate(720deg) scale(0.3);
        opacity: 0;
    }
}

.hojita:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; }
.hojita:nth-child(2) { left: 15%; animation-duration: 10s; animation-delay: 2s; }
.hojita:nth-child(3) { left: 25%; animation-duration: 14s; animation-delay: 4s; }
.hojita:nth-child(4) { left: 35%; animation-duration: 11s; animation-delay: 1s; }
.hojita:nth-child(5) { left: 45%; animation-duration: 13s; animation-delay: 3s; }
.hojita:nth-child(6) { left: 55%; animation-duration: 9s; animation-delay: 5s; }
.hojita:nth-child(7) { left: 65%; animation-duration: 15s; animation-delay: 0s; }
.hojita:nth-child(8) { left: 75%; animation-duration: 12s; animation-delay: 2s; }
.hojita:nth-child(9) { left: 85%; animation-duration: 10s; animation-delay: 4s; }
.hojita:nth-child(10) { left: 95%; animation-duration: 14s; animation-delay: 1s; }
.hojita:nth-child(11) { left: 10%; animation-duration: 11s; animation-delay: 6s; }
.hojita:nth-child(12) { left: 50%; animation-duration: 13s; animation-delay: 3s; }

@media (max-width: 768px) {
    .hojita {
        font-size: 1rem;
    }
    .hojita:nth-child(7),
    .hojita:nth-child(8),
    .hojita:nth-child(9),
    .hojita:nth-child(10),
    .hojita:nth-child(11),
    .hojita:nth-child(12) {
        display: none;
    }
}

/* ── Imágenes fade-in al hacer scroll ──────────── */
.store-product-card-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.store-product-card-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.store-products-grid .store-product-card-wrapper:nth-child(1) { transition-delay: 0.05s; }
.store-products-grid .store-product-card-wrapper:nth-child(2) { transition-delay: 0.10s; }
.store-products-grid .store-product-card-wrapper:nth-child(3) { transition-delay: 0.15s; }
.store-products-grid .store-product-card-wrapper:nth-child(4) { transition-delay: 0.20s; }
.store-products-grid .store-product-card-wrapper:nth-child(5) { transition-delay: 0.25s; }
.store-products-grid .store-product-card-wrapper:nth-child(6) { transition-delay: 0.30s; }
.store-products-grid .store-product-card-wrapper:nth-child(7) { transition-delay: 0.35s; }
.store-products-grid .store-product-card-wrapper:nth-child(8) { transition-delay: 0.40s; }