#qlo-custom-footer {
    background-color: #666666 !important;
    color: #ffffff !important;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    clear: both;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 999;
}

.qlo-footer-wrapper {
    padding: 50px 0 30px 0;
    width: 100%;
}

#qlo-custom-footer .container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.qlo-footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.qlo-col {
    margin-bottom: 20px;
    padding-right: 15px;
    box-sizing: border-box;
}

.qlo-footer-desc{
    width:250px;
}

.qlo-col h3 {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: capitalize;
    border: none;
}

/* --- LOGO --- */
.qlo-footer-logo img {
    max-width: 180px; /* Un poco más grande para PNGs */
    height: auto;
    margin-bottom: 20px;
    /* He quitado el filtro 'invert' para que los PNG a color se vean bien */
}
.qlo-footer-desc p {
    line-height: 1.6;
    font-size: 14px;
    color: #f0f0f0;
}

/* --- LINKS --- */
.qlo-links-list ul { list-style: none; padding: 0; margin: 0; }
.qlo-links-list li { margin-bottom: 10px; }
.qlo-links-list a { color: #f0f0f0 !important; text-decoration: none; font-size: 14px; }
.qlo-links-list a:hover { color: #cccccc !important; text-decoration: underline; }

/* --- PAGOS (SOLUCIÓN PNG) --- */
.qlo-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 140px; 
}
.pay-item {
    background: #fff;
    padding: 2px; /* Padding reducido para dar más espacio a la imagen */
    border-radius: 4px;
    width: 60px;  /* Ancho fijo de la caja */
    height: 35px; /* Alto fijo de la caja */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

/* ESTA ES LA REGLA MÁGICA PARA PNGs */
.pay-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajusta la imagen dentro de la caja sin importar su tamaño real */
    display: block;
}

/* --- REDES SOCIALES --- */
.qlo-social-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}
.social-btn {
    color: #fff !important;
    border: 2px solid #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.social-btn:hover {
    background: #fff;
    color: #555 !important;
}

/* --- BOTTOM --- */
.qlo-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #e0e0e0;
    margin-top: 20px;
}

/* --- LAYOUT 4 COLUMNAS --- */
@media (min-width: 992px) {
    .qlo-col-1 { width: 35%; }
    .qlo-col-2 { width: 20%; }
    .qlo-col-3 { width: 20%; }
    .qlo-col-4 { 
        width: 25%; 
        display: flex; 
        justify-content: flex-end; 
        padding-top: 50px; 
        
    } 
}
@media (max-width: 991px) {
    .qlo-col { width: 100%; margin-bottom: 30px; }
    .qlo-col-4 { justify-content: flex-start; padding-top: 0; }
}



/* FORZAR ESTILOS DEL MENÚ EN EL FOOTER */
#qlo-custom-footer .qlo-links-list .row {
    margin: 0 !important;
    padding: 0 !important;
}

#home{

    font-size: 20px !important;
}

#qlo-custom-footer .qlo-links-list ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Quitar todo el look de Bootstrap (.nav, .nav-pills, etc.) */
#qlo-custom-footer .qlo-links-list .nav,
#qlo-custom-footer .qlo-links-list .nav-stacked,
#qlo-custom-footer .qlo-links-list .wk-nav-style {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Cada item del menú */
#qlo-custom-footer .qlo-links-list ul li {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Enlaces del menú: estilo limpio */
#qlo-custom-footer .qlo-links-list .navigation-link,
#qlo-custom-footer .qlo-links-list .nav > li > a {
    display: block !important;
    padding: 4px 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #f0f0f0 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: color 0.25s ease, padding-left 0.25s ease !important;
}

/* Hover: sin subrayado, solo desplazamiento suave */
#qlo-custom-footer .qlo-links-list .navigation-link:hover,
#qlo-custom-footer .qlo-links-list .nav > li > a:hover {
    color: #ffffff !important;
    padding-left: 6px !important;
    text-decoration: none !important;
    background: transparent !important;
}

/* Quitar estados activos de nav-pills */
#qlo-custom-footer .qlo-links-list .nav-pills > li.active > a,
#qlo-custom-footer .qlo-links-list .nav-pills > li.active > a:focus,
#qlo-custom-footer .qlo-links-list .nav-pills > li.active > a:hover {
    background: transparent !important;
    color: #ffffff !important;
    border: 0 !important;
}

/* Responsive: ajustar tamaño en móviles */
@media (max-width: 768px) {
    #qlo-custom-footer .qlo-links-list .navigation-link,
    #qlo-custom-footer .qlo-links-list .nav > li > a {
        font-size: 13px !important;
        padding: 3px 0 !important;
    }
}

