/**
 * home-base.css
 * ──────────────────────────────────────────────────────────────────
 * Reglas comunes del listado (index / baños) que se aplican en
 * TODOS los dispositivos y resoluciones.
 * Cargado desde index.html / baños.html después de style.css.
 *
 * Para volver atrás: comentar el <link> correspondiente en index.html / baños.html.
 */

/* ── Menú lateral de secciones ─────────────────────────────────── */
#listadoSecciones.menu-secciones-v2 {
    background: transparent;
    border: none;
    padding: 0 6px 16px 0;
}

.menu-secciones-v2-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-secciones-select-wrap {
    display: none;
}

.menu-seccion-grupo {
    background: #f7fbfd;
    border: 1px solid #d8e7ef;
    border-radius: 8px;
    padding: 10px 12px 8px;
    box-shadow: 0 1px 2px rgba(42, 46, 50, 0.04);
}

.menu-seccion-grupo .titulo_seccion_menu {
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #d8e7ef;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    color: #2a2e32;
}

.menu-seccion-grupo hr {
    display: none;
}

.menu-seccion-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-seccion-items > li {
    margin: 0;
    padding: 0;
}

.menu-seccion-items > li > p {
    margin: 0;
}

.menu-secciones-v2 .item_seccion_menu {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #3d4a52;
    background: #fff;
    border: 1px solid #e8eef2;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.menu-secciones-v2 .item_seccion_menu:hover {
    color: #2a6f8f;
    background: #eef6fa;
    border-color: #c5dde8;
}

.menu-secciones-v2 .item_seccion_menu.is-active {
    color: #fff;
    background: #569abc;
    border-color: #569abc;
    font-weight: 600;
}

/* ── Galería de productos (tarjetas) ───────────────────────────── */
#listadoMuebles.galeria-productos-v2 {
    padding-left: 18px;
    padding-right: 4px;
}

.galeria-productos-grid {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 20px;
    align-items: stretch;
}

.galeria-producto-col {
    display: flex;
}

.galeria-producto-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid #edf1f3;
    border-radius: 14px;
    background: #fff;
    color: #2a2e32;
    box-shadow: 0 2px 8px rgba(42, 46, 50, 0.05);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.galeria-producto-card:hover {
    transform: translateY(-4px);
    border-color: #c4ddea;
    box-shadow: 0 12px 24px rgba(42, 46, 50, 0.14);
    color: #2a2e32;
}

.galeria-producto-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 305px;
    padding: 6px;
    background: #f8fafb;
}

.galeria-producto-img.block,
.galeria-producto-img {
    width: 100%;
    max-width: 340px;
    height: 285px;
    max-height: 285px;
    margin: 0;
    border: none;
    border-radius: 8px;
    object-fit: contain;
    background: transparent;
}

.galeria-producto-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 8px 10px 10px;
    text-align: center;
    border-top: 1px solid #edf1f3;
    background: #fff;
}

.galeria-producto-descripcion {
    font-size: 0.84rem;
    line-height: 1.2;
    color: #2a2e32;
    font-weight: 600;
}

.galeria-producto-nombre {
    font-size: 0.68rem;
    line-height: 1.25;
    color: #68747c;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.galeria-producto-medidas {
    display: block;
    margin-top: 2px;
    font-size: 0.64rem;
    line-height: 1.25;
    color: #8a949b;
}
