/* Styles pour la grille de véhicules */
.tec3h-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tec3h-vehicle-card {
    border: 1px solid #eee;
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tec3h-vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tec3h-vehicle-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tec3h-vehicle-image {
    height: 200px;
    overflow: hidden;
}

.tec3h-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tec3h-vehicle-card:hover .tec3h-vehicle-image img {
    transform: scale(1.05);
}

.tec3h-vehicle-details {
    padding: 15px;
}

.tec3h-vehicle-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.tec3h-vehicle-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tec3h-vehicle-price {
    font-size: 20px;
    font-weight: 700;
    color: #e63946;
}

.tec3h-vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.tec3h-vehicle-year, .tec3h-vehicle-mileage, .tec3h-vehicle-fuel {
    display: inline-flex;
    align-items: center;
}

/* Styles pour la page détaillée */
.tec3h-vehicle-single {
    max-width: 1000px;
    margin: 0 auto;
}

.tec3h-vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tec3h-vehicle-gallery {
    margin-bottom: 30px;
}

.tec3h-vehicle-main-image {
    margin-bottom: 10px;
}

.tec3h-vehicle-main-image img {
    width: 100%;
    height: auto;
    border-radius: 0px;
}

.tec3h-vehicle-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.tec3h-vehicle-thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 0px;
    cursor: pointer;
}

.tec3h-vehicle-specs-bar {
    display: flex;
    justify-content: space-around;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 0px;
    margin-bottom: 30px;
}

.tec3h-vehicle-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tec3h-spec-label {
    font-size: 14px;
    color: #666;
}

.tec3h-spec-value {
    font-size: 18px;
    font-weight: 600;
}

/* Styles pour les filtres */
.tec3h-vehicle-filters {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 0px;
    margin-bottom: 30px;
}

.tec3h-vehicle-filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.tec3h-vehicle-filters select, 
.tec3h-vehicle-filters input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 0px;
}

.tec3h-price-filter {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tec3h-filter-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .tec3h-vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .tec3h-vehicle-specs-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .tec3h-vehicle-spec {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}