/* =============================================
   MEGA MENU - AvaiBook
   ============================================= */

/********* OJO BORRAR ESTO *********/
/* #mfn-megamenu-49362 {
    display: block;
} */
/********* FIN OJO BORRAR ESTO *********/

/* Overlay del mega menú */
body::after {
    content: '';
    position: fixed;
    top: var(--overlay-top, 0px);
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

body.mega-menu-open::after {
    opacity: 1;
}

.mega-menu .section {
    padding: 10px 0;
}

.mega-menu .mega-row {
    display: flex;
    gap: 20px;
}

.mega-menu .mega-col {
    flex: 1;
}

.mega-menu .mega-description.first-level {
    border-bottom: 1px solid #999;
    padding: 0 5px 10px;
    margin-bottom: 5px;
}

.mega-menu .section.mega-divider .mfn-divider-border-solid .mfn-divider-inner:before {
    border-top: 1px solid #999;
}

/* Enlace principal con icono a la izquierda */
.mega-menu .mega-menu-block a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 5px;
}

.mega-menu .mega-menu-block a:hover {
    text-decoration: none;
    background-color: rgba(0,0,0,.06);
}

/* Icono */
.mega-menu .mega-icon {
    flex-shrink: 0;
    font-size: 1rem;
    color: #999;
    margin-top: 2px;
}

/* Contenedor texto (título + descripción) */
.mega-menu .mega-text {
    display: flex;
    flex-direction: column;
}

.mega-menu .mega-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.mega-menu a .mega-description {
    color: #666;
    margin: 0;
}

/* Subítems */
.mega-menu ul {
    list-style: none;
    margin: 10px 0;
    font-size: .875rem !important;
}

.mega-menu .mega-menu-block ul a {
    color: #333;
}

.mega-menu .mega-menu-block .mega-second-level-links a {
    flex-flow: column wrap;
    gap: 0;
    font-weight: 700;
}

.mega-menu .mega-menu-block .mega-second-level-links a > span {
    font-weight: normal;
}

.mega-menu .mega-menu-block ul a:hover {
    /* text-decoration: underline;
    color: #11b3a2; */
}