.plans {
  padding: 2.5rem 0;
}

.plans__titles {
  margin-bottom: 3.5rem;
}

.plans__flex {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.plans__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  -moz-column-gap: 2rem;
  column-gap: 2rem;
}


.plans__card {
  width: 340px;
  height: 670px;
  background-color: rgba(28, 33, 49);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1.5rem;
  padding: 1rem;
}

.plans__card_title {
  font-size: 1.25rem;
  line-height: 2rem;
  background-color: rgba(37, 44, 63);
  border-radius: .5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 2.5rem;
  padding: .55rem 0;
}

.plans__card_body {
  width: 100%;
  height: 50%;
  max-width: 270px;
  margin: 0 auto;
}


.plans__card_mo {
  font-size: 2.75rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: .90;
}

.plans__card_mo span {
  font-size: 1.75rem;
}

.plans__card_yr {
  /*font-size: 1.125rem;*/
  /*line-height: 1.75rem;*/
  /*color: #8B0000;*/
  font-weight: 400;
  /*text-align: center;
  margin-bottom: .7rem;*/
}

.plans__card_save {
  text-align: center;
  /*background-color: #66B7D8;rgba(37, 44, 63); */
  
  border: 1px solid #FFFFFF;
  border-radius: 0.5rem;
  
  padding: 12px 0;
  text-transform: uppercase;
  color: #FFFFFF;
  border-radius: .25rem;
  margin: 1.5rem auto 1.5rem auto;
  font-weight: 500;
}

.plans__card.card_white .plans__card_save {
  color: #000000;/*  rgb(28, 33, 49);*/
  background-color: #FFFFFF;
  /*border-color: rgba(218, 222, 232);*/
  border: 1px solid #000000;
  border-radius: 0.5rem;
}

.plans__card.lifetime .plans__card_save {
  border: 2px solid #64c4d7;
  box-shadow: 0 0 20px rgba(100, 196, 215, 0.5);
}
.plans__card_description {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: #fff;
}

.plans__card_list {
  margin-bottom: 0.9rem;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}

.plans__card_items {
  padding: 0 0 0 20px;
  list-style: none;
}

.plans__card_item {
  position: relative;
  font-size: .75rem;
  line-height: 1rem;
  color: #fff;
  display: flex;
}

.plans__card_item::before {
  content: "";
  background: url("../img/plans/checked.png") 0 0/cover no-repeat;
  position: absolute;
  width: 12px;
  height: 12px;
  left: -20px;
  top: 1.5px;
}

.plans__card_item:not(:last-child) {
  margin-bottom: .8rem;
}

.plans__card.card_white {
  background-color: #fff;
  border: 1px solid rgba(57, 66, 89, 1);

}

.plans__card.card_white .plans__card_title {
  background: rgb(0, 18, 184);
  background: linear-gradient(90deg, rgba(0, 18, 184, 1) 0%, rgba(0, 240, 255, 1) 100%);
}


.plans__card.card_white .plans__card_mo {
  color: rgb(19, 23, 34);
}




.plans__card.card_white .plans__card_description {
  color: rgb(19, 23, 34);
}

.plans__card.card_white .plans__card_list {
  color: rgb(19, 23, 34);
}

.plans__card.card_white .plans__card_item {
  color: rgb(19, 23, 34);
}

.plans__card_order {
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
}

.plans__card.card_white .plans__card_order {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}


.lifetime.highlight {
  border: 2px solid #64c4d7;
  box-shadow: 0 0 20px rgba(100, 196, 215, 0.5);
}


/* button */

.buttons_block {
  width: 100%;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
  margin-top: 15px;
  gap: 10px
}

.button__plans {
  width: 100%;
}

.offer-end {
  display: flex;
  justify-content: center;
  font-weight: 400;
  font-size: 22px;
  color: #FFC0CB;
  text-align: center;

}

