/* Revenue Cues focused WooCommerce Checkout */

body.woocommerce-checkout {
  background: #f3f6fa;
}

body.woocommerce-checkout .site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

body.woocommerce-checkout .site-header .header-inner {
  justify-content: flex-start;
  min-height: 5rem;
}

body.woocommerce-checkout .site-header .primary-nav,
body.woocommerce-checkout .site-header .mobile-menu-toggle {
  display: none;
}

body.woocommerce-checkout .rc-standard-page {
  background:
    radial-gradient(circle at 82% 0%, rgba(101, 204, 255, 0.11), transparent 28rem),
    #f3f6fa;
  padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(3.5rem, 7vw, 6rem);
}

body.woocommerce-checkout .rc-standard-page-content {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 74rem;
  padding: 0;
}

.rc-checkout-intro {
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  max-width: 58rem;
  text-align: center;
}

.rc-checkout-kicker {
  color: #d94700;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.rc-checkout-intro h1 {
  color: #111827 !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: clamp(3rem, 5vw, 4.25rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 0.96 !important;
  margin: 0 auto !important;
  max-width: none !important;
  text-align: center !important;
  width: 100%;
}

.rc-checkout-lead {
  color: #3d4a5f !important;
  font-size: clamp(1rem, 1.6vw, 1.0625rem) !important;
  font-weight: 600;
  line-height: 1.6 !important;
  margin: 1.25rem auto 0;
  max-width: 46rem;
}

.rc-checkout-promises {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9e1eb;
  border-radius: 0.5rem;
  box-shadow: 0 0.4rem 1.25rem rgba(14, 30, 55, 0.045);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  justify-content: center;
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 0.75rem 1rem;
  width: fit-content;
  max-width: 100%;
}

.rc-checkout-promises li {
  align-items: center;
  color: #172033;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 0.5rem;
}

.rc-checkout-promises li::before {
  align-items: center;
  background: #dff7e9;
  border-radius: 50%;
  color: #12643a;
  content: "✓";
  display: inline-flex;
  flex: 0 0 1.35rem;
  font-size: 0.75rem;
  font-weight: 900;
  height: 1.35rem;
  justify-content: center;
}

/* Express checkout */
body.woocommerce-checkout .wc-block-components-express-payment {
  background: #ffffff;
  border: 1px solid #d9e1eb;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(14, 30, 55, 0.055);
  margin: 0 0 1rem;
  padding: 1.25rem;
}

body.woocommerce-checkout .wc-block-components-express-payment__title-container {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  height: auto;
  margin: 0 0 1rem;
  position: static;
}

body.woocommerce-checkout .wc-block-components-express-payment__title-container::before,
body.woocommerce-checkout .wc-block-components-express-payment__title-container::after {
  background: #d9e1eb;
  content: "";
  display: block;
  flex: 1 1 auto;
  height: 1px;
}

body.woocommerce-checkout .wc-block-components-express-payment__title {
  color: #263248 !important;
  flex: 0 0 auto;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  text-transform: uppercase;
  white-space: nowrap;
}

