theme-st-selling-plans.st-selling-plans {
  display: flex;
  gap: 12px;
  width: 100%;
  background: var(--st-selling-plans-bg, #fff);
  border-radius: var(--st-selling-plans-border-radius, 0);
  color: var(--st-selling-plans-text-color, rgb(var(--color-text)));
  min-width: 0;
}

.st-selling-plans__title {
  flex-shrink: 0;
  min-width: 0;
  color: var(--st-selling-plans-title-color, rgb(var(--color-text)));
  font-size: var(--st-selling-plans-title-size, 16px);
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
}

.st-selling-plans__options {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: var(--st-selling-plans-gap, 12px);
  min-width: 0;
}

.st-selling-plans__option {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: var(--st-selling-plans-radio-padding-y, 20px)
    var(--st-selling-plans-radio-padding-x, 18px);
  background: var(--st-selling-plans-option-bg, #e5e5e5);
  border: 1px solid var(--st-selling-plans-border-color, #e5e5e5);
  border-radius: var(--st-selling-plans-option-radius, 0);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease,
    opacity 150ms ease;
}

.st-selling-plans__option--subscribe {
  min-height: 206px;
}

.st-selling-plans__option.is-active {
  background: var(--st-selling-plans-option-bg-active, #fff);
  border-color: var(--st-selling-plans-border-color-active, #e5e5e5);
  opacity: 1;
}

.st-selling-plans__option:not(.is-active) {
  opacity: 0.6;
}

.st-selling-plans__option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.st-selling-plans__radio-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.st-selling-plans__radio-row--subscribe {
  padding-top: 1px;
}

.st-selling-plans__radio-control {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
}

.st-selling-plans__radio-control input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--st-selling-plans-text-color, #111);
}

.st-selling-plans__text {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: flex-start;
  min-width: 0;
  color: var(--st-selling-plans-text-color, rgb(var(--color-text)));
  font-size: var(--st-selling-plans-text-size, 18px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.st-selling-plans__subscribe-label,
.st-selling-plans__discount-inline {
  line-height: 1.5;
}

.st-selling-plans__discount-inline {
  display: none;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--st-selling-plans-tag-color, rgb(var(--color-text)));
  border-radius: var(--st-selling-plans-tag-radius, 0);
}

.st-selling-plans__discount-inline.has-value {
  display: inline;
}

.st-selling-plans__price-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
  flex-shrink: 0;
}

.st-selling-plans__price-group--one-time {
  flex-direction: row;
  gap: 8px;
  align-items: baseline;
}

.st-selling-plans__price {
  color: var(--st-selling-plans-price-color, rgb(var(--color-text)));
  font-size: var(--st-selling-plans-price-size, 36px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.st-selling-plans__price--origin {
  color: var(--st-selling-plans-muted-color, #807e78);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: line-through;
}

.st-selling-plans__price-group--one-time.has-discount .st-selling-plans__price--one-time-sale {
  color: var(--st-selling-plans-one-time-sale-color, var(--st-selling-plans-price-color, rgb(var(--color-text))));
}

.st-selling-plans__price--one-time-origin {
  color: var(--st-selling-plans-one-time-origin-color, var(--st-selling-plans-muted-color, #807e78));
  font-size: var(--st-selling-plans-one-time-origin-size, 18px);
  text-decoration-color: var(--st-selling-plans-one-time-origin-strike-color, currentColor);
}

.st-selling-plans__subscribe-details {
  display: block;
  padding-top: 0;
}

.st-selling-plans__benefits {
  margin: -2px 0 0;
  color: var(--st-selling-plans-text-color, rgb(var(--color-text)));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  padding-left: 42px;
}

.st-selling-plans__benefits ul {
  margin: 0;
  padding-left: 21px;
}

.st-selling-plans__benefits li + li {
  margin-top: 0;
}

.st-selling-plans__frequency-label {
  margin-top: 12px;
  color: var(--st-selling-plans-text-color, rgb(var(--color-text)));
  font-size: var(--st-selling-plans-text-size, 18px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.st-selling-plans__select-wrap {
  display: block;
  margin-top: 3px;
  position: relative;
}

.st-selling-plans__select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--st-selling-plans-select-color, #545f71);
  pointer-events: none;
  transform: translateY(-60%) rotate(45deg);
}

.st-selling-plans__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 47px;
  padding: 12px 40px 12px 12px;
  border: 1px solid var(--st-selling-plans-select-border-color, #e5e5e5);
  border-radius: 6px;
  background: var(--st-selling-plans-select-bg, #fff);
  color: var(--st-selling-plans-select-color, #545f71);
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.02em;
}

.st-selling-plans__option--subscribe {
  padding-bottom: 24px;
}

@media (max-width: 959px) {
  .st-selling-plans__title {
    font-size: var(--st-selling-plans-title-size-mobile, 16px);
  }

  .st-selling-plans__option {
    padding: 16px 14px;
  }

  .st-selling-plans__option--subscribe {
    min-height: 206px;
  }

  .st-selling-plans__option-head {
    gap: 12px;
  }

  .st-selling-plans__text,
  .st-selling-plans__frequency-label {
    font-size: var(--st-selling-plans-text-size-mobile, 16px);
  }

  .st-selling-plans__price {
    font-size: var(--st-selling-plans-price-size-mobile, 24px);
  }

  .st-selling-plans__price--origin {
    font-size: 15px;
  }

  .st-selling-plans__price--one-time-origin {
    font-size: var(--st-selling-plans-one-time-origin-size-mobile, 15px);
  }

  .st-selling-plans__benefits {
    font-size: 13px;
  }
}