.timer-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.timer_text {
  width: 330px;
  font-weight: 400;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
}

/* Увеличивает размер цифр в таймере 
.timer__hours,
.timer__minutes,
.timer__seconds {
  font-size: 2.5rem;
  font-weight: 700;
}
*/
.payment_order {
  width: 100%;
  height: 4.625rem;
  background: #fff;
  color: #5b79d8;
  display: flex;
  justify-content: left;
  padding-left: 1.40rem
}

.payment_order span {
  position: relative;
  font-size: 13px;
}

.payment_order span::before {
  content: url(/wp-content/themes/bfs/img/main/payments.png);
  position: absolute;
  top: -2px;
  right: -135px;
}

.monthly_order,
.quarterly_order,
.annual_order {
  width: 100%;
  height: 3.5rem;
  font-size: 13px;
  background: #fff;
  color: #5b79d8;
  margin-bottom: 10px;
}

.quarterly_order {
  border: 1px solid rgba(19, 23, 34, .2);
}

.plans__card .wspsc_add_cart_submit {
  height: 3.5rem;
  font-size: 13px;
}

.payment-method {
  margin-top: 70px;
}
.payment-method__images {
  background: url(../img/plans/payment_logo.png) no-repeat;
  width: 1050px;
  height: 78px;
  background-size: cover;
  margin: 0 auto 40px auto;

}
.payment-method__title {
  opacity: .5;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 700;
}
.payment-method__text {
  opacity: .5;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 18px;
  line-height: 150%;
}

.payment-method__text:not(:last-child) {
  margin-bottom: .8rem;
}

.thank_tv {
  width: 100%;
  max-width: 22rem;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.thank_tv .input-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.thank_tv .input-title span {
  font-size: 1.5rem;
  color: red;
  margin-left: 2px;
}

.thank_tv input {
  max-width: 22rem;
  height: 3.5rem;
}

.thank_tv input:not(:last-child) {
    margin-bottom: 5px;
}

.thank_tv .input-text {
  font-weight: 100;
  line-height: 1.2;
}

.thank_tv button {
  width: 100% !important;
  max-width: 22rem;
  height: 3.5rem;
}




/* Переопределение для десктопа */
@media (min-width: 91.9375em) {
  .swing__heading {
    font-family: "Space Grotesk", Roboto, sans-serif;
    font-weight: 700;
    font-size: 3.4625rem; /* ≈65px */
    line-height: 110%;
    margin-bottom: 1.25rem;
    max-width: 35.3125rem;
  }
  

}

/* Переопределение для мобайла */
@media (max-width: 47.99875em) {
  .swing__heading {
    font-family: "Space Grotesk", Roboto, sans-serif;
    font-weight: 700;
    font-size: 2.25rem; /* ≈36px */
    line-height: 1.2;
    margin-bottom: 1.25rem;
    max-width: 90%;
    text-align: center;
  }
}







@media (max-width: 61.99875em) {
  .button__plans {
    margin-top: 10px;
    height: 4rem;
    font-weight: 400;
  }
  
  .timer_text {
    width: 280px;
    font-size: 11px;
    margin-top: 5px;
  }

  .payment_order {
    padding-left: .85rem;
  }
  .payment_order span::before {
    content: url(/wp-content/themes/bfs/img/main/payments-mini.png);
    position: absolute;
    top: -2px;
    right: -103px;
  }

  .plans__titles {
    margin-bottom: 2.5rem;
  }

  .plans__cards {
    row-gap: 2rem;
    -moz-column-gap: 0rem;
    column-gap: 0rem;
  }



  .payment-method {
    margin-top: 40px;
  }
  .payment-method__images {
    width: 380px;
    height: 28px;
  }

  .payment-method__title {
    font-size: 18px;
    line-height: 150%;
  }
  .payment-method__text {
    font-size: 15px;
  }

  .thank_tv {
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    max-width: 18.5rem;
  }

}