/* ===== HB Select - Custom Styles ===== */

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Slider Text Animation */
.hero-text-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.swiper-slide-active .hero-text-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Product Card Hover */
.product-card {
    transition: all 0.3s ease;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Minimal Button with Dark Mode */
.btn-minimal {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    transition: all 0.3s ease;
}
.dark .btn-minimal {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
}
.btn-minimal:hover {
    background-color: #fff;
    color: #000;
}
.dark .btn-minimal:hover {
    background-color: #000;
    color: #fff;
}

/* WhatsApp Pulse */
@keyframes pulse-wpp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.btn-wpp {
    animation: pulse-wpp 2s infinite;
}

/* Search Input */
.search-input:focus {
    box-shadow: none;
    border-color: #000;
}
.dark .search-input:focus {
    border-color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.show {
    transform: translateY(0);
}

/* Exit Popup Overlay */
.exit-popup-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.exit-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}
.exit-popup-content {
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.exit-popup-overlay.show .exit-popup-content {
    transform: scale(1) translateY(0);
}

/* Checkout Steps */
.checkout-step {
    opacity: 0.4;
    transition: all 0.3s ease;
}
.checkout-step.active {
    opacity: 1;
}
.step-line {
    height: 2px;
    transition: background-color 0.3s ease;
}

/* Quantity Input */
.qty-btn {
    transition: all 0.2s ease;
}
.qty-btn:hover {
    background-color: #000;
    color: #fff;
}
.dark .qty-btn:hover {
    background-color: #fff;
    color: #000;
}

/* Product Page Gallery */
.gallery-thumb {
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    cursor: pointer;
}
.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: #000;
}
.dark .gallery-thumb.active,
.dark .gallery-thumb:hover {
    border-color: #fff;
}

/* Page Transitions */
.page-content {
    animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show {
    transform: translateX(0);
}
