/* Estilos para la visualización de vehículos seminuevos */
.jaar-vehiculos-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px 0;
}

.jaar-titulo-seccion {
    text-align: center;
    color: #fff;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.jaar-vehiculo-card {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jaar-vehiculo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.jaar-vehiculo-imagen {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.jaar-vehiculo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jaar-vehiculo-card:hover .jaar-vehiculo-imagen img {
    transform: scale(1.05);
}

.jaar-vehiculo-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jaar-vehiculo-titulo {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #11314B;
    line-height: 1.3;
}

.jaar-vehiculo-detalles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.jaar-detalle {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.jaar-etiqueta {
    font-weight: 600;
    color: #555;
}

.jaar-valor {
    color: #333;
}

.jaar-vehiculo-acciones {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.jaar-boton-cotizar, 
.jaar-boton-consultar {
    flex: 1;
    display: inline-block;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.jaar-boton-cotizar {
    background-color: #11314B;
    color: #fff;
    border: 1px solid #11314B;
}

.jaar-boton-cotizar:hover {
    background-color: #1a4369;
    color: #fff;
}

.jaar-boton-consultar {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.jaar-boton-consultar:hover {
    background-color: #e9e9e9;
    color: #333;
}

.jaar-ver-todos {
    text-align: center;
    margin-top: 40px;
}

.jaar-boton-ver-todos {
    display: inline-block;
    padding: 12px 30px;
    background-color: #11314B;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #11314B;
}

.jaar-boton-ver-todos:hover {
    background-color: #fff;
    color: #11314B;
}

/* Estilos responsivos */
@media screen and (max-width: 992px) {
    .jaar-vehiculos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 576px) {
    .jaar-vehiculos-grid {
        grid-template-columns: 1fr !important;
    }
    
    .jaar-vehiculo-acciones {
        flex-direction: column;
    }
    
    .jaar-vehiculo-imagen {
        height: 180px;
    }
}