html, body, *, .btn, h1, h2, h3, h4, h5, h6, p, a, span, label, input, select, textarea{
  font-family: "Inter", Sans-serif;
}

html, body{
  background-color: #EEF1FB;
}

.select2-container .select2-selection--single .select2-selection__rendered{
  padding-left: 8px !important;
}

.mb-spacing-web{
  margin-bottom: 28px;
}

.container h2{
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

#hp_top_offers_section,
#hp_popular_makes_section,
#hp_makes_section,
#hp_faq_section{
  margin-top: 30px;
}

/* quick search filters */
.select2-container{
  min-width: 260px;
}

.hp_qs_filter_container{
  width: 260px;
}

#hp_qs_container{
  background-color: #0D0D0D;
  padding: 32px 0px;
  margin-bottom: 32px;
}

#hp_qs_widget_title{
  color: #FFF;
  font-size: 24px !important;
  line-height: 24px;
  font-weight: 700;
  width: 100%;
  display: block;
  margin-bottom: 20px;

}

#hp_qs_container > div.container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 15px;
  padding-right: 15px;
}

#hp_qs_first_col,
#hp_qs_first_col_utilitare{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 23px;
}

#hp_qs_second_col,
#hp_qs_second_col_utilitare{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 20px;
}


.hp_qs_filter_container label{
  color: #FFF;
  font-size: 16px;
  line-height: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  width: 100%;
}

#hp_qs_container #hp_qs_search_btn,
#hp_qs_container #hp_qs_search_btn_utilitare{
  background-color: #E8A724;
  color: black;
  font-size: 16px;
  font-weight: 600;
  min-width: 260px;
  max-width: 300px;
  width: 100%;
  text-align: center;
  text-transform: none;

  letter-spacing: normal;
  border-radius: 4px;
  padding: 12px 0px;
  cursor: pointer;
}

#hp_qs_search_btn:hover,
#hp_qs_search_btn_utilitare:hover{
  color: #FFF !important;
}

#hp_qs_container #hp_qs_filters_btn,
#hp_qs_container #hp_qs_filters_btn_utilitare{
  background-color: transparent;
  max-width: 300px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #E8A724;
  padding: 12px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-top: 30px;
}

#hp_qs_filters_btn:hover label,
#hp_qs_filters_btn_utilitare:hover label{
  color: #E8A724;
}

#hp_qs_filters_btn label,
#hp_qs_filters_btn_utilitare label{
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;

  letter-spacing: normal;
  margin: 0px 10px 0px 0px;
  cursor: pointer;
}

#hp_qs_container .select2-selection__arrow {
  background-color: #F2AB26;
  height: 30px !important;
  top: 0px !important;
  right: 0px !important;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  width: 30px;
}

#hp_qs_container .select2-selection__arrow b {
  border-color: #010101 transparent transparent transparent !important;
  border-width: 8px 8px 0 8px !important;
  margin-left: -8px !important;
  margin-top: -3px !important;
}

#hp_qs_container .select2-selection__rendered {
  line-height: 30px !important;
  font-size: 16px !important;
}

#hp_qs_container .select2-selection__rendered[title="Marcă"],
#hp_qs_container .select2-selection__rendered[title="Model"],
#hp_qs_container .select2-selection__rendered[title="Oricare"],
#hp_qs_container .select2-selection__rendered[title="An"],
#hp_qs_container .select2-selection__rendered[title="Preț"],
#hp_qs_container .select2-selection__rendered[title="Kilometraj"],
#hp_qs_container .select2-selection__rendered[title="Combustibil"]{
  color: #7D839B !important;
  font-weight: 400 !important;
}

#hp_qs_container .select2-selection--single {
  height: 30px !important;
  border: none !important;
  border-radius: 2px;
  margin-bottom: 0px !important;
}

#hp_hero_video_mobile{
  display: none;
  background: #000;
  padding: 35px 0px;
  margin-bottom: 30px;
  overflow: hidden;
}


@media only screen and (max-width: 1199px) {
  #hp_qs_first_col,#hp_qs_first_col_utilitare{ width: 70%; }
  #hp_qs_second_col,#hp_qs_second_col_utilitare{ width: 30%; }
  #hp_qs_filters_btn,#hp_qs_search_btn,#hp_qs_filters_btn_utilitare,#hp_qs_search_btn_utilitare { max-width: 220px; }

  #hp_qs_vehicule_categories,
  #hp_qs_widget_title{
    max-width: 970px;
    width: 100%;
    margin: 0 auto 30px auto;
  }
}

