/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 29 2026 | 20:17:34 */
/* =========================================================
   HEADER — Color hover del menú principal
   Excluye elementos con la clase .av-cta
   ========================================================= */

:root {
    --av-menu-hover: #b99362;
}


/* Desktop + menú fijo */
#top-menu-nav #top-menu li:not(.av-cta) > a:hover,
.et-fixed-header #top-menu li:not(.av-cta) > a:hover,

/* Menú móvil estándar */
.et_mobile_menu li:not(.av-cta) > a:hover,

/* Menú móvil Slide-In / Fullscreen */
#mobile_menu_slide li:not(.av-cta) > a:hover {
    color: var(--av-menu-hover) !important;
    opacity: 1 !important;
}

/* =========================================================
   MENÚ PRINCIPAL DIVI
   Subrayado animado únicamente en nivel 1
   - No afecta submenús nivel 2 y 3
   - No afecta elementos con dropdown
   - No afecta .av-cta
   - Animación desde el centro
   ========================================================= */

/* Solo enlaces de nivel 1 sin dropdown y sin CTA */
#top-menu > li:not(.menu-item-has-children):not(.av-cta) > a:not(.av-cta) {
    position:relative;
    opacity:1 !important;
}

/* Línea inferior */
#top-menu > li:not(.menu-item-has-children):not(.av-cta) > a:not(.av-cta)::before {
    content:"";
    position:absolute;
    z-index:1;
    left:0;
    right:0;
    bottom:calc(70% - 4px);
    height:2px;
    background:var(--av-menu-hover);
    transform:scaleX(0);
    transform-origin:center;
    transition:transform 0.3s ease;
    pointer-events:none;
}

/* Hover: la línea crece desde el centro hacia ambos lados */
#top-menu > li:not(.menu-item-has-children):not(.av-cta):hover > a:not(.av-cta)::before {
    transform:scaleX(1);
}

/* Página actual: excluir enlaces con anclas */
#top-menu > li.current-menu-item:not(.menu-item-has-children):not(.av-cta) > a:not(.av-cta):not([href*="#"])::before,
#top-menu > li.current_page_item:not(.menu-item-has-children):not(.av-cta) > a:not(.av-cta):not([href*="#"])::before {
    transform: scaleX(1);
}

/* =========================================================
   EXCLUSIONES
   ========================================================= */

/* Elementos de nivel 1 que tengan dropdown */
#top-menu > li.menu-item-has-children > a::before {
    content:none !important;
    display:none !important;
}

/* CTA */
#top-menu > li.av-cta > a::before,
#top-menu > li > a.av-cta::before {
    content:none !important;
    display:none !important;
}

/* =========================================================
   HEADER — Logo más grande en móvil
   ========================================================= */

@media (max-width: 767px) {
    #logo {
        max-width: 70% !important;
        max-height: 70% !important;
        width: auto;
        height: auto;
    }
}

/* =========================================================
   HEADER — Add-ons opcionales
   Descomentar únicamente cuando sean necesarios
   ========================================================= */

/* ---------------------------------------------------------
   Forzar menú móvil
   --------------------------------------------------------- */
/*
@media (max-width: 1280px) {

    #top-menu-nav,
    #et_top_search {
        display: none;
    }

    #et_mobile_nav_menu {
        display: block;
    }
}
*/

/* ---------------------------------------------------------
   Ocultar carrito de WooCommerce del header
   --------------------------------------------------------- */
/*
.et-cart-info {
    display: none;
}
*/

/* ---------------------------------------------------------
   Eliminar sombra/línea debajo del header
   --------------------------------------------------------- */
/*
#main-header,
#main-header.et-fixed-header {
    box-shadow: none !important;
}
*/

/* =========================================================
   SEARCH — Botón "Ver más"
   ========================================================= */

.search-results .et_pb_post .post-content a.more-link {
    display: block !important;
    width: fit-content;
    margin: 30px 0 0 auto !important;
    padding: 0.3em 1em !important;
    color: #ffffff !important;
    background-color: #009ddc !important;
    border: 2px solid #009ddc !important;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    text-decoration: none !important;
    opacity: 1 !important;
    transition: background-color 0.2s ease,border-color 0.2s ease,color 0.2s ease;
}

.search-results .et_pb_post .post-content a.more-link:hover,
.search-results .et_pb_post .post-content a.more-link:focus-visible {
    color: #ffffff !important;
    background-color: #17478b !important;
    border-color: #17478b !important;
    opacity: 1 !important;
}


/* =========================================================
   FOOTER — Información inferior
   ========================================================= */

:root {
    --av-footer-link: #ffffff;
    --av-footer-link-hover: #e1f44d;
}

/* Centrar información del footer */
#footer-info {
    width: 100%;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
}

/* Links */
#footer-info a {
    color: var(--av-footer-link);
    transition: color 0.2s ease;
}

/* Hover + navegación por teclado */
#footer-info a:hover,
#footer-info a:focus-visible {
    color: var(--av-footer-link-hover);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    opacity: 1 !important;
}

/* =========================================================
   UTILITIES — Ocultar badge de reCAPTCHA
   ========================================================= */
.grecaptcha-badge {
    visibility: hidden !important;
}
