/* Variant B — horizontal plan rows */
body {
  background: #edf7fa;
}

.content {
  max-width: 1100px;
  border-radius: 24px;
  box-shadow: 0 22px 65px rgba(0, 73, 135, .2);
}

.content-padding {
  padding: 46px 48px 8px;
}

#payment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 10px 30px 34px;
}

.plan-card {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.5fr);
  overflow: hidden;
  border: 1px solid #d5e4ed;
  border-radius: 18px;
  box-shadow: 0 7px 22px rgba(0, 73, 135, .07);
}

.single-product-discount {
  display: none;
  width: fit-content;
  margin: 0 0 10px auto;
  padding: 6px 8px;
  align-items: center;
  gap: 6px;
  color: #315f7a;
  background: #f7fbfc;
  border: 1px solid #cbdde5;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 73, 135, .07);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.single-product-discount__mark {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #00a5b8;
  border-radius: 50%;
  font-size: 10px;
}

.single-product-discount__value {
  padding: 4px 6px;
  color: #a95000;
  background: #fff1df;
  border: 1px solid #ffc27e;
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: .04em;
}

.plan-card--silver {
  border: 2px solid #00a5b8;
  box-shadow: 0 12px 30px rgba(0, 165, 184, .15);
}

.plan-card--gold {
  border: 1px solid #d5e4ed;
  box-shadow: 0 7px 22px rgba(0, 73, 135, .07);
}

.plan-card__header,
.plan-card--gold .plan-card__header {
  min-height: 0;
  padding: 25px 26px;
  background: linear-gradient(145deg, #f4fafc, #e8f4f8);
  border-right: 1px solid #d8e7ef;
}

.plan-card--bronze .plan-card__header {
  border-left: 6px solid #b77a45;
}

.plan-card--silver .plan-card__header {
  position: relative;
  border-left: 6px solid #00a5b8;
  background: linear-gradient(145deg, #ecfafb, #dff5f7);
}

.plan-card--silver .plan-card__title,
.plan-card--silver .plan-card__description {
  padding-right: 66px;
}

.plan-card--gold .plan-card__header {
  border-left: 6px solid #d4a514;
  background: linear-gradient(145deg, #f4fafc, #e8f4f8);
}

.plan-card__title {
  margin: 4px 0 10px;
  font-size: 28px;
}

.plan-card__description {
  font-size: 14px;
  line-height: 1.45;
}

.mtd-plan-feature {
  display: none;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding-top: 11px;
  color: #006b78;
  border-top: 1px solid rgba(0, 165, 184, .22);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.mtd-plan-feature--visible {
  display: flex;
}

.mtd-plan-feature > span:last-child {
  white-space: nowrap;
}

.mtd-plan-feature__mark {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #ffffff;
  background: #00a5b8;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.plan-card__badge {
  top: 18px;
  right: 18px;
}

.plan-card__badge--most-popular {
  display: flex;
  top: 14px;
  right: 16px;
  width: 58px;
  height: 58px;
  color: #ffffff;
  padding: 6px;
  align-items: center;
  justify-content: center;
  background: #ff8600;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow:
    0 0 0 2px #ff8600,
    0 3px 8px rgba(255, 134, 0, .24);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
  transform: rotate(-8deg);
}

.plan-card__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  padding: 16px;
  background: #ffffff;
}

.billing-option {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  padding: 15px 17px;
  overflow: hidden;
  border: 1px solid #cfdee8;
  border-radius: 12px;
}

.billing-option:hover {
  border-color: #6dc7d1;
}

.billing-option.active {
  background: #effbfc;
  border: 2px solid #00a5b8;
  box-shadow: 0 0 0 3px rgba(0, 165, 184, .09);
}

.billing-option__price {
  margin-top: 10px;
}

.billing-option__price strong {
  font-size: 30px;
}

.billing-option__top {
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding-right: 0;
  padding-left: 0;
}

.billing-option--yearly .billing-option__value {
  position: absolute;
  top: 12px;
  right: -34px;
  z-index: 3;
  box-sizing: border-box;
  width: 112px;
  padding: 4px 0;
  color: #ffffff;
  background: #00a5b8;
  border-radius: 0;
  box-shadow: 0 2px 5px rgba(0, 73, 135, .15);
  font-size: 9px;
  letter-spacing: .03em;
  text-align: center;
  transform: rotate(45deg);
}

.billing-option .store-product-option-title {
  font-size: 0 !important;
  line-height: 0 !important;
}

.billing-option__promotion-period {
  padding: 4px 7px;
  color: #006b78;
  background: #d7f3f5;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.billing-option--promotional .billing-option__price {
  flex-wrap: wrap;
}

.billing-option__price-original {
  color: #7a8f9e;
  font-size: 17px;
  text-decoration-color: #d45c55;
  text-decoration-thickness: 2px;
}

.billing-option--promotional .billing-option__price strong {
  color: #008ba0;
}

.billing-option__promotion-note,
.billing-option__renewal-note {
  display: block;
}

.billing-option__promotion-note {
  color: #4f7187;
  font-weight: 600;
}

.billing-option__renewal-note {
  margin-top: 3px;
  color: #6f8797;
}

.billing-option__note {
  margin-top: 6px;
}

@media (max-width: 960px) {
  .plan-card {
    grid-template-columns: 1fr;
  }

  .plan-card__header,
  .plan-card--gold .plan-card__header {
    border-right: 0;
    border-bottom: 1px solid #d8e7ef;
  }
}

@media (max-width: 600px) {
  .content-padding {
    padding-right: 20px;
    padding-left: 20px;
  }

  #payment-options {
    margin-right: 12px;
    margin-left: 12px;
  }

  .plan-card__options {
    grid-template-columns: 1fr;
  }

}
