/* =====================================================
   FOOTER – MOBILE PROFESIONAL (≤576px)
   ===================================================== */
@media (max-width: 576px) {

    /* ===============================
       CONTENEDOR GENERAL
       =============================== */
    footer .container {
        padding: 12px 16px !important;
    }

    /* ===============================
       LISTA PRINCIPAL
       =============================== */
    footer ul {
        display: flex !important;
        flex-direction: column;
        /* flex-wrap: wrap !important; */
        gap: 14px !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        align-items: center;
        text-align: center;
    }

    /* ===============================
       FILA 1: SÍGUENOS | CONTACTO
       =============================== */
    /* footer ul li:nth-child(1),
    footer ul li:nth-child(2) {
        flex: 1 1 48% !important;
        text-align: left !important;
        margin: 0 !important;
    } */

    footer .footer-heading {
        /* font-size: 0.95rem !important; */
        margin-bottom: 6px !important;
    }

    footer .footer-subtext {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        display: block !important;
    }

    footer ul li:nth-child(1) a,
    footer ul li:nth-child(2) a {
        display: inline-block !important;
        margin-right: 6px !important;
        font-size: 1.1rem !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    /* ===============================
       FILA 2: HORARIOS (UNA COLUMNA)
       =============================== */
    /* footer ul li:nth-child(3) {
        flex: 0 0 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        font-size: 1.1rem !important;
        margin: 0 !important;
    }

    footer ul li:nth-child(3) .footer-subtext,
    footer ul li:nth-child(3) p.bold {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    } */

    footer ul li:nth-child(3) img {
        width: 16px !important;
        margin-right: 4px !important;
        vertical-align: middle !important;
    }

    /* ===============================
       FILA 3: MÁS INFO | LEGAL
       =============================== */
    /* footer ul li:nth-child(4),
    footer ul li:nth-child(5) {
        flex: 1 1 48% !important;
        margin: 0 !important;
    } */

    /* footer ul li:nth-child(4) .footer-subtext,
    footer ul li:nth-child(5) .footer-subtext {
        font-size: 0.75rem !important;
        margin-bottom: 3px !important;
    } */

    /* footer ul li:nth-child(5) .libro {
        font-size: 0.7rem !important;
    } */

    /* footer ul li:nth-child(5) .img-left-libro-reclamaciones {
        width: 18px !important;
        margin-right: 4px !important;
    } */

    /* ===============================
       FOOTER INFERIOR (LOGO + TEXTO)
       =============================== */
    #footer-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;

        margin-top: 14px !important;
        padding-top: 14px !important;
        position: relative;
    }

    /* Línea superior elegante */
    #footer-bottom::before {
        content: "";
        position: absolute;
        top: 0;
        left: 6%;
        right: 10%;
        height: 1.5px;
        background-color: #ffffff;
        opacity: 0.9;
    }

    /* LOGO */
    #footer-bottom .logo {
        width: 110px !important;
        max-width: 110px !important;
        height: auto !important;
        display: block !important;
    }

    /* TEXTO */
    #footer-bottom .footer-bottom-divex {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        max-width: 520px;
        color: #ffffff !important;
    }

    #footer-bottom .logo {
        margin-top: -10px !important;
    }

    /* ===============================
       ÍCONOS
       =============================== */
    /* footer i.fa {
        font-size: 1.2rem !important;
    } */
}