@media only screen and (max-width: 991px) {

  .select2-container{
    min-width: unset !important;
  }


  #hp_qs_container > div.container{
    flex-direction: column;
  }

  #hp_qs_first_col,
  #hp_qs_first_col_utilitare{
    width: 100%;
    flex-direction: column;
    gap: 20px;
  }

  #hp_qs_container .select2-container{
    min-width: 100%;
  }

  .hp_qs_filter_container{
    width: 100%;
  }

  #hp_qs_second_col,
  #hp_qs_second_col_utilitare{
    width: 100%;
    flex-direction: column-reverse;
  }

  #hp_qs_filters_btn,
  #hp_qs_filters_btn_utilitare{
    margin-top: 0px;
    max-width: 100%;
  }

  #hp_qs_search_btn,
  #hp_qs_search_btn_utilitare{
    max-width: 100%;
    margin-top: 35px;
    margin-bottom: 20px;
  }

  #hp_qs_container{
    padding: 40px 0 30px 0;
  }

  #hp_qs_vehicule_categories,
  #hp_qs_widget_title{
    max-width: 750px;
  }

  #hp_qs_vehicule_categories span{
    max-width: unset !important;
  }

  #hp_qs_vehicule_categories{
    gap: 8px !important;
  }

  #hp_hero_section .container{
    width: 100%;
    padding: 0px 20px;
    overflow: hidden;
  }

  .heroSwiper{
    right: -45px !important;
  }

  #hp_hero_content > p{
    font-size: 24px !important;
    line-height: 32px !important;
    margin-bottom: 6px !important;
  }

  #hp_hero_content > h2{
    font-size: 16px !important;
    line-height: 24px !important;
  }
}

@media only screen and (max-width: 1400px) and (min-width: 992px) {
  #hp_hero_section{
    background-position: -200px 0% !important;
  }
}

@media only screen and (max-width: 1095px) and (min-width: 768px) {
  :root{
    --max-h: 430px !important;
    --overlap-offset: 65% !important;
  }

  #hp_hero_content{
    max-width: 50%;
  }

  #hp_hero_section{
    background-position: -160px 0% !important;
  }
}


@media only screen and (max-width: 550px) {
  #hp_qs_widget_title{
    margin-bottom: 25px;
  }
}

#hp_qs_container_utilitare{
  display: none;
}

#hp_qs_vehicule_categories{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 25px;
  gap: 23px;
  width: 100%;
}

#hp_qs_vehicule_categories span.active {
  background-color: #E8A724;
  color: #010101;
  border-color: #E8A724;
}

#hp_qs_vehicule_categories span {
  border: 1px solid #454B57;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  height: 30px;
  width: 100%;
  max-width: 260px;
  cursor: pointer;
}

#hp_qs_vehicule_categories span:hover {
  background-color: #E8A724;
  color: #010101;
  border-color: #E8A724;
}

.hp_qs_tab_content{
  display: none !important;
}

.hp_qs_tab_content.active {
  display: flex !important;
  gap: 23px;
}
/* end of quick search filters */


/* quick search by year */
#hp_qs_year_range_filters_wrapper{
  display: flex;
  gap: 24px;
}

.year-range-filter{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  outline: none !important;
  border: 1px solid #BFC6DE;
  border-radius: 4px;
  font-size: 16px;
  color: #000;
  transition: all 50ms cubic-bezier(0.19, 1, 0.22, 1);
}

.year-range-filter:focus, .year-range-filter:hover{
  background-color: #E8A724;
  border-color: #E8A724;
  color: #000;
}



/* top oferte */

#hp_top_offers_header,
#hp_blog_header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#hp_top_offers_header h2,
#hp_blog_header h2{
  margin-bottom: 0px;
}

#hp_top_offers_header a,
#hp_blog_header a{
  color: #050B20;
  font-size: 15px;
  line-height: 15px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hp_top_offers_header a:hover,
#hp_blog_header a:hover{
  color: #E8A724;
}

#hp_top_offers_header a:hover svg path,
#hp_blog_header a:hover svg path{
  fill: #E8A724;
  stroke: #E8A724;
}

#hp_top_offers_header a svg,
#hp_blog_header a svg{
  margin-left: 5px;
  width: auto;
  height: 14px;
}

