/* =========================================================
   BELLONE HNOS - ESTILO MODERNO Y SUTIL
   ========================================================= */

/* ===== BASE GENERAL ===== */

body {
    background: #f7f7f7 !important;
    color: #1a1a1a !important;
}


/* ===== TÍTULOS GENERALES ===== */

h1, h2, h3, h4 {
    letter-spacing: -0.3px !important;
}

h2 {
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 18px !important;
}


/* ===== CONTENEDOR DE PRODUCTOS ===== */

ul.thumbnails.row-fluid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ===== COLUMNAS ===== */

ul.thumbnails.row-fluid > li,
ul.thumbnails.row-fluid > div,
ul.thumbnails.row-fluid > [class*="span"] {
    width: calc(25% - 18px) !important;
    max-width: calc(25% - 18px) !important;
    flex: 0 0 calc(25% - 18px) !important;

    margin: 0 !important;
    margin-left: 0 !important;

    float: none !important;
    clear: none !important;

    box-sizing: border-box !important;
}


/* ===== TARJETA ===== */

.wdg-producto {
    width: 100% !important;
    height: 100% !important;

    background: #ffffff !important;

    border: 1px solid #ececec !important;
    border-radius: 14px !important;

    overflow: hidden !important;

    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;

    display: flex !important;
    flex-direction: column !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

.wdg-producto:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10) !important;
}


/* ===== IMAGEN ===== */

.wdg-producto .figure {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #f2f2f2 !important;
}

.wdg-producto .figure img,
.wdg-producto .producto-imagen {
    width: 100% !important;
    height: 220px !important;

    object-fit: cover !important;
    display: block !important;

    transition: transform 0.35s ease !important;
}

.wdg-producto:hover .figure img {
    transform: scale(1.03) !important;
}


/* ===== INFORMACIÓN ===== */

.wdg-producto .caption {
    background: #ffffff !important;
    padding: 16px !important;
    color: #1a1a1a !important;

    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}


/* ===== NOMBRE DEL AUTO ===== */

.wdg-producto .caption > a:not(.btn),
.wdg-producto .caption a:not(.btn),
.wdg-producto .caption .nombre,
.wdg-producto .caption .titulo,
.wdg-producto .producto-nombre,
.wdg-producto h1,
.wdg-producto h2,
.wdg-producto h3,
.wdg-producto h4,
.wdg-producto h5 {
    background: transparent !important;
    background-color: transparent !important;

    color: #191919 !important;

    border: none !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 0 8px 0 !important;

    display: block !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;

    text-decoration: none !important;

    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
}


/* ===== AÑO Y KM ===== */

.wdg-producto .caption p,
.wdg-producto .caption .descripcion {
    color: #7b7b7b !important;

    font-size: 13px !important;
    font-weight: 400 !important;

    margin-top: 4px !important;
    margin-bottom: 12px !important;

    background: transparent !important;
}


/* ===== PRECIO ===== */

/* El precio queda visible */
.precio-final,
.wdg-producto .precio-final {
    display: block !important;
    visibility: visible !important;

    color: #151515 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    margin-top: 6px !important;
    margin-bottom: 14px !important;

    background: transparent !important;
}


/* ===== OCULTAR SOLO EL +1 ===== */

.producto-acciones .badge,
.producto-acciones .badge-info,
.badge.badge-info,
.wdg-producto .producto-acciones .badge,
.wdg-producto .badge.badge-info {
    display: none !important;
    visibility: hidden !important;
}


/* ===== BOTÓN CONSULTAR ===== */

.wdg-producto .btn,
.wdg-producto button,
.wdg-producto a[class*="btn"] {
    background: #151515 !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 8px !important;

    padding: 11px 18px !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    letter-spacing: 0.3px !important;

    text-transform: uppercase !important;
    text-decoration: none !important;

    box-shadow: none !important;

    margin-top: auto !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease !important;
}


/* Texto e icono blancos */
.wdg-producto .btn *,
.wdg-producto button *,
.wdg-producto a[class*="btn"] *,
.wdg-producto .btn span,
.wdg-producto button span {
    color: #ffffff !important;
    fill: #ffffff !important;

    background: transparent !important;

    opacity: 1 !important;
}


/* Hover */
.wdg-producto .btn:hover,
.wdg-producto button:hover,
.wdg-producto a[class*="btn"]:hover {
    background: #333333 !important;
    color: #ffffff !important;

    transform: translateY(-1px) !important;
}


/* ===== HEADER / MENÚ ===== */

header,
nav,
.navbar,
.menu,
.topbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */


/* Tablet */
@media (max-width: 1100px) {

    ul.thumbnails.row-fluid > li,
    ul.thumbnails.row-fluid > div,
    ul.thumbnails.row-fluid > [class*="span"] {

        width: calc(33.333% - 16px) !important;
        max-width: calc(33.333% - 16px) !important;
        flex: 0 0 calc(33.333% - 16px) !important;
    }
}


/* Celular */
@media (max-width: 768px) {

    ul.thumbnails.row-fluid {
        gap: 16px !important;
    }

    ul.thumbnails.row-fluid > li,
    ul.thumbnails.row-fluid > div,
    ul.thumbnails.row-fluid > [class*="span"] {

        width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
    }

    .wdg-producto .figure img,
    .wdg-producto .producto-imagen {
        height: 210px !important;
    }

    .wdg-producto .caption {
        padding: 14px !important;
    }
}


/* Celular chico */
@media (max-width: 520px) {

    ul.thumbnails.row-fluid > li,
    ul.thumbnails.row-fluid > div,
    ul.thumbnails.row-fluid > [class*="span"] {

        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .wdg-producto .figure img,
    .wdg-producto .producto-imagen {
        height: 230px !important;
    }
}