/* Car Card Styles - Modern Clean Design */

.car-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;

}

.car-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Favorite Button */
.car-card__favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s ease;
    z-index: 2;
}

.car-card__favorite:hover {
    background: #fee2e2;
    color: #ef4444;
}

.car-card__favorite.active {
    background: #fee2e2;
    color: #ef4444;
}

.car-card__favorite.active svg {
    fill: #ef4444;
}

/* Car Image */
.car-card__image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px;
}

.car-card__image img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.car-card:hover .car-card__image img {
    transform: scale(1.05);
}

/* Car Info Header */
.car-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0px;
    padding-bottom: 0px;
    /* border-bottom: 1px solid #f0f0f0; */
}

.car-card__name h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.car-card__name h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.car-card__name h3 a:hover {
    color: var(--primary-color, #6366f1);
}

.car-card__type {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

.car-card__price {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.car-card__price-amount {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color, #6366f1);
    line-height: 1.2;
}

.car-card__price-period {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

/* Car Features */
.car-card__features {
    display: flex;
    gap: 16px;
    margin-bottom: 0px;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 60px;
}

.car-card__feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
}

.car-card__feature svg {
    width: 18px;
    height: 18px;
    color: #888;
    flex-shrink: 0;
}

/* View Details Button */
.car-card__btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    color: var(--primary-color, #6366f1);
    border: 2px solid var(--primary-color, #6366f1);
    text-align: center;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.car-card__btn:hover {
    background: var(--primary-color, #6366f1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Quick Actions */
.car-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.car-card__book-btn {
    width: 70%;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--primary-color, #6366f1);
    text-decoration: none;
}

.car-card__book-btn:hover {
    background: var(--secondary-color, #4f46e5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.car-card__action-icons {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.car-card__action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.car-card__action:hover {
    transform: scale(1.1);
    color: #fff;
}

.car-card__action--phone {
    background: #f4662a;
}

.car-card__action--phone:hover {
    background: #e55a1f;
}

.car-card__action--whatsapp {
    background: #25d366;
}

.car-card__action--whatsapp:hover {
    background: #1da851;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .car-card {
        padding: 16px;
    }
    
    .car-card__image {
        height: 130px;
    }
    
    .car-card__header {
        flex-direction: column;
        gap: 12px;
    }
    
    .car-card__price {
        text-align: left;
    }
    
    .car-card__features {
        gap: 12px;
    }
    
    .car-card__feature {
        font-size: 12px;
    }
    
    .car-card__book-btn {
        width: 60%;
        font-size: 13px;
    }
    
    .car-card__action-icons {
        width: 40%;
    }
    
    .car-card__action {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Legacy Support - Keep old classes working */
.feature_vehicle_item {
    max-width: unset;
}

.text-center {
    text-align: center;
}