.top-offer-card{
  display: flex;
  flex-direction: column;
  background: #0D0D0D;
  border-radius: 5px;
  padding: 35px 6px 6px 6px;
  position: relative;
}

.top-offer-badge{
  position: absolute;
  top: 14px;
  left: 19px;
}

.top-offer-link{
  background-color: #EEF1FB;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #000;
  font-weight: 700;
  border-radius: 3px;
  transition: all 50ms cubic-bezier(0.19, 1, 0.22, 1);
}

.top-offer-link:hover{
  background-color: #E8A724;
  color: #000;
}

.top-offer-image{
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: bottom center;
}

.top-offer-details{
  padding: 0px 7px;
}

.top-offer-title{
  font-size: 16px;
  line-height: 16px;
  color: #FFF;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-offer-price{
  font-size: 16px;
  line-height: 16px;
  color: #E8A724;
  font-weight: 500;
  margin-bottom: 23px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#hp_top_offers_slider_wrapper{
  position: relative;
}

#hp_top_offers_slider_wrapper .swiper-button-prev {
  left: -75px;
}

#hp_top_offers_slider_wrapper .swiper-button-next {
  right: -75px;
}

.hp-top-offers-swiper {
  overflow: hidden;
  padding-bottom: 32px;
}

/* recommended makes */
#recommended_offers_wrapper{
  display: flex;
  gap: 24px;
}

.recommended-offer-card{
  width: 100%;
  background-color: #0D0D0D;
  border-radius: 5px;
  padding: 0px 6px;
  display: flex;
  flex-direction: column;
}

.recommended-offer-title{
  font-size: 24px;
  line-height: 16px;
  color: #E8A724;
  font-weight: 700;
  margin: 20px 0px;
  padding-left: 13px;
  text-transform: capitalize;
}

.recommended-offer-links-wrapper{
  padding: 0px 13px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.recommended-offer-link{
  font-size: 16px;
  line-height: 30px;
  color: #FFF;
  font-weight: 600;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.recommended-offer-link:hover{
  color: #E8A724;
  transform: translateX(2px);
}

.recommended-offer-view-all{
  margin-top: 20px;
  margin-bottom: 6px;
  background-color: #EEF1FB;
  color: #000 !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 3px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 50ms cubic-bezier(0.19, 1, 0.22, 1);
}

.recommended-offer-view-all:hover{
  background-color: #E8A724;
}

/* masina la comanda */
#hp_masinaComanda_section{
  background-color: #0D0D0D;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0px;
}

#hp_masinaComanda_section .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#hp_masinaComanda_section .container::before,
#hp_masinaComanda_section .container::after{
  display: none !important;
}

#hp_masinaComanda_section label{
  font-size: 24px;
  line-height: 16px;
  color: #FFF;
  font-weight: 700;
  margin-bottom: 0px;
}

#hp_masinaComanda_section a{
  background-color: #E8A724;
  color: #000 !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  height: 48px;
  width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 50ms cubic-bezier(0.19, 1, 0.22, 1);
}

#hp_masinaComanda_section a:hover{
  background-color: #EEF1FB;
}

/* body type */
#hp_bodyType_header{
  display: flex;
  align-items: flex-end;
  margin-bottom: 15px;
}

#hp_bodyType_header h2{
  margin-bottom: 0px;
  margin-right: 15px;
}

#hp_bodyType_header a{
  color: #050B20;
  font-size: 15px;
  line-height: 30px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}
#hp_bodyType_header a:hover{
  color: #E8A724;
}

#qs_bodyType_autoutilitare_filters_wrapper{
  margin-top: 20px;
}

#qs_bodyType_filters_wrapper .swiper-wrapper,
#qs_bodyType_autoutilitare_filters_wrapper .swiper-wrapper{
  display: flex;
  flex-wrap: wrap;
  column-gap: 33px;
  row-gap: 24px;
}

.swiper-slide.bodyType_filter{
  background-color: #0D0D0D;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 260px;
  height: 160px;
  transition: all 50ms cubic-bezier(0.19, 1, 0.22, 1);
}

.bodyType_filter:hover{
  background-color: #E8A724;
}

.bodyType_filter:hover label{
  color: #000;
}

.bodyType_filter:hover svg path{
  fill: #000;
  stroke: #000;
}

.bodyType_filter svg{
  width: 120px;
  height: auto;
}

