body {
    background-color: #FFFFFF;
    color: #141413;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-image: radial-gradient(#E5E7EB 0.85px, transparent 0.85px);
    background-size: 32px 32px;
}
.font-display {
    font-family: 'Cinzel', serif;
}
.gold-gradient {
    background: linear-gradient(135deg, #C5A059 0%, #9E7B36 100%);
}
.card-hover {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
    transform: translateY(-6px);
    border-color: #C5A059 !important;
    box-shadow: 0 24px 40px -12px rgba(20, 20, 19, 0.12);
}
/* Botón Editorial de Tarjetas: Negro Obsidiana -> Dorado al pasar el mouse */
.btn-editorial-card {
    background-color: #141413;
    color: #FFFFFF;
    border: 1px solid #141413;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-editorial-card:hover {
    background-color: #C5A059;
    border-color: #C5A059;
    color: #FFFFFF;
    box-shadow: 0 10px 20px -6px rgba(197, 160, 89, 0.45);
}
.btn-editorial-card:hover i {
    color: #FFFFFF !important;
}
/* Botones de Filtro de Categorías */
.filter-btn {
    background-color: #FFFFFF;
    color: #262523;
    border: 1px solid #E2E8F0;
    transition: all 0.25s ease;
}
.filter-btn:not(.active):hover {
    background-color: #FFFFFF !important;
    color: #141413 !important;
    border-color: #C5A059 !important;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.14);
}
.filter-btn.active {
    background-color: #141413 !important;
    color: #FFFFFF !important;
    border-color: #141413 !important;
    box-shadow: 0 8px 20px -4px rgba(20, 20, 19, 0.2);
}
.filter-btn.active:hover {
    background-color: #262523 !important;
    color: #FFFFFF !important;
    border-color: #C5A059 !important;
}
.filter-btn.active i {
    color: #C5A059 !important;
}
/* Carrusel de Portada & Efecto Ken Burns */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
    overflow: hidden;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}
.hero-slide.active .hero-slide-img {
    transform: scale(1.12);
}
/* Animación de Escritura con Pincel */
.brush-char {
    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(6px) scale(0.94) skewX(-6deg);
    transition: opacity 0.28s ease-out, filter 0.32s ease-out, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease;
    will-change: opacity, filter, transform;
}
.brush-char.painted {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1) skewX(0deg);
}
.brush-char.just-painted {
    text-shadow: 0 0 18px rgba(232, 207, 160, 0.95), 0 0 6px rgba(197, 160, 89, 0.8);
}
.brush-word {
    display: inline-block;
    white-space: nowrap;
}
.brush-underline-path {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.brush-underline-path.drawn {
    stroke-dashoffset: 0;
}
/* Animaciones al hacer Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.scroll-route-path {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-route-path.route-drawn {
    stroke-dashoffset: 0;
}
/* Tarjetas 3D en Promociones */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.25s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tilt-card:hover {
    border-color: #C5A059 !important;
    box-shadow: 0 24px 40px -14px rgba(20, 20, 19, 0.14);
}
/* Carrusel de Promociones */
.promo-carousel-viewport {
    overflow: hidden;
    position: relative;
    padding: 12px 4px 24px 4px;
}
.promo-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.promo-carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
}
@media (min-width: 768px) {
    .promo-carousel-slide {
        flex: 0 0 calc((100% - 2rem) / 2);
        max-width: calc((100% - 2rem) / 2);
    }
}
@media (min-width: 1024px) {
    .promo-carousel-slide {
        flex: 0 0 calc((100% - 4rem) / 3);
        max-width: calc((100% - 4rem) / 3);
    }
}
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-pulse {
    animation: pulse-ring 2.2s infinite;
}
/* Destello sutil para el circulito de Promociones */
@keyframes promo-dot-subtle {
    0%, 100% {
        opacity: 0.75;
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
        box-shadow: 0 0 5px 1.5px rgba(197, 160, 89, 0.45);
    }
}
.promo-dot-flash {
    animation: promo-dot-subtle 2.6s infinite ease-in-out;
}
/* Globo Dinámico de WhatsApp */
.wa-dynamic-bubble {
    opacity: 0;
    transform: translateX(28px) scale(0.75);
    transform-origin: right center;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.wa-dynamic-bubble.wa-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}
.wa-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 13px;
    background-color: #FFFFFF;
    margin-left: 3px;
    vertical-align: middle;
    animation: waBlink 0.65s infinite;
}
@keyframes waBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* Contenedor Fluido Adaptable al Zoom */
.layout-container {
    width: min(92vw, 1760px);
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1920px) {
    html {
        font-size: 17.5px;
    }
}