/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"); */

@font-face {
  font-family: "Tactic Sans";
  src: url(../fonts/TacticSans-Reg.woff), local("Tactic Sans"),
    local("TacticSans");
  font-weight: 400;
}

@font-face {
  font-family: "Tactic Sans";
  src: url(../fonts/TacticSans-Medium.woff), local("Tactic Sans"),
    local("TacticSans");
  font-weight: 500;
}

@font-face {
  font-family: "Tactic Sans";
  src: url(../fonts/TacticSans-Bold.woff), local("Tactic Sans"),
    local("TacticSans");
  font-weight: 700;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter_24pt-Bold.woff2) format("woff2");
  font-weight: 700;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter_24pt-SemiBold.woff2) format("woff2");
  font-weight: 600;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter_24pt-Medium.woff2) format("woff2");
  font-weight: 500;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter_24pt-Light.woff2) format("woff2");
  font-weight: 300;
}


.container {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
  height: 100%;
}

:root {
  --primary: #b91b23;
  --secondary: #272c38;
}

html {
  scroll-behavior: smooth;
}

body,
* {
  font-family: "Inter";
  /* scroll-margin-top: 50px; */
}

.d-none {
    display: none !important;
}

.btn {
  background: none;
  border: none;
  border-radius: 8px;
  color: #fff;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.input {
  background: none;
  border: none;
  box-shadow: none;
  color: #a0aec0;
  border-bottom: 2px solid #a0aec0;
  text-align: center;
  height: 42px;
  font-size: 16px;
}

.input-secondary {
  border: none;
  border-radius: 8px;
  height: 50px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
  background-color: var(--secondary);
}

