.catalog {
  margin-bottom: 11.6rem
}
.catalog__empty {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem
}
.catalog__empty-img {
  width: 33rem;
  margin-left: .9rem
}
.catalog__empty-text {
  width: 79.5rem;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.16
}
.catalog__empty-text p:not(:last-child) {
  margin-bottom: 2.6rem
}
.catalog__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem
}
.catalog__content {
  display: grid;
  /* grid-template-columns: repeat(3, calc(100% / 3 - 1.8rem)); */
  /* grid-template-columns: repeat(3,1fr); */
  grid-template-columns: repeat(4, calc(100% / 4 - 1.8rem));
  grid-gap: 2.7rem
}
.catalog__advertisement {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  /* padding: 3.2rem 2.3rem 6.3rem; */
  /* padding: 0 0 6.3rem; */
  background-color: #f8f8f8;
  border: 1px solid #c1c1c2;
  border-radius: 1.6rem;
  position: relative;
  /* border-radius: 1.6rem 1.6rem 0 0; */
  overflow: hidden;
}
.catalog__advertisement--padding {
  padding: 3.2rem 2.3rem 6.3rem;
}
.catalog__advertisement-slide {
  position: relative;
}
/* .catalog__advertisement-slide {
  display: flex;
  flex-flow: column;
} */
.catalog__advertisemen .swiper-wrapper {
  align-items: stretch;
}
.catalog__advertisement-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}
.catalog__advertisement-close svg {
  width: 1.4rem;
  height: 1.4rem
}
.catalog__advertisement-title {
  font-size: 2.4rem;
  font-weight: 600;
  /* color: #1e5d9d; */
  font-weight: 600;
  margin-bottom: 2.8rem
}
.catalog__advertisement-advantages {
  margin-bottom: 2rem;
  font-size: 1.6rem;
}
.catalog__advertisement-advantages-item {
  display: flex;
  align-items: center
}
.catalog__advertisement-advantages-item:not(:last-child) {
  margin-bottom: 2.5rem
}
.catalog__advertisement-advantages-img {
  width: 4rem;
  flex-shrink: 0;
  margin-right: 1.6rem
}
.catalog__advertisement-advantages-text {
  font-size: 1.8rem;
  line-height: 1.4
}
.catalog__advertisement-button {
  display: flex;
  flex-flow: column;
  gap: 4px;
  /* margin: auto .6rem 0; */
  width: 100%;
  padding: 14px 30px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.catalog__advertisement-butto .button {
  width: 100%;
}
.catalog__advertisement .form__content {
  margin-bottom: 2rem
}
.catalog__advertisement .form .label {
  margin-bottom: 3.2rem
}
.catalog__advertisement .form__button {
  width: 100%
}
.catalog__advertisement .form__privacy {
  font-size: 1.2rem
}
.catalog__advertisement .form__privacy a {
  color: #1e5d9d;
  text-decoration: none
}
.catalog__advertisement-img {
  height: 100%;
  /*
  max-height: 658px; */
  /* position: absolute;
  top: 0;
  left: 0; */
}
.catalog__advertisement-img img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.catalog__advertisement-content {
  display: flex;
  flex-flow: column;
  padding: 3rem 3rem 0;
  height: calc(100% - 25rem);
}
.catalog__advertisement-content .button {
  width: 100%;
  margin: auto 0 0 0;
}
.catalog__availability {
  display: flex;
  justify-content: space-between;
  gap: 30px
}
.catalog__availability-card {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
  border-radius: 16px;
  min-height: 226px
}
.catalog__availability-card .catalog__availability-img {
  width: 108px
}
.catalog__availability-card:nth-child(2) .catalog__availability-img {
  width: 97px
}
.catalog__availability-title {
  font-size: 2rem;
  font-style: normal;
  font-weight: 600;
  line-height: 116%;
  color: #1e5d9d;
  margin-top: 35px
}
/* @media only screen and (max-width: 1240px) {
  .catalog__advertisement-img {
    max-height: unset;
  }
} */
@media (max-width:48em) {
  .catalog {
    margin-bottom: 8rem;
    overflow: hidden
  }
  .catalog__empty {
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 2.3rem 0 8rem
  }
  .catalog__empty-img {
    order: +1;
    width: 100%;
    margin: 0
  }
  .catalog__empty-text {
    width: 100%;
    font-size: 3.6rem;
    line-height: 1.22;
    margin-bottom: 3.7rem
  }
  .catalog__empty-text p:not(:last-child) {
    margin-bottom: 4.5rem
  }
  .catalog__heading {
    display: block;
    margin-bottom: 5rem
  }
  .catalog__heading .select-text {
    font-size: 2.8rem
  }
  .catalog__content {
    display: flex;
    flex-direction: column;
    gap: 3rem
  }
  .catalog__advertisement {
    /* padding: 3.4rem 3rem 2.8rem; */
    /* padding: 0 0 2.8rem; */
    border-radius: 3.2rem
  }
  .catalog__advertisement-close {
    top: 2rem;
    right: 2rem;
    width: 6.8rem;
    height: 6.8rem
  }
  .catalog__advertisement-close svg {
    width: 2.8rem;
    height: 2.8rem
  }
  .catalog__advertisement-title {
    font-size: 2rem;
    /* font-size: 4rem; */
    /* margin-bottom: 4.3rem */
  }
  .catalog__advertisement-slide {
    height: auto;
  }
  .catalog__advertisement-advantages {
    width: 102%;
    margin-bottom: 6rem
  }
  .catalog__advertisement-advantages-item:not(:last-child) {
    margin-bottom: 5.5rem
  }
  .catalog__advertisement-advantages-img {
    width: 8rem;
    flex-shrink: 0;
    margin-right: 2rem
  }
  .catalog__advertisement-advantages-text {
    font-size: 3.2rem
  }
  .catalog__advertisement-button {
    margin: 0
  }
  .catalog__advertisement .form__content {
    margin-bottom: 4rem
  }
  .catalog__advertisement .form .label {
    margin-bottom: 2rem
  }
  .catalog__advertisement .form__button {
    margin: 0;
    font-size: 2.7rem
  }
  .catalog__advertisement .form__privacy {
    font-size: 2.1rem
  }
  .catalog__availability {
    flex-direction: column
  }
  .catalog__availability-card {
    min-height: 176px;
    padding: 40px 0
  }
  .catalog__availability-title {
    font-size: 3rem
  }
}

.catalog__item .catalog-button-prev {
  left: 0;
}
.catalog__item .catalog-button-next {
  right: 0;
}

.catalog__item .button--car-day {
  background-color: #FFFFFF;
  color: #1E5D9D;
}

.catalog__item .button--car-day:hover,
.catalog__item .button--car-day:active {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.form-sort .form-sort__item_carDay {
  background: #1E5D9D0D;
}

.catalog__advertisement-slide[data-code="kompaniya-dialog-avto-pervyy-onlayn-diler-chery-v-kazani"] .catalog__advertisement-button a.button {
  background-color: #F1117E;
  border: 1px solid transparent;
  color: #fff;
}
.catalog__advertisement-slide[data-code="kompaniya-dialog-avto-pervyy-onlayn-diler-chery-v-kazani"] .catalog__advertisement-button a.button:hover {
  background-color: transparent;
  border: 1px solid #fff;
}
.catalog__advertisement-slide[data-code="kompaniya-dialog-avto-pervyy-onlayn-diler-chery-v-kazani"] .catalog__advertisement-button button.button {
  background-color: #fff;
  color: #F1117E;
}
.catalog__advertisement-slide[data-code="kompaniya-dialog-avto-pervyy-onlayn-diler-chery-v-kazani"] .catalog__advertisement-button button.button:hover {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}