@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Great+Vibes&display=swap');

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F2EFE9;
}
::-webkit-scrollbar-thumb {
    background: #7A613B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2C2518;
}

/* Base Styles */
body {
    background-color: #F2EFE9;
    color: #1F1F1F;
    font-family: 'Jost', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Playfair Display', serif;
}

.font-cursive {
    font-family: 'Great Vibes', cursive;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 45s linear infinite;
    will-change: transform;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Nav Dropdown Hover Effects */
.group:hover .group-hover\:block {
    display: block;
}

/* Loader / Transition classes */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F2EFE9;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 1;
}

.hidden-overlay {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Modal & Toast Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 0.25s ease-out forwards;
}

/* Cart badge bounce */
@keyframes badgePop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.cart-bounce {
    animation: badgePop 0.3s ease-out;
}
