/* Componente: tabla de productos en páginas de alquiler.
   Usado por alquiler-altavoces, alquiler-equipos-musica-pioneer,
   alquiler-maquina-humo. */

/* ===== Tablas de productos (mismo estilo que alquiler-altavoces) ===== */
.cont-categoria .table-pioneer {
    width: 100%;
    margin: 16px 0 40px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.cont-categoria .table-pioneer thead.thead-dark th {
    background: #0057b4 !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left;
}
.cont-categoria .table-pioneer thead.thead-dark th:first-child { width: 280px; }
.cont-categoria .table-pioneer tbody tr { transition: background 0.2s ease; }
.cont-categoria .table-pioneer tbody tr + tr th,
.cont-categoria .table-pioneer tbody tr + tr td {
    border-top: 1px solid #eef0f2;
}
.cont-categoria .table-pioneer tbody tr:hover { background: #f8fafc; }
.cont-categoria .table-pioneer th[scope="row"],
.cont-categoria .table-pioneer td {
    padding: 20px 22px !important;
    vertical-align: top;
    border: 0 !important;
    text-align: left !important;
    font-size: 0.95rem;
    color: #343a40;
    line-height: 1.55;
}
.cont-categoria .table-pioneer th[scope="row"] {
    width: 280px;
    background: transparent;
}
.cont-categoria .table-pioneer th[scope="row"] > a {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    text-decoration: none !important;
}
.cont-categoria .table-pioneer th[scope="row"] h2,
.cont-categoria .table-pioneer th[scope="row"] h3 {
    margin: 0 !important;
    color: #0057b4 !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    line-height: 1.3;
    transition: color 0.2s ease;
}
.cont-categoria .table-pioneer th[scope="row"] > a:hover h2,
.cont-categoria .table-pioneer th[scope="row"] > a:hover h3 { color: #00468f !important; }
.cont-categoria .table-pioneer th[scope="row"] img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafbfc;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cont-categoria .table-pioneer th[scope="row"] > a:hover img {
    transform: translateY(-2px);
    border-color: #cfd7e2;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}
.cont-categoria .table-pioneer td a:not(.btn) {
    color: #0057b4 !important;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}
.cont-categoria .table-pioneer td a:not(.btn):hover { text-decoration: underline !important; }
.cont-categoria .table-pioneer td br { display: none; }

.cont-categoria .table-pioneer .precio-linea { margin: 14px 0 0 !important; }
.cont-categoria .table-pioneer .precio-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #198754;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.2;
    border-radius: 8px;
    letter-spacing: 0.01em;
}

@media (max-width: 767.98px) {
    .cont-categoria .table-pioneer,
    .cont-categoria .table-pioneer tbody,
    .cont-categoria .table-pioneer tr,
    .cont-categoria .table-pioneer th[scope="row"],
    .cont-categoria .table-pioneer td {
        display: block;
        width: 100% !important;
    }
    .cont-categoria .table-pioneer thead { display: none; }
    .cont-categoria .table-pioneer tbody tr + tr { border-top: 1px solid #eef0f2; }
    .cont-categoria .table-pioneer tbody tr + tr th,
    .cont-categoria .table-pioneer tbody tr + tr td { border-top: 0 !important; }
    .cont-categoria .table-pioneer th[scope="row"] { padding: 18px 18px 8px !important; }
    .cont-categoria .table-pioneer th[scope="row"] img { max-width: 100%; }
    .cont-categoria .table-pioneer td { padding: 0 18px 20px !important; }
}
