@media (min-width: 992px) {
  .container {
    max-width: 113.2rem;
  }

  .container_xl {
    max-width: 117.4rem;
  }

  .car_details_area .col-lg-4 {
    width: 37rem;
  }

  .car_details_area .col-lg-8 {
    width: calc(100% - 37rem);
  }

  .lightmode .step_bottom,
  .lightmode .car_page_nav {
    background: transparent !important;
  }

  .product_img {
    padding-top: 3rem;
  }
}

/* ------ Medium devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  html {
    font-size: 62.5%;
  }

  br {
    display: none;
  }

  :root {
    --fullMenuHeight: 6rem;
  }

  .container-fluid {
    max-width: 720px;
  }

  /* ============= Resposnive start ============= */
  .steps .step_area .container {
    padding: 0;
  }
  .step_menu {
    display: none;
  }
  .step_area {
    width: 100% !important;
  }
  .step_buttons {
    width: 100%;
    gap: 2rem 1.2rem;
  }
  .range-container {
    width: 29rem;
    margin: 0 auto;
  }

  .step_buttons {
    padding: 0 5rem;
    max-height: 40rem;
    overflow: auto;
  }

  .step_bottom {
    background: #1f1d2b;
    height: 8rem;
    bottom: 1;
    padding-top: 1rem;
    padding: 0;
  }

  .step_bottom::before {
    content: "";
    width: 100%;
    height: 4rem;
    top: -4rem;
    background: url(../img/shadow.png) no-repeat scroll top left / 100% 100%;
    position: absolute;
    z-index: 9999;
  }

  .photo_voiture {
    display: none;
  }

  .step_level_one .photo_voiture {
    display: block;
  }

  .step_content {
    margin-top: -4rem;
  }

  .step_content h5 {
    padding-bottom: 2rem;
  }

  .step_bottom .back_arrow {
    left: 2.5rem;
    top: 2.6rem;
  }

  .progress_area {
    width: 19rem;
    margin: 0 auto;
    gap: 0.3rem;
    padding-top: 2.5rem;
  }

  .step_top {
    top: 2.5rem;
  }

  .step_bottom .button {
    padding: 0 3.5rem;
  }

  .price-display {
    gap: 0.5rem;
    margin-top: 4rem;
  }

  @media (max-width: 991px) {
    /* .steps .step_area .container {
      padding: 0;
      max-width: fit-content;
      overflow-x: hidden;
    } */
    .steps .car_page {
      width: 100%;
      max-width: fit-content;
      overflow-x: hidden;
    }
  }
  

  /* ============= car page ============== */
  .car_page .row {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 1rem;
    padding: 0 1rem;
    padding-bottom: 5rem;
  }

  .car_page {
    overflow: auto;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .car_page_nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99;
    background: #1f1d2b;
    padding: 1rem;
  }

  .car_page_nav .container-fluid {
    padding: 0;
  }

  .step_level_nine .lightbtn {
    top: auto !important;
    bottom: 2rem !important;
}

  .car_page_title {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
  }

  /* ============== car page  ============= */
  .car_details_area {
    padding-right: 0;
    overflow-y: auto;
  }

  .get_car {
    width: 50rem;
  }

  .car_details_info p {
    display: none;
  }

  .car_details_info {
    padding: 1.2rem 0;
    background: #1f1d2b;
    position: fixed ;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7.5rem;
  }

  .car_details_info .button {
    margin-top: 0;
    width: 24.8rem;
  }

  .car_details_area {
    padding-bottom: 7.5rem;
  }

  .car_details_left .get_car_brand {
    display: none;
  }

  .car_details_area .back_arrow {
    width: 0.8rem;
    left: 1.5rem;
    top: 2.5rem;
  }

  .car_details_right {
    height: auto;
  }

  .car_details_left {
    padding-top: 10rem;
  }

  .step_level_ten .lightbtn {
    display: none;
  }

  .seal5 {
    width: 45rem;
  }

  .photo_voiture {
    width: 44rem;
  }

  /* lightbtn */
  .lightbtn:not(.v2) {
    width: 4rem;
    bottom: auto;
    top: 1.5rem;
  }

  .lightbtn:not(.v2) .light_btn_icon {
    right: 1rem;
  }

  .sun {
    width: 2rem;
  }

  .car_details_left .percentage_circle {
    position: fixed;
    right: 2.5rem;
    top: 2rem;
    z-index: 999;
  }

  .step_level_eleven .lightbtn {
    display: none;
  }

  /* ============ Contact Form ============= */
  .step_level_eleven .lightbtn {
    display: none;
  }

  .form_link {
    height: 8.7rem;
    flex-direction: column;
    padding: 1.4rem 2rem;
  }

  .form_link p {
    width: 8rem;
    text-align: center;
    line-height: 1.4rem;
  }

  .form_link {
    justify-content: center;
  }

  .form .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .contact_area .back_arrow {
    left: 1.5rem;
    top: 2.5rem;
  }

  .contact_area {
    padding-top: 7rem;
  }

  .contact_top {
    padding-bottom: 4.5rem;
  }

  .car_details_left .percentage_circle {
    z-index: 999999;
    position: absolute;
    right: 0;
  }

  .dark {
    width: 2rem;
  }
  .car_page .container {
    padding: 0 0 !important;
  }

  /* =============== car details ============== */
  .car_detail_img .car_details_info.text-center {
    /* display: none; */
  }

  .owl-nav {
    width: calc(100% - 0rem);
  }

  .owl-dots {
    transform: translateY(0rem);
  }

  .owl-nav button {
    width: 2.5rem;
  }

  .car_details_icons_right .percentage_circle {
    position: relative;
    right: 0;
    top: 0;
    height: 4.5rem;
    width: 4.5rem;
  }

  .cart_details_modal_btn {
    width: 4.5rem;
    height: 4.5rem;
  }

  .cart_details_modal_btn img {
    width: 1.8rem;
  }

  .car_details_left .percentage_circle p {
    font-size: 1.4rem;
  }

  .car_details_icons_right {
    gap: 1.5rem;
    right: 0;
    top: 1.5rem;
  }
  .carDetails .modal-dialog {
    margin-top: 0;
  }
  .row1 {
    --bs-gutter-y: 2.5rem;
  }
  .row3 {
    --bs-gutter-y: 2.5rem;
  }

  /* ========== carDetailsinfo modal =========== */
  .carDetailsinfo .modal-content {
    padding: 3rem 2rem 3rem 2rem;
    height: 100vh;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: none;
    border-radius: 0 !important;
  }

  .carDetailsinfo .modal-content::-webkit-scrollbar {
    scrollbar-width: 0;
    display: none;
  }

  .carDetailsinfo .modal-dialog {
    max-width: 100%;
  }

  .carDetailsinfo .modal-header {
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
  }

  .carDetailsinfo_content p {
    font-size: 1.8rem;
    line-height: 2.4rem;
    padding: 2rem 0 2.5rem;
  }

  .carDetails .spinner {
    left: 3rem;
    top: 3rem;
  }

  /* ================ contact_area =================== */
  .contact_area_logo {
    top: 1.5rem;
    right: 1.5rem;
    margin: 0;
    position: absolute;
  }

  .contact_area_logo img {
    width: 5.5rem;
    margin: 0;
  }

  .contact_area .back_arrow {
    position: absolute;
  }

  .contact_area {
    position: relative;
  }

  .dashboard_page .lightbtn {
    top: auto;
    bottom: 2rem;
  }
}