.bodyType_filter svg path{
  fill: #EEF1FB;
}

.bodyType_filter label{
  color: #EEF1FB;
  font-size: 18px;
  line-height: 16px;
  font-weight: 600;
  margin: 0px;
  cursor: pointer;
}

/* Recommemded makes */
#hp_makes_header{
  display: flex;
  align-items: flex-end;
  margin-bottom: 15px;
}

#hp_makes_header h2{
  margin-bottom: 0px;
  margin-right: 15px;
}

#hp_makes_header a{
  color: #050B20;
  font-size: 15px;
  line-height: 30px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}
#hp_makes_header a:hover{
  color: #E8A724;
}

#qs_makes_filters_wrapper{
  display: flex;
  flex-wrap: wrap;
  column-gap: 35px;
  row-gap: 24px;
}

.make_filter{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  border: 1px solid #BFC6DE;
  width: 200px;
  height: 176px;
}

.make_filter:hover{
  background: #E8A724;
  border-color: #E8A724;
}

.make_filter label{
  color: #000;
  font-size: 18px;
  line-height: 16px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 0px;
  cursor: pointer;
}

.make_filter:last-child label{
  margin: 0px;
}

#hp_commercial_section h2:first-child{
  margin-top: 30px;
}

#hp_commercial_section h2{
  margin-top: 24px;
}

#hp_commercial_section p,
#hp_commercial_section ul li{
  color: #000;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
}

#hp_commercial_section ul{
  padding-left: 20px;
  list-style-type: disc;
}

#showroom_link_wrapper{
  display: flex;
  gap: 24px;
  margin-top: 17px;
  margin-bottom: 30px;
}

#showroom_link_wrapper a{
  background-color: #E8A724;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  height: 48px;
  width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 50ms cubic-bezier(0.19, 1, 0.22, 1);
}

#showroom_link_wrapper a:hover{
  color: #FFF;
}



#hp_clients_section{
  margin-top: 30px;
  padding: 35px 0px 25px 0px;
  background-color: #0D0D0D;
}

#hp_clients_section h2{
  color: #FFF;
}

#hp_clients_section h2 span{
  color: #E8A724;
}

#hp_clients_section p span{
  font-weight: 700 !important;
}

#garantie_achizitie{
  font-size: 20px !important;
  font-weight: 700 !important;
}

#hp_clients_section p{
  color: #FFF;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
}

#hp_reviews_widget{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

#hp_reviews_widget .ti-widget{
  background: #EEF1FB;
  border-radius: 20px;
  padding-bottom: 5px;
}

#hp_clients_section h2:nth-of-type(2),
#hp_clients_section h2:nth-of-type(3),
#hp_clients_section h2:nth-of-type(4){
  margin-top: 35px;
}


#hp_leasing_partners_wrapper{
  margin: 20px 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}

#hp_leasing_partners_wrapper img {
  height: 43px;
  width: auto;
  object-fit: contain;
}


#hp_blog_section{
  padding-top: 45px;
}

.hp_blog_slide{
  background-color: #000000;
  border-radius: 4px;
  padding: 6px;
}


.hp_blog_slide_title{
  font-size: 16px;
  line-height: 18px;
  color: #FFF;
  font-weight: 500;
  margin: 12px 0px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0px 5px;
}

.hp_blog_slide_link{
  background-color: #EEF1FB;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  border-radius: 3px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 50ms cubic-bezier(0.19, 1, 0.22, 1);
}

#hp_blog_swiper_container{
  position: relative;
}

.swiper-button-prev,
.swiper-button-next{
  border-radius: 4px;
  border: 1px solid #BFC6DE;
  width: 52px;
  height: 52px;
  padding: 8px;
}

.swiper-button-prev svg path,
.swiper-button-next svg path{
  fill: #010101;
}

#hp_blog_swiper_container .swiper-button-prev{
  left: -75px;
}

#hp_blog_swiper_container .swiper-button-next{
  right: -75px;
}

.hp_faq_slide{
  border: 1px solid #BFC6DE;
  border-radius: 20px;
  padding: 35px 40px;
}

#hp_faq_container .swiper-autoheight .swiper-wrapper{
  padding: 1px 0px;
}
.hp_faq_question{
  color: #000000;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  font-weight: 700;
  padding-bottom: 10px;
}

.hp_faq_answer{
  color: #000000;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  color: #010101;
  width: 80%;
  text-align: center;
  margin: 0px auto;
}

