* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #000000;
  position: relative;
  margin: 0 auto;
  padding: 0;
  /* overflow-x: hidden; */
  max-width: 1920px;
  background: #ffffff;
}

.container {
  max-width: 1440px;
  padding: 0px 20px;
  margin: 0px auto;
}

.fancybox-button svg {
  transform: scale(2);
}

.compensate-for-scrollbar {
  margin-right: auto !important;
  overflow: auto !important;
}

.fancybox-content {
  overflow: hidden;
}

input[type=file] {
  display: none;
}

.br_mob {
  display: none;
}

sup {
  display: inline-block;
  vertical-align: top;
  position: relative;
  text-transform: none;
  color: #CCA166;
  top: -1px;
  font-size: 10px;
}

img {
  border-style: none;
  vertical-align: middle;
  max-width: 100%;
}

select::-ms-expand {
  display: none;
}

select::-ms-expand {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  padding: 0;
}

.fancybox-type-image .fancybox-close {
  right: 9px;
}

.fancybox-close {
  background: url(../img/bg_close.png) 50% 50% no-repeat !important;
  color: black;
  width: 22px !important;
  height: 22px !important;
  top: -25px !important;
  right: -25px !important;
}

.has-danger input,
.has-danger select,
.has-danger textarea {
  border-width: 2px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #eba5a3;
}

#form_popup,
#form_popup1 {
  display: none;
}


.popup_container {
  width: 420px;
  max-width: 100%;
  padding: 5px 29px;
  overflow: hidden !important;
  position: relative;
  box-sizing: border-box;
  /* border: 2px solid black; */
  background: white;
  text-align: center;
  padding-bottom: 30px;
  border-radius: 8px;
  padding: 34px !important;
}

.popup_container .agree_field {
  color: black;
  font-size: 14px;
}

.popup_container .agree_field a {
  color: black;
}

.popup_container h2 {
  font-size: 22px;
  font-weight: 700;
  padding: 0px;
  margin: 0px;
  padding-bottom: 29px;
  text-align: center;
  padding-top: 25px;
  color: black;
}

.popup_container .form_comment {
  text-align: center;
  font-size: 20px;
  color: #414141;
  padding-bottom: 15px;
}

.popup_container .form_comment a {
  display: block;
  color: #414141;
  text-decoration: none;
}

.popup_container .close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  -moz-transform: rotate(45deg);
  /* Aey Firefox */
  -ms-transform: rotate(45deg);
  /* Aey IE */
  -webkit-transform: rotate(45deg);
  /* Aey Safari, Chrome, iOS */
  -o-transform: rotate(45deg);
  /* Aey Opera */
  transform: rotate(45deg);
  cursor: pointer;
}

.popup_container .close:before {
  content: '';
  position: absolute;
  left: 0px;
  top: 16px;
  width: 34px;
  height: 1px;
  display: block;
  background-color: #a8a8a8;
}

.popup_container .close:after {
  content: '';
  position: absolute;
  left: 16px;
  top: 0px;
  width: 1px;
  height: 34px;
  display: block;
  background-color: #a8a8a8;
}

.popup_container .form-group {
  margin-bottom: 19px;
}

.popup_container button {
  color: #000000 !important;
}

.popup_container .btn {
  color: #ffffff !important;
}


.agree_field {
  display: flex;
  font-size: 14px;
  gap: 4px;
}
.agree_field a {
  text-decoration: underline;
}

.checkmark {
  width: 15px;
  height: 15px;
  border: 1px solid #ccc;
  margin-right: 8px;
  position: relative;
}

.agree_field input:checked+.checkmark {
  background-color: #ffffff;
  border-color: #000000;
}

.checkmark:after {
  content: '';
  display: none;
  position: absolute;
  left: 4px;
  top: -2px;
  width: 4px;
  height: 10px;
  border: solid #000000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agree_field input:checked+.checkmark:after {
  display: block;
}

.agree_field.custom-checkbox {
    display: flex;
    align-items: center;
    /* gap: 10px; */
    cursor: pointer;
    font-size: 14px;
}

.agree_field.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.agree_field.custom-checkbox .checkbox-icon {
    width: 13px;
    height: 13px;
    border: 2px solid #000;
    background: #000;
    border-radius: 3px;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
    display: block;
}

.agree_field.custom-checkbox input[type="checkbox"]:checked + .checkbox-icon {
    background: #000;
    border-color: #000;
    background-image: url(../img/checked.svg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
}

.agree_field.custom-checkbox.black input[type="checkbox"]:checked + .checkbox-icon {
  background: #ffffff;
  border-color: #ffffff;
  background-image: url(../img/checked_black.svg);
}


.not_agree .agree_field.custom-checkbox input[type="checkbox"]:checked + .checkbox-icon {
    background-image: none; /* Убираем стрелку */
}

.agree_field.custom-checkbox a {
    color: #000000;
    text-decoration: underline;
}
.agree_field.custom-checkbox.black a {
      color: #ffffff;
}

.agree_field.custom-checkbox a:hover {
    text-decoration: none;
}
.popup_container .agree_field {
  /* display: block; */
      font-size: 12px;
}

form .form-group {
  margin-bottom: 10px;
  position: relative;
}

form .form-group input[type=tel],
form .form-group input[type=text],
form .form-group select {
  height: 47px;
  width: 100%;
  color: #B9B9B9;
  font-size: 16px;
  box-sizing: border-box;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  padding: 10px 20px;
  outline: none;
  background: #1F2024;
  border-radius: 50px;
  border: 1px solid #38393D
}

.fancybox-slide form .form-group input[type=tel],
.fancybox-slide form .form-group input[type=text],
.fancybox-slide form .form-group select {
  height: 43px;
  width: 100%;
  color: #000000;
  font-size: 16px;
  box-sizing: border-box;
  font-weight: 400;
  font-family: 'Roboto', sans-serif !important;
  padding: 0px 20px;
  outline: none;
  background: transparent;
  border-radius: 8px;
  border: 1px solid #2D2926;
}

form .form-group select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: url(../img/ico_select.svg) 91.1% 50% no-repeat #1F2024;
  border: 1px solid #38393D;
  outline: none;
  color: #ffffff;
  font-family: "Roboto", sans-serif !important;
  cursor: pointer;
}

form .form-group button {
  width: 100%;
  cursor: pointer;
  font-family: "Roboto", sans-serif !important;
  outline: none;
}

.form_title {
  color: black;
  font-size: 36px;
  /* text-transform: uppercase; */
  padding: 0px;
  margin: 0px;
  text-align: center;
  padding-bottom: 47px;
}

.form_title span {
  display: block;
  color: #ff0000;
  white-space: nowrap;
}

.btn {
  position: relative;
  font-family: "Roboto", sans-serif !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 207px;
  height: 47px;
  background: #CCA166;
  border: 1px solid #CCA166;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
  outline: none;
  transition: all .3s;
  overflow: hidden;
  z-index: 1;
}

.btn:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.btn:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 101%;
  background-color: #B88D52;
  transition: all .3s;
  border-radius: 50px;
  z-index: -1;
}

.btn:hover {
  color: #fff;
}

.btn:hover:before {
  width: 100%;
}

.btn.glass {
  background: none;
  border: 1px solid #CCA166;
  color: #000000;
}

.btn.glass:hover {
  background: #B88D52;
  border: 1px solid #B88D52;
  color: #FFFFFF;
}

.btn.black {
  background: #1F2024;
  border: 1px solid #1F2024;
  color: #FFFFFF;
}

.btn.black:hover {
  background: #B88D52;
  border: 1px solid #B88D52;
  color: #FFFFFF;
}


/*************** header ***************/

.header {
  position: fixed;
  left: 0;
  width: 100%;
  background: #101115;
  backdrop-filter: blur(14px);
  color: #ffffff;
  z-index: 8;
  margin-top: -128px;
}

.header .header_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.header .logo_wrap {
  display: flex;
  align-items: center;
}

.header .logo1 {
  margin-right: 30px;
  padding-right: 30px;
  border-right: 1px solid #FFFFFF1A;
}

.header .logo2 {
}
.top_wrap {
  display: flex;
  width: 45%;
  justify-content: space-between;
}

.header .top_addr {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
  font-size: 16px;
  font-weight: 400;
}

.header .top_addr:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 14px;
  height: 14px;
  background: url(../img/point_ico.svg) no-repeat;
}


.header .top_phone {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
}

.header .top_phone:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 14px;
  height: 14px;
  background: url(../img/point_ico.svg) no-repeat;
}

.header .top_phone a {
  font-weight: 700;
  color: #ffffff;
}
.menu {
  background: linear-gradient(155.36deg, #1A1B1F 0.93%, #38393D 116.19%);
}
.menu .menu_wrap {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
}
.menu_cars {
  display: flex;
  justify-content: space-between;
  column-gap: 40px;
}
.menu_cars > a {
  text-transform: uppercase;
}

.menu_cars > a sup {
  text-transform: none;
  color: #CCA166;
  top: -1px;
  font-size: 10px;
}
.menu_items {
  display: flex;
  justify-content: space-between;
  column-gap: 40px;
}

.menu a {
  position: relative;
}
.menu a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: #CCA166;
  transition: all .5s ease-out;
}
.menu a.out:after {
  left: unset;
  right: 0;
}
.menu a:hover:after {
  width: 100%;
}
.header .m_btn {
  display: none;
}


/*************** banner ***************/
.banner {
  position: relative;
  height: 600px;
  margin-top: 128px;
}

.banner picture img {
  height: 100%;
  object-fit: cover;
}

.title_container {
    padding: 42px 44px 30px;
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #0C0C0B;
    -webkit-backdrop-filter: blur(8px);
    width: max-content;
    background: #FFFFFFCC;
    backdrop-filter: blur(8px);
    border-radius: 10px;
}

.banner_date {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  padding: 14px 20px;
  background: linear-gradient(155.36deg, #1A1B1F 0.93%, #38393D 116.19%);
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 26px;
}

.banner_date span {
  position: relative;
  padding-left: 54px;
}

.banner_date span:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 40px;
  height: 40px;
  background: url(../img/date_ico.svg) no-repeat;
}

.banner .title1 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.banner .title2 {
  font-size: 32px;
}

/*************** timer ***************/

.timer_block {
  background: #F4F4F4;
  padding: 30px 0;
}

.timer_wrap {
  display: flex;
  justify-content: space-between;
}

.timer_form_wrap {
  max-width: 44%;
}

.timer_title {
  font-size: 36px;
  text-transform: uppercase;
}

#timer_form {
  margin-top: 16px;
  display: flex;
  flex-flow: wrap;
  max-width: 100%;
  column-gap: 10px;
}

.timer_block .form-group.tel {
    width: 45%;
}

#timer_form .btn {
  width: 276px;
  height: 47px;
}

#timer_form .form-group input[type=tel] {
  background: none;
  border: 1px solid #000000;
  color: #969696;
}


/*************** block ***************/
.block_comment {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 22px;
  font-size: 18px;
  margin-bottom: 14px;
}

.block_comment:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 10px;
  height: 10px;
  background: url(../img/point_ico.svg) no-repeat;
  background-size: contain;
}

.block_title {
  font-weight: 700;
  font-size: 66px;
  text-transform: uppercase;
  margin-bottom: 60px;
}

/*************** cars_items ***************/
.cars_items {
  padding: 116px 0 120px;
}
.cars_title {}
.cars_wrap {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.car_item {
  background: #F4F4F4;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  overflow: hidden;
}
.car_header {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(155.36deg, #1A1B1F 0.93%, #38393D 116.19%);
  border-radius: 10px;
}
.car_name {
  font-weight: 700;
  font-size: 36px;
  text-transform: uppercase;
  color: #FFFFFF;
}
.car_name sup {
  font-size: 23px;
}
.car_benefit {
  padding: 16px 26px;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(91.74deg, #CCA166 0%, #E1C49C 52.4%, #CCA166 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: ease 0.3s;
}
.car_benefit:after {
  content: "";
  display: block;
  width: 30px;
  height: 300px;
  margin-left: 60px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
  position: absolute;
  left: -40px;
  top: -150px;
  z-index: 1;
  transform: rotate(45deg);
  transition: all 0.1s;
  animation: flash_animation 2.5s ease-in-out infinite;
}

@keyframes flash_animation {
  0% {
    left: -100px;
  }
  100% {
    left: calc(100% + 100px);
  }
}
.car_content {
  position: relative;

  padding: 24px 30px 30px;  
}
.car_content::before {
  content: "";
  position: absolute;
  top: -68px;
  left: -40px;
  width: 100%;
  height: 100%;
  background: url(../img/hongqi.png) 0 0 no-repeat;
}
.car_info {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}
.car_props {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}
.car_props > a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 22px;
  padding-left: 56px;
  min-height: 40px;
}
.car_props a:before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #CCA166;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  transition: 0.4s ease-out;
}

.car_props a.ico1:before {
  background-image: url(../img/props_ico1.svg);
}

.car_props a.ico2:before {
  background-image: url(../img/props_ico2.svg);
}

.car_props a.ico3:before {
  background-image: url(../img/props_ico3.svg);
}

.car_props a.ico4:before {
  background-image: url(../img/props_ico4.svg);
}

.text_hover, .text_normal {
  align-items: center;
  display: flex;
  flex-grow: 1;
  flex-wrap: nowrap;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  height: 100%;
  justify-content: flex-start;
  letter-spacing: inherit;
  width: 100%;  
}

.text_hover {
    /* left: 0; */
    opacity: 0;
    position: absolute;
    top: 0;
    transform: translateY(1em);
    width: 100%;
}
.car_props > a:hover .text_normal {
    opacity: 0;
    transform: translateY(-1em);
}
.car_props > a:hover .text_hover, .car_props > a:hover .text_normal {
    transition: transform .7s, opacity .7s;
    will-change: transform;
}
.car_props > a:hover .text_hover {
    opacity: 1;
    transform: translate(0);
}
.car_image {
    position: relative;
    left: 54px;
}
.car_gallery {
  height: 296px !important;
  margin-right: 0 !important;
}

.car_gallery .swiper-slide {
    border-radius: 4px;
    overflow: hidden;
}

.car_gallery .swiper-slide a img {
  border-radius: 4px;
  transform: scale(1);
  transition: 0.5s;
}

.car_gallery .swiper-slide:hover a img {
    transform: scale(1.05);
}

.cars_items .swiper-pagination {
  bottom: -4px !important;
}

.cars_items .swiper-pagination-bullet {
  width: 4px;
  height: 4px;
  opacity: 30%;
  background: #ffffff;
  border-radius: 0;
}

.cars_items .swiper-pagination-bullet-active {
  width: 33px;
  opacity: 1;
  background: #A6192E;
}
.car_btns {
  display: flex;
  gap: 34px;
  justify-content: space-between;
  margin-top: 26px;
}
.cars_items .btn {
  flex: 1;
}


/*************** instock ***************/

#instock {
  background: #101115;
  color: white;
  padding: 120px 0 62px;
}
.instock_title {
}
#filter_table {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;
}
#filter_table .select_container {
  width: 32.5%;
}
#filter_table select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 47px;
  font-size: 16px;
  border-radius: 100px;
  border: 1px solid #38393D;
  padding-left: 20px;
  background: url(../img/ico_select.svg) 95.5% 50% no-repeat #1F2024;
  color: #ffffff;
  cursor: pointer;
}

#filter_table option {
  color: #ffffff;
}

.filter_quick_menu {
  display: none;
}

.tb_complects_container {
  margin-top: 40px;
}

.tb_complects>div:first-child {
  /* display: none; */
}

.tb_complects {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 66%;
  padding-bottom: 60px !important;
}

.tb_complects>div {
  width: 100%;
  position: relative;
  color: #FFFFFF;
  /* background: #1F1D1F; */
}

.compl_wrap {
  padding: 30px;
}

.compl_name {
  width: 100%;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.compl_name span {
  display: block;
  font-weight: 400;
  font-size: 26px;
  color: #000000;
  text-transform: uppercase;
  border: 1px solid #38393D;
  background: #FFFFFF;
  padding: 4px 20px;
  border-radius: 60px;
}

.compl_techs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 15px;
}

.techs_item {
  position: relative;
  padding-left: 26px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #FFFFFF33;
}
.techs_item:last-child {
    border-bottom: none;
}
.techs_item > b {
    font-size: 20px;
}

.techs_item:before {
  content: '';
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  left: 0;
  width: 14px;
  height: 14px;
  background: url(../img/point_ico.svg) no-repeat;
  background-size: contain;
}

.compl_btns {
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.compl_btns > a {
  width: 100%;
}

.compl_btns .btn.glass {
  color: #ffffff;
}

.compl_image {
  position: relative;
  top: -6px;
  margin-bottom: 5px;

}

.tb_complects_showmore {
  font-size: 16px;
  display: block;
  margin-top: 62px;
  text-decoration: none;
  color: #FFFFFF80;
}

.main-car-image-container {
  border-radius: 16px;
  overflow: hidden;
  max-height: 446px;
}

.main-car-image {
  max-width: 100%;
  height: 100%;
  opacity: 1;
  transform: scale(1);
  transition: 0.5s;
  border-radius: 16px;
}
.main-car-image:hover {
    transform: scale(1.05);
}

.main-car-image.hidden {
    opacity: 0;
    display: none;
}

.tb_complects_container {
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

#instock .swiper-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#instock .swiper-button-prev, #instock .swiper-button-next {
  position: absolute;
  bottom: 0 !important;
  top: auto !important;
  display: flex;
  width: 40px;
  height: 40px;
  background: none;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  transition: all 0.3s ease;
}
#instock .swiper-button-prev {
      left: 0px;
}
#instock .swiper-button-next {
    left: 50px;
}

#instock .swiper-button-prev:after,
#instock .swiper-button-next:after {
    font-size: 18px;
}


#instock .swiper-pagination {
    position: absolute;
    display: flex;
    z-index: 10;
    margin: 0;
    bottom: 18px !important;
    justify-content: flex-end;
}

#instock .swiper-pagination-bullet {
    width: 80px;
    height: 4px;
    opacity: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

#instock .swiper-pagination-bullet-active {
  background: #CCA166;
}

#instock .swiper-slide {
    height: auto;
    background: linear-gradient(146.25deg, #1A1B1F 0.81%, #38393D 245.05%);
    border: 1px solid #38393D;
    border-radius: 16px;
    max-height: 446px;
}



/*************** tradein ***************/
.tradein {
  background: #101115;
  color: #ffffff;

}
.tradein_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #3F404833;
  border: 1px solid #38393D;
  border-radius: 18px;

}
.tradein_content {
    padding-left: 70px;
    width: 46%;
}
.tradein_title {
  margin-bottom: 40px;
}
.tradein_descr {
  font-size: 22px;
  margin-bottom: 20px;
}
.tradein .form_wrap {
  display: flex;
  gap: 10px;
}
.tradein .form-group {
  flex: 1;
}

.tradein .btn {
  margin-top: 4px;
}

.tradein_images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 10px;
  width: 52%;
}
.tradein_img {
  border-radius: 10px;
  overflow: hidden;
}
.tradein_img img {
    transform: scale(1);
    transition: 0.5s;
}
.tradein_img img:hover {
    transform: scale(1.05);
}

.tradein_item {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #38393D;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}
.tradein_heading {
  font-weight: 700;
  font-size: 22px;
  color: #000000;

}
.tradein_text {
  font-size: 18px;
  color: #353535;
}

/*************** credit ***************/
.credit {
  padding: 120px 0;
  background: #101115;
  color: #ffffff;

}
.credit_wrap {
  display: flex;
  gap: 30px;
}
.credit_images {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  width: 82%;
}
.credit_img {
  height: 100%;
}
.credit_img img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: 0.5s;
}
.credit_img img:hover {
  transform: scale(1.05);
}
.credit_items {
  position: absolute;
  bottom: 10px;
  display: flex;
  gap: 10px;
  margin: 0 10px;
}
.credit_item {
  position: relative;
  padding: 20px 20px 100px;
  border-radius: 10px;
  background: #FFFFFFCC;
  backdrop-filter: blur(4px);
  color: #000000;
  font-weight: 700;
  font-size: 22px;
  flex: 1;
}
.credit_item:before {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: url(../img/credit_ico1.svg) no-repeat;
  background-size: contain;
}
.credit_item.ico2:before {
    background: url(../img/credit_ico2.svg) no-repeat;
}
.credit_content {
    background: #3F404833;
    border: 1px solid #38393D;
    padding: 80px;
    border-radius: 18px;
}
.credit_title {
  margin-bottom: 40px;
}
.credit_descr {
  font-size: 22px;
  margin-bottom: 20px;
}
.credit .form_wrap {
  display: flex;
  gap: 10px;
}
.credit .form-group {
  flex: 1;
}
/*************** drive ***************/

.drive {
  padding: 120px 0;
}
.drive_wrap {
  display: flex;
  gap: 30px;
}
.drive_content {
    background: #F4F4F4;
    padding: 80px;
    border-radius: 16px;
}
.drive_title {
  margin-bottom: 40px;
}
.drive_descr {
  font-size: 22px;
  margin-bottom: 20px;
}
.drive .form_wrap {
}
.drive .form-group {
  width: 96%;
}

.drive_images {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 113%;
}
.drive_items {
  height: 100%;
}
.drive_item {
  position: relative;
  border-radius: 10px;
  height: auto;
}
.drive_img {
  height: 100%;
}
.drive_img img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: 0.5s;
}
.drive_img img:hover {
  transform: scale(1.05);
}
.drive_info {
  position: absolute;
  bottom: 20px;
  margin: 0 10px;
  padding: 20px;
  background: #10111580;
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  border-radius: 10px;
}
.drive_heading {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
}
.drive_text {
  font-size: 18px;
}
.drive form .form-group input[type=tel] {
  background: none;
  border: 1px solid #38393D
}

.drive .swiper-pagination {
    position: absolute;
    display: flex !important;
    z-index: 10;
    margin: 0px 7px;
    bottom: 10px !important;
}

.drive .swiper-pagination-bullet {
    width: 110px;
    height: 4px;
    opacity: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.drive .swiper-pagination-bullet-active {
    background: #CCA166;
}

.drive .swiper-button-prev,
.drive .swiper-button-next {
    display: flex !important;
    width: 40px;
    height: 40px;
    background: none;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.drive .swiper-button-prev:after,
.drive .swiper-button-next:after {
    font-size: 18px;
}


/*************** contacts ***************/
.contacts {
    position: relative;
}

#map1 {
    width: 100%;
    height: 517px;
    background: url("../img/map.jpg") 50% 50% no-repeat;
    background-size: cover;
}
.map_mob {
  display: none;
}

.contacts_wrap {
    position: absolute;
    top: 78px;
    background: #F4F4F4;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.contacts .logo_wrap {
    padding: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(155.36deg, #1A1B1F 0.93%, #38393D 116.19%);
    border-radius: 10px;
}
.contacts .logo1 {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid #DDDDDD;
}
.contacts .logo2 {
}
.contacts_info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
}
.contacts_phone {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
  font-weight: 700;
}

.contacts_addr,
.contacts_chart {
  position: relative;
  font-size: 18px;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
}

.contacts_phone:before,
.contacts_addr:before,
.contacts_chart:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 14px;
    height: 14px;
    background: url(../img/point_ico.svg) no-repeat;
}
.contacts_addr {
}
.contacts_text {
  font-size: 20px;
  margin-top: 5px;
}
.contacts .btn {
  width: 100%;
  margin-top: -8px;
}

/*************** footer ***************/

footer {
  padding: 33px 0;
  color: #000000;
}

.footer_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer_links {
  display: flex;
  flex-direction: column;
  gap: 12px 0;
}

.footer .disclamer {
  color: #000000;
  font-size: 14px;
  text-align: left;
  display: none;
  padding-top: 20px;
}

/******************************/

@media (max-width: 1440px) {
  .car_content::before {
    top: -50px;
    background-size: contain;
  }
}

@media (max-width: 1380px) {}

@media (max-width: 1290px) {
  .timer_wrap {
    flex-direction: column;
  }
  .timer_form_wrap {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .timer_title {
    text-align: center;
  }
  #timer_form {
    justify-content: center;
  }
  .car_image {
    left: 0;
  }
}

@media (max-width: 1199px) {
  .agree_field.custom-checkbox {
    align-items: flex-start;
    font-size: 12px;
  }
  .header .logo1 {
    margin-right: 20px;
    padding-right: 20px;
  }
  .top_wrap {
        width: 60%;
  }
  .header  .btn {
    display: none;
  }
  .block_title {
    font-size: 56px;
    margin-bottom: 40px;
  }
  .tb_complects {
    width: 100%;
  }
  .main-car-image {
    height: auto;
    border-radius: 16px;
  }
  .tradein_wrap {
    padding: 30px 10px;
  }
  .tradein_content {
    padding-left: 10px;
  }
  .tradein_descr {
    font-size: 18px;
  }
  .tradein_heading {
    font-size: 18px;
  }
  .tradein_text {
    font-size: 16px;
  }
  .credit_wrap {
    gap: 20px;
  }
  .credit_images {
    width: 100%;
  }
  .credit_content {
    padding: 40px;
  }
  .credit_descr {
    font-size: 18px;
  }
  .credit .form_wrap {
    gap: 0;
    flex-direction: column;
  }
  .credit_item {
    padding: 20px 20px 40px;
    font-size: 18px;
  }
  .drive_wrap {
    gap: 20px;
  }
  .drive_images {
    width: 100%;
  }
  .drive_content {
    padding: 40px;
  }
  .drive_descr {
    font-size: 18px;
  }
  .drive_heading {
    font-size: 18px;
  }
  .drive_text {
    font-size: 16px;
  }
  .drive .swiper-pagination {
    display: flex !important;
  }
  .drive .swiper-pagination-bullet {
    width: 64px;
  }
  .drive .swiper-button-prev, .drive .swiper-button-next {
        display: flex !important;
  }
}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {}

@media (min-width: 768px) and (max-width: 991px) {}

@media (max-width: 991px) {
  .header .logo1 {
    margin-right: 15px;
    padding-right: 15px;
  }
  .header .top_addr {
    padding-left: 20px;
    font-size: 14px;
  }
  .header .top_phone {
    padding-left: 20px;  
    font-size: 14px;  
  }
  .menu_cars {
    column-gap: 15px;
  }
  .menu_items {
    column-gap: 15px;
  }
  .title_container {
    width: 90%;
  }
  .cars_items {
    padding: 80px 0 80px;
  }
  .car_content::before {
    top: -10px;
    left: 0;
  }
  .car_info {
    flex-direction: column;
  }
  .car_props {
    gap: 10px;
  }
  .car_gallery {
    width: 90vw !important;
    height: auto !important;
  }
  .car_btns {
    gap: 10px;
  }
  #instock {
    padding: 80px 0 80px;
  }
  .tb_complects_container {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .tradein_wrap {
    flex-direction: column;
  }
  .tradein_content {
    width: 100%;
    margin-bottom: 20px;
  }
  .tradein_images {
    width: 80%;

  }
  .credit {
    padding: 80px 0;
  }
  .credit_item {
    padding: 15px 15px 30px;
  }
  .credit_item:before {
    bottom: 9px;
    right: 9px;
  }
  .credit_content {
    padding: 28px;
  }

  .drive {
    padding: 80px 0;
  }
  .drive_content {
      padding: 28px;
  }

}

/*MOBILE BEGIN*/
@media (max-width: 767px) {
  html._scroll .top_wrap {
      display: none !important;
  }
  
  html:not(._scroll) .top_wrap {
      display: flex !important;
  }

  body {
    overflow-x: hidden;
  }

  .br_mob {
    display: block;
  }

  /*********************************************************************/
  .header {
    margin-top: 0;
  }
  .header .header_wrapper {
    flex-wrap: wrap;
    gap: 10px;
  }
  .top_wrap {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .header .m_btn {
    display: block;
    position: absolute;
    top: 22px;
    right: 25px;
    width: 30px;
    height: 22px;
    z-index: 1;
  }

  .header .m_btn span {
    position: absolute;
    display: block;
    width: 30px;
    height: 2px;
    background: #ffffff;
    transition: all .2s linear;
  }

  .header .m_btn span:nth-child(1) {
    top: 0;
  }

  .header .m_btn span:nth-child(2) {
    top: calc(50% - 2px);
    opacity: 1;
  }

  .header .m_btn span:nth-child(3) {
    bottom: 0;
  }

  .header .m_btn.active span:nth-child(1) {
    transform-origin: top right;
    transform: rotate(-47deg);
    top: 0;
  }

  .header .m_btn.active span:nth-child(2) {
    opacity: 0;
  }

  .header .m_btn.active span:nth-child(3) {
    transform-origin: bottom right;
    transform: rotate(45deg);
    bottom: -1px;
  }

  .header .menu {
    position: fixed;
    width: 100%;
    top: 85px;
    left: 100%;
    background: #1C2121;
    backdrop-filter: blur(10px);
    z-index: 10;
    height: auto;
    transition: all .2s linear;
    overflow: scroll;
  }

  .header .menu.active {
    left: 0;
  }

  .menu .menu_wrap {
    flex-direction: column;
    gap: 20px;
  }
  .menu_cars {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .menu_items {
    flex-direction: column;
    align-items: center;
    gap: 15px;    
  }

  /*********************************************************************/

  .banner {
    top: 0;
    position: relative;
    height: 100%;
    margin-top: 0;
  }

  .banner picture img {
    width: 100%;
    object-position: center bottom;
    margin-top: 90px;
  }

  .title_container {
    padding: 36px 20px 15px;
    width: 91%;
    margin: 0;
    top: 170px;
    left: 50%;
    backdrop-filter: blur(6px);
    align-items: center;
    margin-top: 0;
  }
  .banner_date {
    font-size: 20px;
  }
  .banner .title1 {
    font-size: 28px;
  }
  .banner .title2 {
    font-size: 28px;
  }

  /*********************************************************************/
  .timer {
    transform: scale(0.6);
  }
  .timer_wrap {
    align-items: center;
  }
  .timer_title {
    font-size: 30px;
  }
  #timer_form {
    flex-direction: column;
    align-items: center;
  }
  .timer_block .form-group,
  .timer_block .form-group.tel {
    width: 100%;
  }
  #timer_form .btn {
    width: 100%;
  }

  /*********************************************************************/
  .car_name {
    font-size: 30px;
  }
  .car_benefit {
    font-size: 18px;
  }
  .car_gallery {
    width: 80vw !important;  
  }
  .car_btns {
    flex-direction: column;
  }
  .cars_items .btn {
    flex: none;
    width: 100%;
  }
 /*********************************************************************/
 #filter_table {
  flex-direction: column;
  gap: 10px;
 }
 #filter_table .select_container {
    width: 100%;
 }
  #instock .swiper-slide {
    width: 100% !important;
  }

  .tb_complects>div {
    flex-direction: column;
    gap: 20px;
  }
  .main-car-image-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    max-height: 300px;
  }

  .tb_complects.swiper-enabled>div {
    flex-direction: row;
    gap: 0;
  }
  #instock .swiper-pagination {
    bottom: 30px !important;
  }
  #instock .swiper-button-prev, #instock .swiper-button-next {
    bottom: 10px !important;
  }

  /*********************************************************************/
  .tradein_wrap {
      flex-direction: column;
  }
  .tradein_images {
    width: 100%;
  }

  /*********************************************************************/
  .credit_wrap {
    flex-direction: column;
  }
  .credit_images {
    order: 2;
  }
  .credit_img img {
    width: 100%;
    height: auto;
  }
  .credit_item {
    padding: 15px 15px 50px;
  }
  /*********************************************************************/
  .drive_wrap {
    flex-direction: column;
  }
  .drive .swiper-pagination {
    justify-content: center;
  }
  .drive .swiper-pagination-bullet {
    width: 60px;
  }
  /*********************************************************************/

  .contacts {
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .contacts_wrap {
    position: relative;
    top: 0;
    margin-bottom: 20px;
  }

  .contacts_info {
    width: 100%;
    flex-direction: column;
  }

  .contacts .cont_wrap {
    gap: 10px;
    display: flex;
  }

  .contacts_wrap .btn {
    margin-top: 32px;
    width: 100%;
  }


  #map1 {
    height: 260px;
    width: 100%;
    order: 2;
  }
  #map1.map {
    display: none;
  }
  .map_mob {
    display: block;
    border-radius: 10px;
  }

  .footer_wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

}

@media (max-width: 560px) {
  .agree_field.custom-checkbox {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .header .header_wrapper {
    gap: 8px;
  }
  .banner picture img {
    margin-top: 80px;
  }
  .title_container {
    top: 180px;
  }
  .banner_date {
    font-size: 16px;
  }
  .banner .title1 {
      font-size: 21px;
  }
  .banner .title2 {
      font-size: 21px;
  }
  .timer_block {
    padding-bottom: 0;
  }
  .timer {
    transform: scale(0.5);
  }
  .timer_title {
    font-size: 20px;
  }
  .timer_form_wrap {
    margin-bottom: 0;
  }

  .block_title {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .block_comment {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .cars_items {
    padding: 40px 0 40px;
  }
  .cars_wrap {
        gap: 40px
  }
  .car_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }
  .car_content {
    padding: 20px;
  }
  .car_props {
      /* gap: 18px; */
  }
  .car_props > a {
    font-size: 18px;
  }
  .car_content::before {
    top: 34%;
  }
  #instock {
    padding: 40px 0 40px;
  }
  #instock .swiper-slide {
       max-height: 470px; 
  }
  .compl_wrap {
    padding: 20px;
  }
  .compl_name {
        align-items: center;
  }
  .compl_name span {
        font-size: 20px;
  }
  .techs_item > b {
        font-size: 18px;
  }
  .main-car-image-container {
   max-height: 240px;
  }

  #instock .swiper-button-prev, #instock .swiper-button-next {
    display: none !important;
  }
  #instock .swiper-pagination {
    justify-content: center;
  }
  .tradein .form_wrap {
    flex-direction: column;
    gap: 0;
  }
  .tradein_descr {
    font-size: 16px;
  }
  .tradein_images {
    grid-template-columns: 1fr; /* одна колонка на мобильных */
    grid-template-rows: repeat(2, auto); /* 6 строк вместо 3 */
  }
  .tradein_img.img2,
  .tradein_img.img3,
  .tradein_img.img4,
  .tradein_img.img5 {
    display: none;
  }

  .credit {
    padding: 40px 0;
  }
  .credit_content {
    padding: 30px 20px;
  }
  .credit_descr {
    font-size: 16px;
  }
  .credit_img img {
    border-radius: 10px;
  }
  .credit_items {
    position: relative;
    margin: 0;
    margin-top: 20px;
  }
  .drive {
    padding: 40px 0;
    background: #F4F4F4;
  }
  .drive_content {
    padding: 30px 20px
  }
  .drive_item {
    background: linear-gradient(155.36deg, #1A1B1F 0.93%, #38393D 116.19%);
  }
      .drive_descr {
        font-size: 16px;
    }
  .drive_info {
      position: relative;
      background: none;
      bottom: 0;
              margin: 0;
  }
  .drive .swiper-pagination {
    display: none !important
  }
  .contacts { 
   margin-top: 40px; 
  }
  .contacts_text  {
        font-size: 18px;
  }
  .contacts_wrap .btn {
    margin-top: 0;
  }
  
}

@media (max-width: 420px) {}

@media (max-width: 390px) {}

@media (max-width: 360px) {}