/* ST Fitness — абонемент «Тест-драйв» */

.st-testdrive {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 42px;
  background: #fcf2f4;
  border-radius: 18px;
  color: #202a33;
  font-family: 'Montserrat', Arial, sans-serif;
  max-width: 1200px;

}

.st-testdrive *,
.st-testdrive *::before,
.st-testdrive *::after {
  box-sizing: border-box;
}

.st-testdrive__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.58fr;
  gap: 38px;
  align-items: stretch;
}

.st-testdrive__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.st-testdrive__eyebrow {
  margin: 0 0 8px;
  color: #b43b65;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.5;
  text-transform: uppercase;
}

.st-testdrive__title {
  margin: 0 0 12px;
  color: inherit;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
}

.st-testdrive__description {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.5;
}

.st-testdrive__features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 26px;
}

.st-testdrive__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.st-testdrive__icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: #b43b65;
}

.st-testdrive__purchase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-left: 38px;
  border-left: 1px solid #e8cbd3;
}

.st-testdrive__price {
  margin: 0;
  color: #b43b65;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.st-testdrive__per-visit {
  margin: 8px 0 24px;
  font-size: 19px;
  line-height: 1.4;
}

.st-testdrive__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  padding: 15px 18px;
  border: 0;
  border-radius: 13px;
  background: #b43b65;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .2s ease;
}

.st-testdrive__button:hover {
  background: #982d52;
  color: #fff !important;
}

.st-testdrive__note {
  margin: 17px 0 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 960px) {
  .st-testdrive {
    padding: 30px;
  }

  .st-testdrive__inner {
    gap: 25px;
    grid-template-columns: minmax(0, 1fr) 0.6fr;
  }

  .st-testdrive__purchase {
    padding-left: 25px;
  }

  .st-testdrive__features {
    gap: 15px;
  }

  .st-testdrive__description {
    font-size: 17px;
  }

  .st-testdrive__feature {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .st-testdrive {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .st-testdrive__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .st-testdrive__eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .st-testdrive__title {
    font-size: 36px;
  }

  .st-testdrive__description {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .st-testdrive__features {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .st-testdrive__purchase {
    padding: 23px 0 0;
    border-top: 1px solid #e8cbd3;
    border-left: 0;
  }

  .st-testdrive__price {
    font-size: 46px;
  }

  .st-testdrive__per-visit {
    margin-bottom: 20px;
    font-size: 17px;
  }

  .st-testdrive__button {
    min-height: 56px;
    font-size: 15px;
  }
}


/* ST Fitness — карточки абонементов */

.st-prices {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  box-sizing: border-box;
  background: #fffdfa;
  color: #20232e;
  font-family: 'Montserrat', Arial, sans-serif;
}

.st-prices *,
.st-prices *::before,
.st-prices *::after {
  box-sizing: border-box;
}

.st-prices__header {
  margin: 0 0 6px;
  color: #20232e;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.st-prices__subtitle {
  margin: 0 0 24px;
  color: #88858a;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.st-prices__section + .st-prices__section {
  margin-top: 24px;
}

.st-prices__section-title {
  margin: 0 0 12px;
  color: #20232e;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.st-prices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.st-prices__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid #efd9df;
  border-radius: 16px;
  background: #fff7f6;
}

.st-prices__card--popular {
  padding-top: 52px;
  border-color: #c77e91;
  background: #c77e91;
  color: #fff;
}

.st-prices__card--best {
  padding-top: 52px;
  border-color: #8b7d7e;
  background: #8b7d7e;
  color: #fff;
}

.st-prices__badge {
  position: absolute;
  top: 10px;
  right: 8%;
  left: 8%;
  display: block;
  padding: 5px 10px;
  border-radius: 30px;
  background: #fff0f0;
  color: #a73c60;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.st-prices__card--best .st-prices__badge {
  color: #4e4648;
}

.st-prices__rhythm {
  margin: 0 0 5px;
  color: #88858a;
  font-size: 14px;
  line-height: 1.4;
}

.st-prices__card--popular .st-prices__rhythm,
.st-prices__card--best .st-prices__rhythm {
  color: rgba(255,255,255,.8);
}

.st-prices__name {
  margin: 0 0 6px;
  color: inherit;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
}

.st-prices__description {
  margin: 0 0 14px;
  color: #858188;
  font-size: 15px;
  line-height: 1.4;
}

.st-prices__card--popular .st-prices__description,
.st-prices__card--best .st-prices__description {
  color: rgba(255,255,255,.85);
}

.st-prices__price {
  margin: auto 0 10px;
  padding-top: 4px;
  color: inherit;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.st-prices__per-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #f0cbd4;
  border-radius: 12px;
  background: #ffe9ec;
  color: #a9345a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.st-prices__card--popular .st-prices__per-visit,
.st-prices__card--best .st-prices__per-visit {
  border-color: transparent;
  background: #fff0f0;
  color: #a9345a;
}

.st-prices__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: #c77e91;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}

.st-prices__button:hover {
  background: #ad5d76;
  color: #fff !important;
}

.st-prices__card--popular .st-prices__button,
.st-prices__card--best .st-prices__button {
  background: #fff0f0;
  color: #a9345a !important;
}

.st-prices__card--popular .st-prices__button:hover,
.st-prices__card--best .st-prices__button:hover {
  background: #fff;
}

@media (max-width: 900px) {
  .st-prices {
    padding: 24px;
  }

  .st-prices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .st-prices__card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .st-prices__card--popular,
  .st-prices__card--best {
    padding-top: 52px;
  }

  .st-prices__name {
    font-size: 25px;
  }
}

@media (max-width: 560px) {
  .st-prices {
    padding: 20px 14px;
  }

  .st-prices__header {
    font-size: 28px;
  }

  .st-prices__subtitle {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .st-prices__section-title {
    font-size: 21px;
  }

  .st-prices__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .st-prices__card,
  .st-prices__card--popular,
  .st-prices__card--best {
    padding: 22px;
  }

  .st-prices__card--popular,
  .st-prices__card--best {
    padding-top: 54px;
  }

  .st-prices__name {
    font-size: 28px;
  }

  .st-prices__price {
    font-size: 32px;
  }
}



/* Мобильное пролистывание абонементов ST Fitness */
@media screen and (max-width: 640px) {

  .st-prices .st-prices__grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;

    gap: 16px;
    padding: 12px 20px 24px;
    margin: 0 -20px;

    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .st-prices .st-prices__grid::-webkit-scrollbar {
    display: none;
  }

  .st-prices .st-prices__card {
    flex: 0 0 85% !important;
    width: 85% !important;
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
  }

  .st-prices .st-prices__section {
    overflow: visible;
  }
}
