/* Final checkout polish: clean, calm, and focused on finishing payment. */
body.woocommerce-checkout .inner-hero {
  min-height: 0 !important;
  padding: 52px 0 42px !important;
  background-position: center !important;
}

body.woocommerce-checkout .inner-hero h1 {
  max-width: 760px !important;
  font-size: clamp(42px, 4vw, 58px) !important;
  line-height: 1.08 !important;
}

.checkout-flow-page {
  padding: 42px 0 74px !important;
  background: #fffaf4 !important;
}

.checkout-flow-page .purchase-steps {
  max-width: 1080px !important;
  margin: -18px auto 24px !important;
  gap: 12px !important;
}

.checkout-flow-page .purchase-steps span {
  min-height: 48px !important;
  padding: 0 16px !important;
  border: 1px solid #ead8c5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #676b72 !important;
  box-shadow: 0 8px 20px rgba(47, 51, 56, .05) !important;
}

.checkout-flow-page .purchase-steps .is-active {
  border-color: #f5821f !important;
  background: #f5821f !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(245, 130, 31, .22) !important;
}

.checkout-assurance-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  max-width: 1080px !important;
  margin: 0 auto 28px !important;
  padding: 18px 22px !important;
  border: 1px solid #ead8c5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #34373d !important;
  box-shadow: 0 10px 28px rgba(47, 51, 56, .05) !important;
}

.checkout-assurance-strip span {
  display: block !important;
  margin: 0 0 4px !important;
  color: #f5821f !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
}

.checkout-assurance-strip strong {
  display: block !important;
  color: #34373d !important;
  font-family: var(--serif) !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
}

.checkout-assurance-strip ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 0 !important;
}

.checkout-assurance-strip li {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  border: 1px solid #ead8c5 !important;
  border-radius: 999px !important;
  background: #fffaf4 !important;
  color: #4b4f55 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.checkout-assurance-strip li:before {
  content: "" !important;
  width: 6px !important;
  height: 6px !important;
  margin-right: 8px !important;
  border-radius: 50% !important;
  background: #f5821f !important;
  box-shadow: none !important;
}

.checkout-flow-page .purchase-flow-grid {
  display: block !important;
  max-width: 1080px !important;
}

.checkout-flow-page .bookstore-commerce-main {
  width: 100% !important;
  max-width: none !important;
}

.checkout-flow-page .woocommerce-checkout {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  align-items: start !important;
}

.checkout-flow-page #customer_details {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: grid !important;
  gap: 18px !important;
}

.checkout-flow-page .woocommerce-billing-fields,
.checkout-flow-page .woocommerce-shipping-fields,
.checkout-flow-page .woocommerce-additional-fields,
.checkout-flow-page .woocommerce-checkout-review-order,
.checkout-flow-page .woocommerce form.login,
.checkout-flow-page .checkout-payment-trust,
.checkout-flow-page .nazareth-checkout-coupon-card,
.checkout-flow-page .nazareth-checkout-coupon-form {
  border: 1px solid #ead8c5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(47, 51, 56, .05) !important;
}

.checkout-flow-page .woocommerce-billing-fields,
.checkout-flow-page .woocommerce-shipping-fields,
.checkout-flow-page .woocommerce-additional-fields {
  padding: 26px !important;
}

.checkout-flow-page .woocommerce-billing-fields h3,
.checkout-flow-page .woocommerce-additional-fields h3,
.checkout-flow-page #order_review_heading {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #34373d !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
}

.checkout-flow-page .woocommerce-billing-fields h3:before,
.checkout-flow-page .woocommerce-additional-fields h3:before {
  display: none !important;
}

.checkout-flow-page #order_review_heading {
  grid-column: 1 !important;
  grid-row: 2 !important;
  font-family: var(--serif) !important;
}