.hp_faq_separator{
  display: block;
  margin: 0px auto 30px auto;
  width: 350px;
  height: 1px;
  background-color: #BFC6DE;
}

#hp_faq_container{
  position: relative;
}

#hp_faq_container .swiper-button-prev{
  left: 40px;
}

#hp_faq_container .swiper-button-next{
  right: 40px;
}


/* Hero section */
#hp_hero_section{
  background-image: url('/wp-content/themes/carspot-child/images/homepage/hero_bg.jpg');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  background-color: #000;
  max-height: 565px;
  height: 100%;
  position: relative;
}

#hp_hero_section .container {
  display: flex;
  height: 100%;
  align-items: flex-end;
}

#hp_hero_content{
  display: flex;
  flex-direction: column;
  margin-bottom: 27px;
  width: 100%;
}

#hp_hero_content > p{
  font-size: 40px;
  line-height: 40px;
  color: #FFF;
  font-weight: 700;
  padding: 0px;
  margin-bottom: 10px;
}

#hp_hero_content > h2{
  font-size: 24px;
  line-height: 32px;
  color: #E8A724;
  font-weight: 700;
  margin-bottom: 18px;
}

#hp_hero_content > h3{
  font-size: 14px;
  line-height: 27px;
  color: #FFF;
  margin-top: 10px;
}

.hp_hero_partners{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp_hero_partners > p{
  font-size: 16px;
  line-height: 32px;
  color: #FFF;
  font-weight: 700;
}

.hp_hero_partners_logos{
  display: flex;
  align-items: center;
  gap: 20px
}

.hp_hero_partners_logos svg {
  height: 38px;
  width: auto;
}

.hp_hero_partners_logos svg:nth-child(2) {
  height: 25px;
}

:root{
  --max-h: 497px;
  --overlap-offset: 35%;
  --transition-speed: 600ms;
  --card-radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.hero-hero {
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 36px 18px;
  background: linear-gradient(180deg,#fafafa,#fff);
}
.heroSwiper {
  width: 450px;
  height: var(--max-h);
  margin: auto 0px;

  position: absolute !important;
  top: 0;
  bottom: 0;
  right: max(50px, calc(100% - 1525px));
}
.heroSwiper .swiper-wrapper {
  align-items: center;
}
/* SLIDE */
.heroSwiper .swiper-slide {
  width: calc(var(--max-h) * 9 / 16) !important;
  height: var(--max-h) !important;
  transition: transform var(--transition-speed) cubic-bezier(.2,.9,.25,1);
}
/* CARD */
.video-card {
  width:100%;
  height:100%;
  border-radius: var(--card-radius);
  overflow:hidden;
  background:#000;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
  transition: all var(--transition-speed) cubic-bezier(.2,.9,.25,1);
  position: relative;
}
.video-card iframe {
  width:100%;
  height:100%;
  border:0;
}
/* ACTIVE */
.heroSwiper .swiper-slide-active {
  z-index: 50;
}
.heroSwiper .swiper-slide-active .video-card {
  transform: scale(1);
  opacity: 1;
  border: 2px solid rgba(217,217,217,0.2);
}
/* NEXT - overlapping */
.heroSwiper .swiper-slide-next {
  transform: translateX(calc(-1 * var(--overlap-offset))) !important;
  z-index: 30;
}
.heroSwiper .swiper-slide-next .video-card {
  transform: scale(0.7) translateY(20px);
  opacity: 0.95;
  pointer-events: none;
}

/* PREV */
.heroSwiper .swiper-slide-prev {
  transform: translateX(var(--overlap-offset)) !important;
  z-index: 10;
}
.heroSwiper .swiper-slide-prev .video-card {
  transform: scale(0.7) translateY(20px);
  opacity: 0.7;
  pointer-events: none;
}

.heroSwiper .swiper-button-prev{
  margin: 0px !important;
  left: 2px !important;
  top: auto !important;
  bottom: 0px !important;
}
.heroSwiper .swiper-button-next{
  margin: 0px !important;
  left: 50px !important;
  top: auto !important;
  bottom: 0px !important;
}
.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next{
  width: 20px;
  height: 20px;
  border: none !important;
  padding: 8px !important;
  box-sizing: content-box;
  transition: all 200ms ease;
}
.heroSwiper .swiper-button-prev svg path, .heroSwiper .swiper-button-next svg path{
  fill: #fff;
  stroke: #fff;
}
.heroSwiper .swiper-button-prev:hover svg path,
.heroSwiper .swiper-button-next:hover svg path{
  fill: #E8A724;
  stroke: #E8A724;
}

/* mobile tweaks */
@media (max-width: 420px){
  .heroSwiper  { width: 92vw; }
  .heroSwiper .swiper-slide { width: calc(var(--max-h) * 9 / 16); }
}

/* SWIPE INDICATOR */
.swipe-indicator {
  position: absolute;
  left: 20px;
  bottom: 10px;
  width: 90px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(255,255,255,0.2);
  color: #fff;
  font-size: 14px;
  border-radius: 999px;
  z-index: 60;
  opacity: 0.9;
}

@keyframes swipeMove {
  0% { left: -40%; }
  100% { left: 100%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0.9; transform: translateY(0); }
}

/* hide indicator after interaction */
.swipe-indicator.hidden {
  opacity: 0;
  transition: opacity 400ms ease;
}

#hp_bodyType_nav,
#hp_bodyType_autoutilitare_nav{
  display: none;
}

.mobile-text {
  display: none;
}

#hp_top_offers_mobile_view_all{
  background-color: #E8A724;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  width: 100%;
  height: 50px;
  display: none;
  justify-content: center;
  align-items: center;
  outline: none !important;
  margin-top: 24px;
}

#hp_top_offers_mobile_view_all:hover{
  color: #FFF;
}

