#section-4 {
    margin-top: 100px;
}

#section-4 .swiper {
    padding-top: 65px;
}


#section-4 .item-car {
    position: relative;
    padding-bottom: 180px;
}

#section-4 .img-car {
    width: 100%;
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-30);
}

#section-4 .details-car {
    width: 88%;

    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #F2F2F2;
    padding: 20px;
    border-radius: var(--border-radius-30);
}

#section-4 .carousel-cars {
    margin-top: 15px;
    margin-bottom: 55px;
}

#section-4 .list-details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

#section-4 .details-item {
    display: flex;
    gap: 5px;
    align-items: center;
}

#section-4 .name-car-to-rent {
    font-family: Outfit;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color-rent-car);
    margin-bottom: 10px;
}

#section-4 .text-details {
    font-family: Outfit;
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-dark);

}

#section-4 .right-details-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap-reverse;

}

#section-4 .price-rent-car {
    font-family: Outfit;
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-dark);

}

#section-4 .price-rent-car span {
    color: var(--primary-color-rent-car);
    font-size: 18px;
    font-weight: 700;
}

#section-4 .link-to-car {
    padding: 10px 20px;

    background: var(--primary-color-rent-car);
    color: var(--secondary-color-rent-car);
    font-family: Outfit;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;

}

/* Container des flèches (positionné à droite) */
#section-4 .cars-navigation {
    position: absolute;
    top: 5%;
    right: 20px;
    display: flex;

    gap: 10px;
    transform: translateY(-47%);
    z-index: 10;
}


/* Style des boutons */
#section-4 .custom-arrow {
    background: var(--primary-color-rent-car);
    /* orange */
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

#section-4 .custom-arrow span {
    color: var(--secondary-color-rent-car);
    /* flèche blanche */
    font-size: 18px;
    font-weight: bold;
}

/* Hover */
#section-4 .custom-arrow:hover {
    background: #ffa726;
    /* plus clair au hover */
}

@media (max-width :768px) {
   #section-4 .cars-navigation {
        display: none;
    }

   #section-4 .item-car {
        padding-bottom: 0px;
    }

   #section-4 .img-car {
        width: 100%;
    }

   #section-4 .details-car {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 4px;
    }

    #section-4 .swiper {
        padding-top: 0;
    }
}