/*----- sm devices (tablets, 767px and down) -----*/
@media (max-width: 767px) {
  /* ============ Menu updates ============ */
  .menu a {
    height: 3.6rem;
    padding: 0 1.6rem;
    font-size: 1.2rem;
  }

  .menu {
    gap: 1rem;
  }

  /* ============ default styles ============ */
  html {
    font-size: 60%;
  }

  .container-fluid {
    max-width: 540px;
  }

  /* ================= hero_area ===================== */
  .seal5 {
    width: 41rem;
    position: absolute;
    right: -4.5rem;
    bottom: -3rem;
  }

  .hero_content p {
    font-size: 2.2rem;
    padding: 0 0 2.5rem;
    line-height: 1.2;
  }

  .hero_area {
    align-items: flex-start;
    padding-top: 6rem;
  }

  .hero_logo img {
    width: 14rem;
    margin-bottom: 7rem;
  }

  .hero_content {
    padding: 0 5rem;
  }

  .car_details_left_bg {
    bottom: -0.5rem;
    right: -42rem;
    width: 105rem;
  }

  /* ============ connection_form ============== */
  .connection_form label {
    padding-bottom: 0;
    font-size: 1rem;
    line-height: 1;
  }

  .connection_form .form_group {
    padding: 1rem;
    height: 5.2rem;
  }

  .connection_form {
    width: 32rem;
    padding: 2rem;
    margin-top: -3.5rem;
  }

  .connection_form .button {
    height: 4rem;
    padding: 0;
    margin: 0.5rem 0 0.5rem;
  }

  .connection_form .form_group input::-webkit-input-placeholder {
    font-size: 1.4rem;
    line-height: 1;
  }

  .connection_form .form_group input::-moz-placeholder {
    font-size: 1.4rem;
    line-height: 1;
  }

  .connection_form .form_group input:-ms-input-placeholder {
    font-size: 1.4rem;
    line-height: 1;
  }

  .connection_form .form_group input::-ms-input-placeholder {
    font-size: 1.4rem;
    line-height: 1;
  }

  .connection_form .form_group input::placeholder {
    font-size: 1.4rem;
    line-height: 1;
  }

  /* ============ dashboard_header ============== */
  .dashboard_header .hero_logo img {
    margin: 0;
  }

  .dashboard_header {
    padding: 0;
    height: 7rem;
    margin-bottom: 2rem;
  }

  .dashboard_header .hero_logo img {
    width: 5.2rem;
  }

  .menu_btn img {
    width: 1.8rem;
  }

  .menu_btn {
    width: 4.5rem;
    height: 4.5rem;
  }

  .profile_info .angle_down,
  .profile_info p {
    display: none;
  }

  .profile_info {
    padding: 0;
    height: auto;
    display: flex;
    margin-right: 1rem;
    padding: 0;
    background: transparent;
  }

  .profile_img {
    width: 4.5rem;
  }

  /* ========= dashboard_area ========== */
  .dashboard_area .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 2rem;
  }

  /* ========= Table areea ========== */
  td:first-child,
  th:first-child {
    width: 13rem;
  }

  td:nth-child(2),
  th:nth-child(2) {
    width: 28rem;
  }

  td:nth-child(3),
  th:nth-child(3) {
    width: 12rem;
  }

  td:nth-child(4),
  th:nth-child(4) {
    width: 11rem;
  }

  td:nth-child(5),
  th:nth-child(5) {
    width: 10rem;
  }

  /* ================ contact_area =================== */
  .contact_area_logo {
    top: 1.5rem;
    right: 1.5rem;
    margin: 0;
    position: absolute;
  }

  .contact_area_logo img {
    width: 5.5rem;
    margin: 0;
  }


  .owl-nav img {
    width: 2.5rem;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.66vw;
  }

  .container,
  .container-fluid {
    padding: 0 2rem;
    width: 100%;
  }

  /* ============ Car page ============= */
  .car_details_left_bg {
    width: 48rem;
    bottom: 5rem;
    right: -12rem;
  }

  .get_car {
    width: 24rem;
  }

  .car_details_right .price-box {
    height: 7.5rem;
  }

  .price-box h3 {
    font-size: 2.1rem;
    padding-top: 0.5rem;
  }

  .car_details_right .price-box img {
    width: 5.5rem;
  }
}
