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

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

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

::-webkit-scrollbar-thumb {
    background: #c8a45c33;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c8a45c66;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Cart sidebar overlay transition */
#cartOverlay.active {
    opacity: 1;
}

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

/* Product card animations */
.product-card {
    transition: all 0.5s ease;
}

.product-card.hidden-card {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* Star fill */
.fill-brand {
    fill: #c8a45c;
}

/* Selection color */
::selection {
    background: #c8a45c;
    color: #050505;
}

/* Notification animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-enter {
    animation: slideInRight 0.3s ease-out forwards;
}

.notification-exit {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Responsive nav */
@media (max-width: 767px) {
    nav .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}