/**
 * Glowflare basket/checkout journey copied from Glowflare's layout language.
 * Colours changed to Glowflare red / #353535 / #535353 / white.
 * Desktop 940px. Existing mobile shop/product/basket breakpoints unaffected.
 */
body.na-commerce-live.woocommerce-cart,
body.na-commerce-live.woocommerce-checkout {
  --gf-journey-red: #d50000;
  --gf-journey-charcoal: #353535;
  --gf-journey-grey: #535353;
  --gf-journey-border: rgba(53,53,53,.15);
}
body.na-commerce-live .na-basket-live,
body.na-commerce-live .na-checkout-live,
body.na-commerce-live .gf-block-journey {
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  box-sizing: border-box;
}
/* Glowflare's older inherited sheet hides Basket progress and reduces
 * Checkout to two tiles. Restore the full five-tile design explicitly. */
body.woocommerce-cart.na-commerce-live .gf-journey-progress,
body.woocommerce-checkout.na-commerce-live .gf-journey-progress,
body.woocommerce-order-received.na-commerce-live .gf-journey-progress {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0,1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 0 10px !important;
}
body.na-commerce-live .gf-journey-progress .na-commerce-progress__step {
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 10px 8px !important;
  border: 1px solid var(--gf-journey-border) !important;
  border-radius: 15px !important;
  color: var(--gf-journey-charcoal) !important;
  background: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
body.na-commerce-live .gf-journey-progress .na-commerce-progress__step.done {
  background: var(--gf-journey-charcoal) !important;
  border-color: var(--gf-journey-charcoal) !important;
  color: #ffffff !important;
}
body.na-commerce-live .gf-journey-progress .na-commerce-progress__step.current {
  background: var(--gf-journey-red) !important;
  border-color: var(--gf-journey-red) !important;
  color: #ffffff !important;
}
body.na-commerce-live .gf-journey-progress .num {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border: 1px solid var(--gf-journey-border) !important;
  border-radius: 50% !important;
  color: var(--gf-journey-charcoal) !important;
  background: #f1f1f1 !important;
}
body.na-commerce-live .gf-journey-progress .done .num {
  color: var(--gf-journey-charcoal) !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
}
body.na-commerce-live .gf-journey-progress .current .num {
  color: var(--gf-journey-red) !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
}
body.na-commerce-live .gf-journey-progress a:focus-visible {
  outline: 3px solid #ffffff !important;
  outline-offset: 3px !important;
}
body.na-commerce-live .gf-journey-progress a:hover {filter: brightness(.94);}
body.na-commerce-live .gf-journey-heading,
body.woocommerce-cart.na-commerce-live .na-basket-live .gf-journey-heading,
body.woocommerce-checkout.na-commerce-live .na-checkout-live .gf-journey-heading {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 20px !important;
  border: 1px solid var(--gf-journey-border) !important;
  border-radius: 15px !important;
  color: var(--gf-journey-charcoal) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}
body.na-commerce-live .gf-journey-heading h1 {
  margin: 0 0 6px !important;
  font-weight: 850 !important;
  font-size: clamp(32px, 4.5vw, 52px) !important;
  line-height: 1.08 !important;
  color: var(--gf-journey-charcoal) !important;
}
body.na-commerce-live .gf-journey-heading p {
  color: var(--gf-journey-grey) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
/* Glowflare's left basket items and right totals, narrow cards preserving the 940px shell. */
@media (min-width: 992px) {
  body.na-commerce-live .na-basket-live,
  body.na-commerce-live .na-checkout-live,
  body.na-commerce-live .gf-block-journey {
    max-width: 940px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  body.na-commerce-live .na-cart-reference-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 600px) minmax(0, 330px) !important;
    gap: 10px !important;
  }
  body.na-commerce-live .na-checkout-native-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 600px) minmax(0, 330px) !important;
    gap: 10px !important;
  }
}
/* Match the source white cards, 15px corners and clear text. */
body.na-commerce-live :is(.na-cart-item, .na-cart-collaterals .cart_totals, .na-checkout-native-card, .na-checkout-native-summary) {
  border: 1px solid var(--gf-journey-border) !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}
body.na-commerce-live :is(.na-cart-item, .na-checkout-native-card, .na-checkout-native-summary) :is(h2,h3,strong,label) {
  color: var(--gf-journey-charcoal);
}
body.na-commerce-live :is(.na-cart-item,.na-checkout-native-card,.na-checkout-native-summary) :is(input,textarea,select):focus-visible {
  outline: 2px solid var(--gf-journey-red) !important;
  outline-offset: 2px;
}
body.na-commerce-live :is(.na-basket-live,.na-checkout-live) :is(.checkout-button, #place_order, .na-btn.primary) {
  border: 1px solid #ffffff !important;
  border-radius: 15px !important;
  background: var(--gf-journey-red) !important;
  color: #ffffff !important;
}
body.na-commerce-live :is(.na-basket-live,.na-checkout-live) :is(.checkout-button, #place_order, .na-btn.primary):hover {
  background: var(--gf-journey-grey) !important;
}
body.na-commerce-live :is(.na-basket-live,.na-checkout-live) :is(.checkout-button, #place_order, .na-btn.primary):focus-visible {
  outline: 2px solid var(--gf-journey-red) !important;
  outline-offset: 3px !important;
}
/* Mobile retains Glowflare's existing responsive cart/checkout geometry. */
@media (max-width: 760px) {
  body.woocommerce-cart.na-commerce-live .gf-journey-progress,
  body.woocommerce-checkout.na-commerce-live .gf-journey-progress,
  body.woocommerce-order-received.na-commerce-live .gf-journey-progress {display: none !important;}
  body.woocommerce-cart.na-commerce-live .gf-journey-mobile,
  body.woocommerce-checkout.na-commerce-live .gf-journey-mobile,
  body.woocommerce-order-received.na-commerce-live .gf-journey-mobile {display: block !important; margin-bottom: 10px !important;}
  body.na-commerce-live .gf-journey-mobile strong {color: #ffffff !important;}
  body.na-commerce-live .gf-journey-mobile .na-commerce-progress__bar {background: #535353 !important;}
  body.na-commerce-live .gf-journey-mobile .na-commerce-progress__bar span {background: #d50000 !important;}
  body.na-commerce-live .gf-journey-heading {margin-bottom: 10px !important; padding: 18px !important;}
}
