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

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

.menu-leader {
    display: none;
}

@media (min-width: 768px) {
    .menu-leader {
        display: block;
        flex-grow: 1;
        border-bottom: 2px dotted #E4C9B6;
        margin: 0 12px;
        position: relative;
        top: -6px;
        opacity: 0.7;
    }
}

/* Ocultar barra de scroll para contenedores horizontales */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Utilidades extras */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Animaciones personalizadas basadas en config Tailwind del original */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos para el Logo del Header */
#header-logo {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
    max-width: 180px;
}

#header-logo.logo-scrolled {
    transform: scale(0.85);
}

@media (max-width: 768px) {
    #header-logo {
        max-width: 140px;
    }
}

/* Refinamientos para Acciones Flotantes */
#back-to-top {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.8);
}

#back-to-top:hover {
    box-shadow: 0 10px 25px rgba(215, 164, 154, 0.3);
}

.animate-ping {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Máscara de desvanecimiento para menús con scroll horizontal */
#catalog-tabs-menu {
    mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
}

/* Ajustes de tipografía para móvil */
@media (max-width: 640px) {
    h1 { font-size: 2.75rem !important; line-height: 1.1 !important; }
    h2 { font-size: 2rem !important; line-height: 1.2 !important; }
    p { font-size: 1rem !important; }
}
