/* =========================================================
   LOQUOSEX - FIX OVERFLOW HORIZONTAL PAGINA DETALLE
   No modifica los CSS originales
   ========================================================= */

@media screen and (max-width: 999px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    /* Contenedor principal del detalle */
    .pagina-detalle {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Título: originalmente 99% + 2% = 101% */
    .cabecera-titulo {
        width: 96% !important;
        max-width: 96% !important;
        margin-left: 2% !important;
        margin-right: 2% !important;
    }

    /* Teléfono: originalmente 100% + 3% */
    .numero-telefono {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Cabecera móvil */
    .bb {
        width: 40% !important;
        max-width: 40% !important;
        margin-left: 60% !important;
    }

    /* Banners */
    .fit,
    .fit-detalle {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    img.fit,
    img.fit-detalle {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Fotografías */
    .caja-fotos {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .photo_main,
    .photo {
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Seguridad adicional para imágenes del detalle */
    .pagina-detalle img {
        max-width: 100%;
        height: auto;
    }
}
/* =========================================================
   FIX BIENVENIDO USUARIO - HEADER MOVIL
   ========================================================= */

@media screen and (max-width: 999px) {

    .navegacionmob .bb {
        float: none !important;
        position: absolute !important;

        right: 12px !important;
        left: auto !important;

        top: 0 !important;
        margin: 0 !important;

        width: auto !important;
        max-width: calc(100% - 75px) !important;

        height: 50px !important;
        line-height: 50px !important;

        text-align: right !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;

        font-size: 13px !important;
        color: #fff !important;
    }
}
@media screen and (max-width: 999px) {

    .navegacionmob nav {
        margin-top: 0 !important;
        top: 50px !important;
    }

}
@media screen and (max-width: 999px) {

    .navegacionmob nav {
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 20px !important;
    }

}