/* Dream Car Section */
.dream-car-section {
    padding: 20px 0 20px 0;
    background-color: #F2F4F7;
    overflow: hidden;
}

.dream-car-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #D5D5D5;
    position: relative;
}

.dream-car-section .section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 5%;
    height: 1.5px;
    background-color: #212529;
}

.dream-car-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1D2939;
    margin: 0;
}

.dream-car-section .view-all {
    font-size: 12px;
    font-weight: 700;
    color: #344054;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dream-car-section .view-all:hover {
    color: #2D7A4D;
}

.dream-car-section .view-all span {
    margin-left: 4px;
}

.dream-car-section .arrow-right {
    margin-left: 8px;
    height: 10px;
    object-fit: contain;
}

/* Cars Carousel */
.dream-car-section .cars-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: -60vw;
    padding-right: 60vw;
}

.dream-car-section .cars-carousel::-webkit-scrollbar {
    display: none;
}

.dream-car-section .cars-wrapper {
    display: flex;
    gap: 30px;
    min-width: min-content;
    padding: 0;
}

/* Car Card */
.dream-car-section .car-card {
    flex: 0 0 750px;
    background-color: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
    position: relative;
}

.dream-car-section .car-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.dream-car-section .car-card-content {
    display: grid;
    grid-template-columns: 0.6fr 3.5fr;
    gap: 0;
}

/* Image Section */
.dream-car-section .car-image-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background-color: #FFFFFF;
}

.dream-car-section .main-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 2px;
    overflow: hidden;
}

.dream-car-section .main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dream-car-section .car-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(90deg, #FFD75E 0%, #EFAC22 50%, #B07A30 100%);
    color: #1F2937;
    padding: 8px 14px;
    border-radius: 0 4px 0 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 20;
}

.dream-car-section .thumbnails-container {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.dream-car-section .thumbnail {
    width: 110px;
    height: 60px;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dream-car-section .thumbnail:hover {
    border-color: #2D7A4D;
}

.dream-car-section .thumbnail-wrapper {
    position: relative;
    width: 110px;
    height: 60px;
}

.dream-car-section .thumbnail-wrapper .thumbnail {
    width: 100%;
    height: 100%;
}

.dream-car-section .thumbnail-wrapper .thumbnail-more {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 2px;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    z-index: 10;
}

.dream-car-section .thumbnail-wrapper .thumbnail-more:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Details Section */
.dream-car-section .car-details-section {
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-top: 40px;
    justify-content: flex-start;
}

.dream-car-section .car-details-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1D2939;
    margin: 0 0 12px 0;
}

.dream-car-section .car-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #475467;
}

.dream-car-section .location-icon {
    font-size: 10px;
}

.dream-car-section .car-location p {
    margin: 0;
}

.dream-car-section .car-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
    color: #F23434;
}

.dream-car-section .car-price .currency {
    font-size: 16px;
    font-weight: 500;
}

.dream-car-section .car-price .price-amount {
    font-size: 20px;
    font-weight: 600;
}

.dream-car-section .car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    /* border-bottom: 1px solid #E5E7EB; */
}

.dream-car-section .spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #1D2939;
}

.dream-car-section .spec-item .spec-icon {
    font-size: 14px;
    min-width: 16px;
}

.dream-car-section .spec-item div {
    display: flex;
    flex-direction: column;
}

.dream-car-section .spec-item .spec-value {
    margin: 0;
    font-size: 13px;
    color: #1D2939;
    font-weight: 500;
}

.dream-car-section .car-date {
    font-size: 12px;
    font-weight: 500;
    color: #667085;
    margin-bottom: 75px;
}

.dream-car-section .posted-by-section {
    bottom: 5px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-bottom: 5px;
    justify-content: space-between;
}

.dream-car-section .posted-label {
    font-size: 14px;
    color: #344054;
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
}

.dream-car-section .posted-by {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dream-car-section .avatar {
    width: 32px;
    height: 32px;
    background-color: #1D2939;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.dream-car-section .posted-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dream-car-section .seller-name {
    font-size: 12px;
    color: #1D2939;
    font-weight: 700;
    margin: 0;
}

.dream-car-section .seller-rating {
    color: #475467;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

.dream-car-section .stars {
    display: flex;
    gap: 2px;
}

.dream-car-section .star {
    font-size: 2vh;
    color: #FFCB3B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dream-car-section {
        padding: 40px 0 40px 40px;
    }

    .dream-car-section .section-header {
        padding: 0 40px 20px 0;
    }

    .dream-car-section h2 {
        font-size: 24px;
    }

    .dream-car-section .car-card {
        flex: 0 0 520px;
    }

    .dream-car-section .car-card-content {
        grid-template-columns: 1fr 1fr;
    }

    .dream-car-section .main-image-container {
        height: 200px;
    }

    .dream-car-section .car-details-section h3 {
        font-size: 16px;
    }

    .dream-car-section .thumbnail {
        width: 70px;
        height: 50px;
    }

    .dream-car-section .thumbnail-more {
        width: 70px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .dream-car-section {
        padding: 30px 0 30px 30px;
    }

    .dream-car-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px 20px 0;
    }

    .dream-car-section h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .dream-car-section .car-card {
        flex: 0 0 280px;
    }

    .dream-car-section .car-card-content {
        grid-template-columns: 1fr;
    }

    .dream-car-section .car-image-section {
        gap: 10px;
        padding: 12px;
    }

    .dream-car-section .main-image-container {
        height: 180px;
    }

    .dream-car-section .car-details-section {
        padding: 15px;
    }

    .dream-car-section .car-details-section h3 {
        font-size: 14px;
    }

    .dream-car-section .car-specs {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .dream-car-section .thumbnail {
        width: 60px;
        height: 42px;
    }

    .dream-car-section .thumbnail-more {
        width: 60px;
        height: 42px;
        font-size: 12px;
    }
}
