/* ==========================================================================
   Gamas43 - Master Stylesheet (Edición 25 Aniversario 2001-2026)
   ========================================================================== */

/* 1. Tipografías Corporativas */
body, p, span, li, a { font-family: 'Montserrat', sans-serif; }
h1, h2, h3, h4, .font-outfit { font-family: 'Outfit', sans-serif !important; }

/* 2. Fondo Dinámico Fluido (Modo Día / Modo Noche) */
@keyframes softGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
body {
    background: linear-gradient(-45deg, #f3ede2, #e5dcc2, #d8cbaf, #ece5d3);
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: softGradient 8s ease infinite;
    background-color: #f3ede2;
}
html.dark body {
    background: linear-gradient(-45deg, #090d16, #111e38, #030712, #1e1b4b);
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: softGradient 8s ease infinite;
    background-color: #090d16;
}

/* 3. Contenedores y Fichas a 1024px Reales en PC (max-w-[1104px]) */
article > section, 
article > div.space-y-8, 
article > .model-block,
.max-w-[1104px] {
    max-width: 1104px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* 4. Imágenes de Catálogo adaptadas a 1024px de ancho real */
article img {
    max-width: 1024px !important;
    width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}

/* 5. Animación de Latido para el Índice Dinámico / Selección de Modelos */
@keyframes titleHeartbeat {
    0% { transform: scale(1); color: inherit; }
    25% { transform: scale(1.14); color: #f97316; text-shadow: 0 0 18px rgba(249, 115, 22, 0.45); }
    50% { transform: scale(0.96); color: #f97316; }
    75% { transform: scale(1.08); color: #f97316; text-shadow: 0 0 12px rgba(249, 115, 22, 0.3); }
    100% { transform: scale(1); color: inherit; }
}
.highlight-pulse-title {
    animation: titleHeartbeat 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    display: block;
    width: 100%;
    text-align: center;
    transform-origin: center center;
}

/* 6. Scrollbars Personalizados en Gama Naranja */
#lightbox-desc::-webkit-scrollbar,
#toc-mobile-menu::-webkit-scrollbar,
#lang-menu::-webkit-scrollbar,
#search-results::-webkit-scrollbar,
#dynamic-toc::-webkit-scrollbar { width: 5px; }

#lightbox-desc::-webkit-scrollbar-thumb,
#toc-mobile-menu::-webkit-scrollbar-thumb,
#lang-menu::-webkit-scrollbar-thumb,
#search-results::-webkit-scrollbar-thumb,
#dynamic-toc::-webkit-scrollbar-thumb { background: rgba(249, 115, 22, 0.5); border-radius: 10px; }

/* 7. Ocultar barra nativa de Google Translate */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt-,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}
body { top: 0px !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }