.partners-page {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 80px;
}

.head--partners {
  position: relative;
  grid-template-columns: 53% 122px 1fr;
  background-color: #8666b2;
}

.head {
  display: grid;
  grid-template-rows: max-content;
  color: #fff;
}

.head__content--partners {
  align-self: center;
  padding-top: 96px;
  padding-bottom: 96px;
  padding-left: 120px;
}

.head__content {
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  /*padding-top: 47px;
  padding-bottom: 83px;*/
  padding-top: 30px;
  padding-bottom: 45px;
  /*padding-left: 108px;*/
  padding-left: 60px;
}

.head__title--mid {
  font-size: 35px;
}

.head__title {
  margin-top: 0;
  margin-bottom: 18px;
  font-weight: 400;
  font-size: 45px;
  line-height: 1.1;
  font-family: "Lato",Helvetica,Arial,sans-serif;
  color: #FFFFFF;
}

.head__text {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.4;
  color: #FFFFFF;
}

.head__button {
  margin-top: 30px;
}

@media (min-width: 1200px) {
  .button {
    position: relative;
    z-index: 0;
    overflow: hidden;
    outline: 0;
    transition: all .3s ease-in;
  }
}

.button--slim {
  padding: 12px 20px;
  font-size: 18px;
}

.button--purple {
  /*background-color: #715399 !important;*/
  background-color: #895EB9 !important;
}

.button--purple:hover, .button--purple:visited {
  color: #FFFFFF;
}

@media (min-width: 1200px) {
  .button--purple::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg,#715399 20%,#a36bdc);
    transition: transform .3s ease-in;
  }
}

.button {
  display: block;
  width: -moz-max-content;
  width: max-content;
  min-height: auto;
  padding: 15px 34px 17px;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.42;
  color: #fff;
  white-space: nowrap;
  background-color: #000;
  cursor: pointer;
}

.head__picture--partners {
  /*grid-column: 2/4;*/
  grid-column: 2/4 !important;
  /*opacity: 0.3;*/
}

.head__picture {
  grid-column: 1/-1;
  grid-row: 1;
  width: 100%;
  height: 100%;
}

.head__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

img {
  border-style: none;
  display: flex;
  max-width: 100%;
  height: auto;
}

.partners-page__addresses {
  gap: 40px;
  display: flex;
  flex-direction: column;
}

.partners-page__addresses-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.partners-page__addresses-city {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.1;
  color: #705399;
}

.partners-page__addresses-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.partners-page__addresses-item {
  position: relative;
  padding-left: 20px;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}

.partners-page__addresses-item::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #715399;
  border-radius: 50%;
}

.partners-page__addresses-company {
  font-weight: 500;
  color: #724ea3;
  font-size: 24px;
}

.cooperation {
  padding: 45px 60px;
  color: #fff;
  background-color: #9f79c2;
  background-image: url(./img/cooperation/bg.svg);
  background-repeat: no-repeat;
  background-position: right center;
}

.cooperation__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1100px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  row-gap: 26px;
}

.cooperation__title {
  max-width: 520px;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 900;
  font-size: 35px;
  line-height: 1.2;
  color: #FFFFFF;
  text-transform: none;
  text-align: left;
}

.cooperation__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.cooperation__item {
  position: relative;
  padding-left: 27px;
  font-size: 20px;
  line-height: 1;
  color: #FFFFFF;
}

.cooperation__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 13px;
  height: 22px;
  background-image: url(./img/icons/arrow-button-icon.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.partner-stores {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.partner-stores__head {
  display: grid;
  gap: 25px;
  grid-template-columns: 100%;
}

.partner-stores__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.42;
  font-family: "Lato",Helvetica,Arial,sans-serif;
}

.partner-stores__carousel {
  position: relative;
  max-width: 1230px;
}

.partner-stores__carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 0 50px;
}

@media (min-width: 1200px) {
  .partner-stores__carousel-wrapper {
    padding: 0;
  }
}

.partner-stores__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.partner-stores__item {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .partner-stores__item {
    flex: 0 0 50%;
  }
}

@media (min-width: 1200px) {
  .partner-stores__item {
    flex: 0 0 33.333%;
    padding: 0 60px;
  }
}

.partner-stores__logo {
  width: 100%;
  height: 139px;
  -o-object-fit: none;
  object-fit: none;
  -o-object-position: center;
  object-position: center;
}

.partner-stores__carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: 2px solid #715399;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #715399;
}

.partner-stores__carousel-btn:hover {
  background: #715399;
  color: #fff;
}

.partner-stores__carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.partner-stores__carousel-btn--prev {
  left: -24px;
}

.partner-stores__carousel-btn--next {
  right: -24px;
}

@media (max-width: 1199px) {
  .partner-stores__carousel-btn--prev {
    left: 10px;
  }

  .partner-stores__carousel-btn--next {
    right: 10px;
  }
}

.partner-stores__carousel-btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 767px) {
  .partners-page {
    gap: 60px;
  }

  .cooperation {
    padding: 15px 30px;
    background-image: none;
  }

  .cooperation__title {
    font-size: 30px;
  }

  .head__picture--partners {
    display: none;
  }

  .head {
    grid-template-columns: 100%;
  }

  .head__content--partners {
    padding: 30px 12px;
  }

  .head__title {
    font-size: 20px;
  }

  .head__text {
    font-size: 13px;
  }

  .button {
    padding: 11px;
    font-size: 13px;
  }

  .partners-page__addresses-inner, .partners-page__addresses-list {
    gap: 10px;
  }

  .partners-page__addresses-city, .partners-page__addresses-item, .partners-page__addresses-company {
    font-size: 19px;
  }

  .partner-stores__carousel-btn {
    width: 36px;
    height: 36px;
  }

  .partner-stores__carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .partner-stores__carousel-btn--prev {
    left: 5px;
  }

  .partner-stores__carousel-btn--next {
    right: 5px;
  }

  .partner-stores__title {
    font-size: 20px;
    text-transform: unset;
    text-align: left;
  }
}
