/* Car Offer Cards - Refined Design matching User Image */
.car-offers-carousel-container {
    padding: 40px 0;
    overflow: hidden;
}

.car-offers-track {
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    width: 100%;
}

.car-offers-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.car-offer-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    min-width: 300px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.car-offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.car-offer-card.highlighted {
    border: 2px solid #0081c9;
}

.car-image-container {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    background: #fff;
    overflow: visible;
}

/* Model text moved to details container - Styling for new position */
.car-model-inline {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    margin-top: 4px;
    margin-left: 0;
}

.car-image-container img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
}

.car-offer-card:hover img {
    transform: scale(1.08);
}

.car-details-container {
    padding: 30px 20px 20px;
    flex-grow: 1;
    position: relative;
    text-align: left;
    background: #fff;
}

.car-badge {
    background: #0081c9;
    color: white;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    box-shadow: 0 4px 10px rgba(0, 129, 201, 0.3);
    z-index: 15;
}

.car-destination {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.car-category {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.car-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
}

.car-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f2f5f8;
    padding: 10px 14px;
    border-radius: 50px;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
}

.car-icon-item i {
    font-size: 0.85rem;
    color: #777;
}

.car-price-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2px;
}

.car-price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-price-value span {
    font-size: 1rem;
    font-weight: 600;
}

.car-footer-note {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: #444;
    font-weight: 700;
}

/* Responsive Horizontal Scroll for Mobile */
@media (max-width: 768px) {
    .car-offers-carousel-container {
        padding: 20px 0;
    }

    .car-offers-track {
        overflow-x: auto;
        padding-bottom: 30px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .car-offers-track::-webkit-scrollbar {
        display: none;
    }

    .car-offer-card {
        min-width: 290px;
    }

    .car-offer-card:hover {
        transform: none;
    }
}