:root {
  --kh-green: #14833b;
  --kh-green-dark: #116f35;
  --kh-green-soft: #f5fbf7;
  --kh-border: #cfe3d5;
  --kh-text: #2f2f2f;
  --kh-error: #b42318;
}

.kh-buy-now-wrap {
  clear: both;
  margin: 14px 0 0;
}

.kh-buy-now-wrap .kh-buy-now {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 9px;
  background: var(--kh-green);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s ease, opacity .15s ease;
}

.kh-buy-now-wrap .kh-buy-now:hover,
.kh-buy-now-wrap .kh-buy-now:focus-visible {
  background: var(--kh-green-dark);
}

.kh-buy-now-wrap .kh-buy-now:focus-visible {
  outline: 3px solid rgba(20, 131, 59, .25);
  outline-offset: 3px;
}

.kh-buy-now-wrap .kh-buy-now:disabled {
  opacity: .46;
  cursor: not-allowed;
}

.kh-buy-now-wrap .kh-buy-now[aria-disabled="true"] {
  pointer-events: none;
  opacity: .46;
  cursor: not-allowed;
}

.kh-buy-now-help {
  margin: 8px 0 0;
  color: #526057;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

body.kh-fast-checkout .woocommerce {
  max-width: 1160px;
  margin-inline: auto;
}

.kh-checkout-intro {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--kh-border);
  border-radius: 12px;
  background: var(--kh-green-soft);
}

.kh-checkout-intro h2 {
  margin: 0 0 12px;
  color: var(--kh-green-dark);
  font-size: clamp(22px, 3vw, 30px);
}

.kh-checkout-intro ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: kh-step;
}

.kh-checkout-intro li {
  counter-increment: kh-step;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--kh-text);
  font-weight: 700;
}

.kh-checkout-intro li::before {
  content: counter(kh-step) ". ";
  color: var(--kh-green);
}

.kh-restore-cart {
  margin: -10px 0 20px;
  text-align: right;
}

.kh-restore-cart a {
  color: #4d5a52;
  font-size: 13px;
  text-decoration: underline;
}

body.kh-fast-checkout #customer_details,
body.kh-fast-checkout #order_review {
  border-radius: 12px;
}

body.kh-fast-checkout .woocommerce-checkout input.input-text,
body.kh-fast-checkout .woocommerce-checkout textarea,
body.kh-fast-checkout .woocommerce-checkout select {
  min-height: 46px;
  border: 1px solid #b9c7be;
  border-radius: 8px;
}

body.kh-fast-checkout #shipping_method,
body.kh-fast-checkout .wc_payment_methods {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.kh-fast-checkout #shipping_method > li,
body.kh-fast-checkout .wc_payment_methods > li {
  padding: 12px 14px;
  border: 1px solid var(--kh-border);
  border-radius: 9px;
  background: #fff;
}

body.kh-fast-checkout #place_order {
  width: 100%;
  min-height: 54px;
  border-radius: 9px;
  background: var(--kh-green);
  font-size: 18px;
  font-weight: 800;
}

body.kh-fast-checkout #place_order:hover,
body.kh-fast-checkout #place_order:focus-visible {
  background: var(--kh-green-dark);
}

body.kh-fast-checkout #place_order.kh-processing {
  pointer-events: none;
  opacity: .7;
}

@media (max-width: 767px) {
  .kh-checkout-intro {
    padding: 15px;
  }

  .kh-checkout-intro ol {
    grid-template-columns: 1fr;
  }

  body.kh-fast-checkout .col2-set .col-1,
  body.kh-fast-checkout .col2-set .col-2 {
    float: none;
    width: 100%;
  }
}