body.woocommerce-checkout .wc-block-components-express-payment__content {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-express-payment__event-buttons {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-express-payment__event-buttons > li {
  margin: 0 !important;
  min-width: 0;
  width: 100%;
}

body.woocommerce-checkout .wc-block-components-express-payment-continue-rule {
  color: #526075;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 1rem 0 1.5rem;
}

/*
 * Lost Sales Report minimal checkout
 *
 * WooCommerce keeps the billing country in its data model for payment and tax
 * compatibility, while the buyer sees only email, name and payment details.
 */
body.rc-minimal-checkout .wc-block-components-express-payment,
body.rc-minimal-checkout .wc-block-components-express-payment-continue-rule,
body.rc-minimal-checkout .wc-block-components-address-form__company,
body.rc-minimal-checkout .wc-block-components-address-form__address_1,
body.rc-minimal-checkout .wc-block-components-address-form__address_2,
body.rc-minimal-checkout .wc-block-components-address-form__city,
body.rc-minimal-checkout .wc-block-components-address-form__state,
body.rc-minimal-checkout .wc-block-components-address-form__postcode,
body.rc-minimal-checkout .wc-block-components-address-form__country,
body.rc-minimal-checkout .wc-block-components-address-form__phone,
body.rc-minimal-checkout .wc-block-checkout__create-account,
body.rc-minimal-checkout #billing_country_field,
body.rc-minimal-checkout #billing_company_field,
body.rc-minimal-checkout #billing_address_1_field,
body.rc-minimal-checkout #billing_address_2_field,
body.rc-minimal-checkout #billing_city_field,
body.rc-minimal-checkout #billing_state_field,
body.rc-minimal-checkout #billing_postcode_field,
body.rc-minimal-checkout #billing_phone_field {
  display: none !important;
}

body.rc-minimal-checkout
  .wc-block-checkout__billing-fields
  .wc-block-components-address-form {
  column-gap: 0.875rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.rc-minimal-checkout
  .wc-block-checkout__billing-fields
  .wc-block-components-address-form__first_name,
body.rc-minimal-checkout
  .wc-block-checkout__billing-fields
  .wc-block-components-address-form__last_name {
  margin: 0;
  width: auto;
}

body.rc-minimal-checkout .wc-block-checkout__billing-fields {
  margin-bottom: 1rem;
}

body.rc-minimal-checkout
  .wc-block-checkout__billing-fields
  .wc-block-components-checkout-step__description {
  max-width: 34rem;
}

/* Checkout layout */
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  margin: 0;
  max-width: none;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2rem);
}

body.woocommerce-checkout .wc-block-components-main {
  padding-right: 0;
  width: calc(64% - 1rem);
}

body.woocommerce-checkout .wc-block-components-sidebar {
  margin: 0;
  padding-left: 0;
  position: sticky;
  top: 1.5rem;
  width: calc(36% - 1rem);
}

