/* ==========================================================================
   Checkout page
   ========================================================================== */
.checkout-page {
  background: #e5ecf7;
}

.checkout-topbar {
  background: #0b0b0f;
  padding: 14px 0;
}

.checkout-steps {
  display: flex;
  gap: 34px;
  align-items: center;
}

.checkout-steps .step {
  color: #7b7f8c;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
  position: relative;
}

.checkout-steps .step.active {
  color: #4bbf46;
}

.checkout-steps .step.done {
  color: #fff;
}

.co-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: 0 8px 22px rgba(20, 30, 60, .08);
}

.discount-box {
  background: linear-gradient(180deg, #8ede4f 0%, #46b23f 100%);
  color: #0d3b12;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.discount-box .time {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: #0d3b12;
}

/* package option */
.pkg {
  border: 2px solid #dacf8a;
  border-radius: 14px;
  background: #fff8c9;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.pkg.selected {
  border-color: #4bbf46;
  background: #eafbe6;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.pkg .radio {
  width: 26px;
  height: 26px;
  border: 3px solid #cfd6e2;
  border-radius: 50%;
  flex: 0 0 26px;
}

.pkg.selected .radio {
  border-color: #4bbf46;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 8px #4bbf46;
}

.pkg .buy-label {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  text-align: center;
  font-size: 25px;
  padding-left: 0px;
}

.pkg .get-free {
  background: transparent;
  color: #c91407;
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  border-radius: 0px;
  padding: 6px 10px;
  line-height: .9;
  font-size: 1.8rem;
  margin: 0px;
  margin-top: 0px;
  background-image: url(../images/free_badge.png);
  background-position: center bottom;
  padding-bottom: 10px;
  padding-top: 10px;
  margin-bottom: -20px;
}

.pkg .price {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  color: #3361e7;
  font-size: 2.3rem;
  line-height: .5;
}

.mega_text {
  font-size: 25px;
  line-height: 26px;
  text-align: center;
}

.pkg .retail {
  color: #3aa53a;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  display: block;
}

.pkg .save_price {
  background-color: #0b0b0f;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  display: block;
  padding: 3px;
  padding-left: 20px;
  padding-right: 20px;
  display: inline-block;
  border-radius: 7px;
  margin-top: 5px;
}

.billing-info label {
  display: none !important;
}

.save_price {
  position: relative;
  background: linear-gradient(225deg, #360033 0%, #0b8793 50%, #d4145a 100%);
  background-size: 200% 200%;
  animation: gradient-wave 11s ease alternate infinite;
  overflow: hidden;
}

@keyframes gradient-wave {

  0%,
  100% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 100% 100%;
  }

  75% {
    background-position: 0% 100%;
  }
}

.pkg .free-ship {
  color: #e23a2e;
  font-weight: 600;
  font-size: 1.5rem;
}

.pkg .btn-select {
  border: none;
  border-radius: 8px;
  padding: 7px 40px;
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  color: #fff;
  letter-spacing: .5px;
}

.pkg.selected .btn-select {
  background: #54b947;
}

.pkg .btn-select {
  background: #b9bfc7;
}

/* guarantee banner (dark green) */
.co-guarantee {
  background: radial-gradient(120% 140% at 100% 50%, #1f7a2a 0%, #06280d 70%);
  color: #fff;
  border-radius: 14px;
  padding: 28px 30px;
  background-image: url(../images/30day_gurantee.png);
  background-position: center center;
  background-size: cover;
  padding: 40px;
}

.co-guarantee h3 {
  color: #f4e04a;
}

.pkg {
  cursor: pointer;
}

/* payment form */
.pay-card .form-control {
  background: #eef2f8;
  border: none;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.pay-card .divider {
  border-top: 1px solid #e2e7f0;
  margin: 8px 0 18px;
}

.pay-card .form-select {
  background-color: #eef2f8;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.pay-card .billing-title {
  display: block;
  font-weight: 500;
  margin: 6px 0 10px;
  font-size: 30px;
}

.co-testimonial {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 8px 22px rgba(20, 30, 60, .08);
  height: 100%;
}

.co-footer-links a {
  color: #5a6270;
  text-decoration: none;
  margin: 0 6px;
}

.co-footer-links a:hover {
  text-decoration: underline;
}

main {
  margin-top: -80px;
}

.selected_title {
  font-size: 35px;
}

.co-guarantee h3 {
  font-size: 35px;
}

.co-card {
  padding: 40px;
}

.co-card.pay-card {
  padding-left: 50px;
  padding-right: 50px;
}

.co-testimonial h5 {
  font-size: 24px;
  font-weight: 700;
}

.cvvbox {
  color: #555a63;
  text-decoration: none;
  font-size: 17px;
  line-height: 20px;
  display: block;
}

.cvvbox:hover {
  color: #000;
  text-decoration: underline;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: -5px;
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 16px;
  color: var(--bs-form-invalid-color);
}

.checkout-progress {
  width: 100%;
  max-width: 720px;
  padding: 0 16px;
}

/* Track divided into 3 segments */
.cp-track {
  position: relative;
  display: flex;
  gap: 4px;
  height: 10px;
}

.cp-seg {
  flex: 1;
  height: 100%;
  border-radius: 6px;
  background: #555a63;
}

.cp-seg.done {
  background: #1f7a1f;
}

/* dark green – completed */
.cp-seg.active {
  background: #35c435;
}

/* bright green – current */
.cp-seg.todo {
  background: #555a63;
}

/* grey – pending */
/* Red arrow marker */
.cp-arrow {
  position: absolute;
  top: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #e60000;
  transition: left .4s ease;
}

/* Labels */
.cp-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}

.cp-labels span {
  font-family: system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: clamp(.7rem, 2.5vw, 1rem);
  white-space: nowrap;
}

.cp-labels span:first-child {
  text-align: left;
  flex: 1;
}

.cp-labels span:nth-child(2) {
  text-align: center;
  flex: 1;
}

.cp-labels span:last-child {
  text-align: right;
  flex: 1;
}

.cp-done {
  color: #1f7a1f;
}

.cp-active {
  color: #35c435;
}

.cp-todo {
  color: #9aa0a8;
}

.freeshipping_icon {
  max-width: 45px;
}

.best_choice_bdg {
  max-width: 120px;
  position: absolute;
  margin-top: -40px;
  margin-left: -40px;
}

@media (min-width: 0px) and (max-width: 1399.98px) {

  .pkg .buy-label,
  .pkg .get-free {
    font-size: 18px;
  }

  .pkg .free-ship {
    font-size: 22px;
    line-height: 20px;
  }

  .pkg .price {
    font-size: 1.8rem;
  }

  .mega_text {
    font-size: 15px;
    line-height: 22px;
    text-align: center;
  }

  .pkg .retail {
    font-size: 1rem;
  }

  .co-card {
    padding: 30px;
  }

  .co-card.pay-card {
    padding-left: 30px;
    padding-right: 30px;
  }

  .selected_title {
    font-size: 27px;
  }

  .co-testimonial {
    padding: 30px;
  }

  .pkg .save_price {

    font-size: .8rem;
  }

  .co-guarantee h3 {
    font-size: 25px;
  }
}