body {
    box-sizing: border-box;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Montserrat', sans-serif;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image {
    transition: transform 0.5s ease;
}

.nav-link {
    position: relative;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #8ba5b5 0%, #a7bcc9 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 165, 181, 0.4);
}

.hero-gradient {
    background: linear-gradient(180deg, #f5f0eb 0%, #e8e0d8 50%, #d4cbc2 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

/* Esto estaba en tu segundo <style> */
@view-transition {
    navigation: auto;
}

/* Cart helpers */
#cart-overlay.hidden { display: none; }
#cart-overlay:not(.hidden) { display: block; }
