
#section-16 {
    margin-top: 100px;
}

#section-16 .all-cars {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}


#section-16 .container-cars {
    width: 68%;
    display: flex;
    flex-direction: column;
    gap: 38px;
}

#section-16 .filters-cars {}



#section-16 .filter {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

#section-16 .box-input-filter {
    position: relative;
    width: 100%;
}

#section-16 .top-filter {

    padding: 30px;
    background: var(--primary-color-rent-car);
}

#section-16 .top-filter form {
    display: flex;
    justify-content: center;
    align-items: center;
}

#section-16 .input-filter {
    font-family: Outfit;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-dark);
    line-height: 22px;
    text-align: left;
    background: var(--white);
    border: 1px solid #D2D1D6;
    border-radius: var(--border-radius-30);
    padding: 15px 20px;
    height: 65px;
    width: 100%;
    border: none;

}

#section-16 .btn-search {
    background: var(--secondary-color-rent-car);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--primary-color-rent-car);
    font-size: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 6px;
    top: 8px;
}

#section-16 .bottom-filter {
    background: #F2F2F2;
    padding: 30px;
    border-bottom-left-radius: var(--border-radius-30);
    border-bottom-right-radius: var(--border-radius-30);
}

#section-16 .container-filters legend {
    font-family: Outfit;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color-rent-car);
    line-height: 22px;
    text-align: left;
    margin-bottom: 22px;
}

#section-16 .filter-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

#section-16 .filter-item label {
    font-family: Outfit;
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-color-rent-car);
    line-height: 20px;
    cursor: pointer;
}

#section-16 .filter-item input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--secondary-color-rent-car);
}

#section-16 .btn-filter {
    background: var(--primary-color-rent-car);
    border: none;
    font-family: Outfit;
    font-size: 15px;
    font-weight: 300;
    color: var(--secondary-color-rent-car);
    line-height: 28px;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    border-radius: var(--border-radius-30);
    cursor: pointer;
}
#section-16 .btn-filter:hover {
    background: var(--secondary-color-rent-car);
    color: var(--white);
}
/* --- Boutton Filter --- */
.floating-filter-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    color: var(--secondary-color-rent-car);
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* --- Menu Filter --- */
.filters-cars {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: #F2F2F2;

}

/* --- Menu Active --- */
.filters-cars.active {
    right: 0;
}

/* --- Button Close Filter --- */
.close-filter {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 4px;
}

body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
}

#section-16 .container-list-cars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}

#section-16 .image-car-item {
    width: 100%;
    height: 210px;
    max-width: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#section-16 .bottom-car-item {
    padding: 30px;
    border-bottom-left-radius: var(--border-radius-30);
    border-bottom-right-radius: var(--border-radius-30);
    background: #F2F2F2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#section-16 .name-of-car {
    font-family: Outfit;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color-rent-car);
    line-height: 20px;
    cursor: pointer;
}

#section-16 .details-of-car {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

#section-16 .details-item-car {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}
#section-16 .details-item-car p,
#section-16 .text-details-car,
#section-16 .cost-per-day p,
#section-16 .cost-per-day a
 {
    font-family: Outfit;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-dark);
    line-height: 20px;
}
 #section-16 .price-rent-details span {
    color: var(--primary-color-rent-car);
    font-size: 24px;
    font-weight: 700;
 }
 #section-16 .cost-per-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
 }
  #section-16 .cost-per-day a {
    padding: 10px 20px;
    border-radius: var(--border-radius-30);
    background: var(--primary-color-rent-car);
    color: var(--secondary-color-rent-car);
   
  }
  #section-16 .car-item {
    background: #F2F2F2;
    border-radius: var(--border-radius-30);
    transition: all 0.3s ease;
    position: relative;
    top: 0;
  }

  #section-16 .car-item:hover {
    box-shadow: 0 10px 20px rgba(245, 183, 84, 0.15);
    top: -5px;
  }

   .no-cars-found {
    font-family: Outfit;
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary-color-rent-car);
    text-align: center;
    margin-top: 50px;
  }
   #section-16 .list-rent-cars {
    width: 70%;
   }
  @media(max-width : 1100px)
{
    #section-16 .container-list-cars {
        grid-template-columns: repeat(2, 1fr);
    }
    #section-16 .all-cars {
      justify-content: center;
    }
} @media (min-width: 992px) {
    body.menu-open::before {
        display: none !important;
        content: none !important;
    }

    body {
        overflow: auto !important;
    }

    .close-filter {
        display: none;
    }

    #section-16 .top-filter {

        z-index: 1;
        border-top-left-radius: var(--border-radius-30);
        border-top-right-radius: var(--border-radius-30);
    }

    .floating-filter-btn {
        display: none;
    }

    .filters-cars {
        position: static;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 0;
        width: 100%;
        display: initial;
        z-index: 1;
    }

    #section-16 .top-filter {
        border-top-left-radius: 0;
        border-top-right-radius: 0;

    }
}

@media(max-width :992px) {
    #section-16 .list-rent-cars {
        width: 100%;
    }
}

@media(max-width :576px) {
      #section-16 .container-list-cars {
        grid-template-columns: repeat(1, 1fr);
    }

    #section-16 .image-car-item {
        width: 100%;
     
    }
    #section-16 .all-cars {
        flex-direction: column;
    }
}

/* Style de pagination */
.cars-pagination {
    margin: 40px 0 60px;
    text-align: center;
}

.cars-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.cars-pagination li {
    margin: 0;
    padding: 0;
}

.cars-pagination li .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
     font-family: Outfit;
    font-size: 18px;
    font-weight: 500;
    background-color: transparent;
    color: #333;
    text-decoration: none;
  
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color-rent-car);
}

.cars-pagination li .page-numbers:hover {
    background-color: var(--secondary-color-rent-car);
    color: var(--white);
     border: 2px solid var(--secondary-color-rent-car);
}

.cars-pagination li .page-numbers.current {
    background-color: var(--primary-color-rent-car);
    color: white;
}

.cars-pagination li .prev,
.cars-pagination li .next {
    font-size: 20px;
}
.group-btn-filter {
    display: flex;
    gap: 20px;
    flex-direction: column;
}