.header {
  background-color: #000;
  height: 100px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 3;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.header__info {
  display: flex;
  align-items: center;
  gap: 50px;
}
.header__info li {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.header__btn {
  height: 34px;
  width: 162px;
  font-size: 16px;
}

.header__tel {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.burger-menu {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  height: 450px;
  background-image: url(../img/hero.webp);
  background-size: cover;
  background-position: center;
  margin-top: 100px;
  color: #fff;
  font-family: "Tactic Sans", "Inter", sans-serif;
}

.hero__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 0 34px;
}

.hero__heading {
  font-size: 51px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__heading strong {
  font-size: 56px;
  display: block;
  margin-bottom: 24px;
}

.hero__list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.hero__list li {
  font-size: 31px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__list li::before {
  content: url(../img/list-arrow.svg);
}

.hero__list li span {
  font-weight: 500;
}

.actions__inner {
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  gap: 35px;
}

.action-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.action-timer__title {
  color: var(--primary);
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 600;
}

.action-timer__title span {
  display: block;
  font-size: 50px;
  margin-top: 10px;
}

.actions__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.actions-item {
  width: 256px;
  height: 56px;
  gap: 20px;
  font-size: 14px;
  text-align: center;
}

.choose-your-chery {
  height: 100px;
  background-color: var(--secondary);
  color: #fff;
  text-transform: uppercase;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.models {
  overflow: hidden;
}

.brand-section {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand-section__title {
  font-size: 70px;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 30px;
  position: relative;
  /* margin-bottom: 40px; */
}

.brand-section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: calc(100% + (100vw - 1280px) / 2);
  background-color: var(--secondary);
}

.model-card {
  position: relative;
  padding: 25px 54px 50px 40px;
  display: grid;
  grid-template:
    "title title gallery"
    "benefits main-image gallery"
    "buttons prices gallery";
  grid-template-columns: 520px auto 128px;
  align-content: space-between;
  column-gap: 40px;
  /* height: 514px; */
  height: fit-content;
}

.model-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.model-card span {
  color: var(--primary);
  font-weight: 700;
}

.model-card__title {
  grid-area: title;

  font-size: 55px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
}

.model-card__gallery {
  grid-area: gallery;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.model-card__gallery-item {
  height: 90px;
  width: 100%;
  background-color: var(--secondary);
}

.model-card__gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.model-card__main-image {
  grid-area: main-image;

  width: 440px;
  max-height: 260px;
  margin-left: auto;
}

.model-card__main-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right;
}

/* @media screen and (min-width: 800px) {
    .model-card__main-image img {
        transform: scaleX(-1);
    }
} */

.model-card__benefits {
  grid-area: benefits;

  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}

.model-card__benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  position: relative;
}

.model-card__benefits li::before {
  content: "";
  width: 33px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateX(-100%);
  background-color: #000;
}

.model-card__benefits li svg {
    width: 22px;
}

.model-card__buttons {
  grid-area: buttons;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-card__buttons .btn {
  width: 100%;
  height: 54px;
  font-size: 22px;
  font-weight: 700;
}

.model-card__prices {
  grid-area: prices;

  padding-left: 38px;
  height: 124px;
  border-left: 3px solid var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
}

.model-card__prices .old-price {
  color: #757575;
  font-size: 18px;
}

.model-card__prices .new-price {
  font-size: 34px;
}

.model-card__prices .credit-price {
  font-size: 23px;
}

.section {
  margin-top: 90px;
}

.section-title {
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.filter {
  display: flex;
  width: 700px;
  gap: 10px;
}

.select2-container--default .select2-selection--single {
    height: 66px;
    border-radius: 4px;
    border: 0;
    background-color: #f2f2f2;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    color: #000;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    width: 46px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--primary) transparent transparent;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--primary) transparent;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary);
}

.equipments__list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.equipment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 220px;
  padding: 0 50px;
  border-bottom: 1px solid var(--secondary);
}

.equipment-card__image {
  width: 330px;
}

.equipment-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.equipment-card__info {
  display: grid;
  grid-template:
    "model price"
    "specifications credit"
    "specifications benefit";
  gap: 30px 50px;
  /* justify-content: center; */
  width: 500px;
}

.equipment-card__model {
  grid-area: model;

  font-size: 24px;
  font-weight: 500;
}

.equipment-card__price {
  grid-area: price;

  font-size: 20px;
  margin-left: auto;
}

.equipment-card__price span {
  font-weight: 600;
  font-size: 22px;
}

.equipment-card__specifications {
  grid-area: specifications;

  display: flex;
  flex-direction: column;
  gap: 15px;
}

.equipment-card__specifications li {
  display: flex;
  align-items: center;
  gap: 9px;
}

@media screen and (min-width: 800px) {
    .equipment-card__specifications li:first-child {
        font-weight: 700;
    }
}

.equipment-card__credit {
  grid-area: credit;

  font-size: 13px;
  margin-left: auto;
}

.equipment-card__credit span {
  font-size: 18px;
  font-weight: 600;
}

.equipment-card__benefit {
  grid-area: benefit;

  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  text-align: right;
  font-weight: 500;
  margin-left: auto;
}

.equipment-card__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 264px;
}

.equipment-card__buttons .btn {
  width: 100%;
  height: 40px;
  font-size: 18px;
  font-weight: 500;
}

.credit__inner {
  height: 490px;
  box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.credit__bg {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url(../img/credit.webp);
    background-size: cover;
}

.credit__content {
  height: 100%;
  width: 566px;
  background-color: #ffffffee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 34px 48px;
}

.credit__title {
  font-size: 40px;
  font-weight: 700;
}

.credit__terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 60px;
}

.credit__terms li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
}

.credit__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.credit__form .btn {
  height: 50px;
}

.agreement {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agreement a {
  text-decoration: underline;
}
.contacts{
    position: relative;
}
.contacts__logo {
  width: 100px;
}

.contacts__logo img {
  width: 100%;
}

.contacts__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}

.contacts__form .btn {
  border-radius: 0;
  height: 32px;
  font-size: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  text-decoration: underline;
}
#map{
    width: 100%;
    height: 400px;
    margin-top: 15px;
}

.footer__text {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
}

.modal {
  width: 500px;
  height: 300px;
  padding: 0;
  display: none;
}

.modal__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

@media screen and (max-width: 800px) {
  .container {
    max-width: calc(100% - 30px);
  }

  * {
      scroll-margin-top: 65px;
  }

  .header {
    height: auto;
    overflow: hidden;
  }

  .header__inner {
    flex-direction: column;
    gap: 17px;
    padding: 24px 0 14px;
    position: relative;
    height: auto;
    justify-content: flex-start;
  }

  .header__info li:not(:nth-child(2)) {
    display: none;
  }

  .header__tel {
    font-size: 16px;
  }

  .header__tel svg {
      width: 14px;
  }

  .header__btn {
    order: 1;
    height: 24px;
    width: 180px;
    font-size: 15px;
  }

  .header.opened {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
  }

  .header.opened > .container {
    height: auto;
  }

  .burger-menu {
    position: absolute;
    right: 15px;
    top: 15px;
  }

  .burger-menu {
    display: block;
  }

  .burger-menu span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.3s;
    transform-origin: left;
  }

  .burger-menu span + span {
    margin-top: 7px;
  }

  .header.opened .burger-menu span:first-child {
    transform: rotate(45deg);
  }

  .header.opened .burger-menu span:last-child {
    transform: rotate(-45deg);
    margin-top: 13px;
  }

  .mobile-menu {
    display: block;
    transition: all 0.3s;
    font-weight: 300;
    transform: translateY(-100%);
    height: 0;
    overflow: hidden;
  }

  .header.opened .mobile-menu {
    height: 100%;
    transform: none;
    background-color: #2C2C2C;
  }

  .mobile-menu__logo {
    margin-top: 14px;
    margin-left: 11px;
  }

  .mobile-menu ul:not(.mobile-menu__list) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
  }

  .mobile-menu ul li {
    text-align: center;
    font-size: 20px;
    line-height: 24px;
    color: #fff;
  }

  .mobile-menu__list {
    margin-top: 19px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-menu__list .mobile-menu__link {
    font-family: 'Tactic Sans', sans-serif;
  }

  .mobile-menu__list .mobile-menu__link-text {
    font-family: 'Tactic Sans', sans-serif;
  }

  .folding > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .folding.active > span {
    color: #b91b23;
  }

  .folding.inactive > span {
    color: #4d4d4d;
  }

  .folding > span svg {
    transition: all 0.3s;
  }

  .folding.opened > span svg {
    transform: rotateZ(180deg);
  }

  .folding > ul {
    transition: all 0.3s;
  }

  .folding.opened > ul {
    height: auto;
    margin: 10px 0;
  }

  .folding_brand ul li {
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
  }

  .hero {
    margin-top: 95px;
    height: 380px;
    background-image: url(../img/hero-mob.webp);
  }

  .hero__inner {
    justify-content: flex-start;
    gap: 30px;
    padding-top: 16px;
    padding-bottom: 0;
  }

  .hero__heading {
    font-size: 18px;
  }

  .hero__heading strong {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .hero__list {
    gap: 12px;
  }

  .hero__list li {
    font-size: 16px;
    gap: 8px;
  }

  .hero__list li::before {
    content: "";
    width: 8px;
    height: 8px;
    background-image: url(../img/list-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .actions__inner {
    padding: 25px 0;
  }

  .action-timer {
    display: none;
  }

  .actions__list {
    flex-direction: column;
    gap: 20px;
  }

  .actions-item {
    width: 100%;
    height: 56px;
  }

  .section {
    margin-top: 60px;
    /* scroll-margin-top: 65px; */
  }

  .section-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .choose-your-chery {
    height: 94px;
    font-size: 20px;
  }

  .brand-section {
    margin-top: 60px;
  }

  .brand-section__title {
    font-size: 30px;
    padding-bottom: 12px;
    /* margin-bottom: 22px; */
  }

  .brand-section__title::after {
    height: 1px;
    width: calc(100% + 15px);
  }

  .model-card {
    padding: 0;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .model-card::after {
      background: #000;
  }

  .model-card__title {
    font-size: 25px;
  }

  .model-card__main-image {
    width: 100%;
    margin-top: 20px;
    max-height: unset;
  }

  .model-card__main-image img {
      transform: scaleX(-1);
  }

  .model-card__gallery {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    height: 52px;
  }

  .model-card__gallery-item {
    height: 100%;
    width: 100%;
  }

  .model-card__benefits {
    padding-left: 16px;
    gap: 10px;
    margin-top: 28px;
  }

  .model-card__benefits li {
    font-size: 18px;
  }

  .model-card__benefits li svg {
    width: 16px;
  }

  .model-card__benefits li::before {
    height: 1px;
    width: 12px;
  }

  .model-card__buttons {
      gap: 12px;
  }

  .model-card__prices {
    margin-top: 10px;
    padding: 0;
    border: 0;
  }

  .model-card__prices .new-price {
    font-size: 30px;
  }

  .model-card__prices .credit-price {
    font-size: 21px;
  }

  .filter {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .equipment-card {
    height: auto;
    padding: 34px 0 10px;
    flex-direction: column;
    align-items: center;
  }

  .equipment-card__image {
    width: 270px;
  }

  .equipment-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
  }

  .equipment-card__specifications {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
  }

  .equipment-card__specifications svg {
    display: none;
  }

  .equipment-card__specifications li {
    gap: 5px;
  }

  .equipment-card__specifications li:not(:first-child)::before {
    content: "/";
  }

  .equipment-card__benefit {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
  }

  .equipment-card__benefit br {
    display: none;
  }

  .equipment-card__price {
    margin: 0;
    font-size: 23px;
  }

  .equipment-card__price span {
    font-size: 23px;
  }

  .equipment-card__credit {
    margin: 0;
    font-size: 18px;
  }

  .equipment-card__credit span {
    font-size: 22px;
  }

  .equipment-card__buttons {
    width: 100%;
    margin-top: 12px;
  }

  .credit > .container {
    max-width: 100%;
  }

  .credit__inner {
    height: auto;
    /* padding-top: 158px; */
  }

  .credit__bg {
      position: static;
      height: auto;
      aspect-ratio: 360/160;
      background-image: url(../img/credit-mob.webp);
  }

  .credit__content {
    width: 100%;
    height: 304px;
    padding: 8px 15px 20px;
    gap: 12px;
  }

  .credit__title {
    font-size: 29px;
  }

  .credit__terms {
    gap: 10px 0;
    grid-template-columns: repeat(2, minmax(1fr, max-content));
  }

  .credit__terms li {
    font-size: 12px;
  }

  .credit__terms li img {
    width: 14px;
  }

  .input-secondary {
    height: 36px;
    font-weight: 500;
  }

  .credit__form {
    gap: 12px;
  }

  .credit__form .btn {
    height: 36px;
    font-size: 20px;
  }

  .agreement {
    font-size: 12px;
  }

  .contacts__logo {
    margin: 0 auto;
  }

  .contacts__title {
    display: block;
    margin: 5px auto 0;
    text-align: center;

  }

  .menu__info-list {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    padding-top: 35px;
  }
  .menu__info-list-item {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    text-align: center;
    align-items: center;
  }
  .menu__info-list-value {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
  }
  .menu__info-list-value a {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
  }
}


.filtered-hide,
.showmore-hide {
    display: none !important;
}

.js--show-more {
    display: block;
    margin: 10px auto;
    width: 140px;
    height: 34px;
}

.btn-footer {
    height: 32px;
    border-radius: 0;
    margin-bottom: 30px;
}
.d-none {
    display: none;
}