.package.package-responsive {
  display: none;
}
.package,
.back_button_container {
  width: 1155px;
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding: 0 20px;
  transition: opacity 0.3s ease-in-out;
}
.package {
  opacity: 0;
  margin-top: 60px;
  margin-bottom: 60px;
  justify-content: center;
}

.package .package-popular {
  position: absolute;
  right: -55px;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 14px;
  line-height: 16px;
  padding: 5px 15px 5px 27px;
  color: #ffffff;
  font-weight: 400;
  text-transform: uppercase;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  height: fit-content;
  max-width: 163px;
}

.package-item {
  width: 33.3%;
  background-color: #ffffff;
  border: 1px solid #dedede;
  box-sizing: border-box;
  padding: 70px 0 25px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.3s ease-in-out;
  margin-bottom: 30px;
}
.package-item:hover {
  background-color: #e5e2f3;
}
.package-item:hover button {
  background-color: #29CF51;
  color: #ffffff;
}
.package-item:hover .package-status {
  background-color: #374957;
  color: #ffffff;
}
.package-item:nth-child(2n) {
  border-left: 0;
  border-right: 0;
}
.package-item .package-status {
  min-height: 40px;
  border-radius: 50px;
  border: 1px solid #dedede;
  background-color: #f1f0f7;
  display: inline-flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  text-transform: uppercase;
  padding: 0 27px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease-in-out;
  color: #374957;
}
.package-item ul {
  padding: 0 55px;
}
.package-item .currency {
  font-size: 22px;
}
.package-item button {
  width: calc(100% - 56px);
  min-height: 50px;
  margin: 50px auto 0 auto;
  display: block;
  background-color: rgba(68, 176, 94, 0.15);
  color: #44b05e;
  border: 0;
  font-size: 18px;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
}
.package-item button.button--loading {
  background-color: #29CF51;
}
.package-responsive-content button.button--loading::after {
  border-top-color: #29CF51;
}
.package-item .package-price {
  font-weight: 700;
  font-size: 30px;
  color: #374957;
  margin-bottom: 35px;
  position: relative;
}
.package-item .package-price *:not(.package-popular) {
  display: none;
}
.package-item .package-price span:not(.currency):not(.price) {
  font-weight: 400;
  color: rgba(55, 73, 87, 0.6);
  font-size: 14px;
}
.package-item ul li:not(.package-price) {
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: #374957;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}
.package-item ul li:not(.package-price)::before {
  content: url(./icons/check.svg);
  color: #644cfa;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(100, 76, 250, 0.2);
  margin-right: 10px;
  flex-shrink: 0;
  position: relative;
  top: 4px;
}
.package-item ul li.success::before {
  content: url(./icons/check-success.svg);
  background-color: rgba(68, 176, 94, 0.2);
}

@media only screen and (max-width: 2000px) {
  .package-item {
    padding-top: 50px;
  }
  .package-item ul {
    padding: 0 25px;
  }
  .package-item ul li:not(.package-price) {
    margin-bottom: 10px;
  }
  .package-item button {
    margin-top: 15px;
  }
  .package .package-popular {
    right: -25px;
  }
}

@media only screen and (max-width: 1023px) {
  .package:not(.package-responsive) {
    display: none;
  }
  .package.package-responsive {
    width: calc(100% - 80px);
    max-width: none;
    display: flex;
    padding: 0 40px;
  }
  .package-responsive-header {
    width: 100%;
    display: flex;
    text-align: center;
    border: 1px solid #ddd9f3;
    border-radius: 5px 5px 0px 0px;
  }
  .package-responsive-header .package-responsive-tab {
    width: 100%;
    background-color: rgba(100, 76, 250, 0.08);
    padding: 12px 10px 17px 10px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .package-responsive-header .package-responsive-tab:first-child {
    border-top-left-radius: 4px;
  }
  .package-responsive-header .package-responsive-tab:last-child {
    border-top-right-radius: 4px;
  }
  .package-responsive-header .package-responsive-tab.active {
    background-color: #ffffff;
  }
  .package-responsive-header .package-responsive-tab.active::before {
    content: "";
    position: absolute;
    bottom: -1.5px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #644cfa;
  }
  .package-responsive-header .package-responsive-tab:not(:last-child) {
    border-right: 1px solid #ddd9f3;
  }
  .package-responsive-header .package-responsive-tab .package-status {
    text-transform: uppercase;
    color: #374957;
    font-size: 16px;
    font-weight: 500;
  }
  .package-responsive-header .package-price {
    font-size: 22px;
    font-weight: 700;
    justify-content: center;
  }
  .package-responsive-header .package-price.package-price {
    margin-top: 5px;
    display: none;
  }
  .package-responsive-header .package-price,
  .package-content-price {
    display: flex;
    align-items: center;
    position: relative;
  }
  .package-content-price .package-popular {
    right: -40px;
    color: #644cfa;
  }
  .package-content-price *:not(.package-popular) {
    display: none;
  }
  .package-responsive-header .package-price span:not(.currency):not(.price) {
    font-size: 13px;
    color: rgba(55, 73, 87, 0.6);
    font-weight: 400;
  }
  .package-responsive-header .package-price span.currency {
    font-size: 16px;
    font-weight: 700;
  }
  .package-responsive-content {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ddd9f3;
    border-top: 0;
    border-radius: 0px 0px 10px 10px;
    padding: 25px 40px 30px 40px;
    transition: opacity 0.3s ease-in-out;
    display: none;
  }
  .package-responsive-content.active {
    display: block;
  }
  .package-responsive-content button {
    width: 100%;
    height: 50px;
    background-color: rgba(68, 176, 94, 0.15);
    color: #44b05e;
    border: 0;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    margin-top: 30px;
  }
  .package-responsive-content .list-options {
    display: flex;
    margin-bottom: -16px;
  }
  .package-responsive-content .list-options ul:not(:last-child) {
    margin-right: 80px;
  }
  .package-responsive-content .list-options ul li {
    font-size: 16px;
    line-height: 20px;
    color: #374957;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
  }
  .package-responsive-content .list-options ul li::before {
    content: url(./icons/check.svg);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background-color: rgba(100, 76, 250, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
  }
  .package-responsive-content .list-options ul li.success::before {
    content: url(./icons/check-success.svg);
    background-color: rgba(68, 176, 94, 0.2);
  }
  .package-responsive-content .package-content-price {
    color: #374957;
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 700;
  }
  .package-responsive-content .package-content-price .currency {
    font-size: 17px;
  }
  .package-responsive-content
    .package-content-price
    span:not(.currency):not(.price) {
    color: rgba(55, 73, 87, 0.6);
    font-size: 14px;
    font-weight: 400;
  }
}
@media only screen and (max-width: 767px) {
  .package.package-responsive {
    width: calc(100% - 30px);
    padding: 0 15px;
  }
  .package-responsive-header .package-responsive-tab .package-status {
    font-size: 14px;
  }
  .package-responsive-header .package-price,
  .package-responsive-content .package-content-price {
    font-size: 19px;
  }

  .package-responsive-header .package-price .package-responsive-content {
    padding: 25px 25px 30px 25px;
  }
  .package-responsive-content .list-options {
    flex-direction: column;
  }
  .package-responsive-content .list-options ul li {
    font-size: 15px;
  }
  .package-responsive-content .list-options ul:not(:last-child) {
    margin-right: 0;
  }
}
