/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* GLOBAL STYLES */
body {
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* --- MEGA MENU ANIMATIONS --- */
/* By default, hide the menu */
.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Start slightly lower */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When hovering the 'li' (group), show the menu */
.group:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- LINK STYLES --- */
/* The "Discover" underline animation */
.link-underline {
    border-bottom: 1px solid #e5e7eb; /* Light gray border */
    padding-bottom: 2px;
    font-size: 0.75rem; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all 0.2s ease;
}

.link-underline:hover {
    border-bottom: 1px solid #000;
    color: #000;
}

/* --- CART & UI --- */
/* Smooth Cart Overlay Transition */
#cart-overlay {
    transition: opacity 0.3s ease-in-out;
}

/* Scrollbar hiding for cleaner look in cart */
#cart-items::-webkit-scrollbar {
    width: 6px;
}
#cart-items::-webkit-scrollbar-thumb {
    background-color: #f1f1f1;
    border-radius: 4px;
}
#cart-items::-webkit-scrollbar-track {
    background-color: transparent;
}
