.header{
    background-color: white !important;
}
.stock-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/stock/stock-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.filter-section {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.car-card {
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-img-container {
    height: 220px;
    overflow: hidden;
}

.car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-img {
    transform: scale(1.05);
}

.car-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.status-available {
    background-color: #28a745;
    color: white;
}

.status-reserved {
    background-color: #ffc107;
    color: black;
}

.status-sold {
    background-color: #dc3545;
    color: white;
}

.car-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.spec-item {
    text-align: center;
    flex: 1;
}

.spec-icon {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.pagination {
    justify-content: center;
    margin-top: 3rem;
}

.page-item.active .page-link {
    background-color: #333;
    border-color: #333;
}

.page-link {
    color: #333;
}

.whatsapp__btn{
    padding-bottom: 20px;
    text-align: center;
}


.card-body-stock{
    padding: 16px 16px;
}
.card_body_text_price{
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: -4px;
}

.stock_promo_price_card{
    text-decoration: line-through;
    color: gray;
    margin-bottom: 0px;
}

@media (max-width: 768px) {
    .car-img-container {
    height: 180px;
    }
    
    .stock-hero {
    height: 40vh;
    }
}