@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.animate-pulse {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.delay-1000 {
    animation-delay: 1000ms;
}

html {
    scroll-behavior: smooth;
}

.backdrop-blur-xl {
    backdrop-filter: blur(20px);
}

.product-card {
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    opacity: 0.05;
}

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

.notyf__toast {
    border-radius: 12px !important;
}

.swal2-popup {
    border-radius: 16px !important;
    font-family: 'Inter', sans-serif !important;
}

.swal2-styled.swal2-confirm {
    border-radius: 8px !important;
    padding: 12px 24px !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4b5563;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

@supports (backdrop-filter: blur(20px)) {
    .backdrop-blur-xl {
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
}

