.thee-managed-pricing,
.thee-managed-pricing * {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif !important;
}

.thee-managed-pricing {
  width: 100%;
  background: #ffffff;
  color: #111111;
  padding: 70px 24px 40px;
}

.thee-managed-pricing .thee-pricing__container {
  width: min(1400px, 100%);
  margin: 0 auto;
}

.thee-managed-pricing .thee-pricing__title {
  margin: 0 auto;
  max-width: 1100px;
  text-align: center;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.5px;
}

.thee-managed-pricing .thee-pricing__filters {
  margin-top: 70px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.thee-managed-pricing .thee-select-wrap {
  position: relative;
  width: 300px;
  max-width: 100%;
}

.thee-managed-pricing .thee-select {
  width: 100%;
  height: 62px;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid #222222;
  border-radius: 999px;
  padding: 0 55px 0 28px;
  color: #111111;
  font-size: 17px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.thee-managed-pricing .thee-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.thee-managed-pricing .thee-select--red {
  color: #ff123e;
  border-color: #ff123e;
}

.thee-managed-pricing .thee-select-wrap--red::after {
  border-color: #ff123e;
}

.thee-managed-pricing .thee-select:hover,
.thee-managed-pricing .thee-select:focus {
  border-color: #ff123e;
  box-shadow: 0 0 0 4px rgba(255, 18, 62, .08);
}

.thee-managed-pricing .thee-pricing__carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 14px;
}

.thee-managed-pricing .thee-pricing__grid {
  --pricing-visible: 3;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--pricing-visible) - 1) * 18px) / var(--pricing-visible));
  min-width: 0;
  gap: 18px;
  padding: 12px 8px 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.thee-managed-pricing .thee-pricing__grid::-webkit-scrollbar {
  display: none;
}

.thee-managed-pricing .thee-pricing__grid:focus-visible {
  outline: 2px solid #ff123e;
  outline-offset: 2px;
  border-radius: 10px;
}

.thee-managed-pricing .thee-pricing__arrow {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #333;
  border-radius: 50%;
  color: #fff;
  background: #333;
  cursor: pointer;
  transition: background-color .2s ease, opacity .2s ease;
}

.thee-managed-pricing .thee-pricing__arrow--prev {
  grid-column: 1;
  grid-row: 1;
}

.thee-managed-pricing .thee-pricing__arrow--next {
  grid-column: 3;
  grid-row: 1;
}

.thee-managed-pricing .thee-pricing__arrow:hover:not(:disabled) {
  border-color: #ff123e;
  background: #ff123e;
}

.thee-managed-pricing .thee-pricing__arrow:disabled {
  opacity: .3;
  cursor: default;
}

.thee-managed-pricing .thee-pricing__arrow:focus-visible {
  outline: 2px solid #ff123e;
  outline-offset: 4px;
}

.thee-managed-pricing .thee-pricing__arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thee-managed-pricing .thee-pricing__position {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: #737373;
  font-size: 13px;
  text-align: center;
}

.thee-managed-pricing .thee-plan-card {
  min-height: 720px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 46px 36px 34px;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .11);
  transition: transform .3s ease, box-shadow .3s ease;
}

.thee-managed-pricing .thee-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

.thee-managed-pricing .thee-plan-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.thee-managed-pricing .thee-plan-card__name {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 600;
}