#finantare_heading span:nth-child(2),
#finantare_heading span:nth-child(3){
  color: #FFF !important;
}


@media (min-width: 1260px) and (max-width: 1330px) {
  #hp_blog_swiper_container .swiper-button-next,
  #hp_top_offers_slider_wrapper .swiper-button-next {
    right: -55px;
  }
  #hp_blog_swiper_container .swiper-button-prev,
  #hp_top_offers_slider_wrapper .swiper-button-prev {
    left: -55px;
  }
}

@media (max-width: 1260px) {
  #hp_top_offers_slider_wrapper .swiper-button-prev,
  #hp_top_offers_slider_wrapper .swiper-button-next,
  #hp_blog_swiper_container .swiper-button-prev,
  #hp_blog_swiper_container .swiper-button-next{
    position: static;
    margin: 0px;
  }

  #hp_top_offers_navigation,
  #hp_blog_navigation{
    margin-top: 24px;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
  }
}

@media (max-width: 1199px){
  .hp_qs_filter_container{
    width: calc(50% - 23px);
  }

  .hp_qs_filter_container .select2-container{
    width: 100% !important;
  }

  .make_filter{
    width: calc(100% / 5 - 21px);
  }
  .make_filter img{
    width: 50%;
    height: auto;
  }

  .swiper-slide.bodyType_filter{
    width: calc(100% / 4 - 18px) !important;
  }

  #qs_makes_filters_wrapper,
  #qs_bodyType_filters_wrapper .swiper-wrapper,
  #qs_bodyType_autoutilitare_filters_wrapper .swiper-wrapper{
    column-gap: 24px;
  }

  #hp_leasing_partners_wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 991px){
  .hp_qs_tab_content.active{
    flex-direction: column;
  }

  #hp_qs_first_col,
  #hp_qs_first_col_utilitare{
    flex-direction: row !important;
    flex-wrap: wrap;
  }

  .hp_qs_filter_container{
    width: calc(50% - 10px);
  }

  #hp_qs_container #hp_qs_vehicule_categories{
    gap: 20px;
  }

  #hp_qs_second_col,
  #hp_qs_second_col_utilitare{
    flex-direction: row !important;
    flex-wrap: wrap;
  }

  #hp_qs_container #hp_qs_filters_btn,
  #hp_qs_container #hp_qs_search_btn,
  #hp_qs_container #hp_qs_search_btn_utilitare,
  #hp_qs_container #hp_qs_filters_btn_utilitare{
    margin: 0px !important;
    max-width: calc(50% - 10px) !important;
    min-width: unset !important;
  }

  #recommended_offers_wrapper{
    flex-wrap: wrap;
  }
  .recommended-offer-card{
    width: calc(50% - 13px)
  }

  #hp_masinaComanda_section{
    height: 150px;
  }

  #hp_masinaComanda_section .container{
    flex-direction: column;
    gap: 21px;
  }

  .make_filter{
    height: 150px;
  }

  .make_filter label{
    font-size: 14px;
    line-height: 12px;
  }

  .bodyType_filter svg{
    width: 90px;
  }

  .bodyType_filter label{
    font-size: 15px;
    line-height: 14px;
    text-align: center;
  }

  #hp_qs_container .select2-selection__arrow{
    height: 40px !important;
    width: 40px !important;
  }

  #hp_qs_vehicule_categories span,
  #hp_qs_container .select2-selection--single{
    height: 40px !important;
  }

  #hp_qs_container .select2-selection__rendered{
    line-height: 40px !important;
  }
}

