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

/* Base Styles */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #f8fafc;
    overflow-x: hidden;
    color: #1e293b;
    /* slate-800 */
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c4b5fd;
    /* violet-300 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a78bfa;
    /* violet-400 */
}

/* Typography Gradient */
.text-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0d0d0e;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Search Bar Transition */
#searchBarContainer {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

.search-hidden {
    opacity: 0;
    transform: scaleY(0);
    pointer-events: none;
    height: 0;
}

.search-visible {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
    height: auto;
}

/* Cart Sidebar */
#cartSidebar {
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

#cartSidebar.open {
    transform: translateX(0);
}

/* Utility Patterns */
.pattern-dots {
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 20px 20px;
}