.pricing-switch {
  background: white;
  border-radius: 9999px;
  display: inline-flex;
}

.pricing-switch .button {
  color: black;
  background: white;
}

.pricing-switch .button:hover {
  color: black;
  background: white;
}

.pricing-switch .button.selected {
  color: white;
  background: var(--red);
}

.pricing-footer {
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.package-column {
  position: relative;
  display: flex;
  flex-direction: column;

  flex: 1;
  width: 0;
}

.package-content {
  padding: 20px;
}

.package-name {
  font-size: 32px;
  text-align: center;
  margin-bottom: 16px;
}

.package-description {
  text-align: center;
  white-space: pre-wrap;
}

.package-price {
  position: relative;
  text-align: center;
  padding: 40px 0;
  margin: 0 -30px;
}

.package-price.package--priceless {
  font-size: 48px;
  letter-spacing: -2px;
  color: var(--pink);
  text-align: center;
  line-height: 64px;
}

.package-currency,
.package-payments {
  position: absolute;
  bottom: 40px;
}

.package-currency {
  margin-left: -8px;
}

.package-hr {
  border-color: var(--red);
}

/* .package-payments {
  margin-right: -20px;
} */

.package-value {
  position: relative;
  color: var(--red);
  font-size: 72px;
  line-height: 64px;
  letter-spacing: -8px;
}

/* .package-value::before {
  content: '$';
  position: absolute;
  right: 100%;
  font-size: 16px;
  color: #000;
} */

.package-note {
  position: absolute;
}

.package-buttons {
  /* display: flex; */
  margin-top: auto;

  /* position: sticky; */
  /* bottom: 0; */
}

.package-button {
  width: 100%;
  color: #fff;
  background: var(--red);
  text-transform: capitalize;
}

.package-button:hover {
  text-decoration: none;
}

.package-button:not(:only-child):first-child {
  color: #000 !important;
  background: transparent !important;
}

.button.button--black {
  color: #fff;
  background: #000;
}

.button.button--red {
  color: #fff;
  background: var(--red);
}

.button.button--green {
  color: #000;
  background: var(--green);
}

.button.button--yellow {
  color: #000;
  background: var(--yellow);
}

.button.button--pink {
  color: #000;
  background: var(--pink);
}

/* .package-button:not(:only-child):first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
} */

/* .package-button:not(:only-child):last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
} */

.package-features + .package-features {
  margin-top: 16px;
}

.package-feature {
  font-size: 14px;
  line-height: 28px;
}

.package-feature.underline {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #777;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* .package-feature {
  border-bottom: 1px dotted var(--red);
  cursor: pointer;
}

.package-feature:hover {
  border-bottom: 1px solid var(--red);
  cursor: pointer;
} */

/* .package-feature + .package-feature {
  margin-top: 4px;
} */

.package-f {
  position: relative;
}

.package-spoiler {
  font-size: 14px;
  /* margin-top: auto; */
  text-align: center;
  cursor: pointer;
}

.package-gradient {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  /* background: red; */
}

.package-more {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  text-align: center;
}

.package-more * {
  cursor: pointer;
}

.package-info {
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 16px;
  cursor: pointer;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
  background: #eee;
  margin-left: 8px;
}

.package-tooltip {
  position: relative;
  padding: 20px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  /* color: #fff; */
  /* background: #000; */
  color: #000;
  background: var(--pink);
  border-radius: 20px;

  width: max-content;
  max-width: 20vw;
}

/* .package-tooltip {
  position: absolute;
  width: 100%;
  top: 0;
} */

.package-tooltip::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: inherit;
  top: 100%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) rotate(45deg);
}

@media (max-width: 768px) {
  .pricing-switch {
    width: 100%;
  }

  .pricing-section {
    margin: 0 -20px;
    padding: 0 20px;
    overflow-x: auto;
  }

  .pricing-section::after {
    content: '';
    width: 20px;
    flex: none;
  }

  .package-column {
    flex: none;
    width: 100%;
    /* width: calc(100vw - 20px); */
  }
  .package-column + .package-column {
    margin: 0;
  }

  .package-content {
    padding: 20px;
  }

  .pricing-footer {
    text-align: justify;
  }

  .package-tooltip {
    width: 100%;
    max-width: initial;
  }
}