.thee-managed-pricing .thee-plan-card__save {
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffe4ea;
  color: #ff123e;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.thee-managed-pricing .thee-plan-card__price {
  margin-top: 28px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.thee-managed-pricing .thee-plan-card__monthly {
  margin: 10px 0 0;
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.4;
}

.thee-managed-pricing .thee-price-value {
  font-size: 36px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1px;
}

.thee-managed-pricing .thee-price-period {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 500;
}

.thee-managed-pricing .thee-plan-card__description {
  margin: 28px 0 0;
  color: #6f6f6f;
  font-size: 23px;
  line-height: 1.5;
  font-weight: 400;
}

.thee-managed-pricing .thee-plan-card__separator {
  width: 100%;
  height: 1px;
  margin: 30px 0;
  background: #a0a0a0;
}

.thee-managed-pricing .thee-plan-card__features {
  color: #111111;
  font-size: 23px;
}

.thee-managed-pricing .thee-plan-card__features strong {
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 600;
}

.thee-managed-pricing .thee-plan-card__features ul {
  margin: 0;
  padding-left: 28px;
}

.thee-managed-pricing .thee-plan-card__features li {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 400;
}

.thee-managed-pricing .thee-plan-card__actions {
  margin-top: auto;
  padding-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thee-managed-pricing .thee-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.thee-managed-pricing .thee-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.thee-managed-pricing .thee-button--primary {
  border: 1px solid #ff123e;
  background: #ff123e;
  color: #ffffff;
}

.thee-managed-pricing .thee-button--primary:hover:not(:disabled) {
  background: #e90031;
  border-color: #e90031;
  box-shadow: 0 8px 22px rgba(255, 18, 62, .25);
}

.thee-managed-pricing .thee-button--secondary {
  border: 1px solid #ff123e;
  background: #ffffff;
  color: #ff123e;
}

.thee-managed-pricing .thee-button--secondary:hover:not(:disabled) {
  background: #ff123e;
  color: #ffffff;
}

.thee-managed-pricing .thee-pricing__legal {
  margin: 46px auto 0;
  max-width: 900px;
  text-align: center;
  color: #555555;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}

.thee-managed-pricing .thee-plan-card {
  opacity: 0;
  transform: translateY(22px);
  animation: theePricingCardEntrance .7s cubic-bezier(.2, .7, .2, 1) forwards;
}

.thee-managed-pricing .thee-plan-card:nth-child(1) {
  animation-delay: .08s;
}

.thee-managed-pricing .thee-plan-card:nth-child(2) {
  animation-delay: .16s;
}

.thee-managed-pricing .thee-plan-card:nth-child(3) {
  animation-delay: .24s;
}

@keyframes theePricingCardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .thee-managed-pricing .thee-pricing__title {
    font-size: 44px;
  }

  .thee-managed-pricing .thee-pricing__grid {
    --pricing-visible: 2;
  }

  .thee-managed-pricing .thee-plan-card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .thee-managed-pricing {
    padding: 42px 16px 28px;
  }

  .thee-managed-pricing .thee-pricing__title {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: -.5px;
  }

  .thee-managed-pricing .thee-pricing__filters {
    margin-top: 38px;
    margin-bottom: 34px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .thee-managed-pricing .thee-select-wrap {
    width: 100%;
  }

  .thee-managed-pricing .thee-select {
    height: 54px;
    font-size: 17px;
    padding-left: 22px;
  }

  .thee-managed-pricing .thee-pricing__grid {
    --pricing-visible: 1;
    grid-column: 1 / -1;
  }

  .thee-managed-pricing .thee-pricing__arrow--prev,
  .thee-managed-pricing .thee-pricing__arrow--next {
    grid-row: 2;
  }

  .thee-managed-pricing .thee-plan-card {
    min-height: auto;
    padding: 30px 22px 26px;
  }

  .thee-managed-pricing .thee-plan-card__name {
    font-size: 17px;
  }

  .thee-managed-pricing .thee-plan-card__save {
    font-size: 11px;
    padding: 7px 11px;
  }

  .thee-managed-pricing .thee-plan-card__price {
    margin-top: 22px;
  }

  .thee-managed-pricing .thee-price-value {
    font-size: 29px;
  }

  .thee-managed-pricing .thee-price-period {
    font-size: 17px;
  }

  .thee-managed-pricing .thee-plan-card__description {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.5;
  }

  .thee-managed-pricing .thee-plan-card__separator {
    margin: 24px 0;
  }

  .thee-managed-pricing .thee-plan-card__features {
    font-size: 17px;
  }

  .thee-managed-pricing .thee-plan-card__features strong {
    font-size: 17px;
  }

  .thee-managed-pricing .thee-plan-card__features li {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.4;
  }

  .thee-managed-pricing .thee-plan-card__actions {
    padding-top: 30px;
    gap: 12px;
  }

  .thee-managed-pricing .thee-button {
    min-height: 54px;
    font-size: 17px;
  }

  .thee-managed-pricing .thee-pricing__legal {
    margin-top: 30px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .thee-managed-pricing {
    padding-left: 12px;
    padding-right: 12px;
  }

  .thee-managed-pricing .thee-plan-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.thee-managed-pricing .thee-plan-card {
  --plan-color: #ff123e;
  min-width: 0;
}

.thee-managed-pricing [data-package-type="business"] {
  --plan-color: #36a8d8;
}

.thee-managed-pricing [data-package-type="patients"] {
  --plan-color: #43aa20;
}

.thee-managed-pricing .thee-button--primary {
  border-color: var(--plan-color);
  background: var(--plan-color);
}

.thee-managed-pricing .thee-button--secondary {
  border-color: var(--plan-color);
  color: var(--plan-color);
}

.thee-managed-pricing .thee-button--primary:hover:not(:disabled),
.thee-managed-pricing .thee-button--secondary:hover:not(:disabled) {
  border-color: var(--plan-color);
  background: var(--plan-color);
  color: #fff;
  filter: brightness(.95);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
}

.thee-managed-pricing .thee-button:focus-visible {
  outline: 2px solid var(--plan-color);
  outline-offset: 4px;
}

.thee-managed-pricing .thee-button:disabled {
  cursor: default;
}

.thee-managed-pricing .thee-button--custom {
  --plan-color: #ff123e;
  white-space: normal;
  overflow-wrap: anywhere;
}

.thee-managed-pricing .thee-plan-card__price--custom {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.thee-managed-pricing .thee-plan-card__description,
.thee-managed-pricing .thee-plan-card__features p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.thee-managed-pricing .thee-plan-card__name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.thee-managed-pricing .thee-plan-card__feature-note {
  margin-top: 22px;
}

.thee-managed-pricing [hidden] {
  display: none !important;
}

.thee-managed-pricing .thee-pricing-apply {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #ff123e;
  border-radius: 999px;
  color: #fff;
  background: #ff123e;
  cursor: pointer;
}

.thee-managed-pricing [data-ready="true"] .thee-pricing-apply {
  display: none;
}

.thee-managed-pricing .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .thee-managed-pricing .thee-plan-card {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .thee-managed-pricing .thee-button {
    transition: none;
  }
}
