/* Page Transitions */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

main {
    animation: fadeInPage 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Micro-animations: Button Press */
button:active {
    transform: scale(0.98);
}

/* Micro-animations: Inputs */
input:focus,
textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Cart Icon Pulse */
@keyframes pulseCustom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
        color: #C5A065;
    }

    /* Oro Luna */
    100% {
        transform: scale(1);
    }
}

.animate-pulse-custom {
    animation: pulseCustom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Hover Lift Effect for Cards */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}