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

/* Eneba specific styles and utilities that are hard to do with inline Tailwind */

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

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

/* Optional: Custom scrollbar for the rest of the page */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #1a0038; 
}
::-webkit-scrollbar-thumb {
    background: #4c2080; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5c3090; 
}

/* Cart overlay transitions */
.cart-overlay {
    transition: opacity 0.3s ease;
}

/* Payment tabs transitions */
.payment-tab {
    transition: all 0.3s ease;
}

/* Generic spinner for loaders */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-left-color: #ffcc00;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Drawer & Overlay Open States */
.cart-drawer.open {
    transform: translateX(0) !important;
}

.cart-overlay.open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

