/* Buscador compartido de la botonera, incluida la home de muestra. */
#header3 .buscador-compacto {
    display: flex;
    align-items: center;
    flex: 0 1 400px;
    min-width: 280px;
    gap: 10px;
    box-sizing: border-box;
    height: 40px;
    margin: 6px 12px;
    padding: 5px 5px 5px 14px;
    border: 1px solid #dce0e5;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(31, 41, 55, .08);
    color: #515967;
    font-family: 'Inter', sans-serif;
}
#header3 .buscador-compacto-lupa { font-size: 15px; }
#header3 .buscador-compacto input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #515967;
    font: inherit;
    font-size: 12px;
}
#header3 .buscador-compacto input::placeholder { color: #9299a7; opacity: 1; }
#header3 .buscador-compacto-ia {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border: 1px solid rgba(241, 97, 34, .24);
    border-radius: 999px;
    background: rgba(241, 97, 34, .08);
    color: var(--color-naranja);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .03em;
    cursor: help;
}
#header3 .buscador-compacto-ia > span { font-size: 11px; }
#header3 .buscador-compacto button {
    display: inline-flex;
    box-sizing: border-box;
    min-height: 0;
    line-height: 1;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    font: inherit;
    cursor: pointer;
}
#header3 .buscador-compacto .buscador-compacto-imagen {
    height: 25px;
    padding: 0 2px 0 10px;
    border-left: 1px solid #e1e4e8;
    background: transparent;
    color: #515967;
    font-size: 18px;
}
#header3 .buscador-compacto .buscador-compacto-enviar {
    gap: 10px;
    height: 26px;
    padding: 0 15px;
    border-radius: 20px;
    background: var(--color-naranja);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
#header3 .buscador-compacto-enviar:hover { background: #d95017; }
#header3 .buscador-compacto input:focus-visible,
#header3 .buscador-compacto button:focus-visible { outline: 2px solid var(--color-naranja); outline-offset: 2px; }

#header3 .maintenance-admin-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 52px;
    padding: 8px 18px;
    border-top: 3px solid #1f1f1f;
    border-bottom: 3px solid #1f1f1f;
    background: repeating-linear-gradient(135deg, #ffc400 0, #ffc400 24px, #ffda45 24px, #ffda45 48px);
    color: #1f1f1f;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
#header3 .maintenance-admin-notice strong {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
}
#header3 .maintenance-admin-notice span {
    font-size: 13px;
    font-weight: 700;
}
#header3 .maintenance-admin-notice:hover,
#header3 .maintenance-admin-notice:focus {
    color: #000;
    text-decoration: none;
    filter: brightness(.96);
}
#header3 .maintenance-admin-notice:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}
@media (min-width: 992px) {
    #header3 .navbar-collapse { flex-wrap: wrap; }
    #header3 .navbar-nav { flex-wrap: wrap; }
}
@media (max-width: 991px) {
    #header3 .maintenance-admin-notice { flex-direction: column; gap: 2px; text-align: center; }
    #header3 .navbar { display: flex; flex-direction: column; align-items: stretch; }
    #header3 .navbar-toggler { order: 1; }
    #header3 .buscador-compacto {
        order: 2;
        align-self: center;
        flex: 0 0 40px;
        width: calc(100% - 30px);
        max-width: 480px;
        min-width: 0;
        margin: 12px 15px;
    }
    #header3 .navbar-collapse { order: 3; width: 100%; }
}
@media (max-width: 360px) {
    #header3 .buscador-compacto { gap: 7px; padding-left: 10px; }
    #header3 .buscador-compacto .buscador-compacto-enviar { padding: 0 12px; }
    #header3 .buscador-compacto-enviar .fa-arrow-right { display: none; }
    #header3 .buscador-compacto-ia { padding: 3px 5px; font-size: 0; }
    #header3 .buscador-compacto-ia > span { font-size: 11px; }
}

/* Acceso de cuenta discreto junto a las redes sociales. */
#header3 .barra-superior-accesos {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 100%;
    padding: 5px 10px;
}
#header3 .barra-superior-accesos #redes {
    position: static;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
}
#header3 .sesion-superior {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #fff;
    font-size: 12px;
    line-height: 24px;
}
#header3 .sesion-superior a { color: #fff; white-space: nowrap; text-decoration: none; }
#header3 .sesion-superior a:hover { text-decoration: underline; }
#header3 .sesion-superior a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#header3 .sesion-superior a i { margin-right: 5px; }
#header3 .sesion-superior-nombre { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 991px) {
    #header3 .contenedor-redes { height: auto; min-height: 34px; }
    #header3 .barra-superior-accesos { position: relative; justify-content: flex-end; gap: 12px; }
    #header3 .sesion-superior { flex-wrap: wrap; justify-content: flex-end; gap: 0 8px; }
    #header3 .sesion-superior-nombre { max-width: 120px; }
    #header3 .barra-superior-accesos #redes a { font-size: 16px; }
}