.checkout-flow-page .nazareth-checkout-edit-cart {
  grid-column: 1 !important;
  grid-row: 2 !important;
  justify-self: end !important;
  align-self: start !important;
  position: relative !important;
  z-index: 2 !important;
  margin-top: -2px !important;
}

.checkout-flow-page .nazareth-checkout-edit-cart .button {
  min-height: 42px !important;
  padding: 0 16px !important;
  border-color: #ead8c5 !important;
  background: #fff !important;
  color: #f5821f !important;
  font-size: 13px !important;
  box-shadow: 0 8px 18px rgba(47, 51, 56, .05) !important;
}

.checkout-flow-page .nazareth-checkout-edit-cart .button:hover {
  border-color: #f5821f !important;
  background: #f5821f !important;
  color: #fff !important;
}

.checkout-flow-page .woocommerce-checkout-review-order {
  grid-column: 1 !important;
  grid-row: 3 !important;
  margin: 0 !important;
  padding: 24px !important;
  position: static !important;
  top: auto !important;
  color: #34373d !important;
}

.checkout-flow-page .woocommerce-checkout-review-order {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

.checkout-flow-page .woocommerce-checkout-review-order table.shop_table {
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  overflow: visible !important;
}

.checkout-flow-page .woocommerce-checkout-review-order table.shop_table thead {
  background: #fffaf4 !important;
  color: #34373d !important;
}

.checkout-flow-page .woocommerce-checkout-review-order table.shop_table th,
.checkout-flow-page .woocommerce-checkout-review-order table.shop_table td {
  padding: 15px 18px !important;
  border-top: 1px solid #f0dfcc !important;
  color: #34373d !important;
}

.checkout-flow-page .woocommerce-checkout-review-order table.shop_table thead th {
  padding: 10px 12px !important;
}

.checkout-flow-page .woocommerce-checkout-review-order .order-total th,
.checkout-flow-page .woocommerce-checkout-review-order .order-total td {
  background: transparent !important;
  padding-top: 18px !important;
}

.checkout-flow-page .woocommerce-checkout-review-order .order-total .amount {
  color: #f5821f !important;
  font-size: 24px !important;
}

.checkout-flow-page #payment {
  margin-top: 0 !important;
  border: 1px solid #ead8c5 !important;
  border-radius: 8px !important;
  background: #fffaf4 !important;
}

.checkout-flow-page #payment ul.payment_methods {
  padding: 16px !important;
  border-bottom: 1px solid #ead8c5 !important;
}

.checkout-flow-page #payment div.form-row {
  padding: 16px !important;
}

.checkout-flow-page #place_order {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 8px !important;
  background: #f5821f !important;
  box-shadow: 0 10px 22px rgba(245, 130, 31, .22) !important;
  font-size: 15px !important;
}

.checkout-flow-page .form-row {
  margin-bottom: 16px !important;
}

.checkout-flow-page .form-row label {
  margin-bottom: 7px !important;
  color: #34373d !important;
  font-weight: 800 !important;
}

.checkout-flow-page .form-row input.input-text,
.checkout-flow-page .form-row textarea,
.checkout-flow-page .form-row select,
.checkout-flow-page .select2-container .select2-selection--single {
  min-height: 48px !important;
  border-color: #ead8c5 !important;
  border-radius: 7px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.checkout-flow-page .form-row input.input-text:focus,
.checkout-flow-page .form-row textarea:focus,
.checkout-flow-page .select2-container--open .select2-selection--single {
  border-color: #f5821f !important;
  box-shadow: 0 0 0 3px rgba(245, 130, 31, .14) !important;
  outline: 0 !important;
}

.checkout-flow-page .nazareth-checkout-login-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  max-width: 1080px !important;
  margin: 0 auto 20px !important;
  padding: 18px 20px !important;
  border: 1px solid #ead8c5 !important;
  border-left: 4px solid #f5821f !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(47, 51, 56, .05) !important;
}

.checkout-flow-page .nazareth-checkout-login-card:before {
  display: none !important;
}

