/* ============================================================
   stylesNL-extras.css
   Reglas nuevas NL — se carga DESPUÉS de stylesListadores.css
   No tocar stylesListadores.css en producción, agregar esto aparte.
   ============================================================ */

/* ================================================================
   BOTONERA DE CATEGORÍAS (desktop)
   ================================================================ */

.lcf-botonera {
    display: flex;
    align-items: stretch;
    width: calc(100% - 30px);
    max-width: 1400px;
    margin: 20px auto;
    border: 1px solid #dde3ec;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.lcf-btn-cat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    text-decoration: none;
    background: #fff;
    border-right: 1px solid #dde3ec;
    transition: background 0.15s;
    text-align: center;
    cursor: pointer;
    min-width: 0;
}

.lcf-btn-cat:last-child { border-right: none; }
.lcf-btn-cat:hover { background: #eef3fb; text-decoration: none; }
.lcf-btn-cat:focus { outline: none; text-decoration: none; }

.lcf-btn-cat img {
    width: 125px;
    height: 125px;
    object-fit: contain;
    margin-bottom: 8px;
    display: block;
    mix-blend-mode: multiply;
}

.lcf-btn-cat span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #004589;
    display: block;
}

.lcf-btn-todas {
    background: #004589 !important;
    flex: 0 0 130px;
}
.lcf-btn-todas:hover { background: #003a73 !important; }
.lcf-btn-todas span {
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.lcf-btn-cat.active {
    background: #eef3fb;
    box-shadow: inset 0 -3px 0 #004589;
}
.lcf-btn-todas.active {
    background: #003a73 !important;
    box-shadow: none;
}

.lcf-btn-outlet { background: #f7f7f7 !important; }
.lcf-btn-outlet:hover { background: #efefef !important; }
.lcf-btn-outlet span { color: #444 !important; }

/* Alinear botonera con lcf-container en pantallas medianas */
@media (min-width: 992px) and (max-width: 1199px) {
    .lcf-botonera {
        width: 962px;
        max-width: none;
    }
}
@media (min-width: 1200px) {
    .lcf-botonera {
        width: calc(100% - 30px);
        max-width: 1400px;
    }
}

/* Área de productos — referencia para el sidebar absoluto */
.lcf-productos-area {
    position: relative;
    width: 100%;
}

/* SIDEBAR — oculto por ahora, quitar la línea siguiente para activar */
.lcf-sidebar { display: none !important; }

.lcf-sidebar {
    position: absolute;
    left: -224px;
    width: 210px;
    z-index: 10;
    background: #f8f9fc;
    border: 1px solid #dde3ec;
    border-radius: 6px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lcf-sidebar-titulo {
    font-size: 11px;
    font-weight: 700;
    color: #004589;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding-bottom: 10px;
    margin-bottom: 2px;
    border-bottom: 2px solid #004589;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lcf-filtro-grupo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid #e8ecf4;
}
.lcf-filtro-grupo:last-of-type { border-bottom: none; }

.lcf-filtro-label {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lcf-filtro-select {
    font-size: 12px;
    border: 1px solid #c8d3e8;
    border-radius: 4px;
    padding: 5px 8px;
    color: #333;
    background: #fff;
    cursor: pointer;
    width: 100%;
    height: 30px;
    box-sizing: border-box;
}
.lcf-filtro-select:focus { outline: none; border-color: #004589; }

.lcf-filtro-input {
    font-size: 12px;
    border: 1px solid #c8d3e8;
    border-radius: 4px;
    padding: 5px 8px;
    color: #333;
    background: #fff;
    height: 30px;
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
}
.lcf-filtro-input:focus { outline: none; border-color: #004589; }

.lcf-precio-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lcf-filtros-sep {
    font-size: 11px;
    color: #aaa;
    flex-shrink: 0;
}

.lcf-filtros-limpiar {
    display: block;
    width: 100%;
    margin-top: 10px;
    font-size: 11px;
    color: #c0392b;
    background: none;
    border: 1px solid #c0392b;
    border-radius: 4px;
    padding: 6px;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}
.lcf-filtros-limpiar:hover { background: #c0392b; color: #fff; }

.lcf-filtros-count {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-top: 8px;
}

/* min-height para evitar que el sidebar tape la sección vacía */
div.row#contenedor_box,
#contenedor_box {
    min-height: 320px !important;
}

/* Estado vacío cuando no hay equipos con los filtros aplicados */
.lcf-sin-resultados {
    flex: 0 0 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #aaa;
    text-align: center;
}
.lcf-sin-resultados i {
    font-size: 40px;
    margin-bottom: 16px;
    color: #ccc;
}
.lcf-sin-resultados p {
    margin: 4px 0;
    font-size: 15px;
}
.lcf-sin-resultados p:first-of-type {
    font-weight: 600;
    color: #888;
    font-size: 16px;
}