@media (max-width: 767px){

  #hp_top_offers_section .container,
  #hp_bodyType_section .container,
  #hp_commercial_section .container{
    padding: 0px;
  }

  #hp_top_offers_header,
  #hp_top_offers_navigation,
  #hp_bodyType_nav,
  #hp_bodyType_autoutilitare_nav,
  #hp_bodyType_header,
  #hp_commercial_section h2, #hp_commercial_section p, #showroom_link_wrapper{
    padding: 0px 15px;
  }

  #hp_commercial_section ul{
    padding-left: 35px;
    padding-right: 15px;
  }

  #hp_top_offers_mobile_view_all{
    margin-left: 15px;
    width: calc(100% - 30px);
  }

  .heroSwiper{
    display: none !important;
  }

  .heroSwiper.mobile-hero {
    display: block !important;
  }

  #hp_hero_video_mobile{
    display: block;
  }

  #qs_bodyType_filters_wrapper .swiper-wrapper, #qs_bodyType_autoutilitare_filters_wrapper .swiper-wrapper{
    flex-wrap: nowrap;
    gap: 0px;
  }

  #hp_bodyType_nav,
  #hp_bodyType_autoutilitare_nav{
    margin-top: 24px;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
  }

  #hp_bodyType_nav .swiper-button-prev,
  #hp_bodyType_nav .swiper-button-next,
  #hp_bodyType_autoutilitare_nav .swiper-button-prev,
  #hp_bodyType_autoutilitare_nav .swiper-button-next {
    position: static;
    margin: 0px;
  }

  .swiper-slide.bodyType_filter{
    width: 160px !important;
    height: 125px;
  }

  .heroSwiper{
    position: relative !important;
    right: auto !important;
  }

  #finantare_heading{
    display: flex;
    flex-direction: column;
  }
  #finantare_heading span:nth-child(2){
    display: none !important;
  }

  #hp_faq_navigation{
    margin-top: 24px;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
  }

  #hp_faq_container .swiper-button-next{
    position: static;
    margin: 0px;
  }

  #hp_faq_container .swiper-button-prev{
    position: static;
    margin: 0px;
  }
}

@media (max-width: 767.5px){
  #hp_hero_section{
    max-height: 500px;
    background-size: cover;
    background-position: inherit;
    background-blend-mode: lighten;
    background-image:
    linear-gradient(
      to bottom,
      rgba(13, 13, 13, 1) 0%,
      rgba(11, 11, 11, 0.84) 15%,
      rgba(0, 0, 0, 0) 100%
    ),
    url('/wp-content/themes/carspot-child/images/homepage/hero_bg_mobile.png');

  }

  #hp_hero_content > h3,
  #hp_hero_content .hp_hero_partners{
    display: none !important;
  }

  #hp_hero_content{
    margin-bottom: 18px !important;
  }

  #hp_hero_mobile{
    display: flex;
    flex-direction: column;
    background-color: #0D0D0D;
    padding: 16px 22px;
  }

  #hp_hero_mobile > h3{
    font-size: 14px;
    line-height: 24px;
    color: #FFF;
    text-align: center;
  }

  .colored-header{
    position: absolute;
  }

  .mega-menu.header-transparent{
    background-color: transparent !important;
    border-bottom: none !important;
  }

  #hp_hero_content > h2{
    text-align: center;
  }

  #hp_hero_mobile,
  #hp_hero_content{
    align-items: center;
  }

  .hp_hero_partners > p{
    text-align: center;
  }

  #hp_qs_container{
    margin-bottom: 0px;
    background-color: #000000;
  }
}

@media (max-width: 720px){
  .make_filter {
    width: calc(100% / 3 - 16px);
    aspect-ratio: 1/0.87;
  }

  .make_filter img{
    width: 50px !important
  }

  .make_filter label{
    font-size: 12px !important;
    line-height: 10px !important;
    margin-top: 7px !important;
  }

  .hp_faq_question{
    font-size: 18px;
    font-weight: 600;
  }

}