.checkout-flow-page .nazareth-checkout-login-card strong {
  display: block !important;
  color: #34373d !important;
  font-size: 18px !important;
}

.checkout-flow-page .nazareth-checkout-login-card p {
  margin: 3px 0 0 !important;
  color: #666b72 !important;
  font-size: 14px !important;
}

.checkout-flow-page .nazareth-checkout-login-card .button,
.checkout-flow-page .woocommerce-form-login-toggle a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border: 1px solid #f5821f !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #f5821f !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.checkout-flow-page .nazareth-checkout-login-card .button:hover,
.checkout-flow-page .woocommerce-form-login-toggle a:hover {
  background: #f5821f !important;
  color: #fff !important;
}

.checkout-flow-page .nazareth-checkout-coupon-card,
.checkout-flow-page .nazareth-checkout-coupon-form {
  width: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
}

.checkout-flow-page .nazareth-checkout-coupon-card {
  grid-column: 1 !important;
  grid-row: 4 !important;
}

.checkout-flow-page .nazareth-checkout-coupon-form {
  grid-column: 1 !important;
  grid-row: 5 !important;
}

.checkout-flow-page .checkout-payment-trust {
  max-width: 1080px !important;
  margin: 24px auto 0 !important;
  padding: 20px !important;
}

.checkout-flow-page .wcpay-express-checkout-wrapper,
.checkout-flow-page .wc-stripe-express-checkout-wrapper {
  margin: 0 0 22px !important;
  padding: 16px !important;
  border: 1px solid #ead8c5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(47, 51, 56, .05) !important;
}

.checkout-flow-page .woocommerce-error,
.checkout-flow-page .woocommerce-info,
.checkout-flow-page .woocommerce-message {
  max-width: 1080px !important;
  margin: 0 auto 20px !important;
  border-top: 0 !important;
  border-left: 4px solid #f5821f !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(47, 51, 56, .05) !important;
}

@media (max-width: 1100px) {
  .checkout-assurance-strip {
    display: grid !important;
    justify-content: stretch !important;
  }

  .checkout-assurance-strip ul {
    justify-content: flex-start !important;
  }

  .checkout-flow-page .woocommerce-checkout {
    grid-template-columns: 1fr !important;
  }

  .checkout-flow-page #order_review_heading,
  .checkout-flow-page .woocommerce-checkout-review-order {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .checkout-flow-page .woocommerce-checkout-review-order {
    position: static !important;
  }

  .checkout-flow-page .woocommerce-checkout-review-order {
    grid-template-columns: 1fr !important;
  }

  .checkout-flow-page #customer_details,
  .checkout-flow-page .nazareth-checkout-edit-cart,
  .checkout-flow-page .nazareth-checkout-coupon-card,
  .checkout-flow-page .nazareth-checkout-coupon-form {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .checkout-flow-page .nazareth-checkout-coupon-card,
  .checkout-flow-page .nazareth-checkout-coupon-form {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  .checkout-flow-page {
    padding-top: 30px !important;
  }

  .checkout-flow-page .purchase-steps {
    grid-template-columns: 1fr !important;
  }

  .checkout-assurance-strip,
  .checkout-flow-page .woocommerce-billing-fields,
  .checkout-flow-page .woocommerce-shipping-fields,
  .checkout-flow-page .woocommerce-additional-fields,
  .checkout-flow-page .woocommerce-checkout-review-order {
    padding: 20px !important;
  }

  .checkout-flow-page .nazareth-checkout-login-card {
    grid-template-columns: 1fr !important;
  }

  .checkout-flow-page .nazareth-checkout-edit-cart {
    justify-self: stretch !important;
    margin-top: -10px !important;
  }

  .checkout-flow-page .nazareth-checkout-edit-cart .button {
    width: 100% !important;
  }

  .checkout-flow-page .nazareth-checkout-login-card .button {
    width: 100% !important;
  }
}
