/*
 * Golf 6C.2 Flight Deck step 1 — explicitly scoped to staging preview.
 * WC Cart Block retains React state, accessible quantity controls and totals.
 */
body.bj-g6-step1-preview { --bj-g6-ink:#063649; --bj-g6-action:#007AA6; --bj-g6-border:#DAE3E8; --bj-g6-muted:#68696E; --bj-g6-white:#fff; }
body.bj-g6-step1-preview .entry-title,
body.bj-g6-step1-preview .page-header .entry-title { display:none; }
body.bj-g6-step1-preview .bj-g6-step1 { max-width:1280px; margin:0 auto 48px; padding:18px 24px 32px; color:var(--bj-g6-ink); box-sizing:border-box; }
.bj-g6-step1 *, .bj-g6-step1 *::before, .bj-g6-step1 *::after { box-sizing:border-box; }
.bj-g6-step1 :is(a,button,input):focus-visible { outline:3px solid var(--bj-g6-action); outline-offset:3px; }
.bj-g6-step1 .bj-g6-steps { margin:0 0 30px; }
.bj-g6-step1 .bj-g6-steps ol { display:flex; align-items:center; list-style:none; padding:0; margin:0; gap:6px; }
.bj-g6-step1 .bj-g6-steps li { min-width:0; flex:1; display:flex; align-items:center; gap:8px; color:var(--bj-g6-muted); font-size:12px; font-weight:600; white-space:nowrap; }
.bj-g6-step1 .bj-g6-steps li:not(:last-child)::after { content:""; display:block; flex:1; height:1px; background:var(--bj-g6-border); margin-left:7px; }
.bj-g6-step1 .bj-g6-step-num { flex:0 0 24px; width:24px; height:24px; display:flex; align-items:center; justify-content:center; border:1px solid var(--bj-g6-border); border-radius:50%; font-weight:700; }
.bj-g6-step1 .bj-g6-steps li.is-current { color:var(--bj-g6-ink); }
.bj-g6-step1 .bj-g6-steps li.is-current .bj-g6-step-num { background:var(--bj-g6-action); border-color:var(--bj-g6-action); color:#fff; }
.bj-g6-step1 .bj-g6-intro { margin:0 0 22px; }
.bj-g6-step1 .bj-g6-intro h1 { color:var(--bj-g6-ink); font-family:inherit; font-size:30px; line-height:1.2; font-weight:800; letter-spacing:-.025em; margin:0 0 8px; }
.bj-g6-step1 .bj-g6-intro p { color:var(--bj-g6-muted); font-size:15px; margin:0; }
.bj-g6-step1 .wp-block-woocommerce-cart { margin:0; }
.bj-g6-step1 .wc-block-cart { gap:24px; align-items:start; }
.bj-g6-step1 .wc-block-cart__main { background:var(--bj-g6-white); border:1px solid var(--bj-g6-border); border-radius:12px; padding:18px 22px; min-width:0; }
.bj-g6-step1 .wc-block-cart__sidebar { background:var(--bj-g6-white); border:1px solid var(--bj-g6-border); border-radius:12px; padding:20px 18px; position:sticky; top:110px; min-width:0; }
.bj-g6-step1 .wc-block-cart__totals-title { color:var(--bj-g6-ink); font-size:17px; font-weight:800; margin:0 0 14px; }
.bj-g6-step1 .wc-block-cart-items__header { display:none; }
.bj-g6-step1 .wc-block-cart-items { border:none; width:100%; }
.bj-g6-step1 .wc-block-cart-items__row { border-bottom:1px dashed var(--bj-g6-border); }
.bj-g6-step1 .wc-block-cart-items__row:last-child { border-bottom:none; }
.bj-g6-step1 .wc-block-cart-items__row > td { padding:18px 8px 18px 0; border:0; vertical-align:top; }
.bj-g6-step1 .wc-block-cart-items__row > td:last-child { padding-right:0; }
.bj-g6-step1 .wc-block-cart-item__image { width:84px; }
.bj-g6-step1 .wc-block-cart-item__image img { width:72px; height:72px; object-fit:contain; border:1px solid var(--bj-g6-border); border-radius:8px; background:#fff; }
.bj-g6-step1 .wc-block-components-product-name { color:var(--bj-g6-ink); font-size:15px; font-weight:700; text-decoration:none; }
.bj-g6-step1 .wc-block-components-product-name:hover { color:var(--bj-g6-action); text-decoration:underline; }
.bj-g6-step1 .wc-block-cart-item__prices { margin:5px 0; font-size:13px; color:var(--bj-g6-muted); }
.bj-g6-step1 .wc-block-cart-item__total .wc-block-components-product-price { font-weight:800; color:var(--bj-g6-ink); }
.bj-g6-step1 .wc-block-cart-item__quantity { margin-top:10px; }
.bj-g6-step1 .wc-block-components-quantity-selector { min-height:42px; border:1px solid var(--bj-g6-border); background:#fff; border-radius:8px; }
.bj-g6-step1 .wc-block-components-quantity-selector__button { color:var(--bj-g6-ink); min-width:38px; }
.bj-g6-step1 .wc-block-components-quantity-selector__button:disabled { opacity:.45; cursor:not-allowed; }
.bj-g6-step1 .wc-block-cart-item__remove-link { color:var(--bj-g6-muted); text-decoration:underline; font-size:12px; border-radius:3px; }
.bj-g6-step1 .wc-block-cart-item__remove-link:hover { color:#B3261E; }
.bj-g6-step1 .bj-g6-sku { display:block; color:var(--bj-g6-muted); font-size:12px; font-weight:500; margin-bottom:3px; }
.bj-g6-step1 .bj-g6-unit-note { display:block; color:var(--bj-g6-muted); font-size:12px; line-height:1.45; margin:5px 0 0; }
.bj-g6-step1 .bj-g6-unit-note strong { color:var(--bj-g6-ink); font-weight:700; }
.bj-g6-step1 .wc-block-components-totals-item { padding:11px 0; color:var(--bj-g6-ink); }
.bj-g6-step1 .wc-block-components-totals-footer-item { border-top:1px solid var(--bj-g6-border); padding-top:17px; font-weight:800; }
.bj-g6-step1 .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color:var(--bj-g6-ink); font-weight:800; font-variant-numeric:tabular-nums; }
.bj-g6-step1 .wc-block-components-totals-taxes { border-bottom:1px dashed var(--bj-g6-border); }
/* Never expose WooCommerce's ordinary checkout CTA in reservation preview. */
.bj-g6-step1 .wc-block-cart__submit,
.bj-g6-step1 .wc-block-cart__payment-options { display:none !important; }
.bj-g6-step1 .bj-g6-below-cart { width:min(100%, calc(66.666% - 8px)); margin:10px 0 0; display:flex; flex-direction:column; gap:12px; align-items:stretch; }
.bj-g6-step1 .bj-g6-minimum { color:var(--bj-g6-muted); margin:0; font-size:13px; line-height:1.5; }
.bj-g6-step1 .bj-g6-next,
.bj-g6-step1 .bj-g6-mobile-bar button { padding:14px 18px; font-size:14px; font-weight:700; background:var(--bj-g6-action); color:#fff; border:0; border-radius:8px; }
.bj-g6-step1 .bj-g6-next:disabled,
.bj-g6-step1 .bj-g6-mobile-bar button:disabled { cursor:not-allowed; opacity:.60; }
.bj-g6-step1 .bj-g6-more { display:flex; justify-content:center; align-items:center; min-height:46px; padding:12px 16px; border:1px solid var(--bj-g6-action); border-radius:8px; text-decoration:none; color:var(--bj-g6-action); font-size:14px; font-weight:700; }
.bj-g6-step1 .bj-g6-more:hover { background:#EEF7FA; }
.bj-g6-step1 .bj-g6-autosave,
.bj-g6-step1 .bj-g6-preview-note { color:var(--bj-g6-muted); margin:0; font-size:12px; }
.bj-g6-step1 .bj-g6-mobile-bar { display:none; }
@media(max-width:960px) {
 .bj-g6-step1 .wc-block-cart { gap:18px; }
 .bj-g6-step1 .wc-block-cart__main { padding:14px; }
 .bj-g6-step1 .wc-block-cart__sidebar { padding:14px; top:95px; }
 .bj-g6-step1 .bj-g6-steps li { font-size:11px; }
}
@media(max-width:767px) {
 body.bj-g6-step1-preview { scroll-padding-bottom:108px; }
 body.bj-g6-step1-preview .bj-g6-step1 { padding:16px 16px 116px; margin-bottom:0; }
 .bj-g6-step1 .bj-g6-steps { margin-bottom:23px; }
 .bj-g6-step1 .bj-g6-steps ol { gap:4px; }
 .bj-g6-step1 .bj-g6-steps li { flex:0 1 auto; gap:3px; }
 .bj-g6-step1 .bj-g6-steps li:not(:last-child)::after { display:none; }
 .bj-g6-step1 .bj-g6-steps li.is-future .bj-g6-step-label { display:none; }
 .bj-g6-step1 .bj-g6-steps li.is-current { flex:1; }
 .bj-g6-step1 .bj-g6-step-num { width:24px; height:24px; flex-basis:24px; }
 .bj-g6-step1 .bj-g6-intro h1 { font-size:25px; }
 .bj-g6-step1 .bj-g6-intro p { font-size:14px; }
 .bj-g6-step1 .wc-block-cart { display:block; }
 .bj-g6-step1 .wc-block-cart__main { padding:12px 14px; }
 .bj-g6-step1 .wc-block-cart__sidebar { position:static; margin-top:18px; }
 .bj-g6-step1.has-mobile-total .wc-block-cart__sidebar { display:none; }
 .bj-g6-step1 .wc-block-cart-items { display:block; width:100%; min-width:0; }
 .bj-g6-step1 .wc-block-cart-items tbody { display:block; width:100%; min-width:0; }
 .bj-g6-step1 .wc-block-cart-items__row { display:grid; grid-template-columns:56px minmax(0,1fr); grid-template-areas:"image product" "total total"; gap:5px 12px; width:100%; min-width:0; padding:14px 0; }
 .bj-g6-step1 .wc-block-cart-items__row > td { display:block; padding:0; min-width:0; width:auto; }
 /* Woo Cart Block applies its own per-cell grid spans at small widths.
    Reset them explicitly so the totals cell cannot overlap the unit buttons. */
 .bj-g6-step1 .wc-block-cart-items__row .wc-block-cart-item__image {
  grid-area:image !important; grid-column:1 !important; grid-row:1 !important;
  width:56px; align-self:start; position:static !important;
 }
 .bj-g6-step1 .wc-block-cart-items__row .wc-block-cart-item__product {
  grid-area:product !important; grid-column:2 !important; grid-row:1 !important;
  overflow-wrap:anywhere; position:static !important; min-width:0;
 }
 .bj-g6-step1 .wc-block-cart-items__row .wc-block-cart-item__total {
  grid-area:total !important; grid-column:1 / -1 !important; grid-row:2 !important;
  position:static !important; text-align:right; padding:8px 0 0; width:100%;
  align-self:start; justify-self:stretch;
 }
 .bj-g6-step1 .wc-block-cart-items__row .wc-block-cart-item__total-price-and-sale-badge-wrapper { justify-content:flex-end; }

 .bj-g6-step1 .wc-block-cart-item__image img { width:56px; height:56px; }
 .bj-g6-step1 .bj-g6-below-cart { width:100%; margin-top:14px; }
 .bj-g6-step1 .bj-g6-next { display:none; }
 .bj-g6-step1 .bj-g6-preview-note { text-align:center; }
 .bj-g6-step1 .bj-g6-mobile-bar:not([hidden]) { position:fixed; z-index:100; bottom:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); background:#fff; box-shadow:0 -4px 16px rgba(6,54,73,.1); border-top:1px solid var(--bj-g6-border); }
 .bj-g6-step1 .bj-g6-mobile-total { display:flex; flex-direction:column; gap:2px; min-width:0; }
 .bj-g6-step1 .bj-g6-mobile-total span { font-size:11px; color:var(--bj-g6-muted); }
 .bj-g6-step1 .bj-g6-mobile-total strong { font-size:17px; color:var(--bj-g6-ink); font-variant-numeric:tabular-nums; }
 .bj-g6-step1 .bj-g6-mobile-bar button { flex:0 0 auto; }
}
@media(prefers-reduced-motion:reduce) {
 .bj-g6-step1 *, .bj-g6-step1 *::before, .bj-g6-step1 *::after { scroll-behavior:auto !important; transition:none !important; }
}

/* Cart Block-specific quantity view for trusted grouped piece-priced lines. */
.bj-g6-step1 .wc-block-components-quantity-selector.bj-g6-native-hidden { display:none !important; }
.bj-g6-step1 .bj-g6-grouped-control {
 display:flex; align-items:center; flex-wrap:wrap; gap:0;
 min-height:42px; max-width:max-content; border:1px solid var(--bj-g6-border);
 border-radius:8px; background:#fff; color:var(--bj-g6-ink); overflow:hidden;
}
.bj-g6-step1 .bj-g6-grouped-size { font-size:12px; font-weight:800; padding:0 10px;
 background:#EDF6F9; border-right:1px solid var(--bj-g6-border); align-self:stretch;
 display:inline-flex; align-items:center; }
.bj-g6-step1 .bj-g6-grouped-control button {
 border:0; background:#fff; color:var(--bj-g6-ink); min-width:38px; min-height:42px;
 font-size:20px; font-weight:600; cursor:pointer; padding:4px 9px;
}
.bj-g6-step1 .bj-g6-grouped-control button:hover:not(:disabled) { background:#EEF7FA; }
.bj-g6-step1 .bj-g6-grouped-control button:disabled { cursor:not-allowed; opacity:.4; }
.bj-g6-step1 .bj-g6-grouped-count { min-width:26px; text-align:center; font-size:15px;
 line-height:1.3; font-weight:700; font-variant-numeric:tabular-nums; }
.bj-g6-step1 .bj-g6-grouped-status { flex-basis:100%; font-size:12px;
 line-height:1.5; color:#B3261E; padding:0 10px; }
.bj-g6-step1 .bj-g6-grouped-status:empty { display:none; }

/* Golf 6C.4: same quantity layout for normal and 24x rental items. */
.bj-g6-step1 .wc-block-cart-item__quantity {
 display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px;
}
.bj-g6-step1 .wc-block-cart-item__quantity > .wc-block-components-quantity-selector:not(.bj-g6-native-hidden),
.bj-g6-step1 .wc-block-cart-item__quantity > .bj-g6-grouped-control {
 order:1; margin:0;
}
.bj-g6-step1 .wc-block-cart-item__quantity > .wc-block-cart-item__remove-link {
 order:2; display:inline-flex; align-items:center; justify-content:center;
 min-width:40px; min-height:40px; margin:0;
}
.bj-g6-step1 .wc-block-cart-item__quantity > .bj-g6-unit-note {
 order:3; flex-basis:100%; margin:0; min-width:0;
}
/* Read-only Flight Deck summary is shown only for a reconciled standard cart. */
.bj-g6-step1 .wc-block-cart__sidebar.bj-g6-summary-ready > .wp-block-woocommerce-cart-order-summary-block {
 display:none !important;
}
.bj-g6-step1 .bj-g6-summary { color:var(--bj-g6-ink); }
.bj-g6-step1 .bj-g6-summary-title {
 margin:0 0 16px; font-size:17px; line-height:1.35; font-weight:800;
 color:var(--bj-g6-ink);
}
.bj-g6-step1 .bj-g6-summary-list { margin:0; }
.bj-g6-step1 .bj-g6-summary-list > div {
 display:flex; justify-content:space-between; align-items:flex-start;
 gap:14px; padding:11px 0; border-bottom:1px solid var(--bj-g6-border);
 font-size:14px; line-height:1.5;
}
.bj-g6-step1 .bj-g6-summary-list dt { color:var(--bj-g6-ink); font-weight:400; }
.bj-g6-step1 .bj-g6-summary-list dd {
 margin:0; color:var(--bj-g6-ink); white-space:nowrap;
 font-variant-numeric:tabular-nums; font-weight:600;
}
.bj-g6-step1 .bj-g6-summary-list > .bj-g6-summary-final {
 margin-top:6px; padding-top:17px; padding-bottom:13px;
 border-top:1px solid var(--bj-g6-border); border-bottom:0;
 font-size:17px; font-weight:800;
}
.bj-g6-step1 .bj-g6-summary-final dt,
.bj-g6-step1 .bj-g6-summary-final dd { font-weight:800; }
.bj-g6-step1 .bj-g6-summary-note {
 margin:10px 0 0; font-size:12px; line-height:1.6;
 color:var(--bj-g6-muted);
}
@media(min-width:768px) {
 .bj-g6-step1.bj-g6-summary-shown .bj-g6-autosave { display:none; }
}

/* Flight Deck desktop: reserveer- en assortimentactie naast elkaar. */
@media(min-width:768px) {
 .bj-g6-step1 .bj-g6-below-cart {
  display:flex; flex-direction:row; flex-wrap:wrap; align-items:stretch; gap:12px;
 }
 .bj-g6-step1 .bj-g6-below-cart .bj-g6-minimum:not([hidden]) {
  order:0; flex:0 0 100%; max-width:100%;
 }
 .bj-g6-step1 .bj-g6-below-cart .bj-g6-next,
 .bj-g6-step1 .bj-g6-below-cart .bj-g6-more {
  flex:1 1 calc(50% - 6px); width:auto; min-width:0; min-height:48px;
 }
 .bj-g6-step1 .bj-g6-below-cart .bj-g6-next { order:1; }
 .bj-g6-step1 .bj-g6-below-cart .bj-g6-more { order:2; }
 .bj-g6-step1 .bj-g6-below-cart .bj-g6-preview-note { order:3; flex:0 0 100%; text-align:left; }
 .bj-g6-step1 .bj-g6-below-cart .bj-g6-autosave { order:4; flex:0 0 100%; }
}

/* Golf 6C.5 — reserve the full mobile cart-row width for quantity actions.
   Woo places these controls inside the second (product) column, which is too
   narrow for a 24x stepper and the separate remove button on 320/390px. */
@media (max-width:767px) {
 .bj-g6-step1 .wc-block-cart-items__row .wc-block-cart-item__quantity {
  width:calc(100vw - 104px);
  max-width:calc(100vw - 104px);
  margin-left:-68px;
  gap:8px;
 }
 .bj-g6-step1 .wc-block-cart-item__quantity > .bj-g6-grouped-control {
  display:inline-flex; flex:0 0 auto;
  width:max-content; max-width:100%; flex-wrap:nowrap;
 }
 .bj-g6-step1 .bj-g6-grouped-control > :not(.bj-g6-grouped-status) {
  flex-shrink:0;
 }
 .bj-g6-step1 .wc-block-cart-item__quantity > .wc-block-cart-item__remove-link {
  flex:0 0 40px; min-height:42px;
 }
}

/* Woo's normal quantity component may declare a full-row flex-basis even
   when its visible stepper is narrow. Override only in the mobile preview. */
@media (max-width:767px) {
 .bj-g6-step1 .wc-block-cart-item__quantity > .wc-block-components-quantity-selector:not(.bj-g6-native-hidden) {
  flex:0 0 auto !important; width:max-content; max-width:100%;
 }
}

/*
 * Golf 6C.6 — align preview main content with the existing 1280px breadcrumb
 * shell. Hello Elementor restricts .site-main to 1140/800/600px by default.
 * ONLY the explicitly gated staging reservation preview receives this fix.
 * Do not widen any other WP pages, the default cart, header or footer.
 */
body.bj-g6-step1-preview .site-main {
 width:calc(100% - 40px);
 max-width:1280px;
 margin-inline:auto;
 padding-inline:0;
}
body.bj-g6-step1-preview .bj-g6-step1 {
 padding-inline:0;
}
@media (min-width:640px) and (max-width:1023px) {
 body.bj-g6-step1-preview .site-main {
  width:calc(100% - 56px);
 }
}
@media (max-width:639px) {
 body.bj-g6-step1-preview .site-main {
  width:calc(100% - 32px);
 }
}

/* Golf 6C.7 — desktop visual finish, scoped to the staging preview. */
@media (min-width:768px) {
 .bj-g6-step1 .bj-g6-below-cart { width:calc(66.666% - 8px); margin-top:10px; }
}
/* WooCommerce's table and row borders otherwise stack into broken lines. */
.bj-g6-step1 .wc-block-cart-items,
.bj-g6-step1 .wc-block-cart-items tbody,
.bj-g6-step1 .wc-block-cart-items__row,
.bj-g6-step1 .wc-block-cart-items__row > td { border-top:0 !important; border-bottom:0 !important; }
.bj-g6-step1 .wc-block-cart-items__row + .wc-block-cart-items__row { border-top:1px solid var(--bj-g6-border) !important; }
.bj-g6-step1 .wc-block-cart__main { overflow:hidden; }
/* Maintain the ink-led Flight Deck hierarchy; muted text stays legible. */
.bj-g6-step1 .bj-g6-intro p,
.bj-g6-step1 .bj-g6-sku,
.bj-g6-step1 .bj-g6-unit-note,
.bj-g6-step1 .bj-g6-summary-note { color:var(--bj-g6-ink); }
/* Disabled until period selection is implemented: clearly not actionable. */
.bj-g6-step1 .bj-g6-next:disabled { background:#DCE7EB; color:var(--bj-g6-ink); border:1px solid var(--bj-g6-border); opacity:1; }
.bj-g6-step1 .bj-g6-preview-note { color:var(--bj-g6-ink); line-height:1.5; }

/* Golf 6C.8 — match the compact +/- quantity selector on product detail.
   Visual-only styling: native Woo controls and grouped quantity handlers stay intact. */
.bj-g6-step1 .wc-block-cart-item__quantity > .wc-block-components-quantity-selector:not(.bj-g6-native-hidden),
.bj-g6-step1 .wc-block-cart-item__quantity > .bj-g6-grouped-control {
 height:40px; min-height:40px; width:max-content; max-width:100%;
 border:1px solid var(--bj-g6-border); border-radius:6px;
 box-shadow:none; overflow:hidden; background:#fff;
}
.bj-g6-step1 .wc-block-components-quantity-selector__button,
.bj-g6-step1 .bj-g6-grouped-control button {
 width:36px; min-width:36px; height:38px; min-height:38px;
 padding:0 8px; border:0; background:#fff; color:var(--bj-g6-action);
 font-size:17px; line-height:1;
}
.bj-g6-step1 .wc-block-components-quantity-selector__input,
.bj-g6-step1 .bj-g6-grouped-count {
 width:48px; min-width:48px; max-width:48px; height:38px;
 padding:0 4px; margin:0; text-align:center; font-size:14px;
 font-weight:600; color:var(--bj-g6-ink); background:#fff;
 border-left:1px solid var(--bj-g6-border);
 border-right:1px solid var(--bj-g6-border); border-top:0; border-bottom:0;
 border-radius:0; box-shadow:none; font-variant-numeric:tabular-nums;
}
.bj-g6-step1 .bj-g6-grouped-count { display:flex; align-items:center; justify-content:center; }
.bj-g6-step1 .bj-g6-grouped-size {
 min-height:38px; padding:0 9px; font-size:11px;
}
.bj-g6-step1 .wc-block-cart-item__quantity { gap:8px; }
.bj-g6-step1 .wc-block-cart-item__quantity > .wc-block-cart-item__remove-link {
 min-width:40px; min-height:40px;
}
@media (max-width:767px) {
 .bj-g6-step1 .wc-block-cart-item__quantity > .bj-g6-grouped-control,
 .bj-g6-step1 .wc-block-cart-item__quantity > .wc-block-components-quantity-selector:not(.bj-g6-native-hidden) {
  height:40px; min-height:40px;
 }
}

/* Golf 6C.9 — Woo native stepper: reset core's input/button flex and
   pseudo borders so TEST-BJ-VU-020 matches the compact grouped stepper.
   Preserve WooCommerce React event handlers and quantity limits. */
body.bj-g6-step1-preview .bj-g6-step1 .wc-block-cart-item__quantity .wc-block-components-quantity-selector:not(.bj-g6-native-hidden) {
 display:inline-flex !important;
 flex:0 0 auto !important;
 flex-flow:row nowrap !important;
 align-items:stretch !important;
 justify-content:flex-start !important;
 width:122px !important;
 min-width:122px !important;
 max-width:122px !important;
 height:40px !important;
 min-height:40px !important;
 padding:0 !important;
 margin:0 !important;
 border:1px solid var(--bj-g6-border) !important;
 border-radius:6px !important;
 background:#fff !important;
 box-shadow:none !important;
 overflow:hidden;
}
body.bj-g6-step1-preview .bj-g6-step1 .wc-block-cart-item__quantity .wc-block-components-quantity-selector:not(.bj-g6-native-hidden)::after,
body.bj-g6-step1-preview .bj-g6-step1 .wc-block-cart-item__quantity .wc-block-components-quantity-selector:not(.bj-g6-native-hidden)::before {
 content:none !important; display:none !important;
}
body.bj-g6-step1-preview .bj-g6-step1 .wc-block-cart-item__quantity .wc-block-components-quantity-selector:not(.bj-g6-native-hidden) > button {
 flex:0 0 36px !important;
 width:36px !important; min-width:36px !important; max-width:36px !important;
 height:38px !important; min-height:38px !important;
 margin:0 !important; padding:0 !important; border:0 !important;
 background:#fff !important; color:var(--bj-g6-action) !important;
 border-radius:0 !important; box-shadow:none !important;
 display:flex; align-items:center; justify-content:center;
}
body.bj-g6-step1-preview .bj-g6-step1 .wc-block-cart-item__quantity .wc-block-components-quantity-selector:not(.bj-g6-native-hidden) > input {
 flex:0 0 48px !important;
 width:48px !important; min-width:48px !important; max-width:48px !important;
 height:38px !important; min-height:38px !important;
 padding:0 !important; margin:0 !important;
 border:0 !important; border-left:1px solid var(--bj-g6-border) !important;
 border-right:1px solid var(--bj-g6-border) !important;
 border-radius:0 !important; box-shadow:none !important;
 background:#fff !important; color:var(--bj-g6-ink) !important;
 font-size:14px !important; font-weight:600 !important; text-align:center !important;
 appearance:textfield;
}
body.bj-g6-step1-preview .bj-g6-step1 .wc-block-cart-item__quantity .wc-block-components-quantity-selector:not(.bj-g6-native-hidden) > input::-webkit-inner-spin-button,
body.bj-g6-step1-preview .bj-g6-step1 .wc-block-cart-item__quantity .wc-block-components-quantity-selector:not(.bj-g6-native-hidden) > input::-webkit-outer-spin-button {
 -webkit-appearance:none; margin:0;
}

/* Golf 6 — a genuine empty reservation, not Woo's oversized fallback.
   Only the staging opt-in receives this design. */
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-is-empty .bj-g6-cart-shell,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-is-empty .bj-g6-below-cart,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-is-empty .bj-g6-steps,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-is-empty .bj-g6-mobile-bar {
 display:none !important;
}
body.bj-g6-step1-preview .bj-g6-empty-state[hidden] { display:none !important; }
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-empty-state {
 width:min(100%, 720px);
 margin:28px auto 20px;
 padding:48px 36px 52px;
 background:#fff;
 border:1px solid var(--bj-g6-border);
 border-radius:12px;
 text-align:center;
 color:var(--bj-g6-ink);
}
body.bj-g6-step1-preview .bj-g6-empty-icon {
 display:flex;
 justify-content:center;
 align-items:center;
 margin:0 auto 20px;
 width:72px;
 height:72px;
 border-radius:50%;
 color:var(--bj-g6-action);
 background:#E7F2F8;
}
body.bj-g6-step1-preview .bj-g6-empty-state h2 {
 margin:0 0 12px;
 color:var(--bj-g6-ink);
 font-family:inherit;
 font-size:clamp(22px,3vw,27px);
 line-height:1.25;
 font-weight:800;
 letter-spacing:-.015em;
}
body.bj-g6-step1-preview .bj-g6-empty-state p {
 margin:0 auto 26px;
 max-width:460px;
 color:var(--bj-g6-ink);
 line-height:1.6;
 font-size:15px;
}
body.bj-g6-step1-preview .bj-g6-empty-state .bj-g6-empty-cta {
 display:inline-flex;
 justify-content:center;
 align-items:center;
 min-width:205px;
 min-height:48px;
 padding:12px 24px;
 background:var(--bj-g6-action) !important;
 border:1px solid var(--bj-g6-action) !important;
 border-radius:8px;
 color:#fff !important;
 font-size:14px;
 font-weight:700;
 line-height:1.4;
 text-decoration:none !important;
 box-shadow:none;
}
body.bj-g6-step1-preview .bj-g6-empty-state .bj-g6-empty-cta:hover {
 background:#00648A !important;
 color:#fff !important;
}
body.bj-g6-step1-preview .bj-g6-empty-state .bj-g6-empty-cta:focus-visible {
 outline:3px solid var(--bj-g6-action);
 outline-offset:3px;
}
@media(max-width:767px) {
 body.bj-g6-step1-preview .bj-g6-step1.bj-g6-is-empty {
  padding-bottom:40px;
  margin-bottom:28px;
 }
 body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-empty-state {
  margin:24px auto 16px;
  padding:32px 20px 36px;
 }
 body.bj-g6-step1-preview .bj-g6-empty-state .bj-g6-empty-cta {
  width:100%;
 }
}
/* Empty native Woo content remains mounted (for later add-to-cart updates)
   but is not visible or keyboard-accessible while the cart is empty. */

/* Golf 6 navigation — ONLY one Back + one Next on the active step.
   The Woo Store API may trigger cart sync while steps 2/3 are visible;
   CSS must be authoritative even if an old step-one script resets [hidden]. */
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-not-cart > .bj-g6-below-cart,
body.bj-g6-step1-preview .bj-g6-step1[data-bj-g6-stage="1"] > .bj-g6-below-cart,
body.bj-g6-step1-preview .bj-g6-step1[data-bj-g6-stage="2"] > .bj-g6-below-cart,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-not-cart > .bj-g6-mobile-bar {
  display:none !important;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-below-cart {
  flex-direction:column;
  align-items:stretch;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  width:100%;
  max-width:100%;
  align-items:stretch;
  margin:18px 0 0;
  padding:0;
  min-width:0;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-below-cart .bj-g6-step-nav {
  flex:0 0 100%;
  order:1;
  margin:4px 0 0;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > :is(a,button) {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:100% !important;
  min-width:0;
  min-height:48px;
  margin:0 !important;
  padding:11px 15px !important;
  box-sizing:border-box;
  border-radius:8px !important;
  text-decoration:none !important;
  text-align:center;
  font-family:inherit;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
  box-shadow:none !important;
  white-space:normal;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > :is(.bj-g6-nav-back,.bj-g6-back,.bj-g6-logistics-back,.bj-g6-customer-back) {
  background:#fff !important;
  color:#007AA6 !important;
  border:1px solid #007AA6 !important;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > :is(.bj-g6-nav-back,.bj-g6-back,.bj-g6-logistics-back,.bj-g6-customer-back):hover {
  background:#E7F2F8 !important;
  color:#007AA6 !important;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > :is(.bj-g6-next,.bj-g6-to-logistics,.bj-g6-logistics-next,.bj-g6-customer-next) {
  background:#007AA6 !important;
  color:#fff !important;
  border:1px solid #007AA6 !important;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > :is(.bj-g6-next,.bj-g6-to-logistics,.bj-g6-logistics-next,.bj-g6-customer-next):not(:disabled):hover {
  background:#00648A !important;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > button:disabled {
  background:#EEF3F5 !important;
  color:#68696E !important;
  border:1px solid #DAE3E8 !important;
  opacity:1 !important;
  cursor:not-allowed;
}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > :is(a,button):focus-visible {
  outline:3px solid #007AA6 !important;
  outline-offset:3px;
}
body.bj-g6-step1-preview .bj-g6-period .bj-g6-period-save-row {
  display:flex;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:10px;
}
body.bj-g6-step1-preview .bj-g6-period .bj-g6-period-save-row .bj-g6-step-nav {margin-top:0}
body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-logistics .bj-g6-logistics-actions.bj-g6-step-nav {
  margin:22px 0 0;
}
body.bj-g6-step1-preview .bj-g6-step4-note {
  margin:8px 0 0;
  color:#68696E;
  font-size:12px;
  line-height:1.5;
}
@media(max-width:767px) {
  body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav {gap:10px}
  body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > :is(a,button) {
    min-height:46px;
    padding:10px 8px !important;
  }
  body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-mobile-bar {display:none !important}
  body.bj-g6-step1-preview .bj-g6-step1 {padding-bottom:24px}
}

/* Step-specific labels: keep full previous/next destinations legible on narrow phones. */
@media(max-width:390px) {
 body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav {
  gap:8px;
 }
 body.bj-g6-step1-preview .bj-g6-step1 .bj-g6-step-nav > :is(a,button) {
  padding:10px 6px !important;
  font-size:12px !important;
  line-height:1.35 !important;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:auto;
 }
}

/* Golf 6M — show the completed application only to its authenticated QA cart. */
body.bj-g6-step1-preview .bj-g6-prior-banner{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
 gap:14px 20px;margin:0 0 22px;padding:16px 20px;
 border:1px solid #B5CDD9;border-left:4px solid #007AA6;
 border-radius:10px;background:#F2F8FB;color:#063649;
}
body.bj-g6-step1-preview .bj-g6-prior-banner[hidden]{display:none!important}
body.bj-g6-step1-preview .bj-g6-prior-banner strong{
 color:#063649;font-weight:800;font-size:15px;line-height:1.4;
}
body.bj-g6-step1-preview .bj-g6-prior-banner p{
 margin:5px 0 0;font-size:13px;line-height:1.6;color:#063649;
}
body.bj-g6-step1-preview .bj-g6-prior-banner p strong{font-size:inherit}
body.bj-g6-step1-preview .bj-g6-prior-start-new{
 border:1px solid #007AA6;border-radius:8px;min-height:44px;
 padding:10px 18px;font-size:14px;font-weight:700;line-height:1.4;
 background:#007AA6;color:#fff;cursor:pointer;white-space:normal;
}
body.bj-g6-step1-preview .bj-g6-prior-start-new:hover{background:#00648A;border-color:#00648A}
body.bj-g6-step1-preview .bj-g6-prior-start-new:disabled{
 cursor:wait;background:#E9EFF2;border-color:#DAE3E8;color:#5D6870;
}
body.bj-g6-step1-preview .bj-g6-prior-status{flex-basis:100%;margin:0}
body.bj-g6-step1-preview .bj-g6-prior-status:empty{display:none}
@media(max-width:767px){
 body.bj-g6-step1-preview .bj-g6-prior-banner{padding:14px}
 body.bj-g6-step1-preview .bj-g6-prior-start-new{width:100%}
}

/* Completed B&J QA request: previous cart and prices must never masquerade
   as a new reservation. Keep the actual Woo cart mounted for a safe reset. */
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-completed-cart > .bj-g6-cart-shell,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-completed-cart > .bj-g6-below-cart,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-completed-cart > .bj-g6-empty-state,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-completed-cart > .bj-g6-mobile-bar,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-completed-cart > .bj-g6-steps,
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-completed-cart > .bj-g6-intro > p {
 display:none!important;
}
body.bj-g6-step1-preview .bj-g6-step1.bj-g6-completed-cart .bj-g6-prior-banner{
 margin-top:14px;
}

/* Golf 6 staging quotes: native Woo price cells are incomplete for unpriced
   products. Show the explicit status in the quantity note instead. */
.bj-g6-step1 .wc-block-cart-items__row.bj-g6-quote-item .wc-block-cart-item__prices,
.bj-g6-step1 .wc-block-cart-items__row.bj-g6-quote-item .wc-block-cart-item__total {
 display:none !important;
}
.bj-g6-step1 .wc-block-cart-items__row.bj-g6-quote-item .bj-g6-unit-note {
 color:var(--bj-g6-ink);
 font-weight:600;
}