/* Form cards */
body.woocommerce-checkout .wc-block-components-checkout-step {
  background: #ffffff;
  border: 1px solid #d9e1eb;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(14, 30, 55, 0.055);
  margin: 0 0 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

body.woocommerce-checkout .wc-block-components-checkout-step::before {
  display: none;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  margin: 0 0 1.25rem;
  padding: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title {
  color: #111827 !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: clamp(1.85rem, 3vw, 2.25rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description {
  color: #5a6678;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 0.35rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step__container {
  margin: 0;
  padding: 0;
}

/* Fields */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
  border-color: #aeb8c7;
  border-radius: 0.375rem;
  color: #111827;
  min-height: 3.25rem;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
  border-color: #e64d00;
  box-shadow: 0 0 0 2px rgba(255, 85, 0, 0.18);
  outline: 0;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label {
  color: #4b5668;
  font-weight: 600;
}

body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-components-checkbox__label {
  color: #273247;
  font-size: 0.9375rem;
  line-height: 1.5;
}

body.woocommerce-checkout .wc-block-components-checkbox
  .wc-block-components-checkbox__input[type="checkbox"]:checked {
  background: #ff5500;
  border-color: #ff5500;
}

/* Order summary */
body.woocommerce-checkout .wc-block-components-sidebar > div,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-checkout__sidebar {
  min-width: 0;
}

body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  border-color: #d9e1eb;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  background: #ffffff;
  border: 1px solid #d9e1eb;
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 2rem rgba(14, 30, 55, 0.08);
  overflow: hidden;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
  color: #111827;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  padding: 1.35rem 1.5rem;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  color: #172033;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  font-weight: 700;
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  color: #172033;
  font-size: 0.9375rem;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item
  .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item
  .wc-block-components-totals-item__value {
  font-size: 1.25rem;
  font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-panel__button {
  color: #273247;
  font-weight: 700;
}

/* Payment section and button */
body.woocommerce-checkout .wc-block-checkout__payment-method {
  background: #ffffff;
  border: 1px solid #d9e1eb;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(14, 30, 55, 0.055);
  margin: 0 0 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  border-color: #cbd4df;
}

body.woocommerce-checkout .wc-block-components-radio-control__input:checked {
  border-color: #e64d00;
}

body.woocommerce-checkout .wc-block-components-radio-control__input:checked::before {
  background: #ff5500;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: #ff5500;
  border: 2px solid #ff5500;
  border-radius: 0.375rem;
  box-shadow: 0 0.65rem 1.5rem rgba(255, 85, 0, 0.22);
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  min-height: 3.75rem;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: #df4a00;
  border-color: #df4a00;
  box-shadow: 0 0.8rem 1.75rem rgba(255, 85, 0, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px #9c3400;
  outline: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled {
  background: #d9dee7;
  border-color: #d9dee7;
  box-shadow: none;
  color: #6a7382;
  transform: none;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  color: #34445b;
  font-weight: 700;
}

/* Notices */
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 0.375rem;
  line-height: 1.55;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
  background: #fff3f1;
  border-color: #c53b2d;
  color: #6d1e16;
}

/* Reassurance after the form */
.rc-checkout-next {
  align-items: flex-start;
  background: #11182d;
  border-radius: 0.5rem;
  color: #ffffff;
  display: flex;
  gap: 1rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  max-width: 48rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.rc-checkout-next-number {
  align-items: center;
  background: #65ccff;
  border-radius: 50%;
  color: #11182d;
  display: flex;
  flex: 0 0 2.25rem;
  font-size: 1rem;
  font-weight: 900;
  height: 2.25rem;
  justify-content: center;
}

.rc-checkout-next h2 {
  color: #ffffff !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.35 !important;
  margin: 0 0 0.35rem !important;
  text-transform: none;
}

.rc-checkout-next p {
  color: #e7edf6 !important;
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Keep the checkout ending quiet and focused. */
body.woocommerce-checkout .site-footer {
  padding: 1.5rem 0;
}

body.woocommerce-checkout .site-footer .footer-grid {
  display: none;
}

body.woocommerce-checkout .site-footer .footer-bottom {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
  text-align: center;
}

body.woocommerce-checkout .site-footer .footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: block;
  }

  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar {
    width: 100%;
  }

  body.woocommerce-checkout .wc-block-components-sidebar {
    margin-top: 1rem;
    position: static;
  }
}

@media (max-width: 600px) {
  body.woocommerce-checkout .site-header .header-inner {
    min-height: 4.25rem;
  }

  body.woocommerce-checkout .rc-standard-page {
    padding: 2rem 0 3rem;
  }

  body.woocommerce-checkout .rc-standard-page > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .rc-checkout-intro {
    margin-bottom: 1.75rem;
    text-align: left;
  }

  .rc-checkout-intro h1 {
    font-size: clamp(2.65rem, 15vw, 3.65rem);
  }

  .rc-checkout-lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .rc-checkout-promises {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    margin-left: 0;
    padding: 0.85rem 1rem;
    width: 100%;
  }

  body.woocommerce-checkout .wc-block-components-express-payment {
    padding: 1rem;
  }

  body.woocommerce-checkout .wc-block-components-express-payment__event-buttons {
    grid-template-columns: 1fr;
  }

  body.rc-minimal-checkout
    .wc-block-checkout__billing-fields
    .wc-block-components-address-form {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }

  body.woocommerce-checkout .wc-block-components-checkout-step,
  body.woocommerce-checkout .wc-block-checkout__payment-method {
    border-radius: 0.375rem;
    padding: 1.15rem;
  }

  body.woocommerce-checkout .wc-block-components-checkout-step__title {
    font-size: 1.85rem !important;
  }

  body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    padding: 1.15rem;
  }

  .rc-checkout-next {
    border-radius: 0.375rem;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    transition: none;
  }
}


/* v89 focused checkout safeguard: no navigation escape routes. */
body.woocommerce-checkout .primary-nav,
body.woocommerce-checkout .mobile-menu-toggle,
body.woocommerce-checkout .mobile-nav,
body.woocommerce-checkout .nav-overlay {
  display: none !important;
}