@media (max-width: 560px){
  #hp_leasing_partners_wrapper{
    grid-template-columns: 1fr 1fr;
  }

  #hp_qs_year_range_filters_wrapper{
    flex-wrap: wrap;
    row-gap: 14px;
    column-gap: 16px;
  }

  .year-range-filter{
    width: calc(50% - 12px);
  }

  #recommended_offers_wrapper{
    flex-direction: column;
  }

  .recommended-offer-card{
    width: 100%;
  }

  .recommended-offer-link{
    max-width: 180px;
  }

  .make_filter {
    height: 95px !important;
  }

  .make_filter img{
    width: 40px !important;
  }

  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }

  #hp_qs_second_col, #hp_qs_second_col_utilitare{
    flex-direction: column-reverse !important;
    gap: 19px;
  }

  #hp_qs_container #hp_qs_filters_btn, #hp_qs_container #hp_qs_search_btn, #hp_qs_container #hp_qs_search_btn_utilitare, #hp_qs_container #hp_qs_filters_btn_utilitare{
    max-width: unset !important;
  }

  #hp_bodyType_header,
  #hp_makes_header,
  #hp_blog_header{
    flex-direction: column;
    align-items: flex-start;
  }

  #hp_blog_view_all{
    line-height: 30px;
  }

  #hp_top_offers_header a{
    display: none;
  }
  #hp_top_offers_mobile_view_all{
    display: flex;
  }

  #hp_top_offers_navigation, #hp_blog_navigation, #hp_faq_navigation, #hp_bodyType_nav, #hp_bodyType_autoutilitare_nav {
    justify-content: center;
  }

  #showroom_link_wrapper{
    flex-direction: column;
    gap: 16px;
  }

  #showroom_link_wrapper a{
    width: 100%;
  }

  .make_filter{
    width: calc(100% / 3 - 11px) !important;
  }

  #qs_makes_filters_wrapper{
    column-gap: 16px !important;
    row-gap: 14px !important;
  }

  .hp_faq_separator{
    display: none !important;
  }

  .hp_faq_slide{
    padding-left: 15px;
    padding-right: 15px;
  }

  .hp_faq_answer{
    width: 100%;
  }

  .hp_faq_question{
    padding-bottom: 20px !important;
  }
}

@media (max-width: 549px){

  #hp_top_offers_slider_wrapper .swiper-slide-next,
  #hp_top_offers_slider_wrapper .swiper-slide-prev{
    opacity: 0.3;
  }
}

@media (max-width: 480px){

  .swipe-indicator{
    transform: translateX(-50%) !important;
    left: 50%;
  }

  #hp_hero_section{
    max-height: 410px !important;
  }

  #garantie_achizitie,
  #hp_commercial_section p,
  #hp_commercial_section ul li,
  #hp_clients_section p{
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  #garantie_achizitie{
    font-weight: 400 !important;
  }

  #hp_clients_section h2,
  #hp_commercial_section h2{
    font-size: 18px !important;
  }

  #hp_qs_container .select2-selection__rendered[title="Marcă"], #hp_qs_container .select2-selection__rendered[title="Model"], #hp_qs_container .select2-selection__rendered[title="Oricare"], #hp_qs_container .select2-selection__rendered[title="An"], #hp_qs_container .select2-selection__rendered[title="Preț"], #hp_qs_container .select2-selection__rendered[title="Kilometraj"], #hp_qs_container .select2-selection__rendered[title="Combustibil"]{
    font-size: 14px !important;
  }

  .mb-spacing-mobile,
  .mb-spacing-web{
    margin-bottom: 24px;
  }

  #showroom_link_wrapper{
    margin: 24px 0px !important;
  }

  #hp_clients_section{
    padding-top: 30px !important;
  }
}

@media (max-width: 375px){
  .make_filter label{
    font-size: 10px !important;
  }
}

@media (max-width: 370px){
  #hp_hero_content > h2{
    font-size: 14px !important;
  }
}

@media (max-width: 360px){

  .container h2,
  .recommended-offer-title,
  #hp_bodyType_header h2,
  #hp_masinaComanda_section label,
  #hp_makes_header h2,
  #hp_qs_widget_title{
    font-size: 20px !important;;
  }
}
