.bbcx-journey .bbcx-account-invitation { background:transparent; border:1px solid #d2e3d5; padding:20px; border-radius:12px; margin-block:20px; text-align:start; }
.bbcx-journey .bbcx-account-invitation h2 { font-size:20px; line-height:1.7; }
.bbcx-journey .bbcx-account-invitation p, .bbcx-journey .bbcx-autofill-note { font-size:14px; line-height:1.9; }
.bbcx-journey .woocommerce-billing-fields__field-wrapper, .bbcx-journey .woocommerce-shipping-fields__field-wrapper { display:flow-root; }
.bbcx-journey .bbcx-name-field { width:48%; display:inline-block; vertical-align:top; }
.bbcx-journey .woocommerce-checkout .form-row label { display:block; }
.bbcx-journey .woocommerce-checkout input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .bbcx-journey .woocommerce-checkout select { min-height:46px; }
.bbcx-journey .woocommerce-cart-form .product-thumbnail img { object-fit:contain; }
.bbcx-journey .cart_totals, .bbcx-journey .checkout-order-review { border-radius:12px; }
.bbcx-journey .bbcx-receipt-tools { margin-block:20px; padding:16px; border:1px solid #d2e3d5; border-radius:12px; }
.bbcx-journey .bbcx-print-receipt, .bbcx-journey .bbcx-optional-login { min-height:44px; white-space:normal; }
.bbcx-journey :is(.bbcx-print-receipt,.bbcx-optional-login):focus-visible { outline:3px solid #0b66bb; outline-offset:3px; }
@media (max-width:480px) { .bbcx-journey .bbcx-account-invitation { padding:16px; } .bbcx-journey .bbcx-name-field { width:48%; } }
@media print {
  .bbcx-journey :is(.whb-header,.wd-header-mobile,.wd-toolbar,.website-wrapper>footer,#wpadminbar,.bbcx-account-invitation,.bbcx-receipt-tools button,.scrollToTop,.wd-scroll-top) { display:none !important; }
  .bbcx-journey .woocommerce-order { color:#000; background:transparent; }
  .bbcx-journey .woocommerce-order table { width:100%; break-inside:avoid; }
}

/* Native controls remain usable until the scoped enhancement has initialized. */
.bbcx-journey .bbcx-wizard [hidden], .bbcx-journey .bbcx-wizard-nav[hidden] { display:none !important; }
.bbcx-wizard-nav { display:flex; flex-wrap:wrap; gap:8px; margin-block:20px; padding:14px; background:transparent; border:1px solid var(--brdcolor-gray-300,#ddd); border-radius:12px; }
.bbcx-wizard-nav :is(a,button) { padding:10px 14px; border-radius:8px; font-size:14px; min-height:44px; }
.bbcx-wizard-nav [aria-current=step] { background:transparent;color:#fff; }
.bbcx-wizard-nav button:disabled { opacity:.55;cursor:default; }
.bbcx-wizard-controls { grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-block:20px; }
.bbcx-wizard-message { width:100%;margin:0; }
.bbcx-wizard .bbcx-confirm-state { margin-top:8px;font-size:12px;white-space:normal; }
.bbcx-wizard .bbcx-delivery-summary { padding:20px;border:1px solid var(--brdcolor-gray-300,#ddd);border-radius:12px;line-height:1.9; }
.bbcx-wizard .bbcx-delivery-summary h2 { font-size:20px; }
.bbcx-wizard .bbcx-field-error { display:block;color:#a51919;font-size:13px;line-height:1.8; }
.bbcx-wizard :is(button,a,input,select):focus-visible { outline:3px solid var(--wd-primary-color,#166534);outline-offset:3px; }
.bbcx-address-dropdown .select2-search { display:none; }
.bbcx-address-dropdown { border-radius:6px;border:1px solid #b9b9b9; }
.bbcx-address-dropdown .select2-results__option[aria-disabled=true]:first-child { display:none; }
.bbcx-journey .bbcx-wizard .select2-selection { border-radius:6px;box-shadow:none; }
@media(max-width:767px) { .bbcx-wizard-nav { padding:8px;gap:4px; } .bbcx-wizard-nav :is(a,button) { padding:8px;font-size:12px;flex:1 0 28%; } .bbcx-wizard-controls>button { flex:1; } }

.bbcx-journey form.bbcx-wizard>.bbcx-wizard-controls { order:10;flex:1 0 100%;width:100%; }
.bbcx-journey form.bbcx-wizard>.bbcx-delivery-summary { order:1;flex:1 0 40%;min-width:0;max-width:100%; }
@media(max-width:768px) { .bbcx-journey form.bbcx-wizard>.bbcx-delivery-summary { flex-basis:100%; } }

.bbcx-order-fulfilment { margin-block:24px;padding:20px;border:1px solid var(--brdcolor-gray-300,#ddd);border-radius:12px;line-height:1.9; }

/* Corrective commerce components. Native fields, forms and AJAX retain ownership. */
.bbcx-journey{--bbcx-border:var(--brdcolor-gray-300,#e4e4e7);--bbcx-muted:var(--color-gray-600,#616161);--bbcx-surface:transparent;color:var(--color-gray-900,#242424)}
.bbcx-journey .main-page-wrapper{padding-top:28px;padding-bottom:40px;background:transparent}
.bbcx-journey :is(.woocommerce,.cart-content-wrapper){min-width:0}
.bbcx-journey :is(h1,h2,h3){line-height:1.7;color:var(--color-gray-900,#242424)}
.bbcx-journey :is(.bbcx-stage-heading,.bbcx-cart-heading){font-size:24px;margin:0 0 24px;font-weight:700}
.bbcx-journey :is(.cart_totals,.customer-details,.bbcx-payment-panel,.bbcx-delivery-summary,.bbcx-shipment-panel,.checkout-order-review,.bbcx-coupon,.bbcx-outcome-card,.woocommerce-order-details,.bbcx-account-invitation){border:1px solid var(--bbcx-border);border-radius:12px;background:transparent;padding:24px;min-width:0;margin:0;box-shadow:none}
.bbcx-journey :is(.cart_totals,.checkout-order-review){background:transparent}
.bbcx-journey :is(.cart_totals,.checkout-order-review) :is(h2,h3){font-size:19px;text-align:start;margin:0 0 16px}
.bbcx-journey :is(.cart_totals,.checkout-order-review) table{table-layout:auto;width:100%;border-spacing:0;background:transparent;padding:0;border-radius:0}
.bbcx-journey :is(.cart_totals,.checkout-order-review) :is(th,td){font-size:14px;line-height:1.9;padding:14px 0;white-space:normal;vertical-align:top}
.bbcx-journey :is(.cart_totals,.checkout-order-review) th{text-align:start;width:56%}
.bbcx-journey :is(.cart_totals,.checkout-order-review) td{text-align:end}
.bbcx-journey :is(.cart_totals,.checkout-order-review) .order-total :is(th,td){font-size:17px;padding-block:20px;color:var(--color-gray-900)}
.bbcx-journey .cart-totals-inner{border:0!important;padding:0!important;background:transparent;box-shadow:none}
.bbcx-journey .bbcx-savings{color:#187441;background:transparent}
.bbcx-journey :is(.checkout-button,.bbcx-next,#place_order){min-height:50px;border-radius:8px;background:transparent;color:var(--btn-accented-color,#fff);font-size:15px;font-weight:700}
.bbcx-journey :is(.checkout-button,#place_order){width:100%}
.bbcx-journey .bbcx-cart-coupon-note{font-size:12px;color:var(--bbcx-muted);margin:14px 0 0;text-align:center}
.bbcx-journey .bbcx-cart-shipping :is(th,td){font-size:12px}
.bbcx-journey .cart-content-wrapper{display:grid!important;grid-template-columns:minmax(0,7fr) minmax(300px,3fr);gap:24px;align-items:start}
.bbcx-journey .cart-content-wrapper>.woocommerce-cart-form{width:100%!important;max-width:none!important;flex:none;margin:0}
.bbcx-journey .cart-content-wrapper>.cart_totals{width:100%!important;max-width:none!important;flex:none;margin:0}
.bbcx-journey .woocommerce-cart-form__contents,.bbcx-journey .woocommerce-cart-form__contents tbody{display:block;width:100%;border:0;margin:0}
.bbcx-journey .woocommerce-cart-form__contents thead{display:none}
.bbcx-journey .woocommerce-cart-form__contents .cart_item{position:relative;display:grid;grid-template-columns:160px minmax(0,1fr) 145px;gap:12px 20px;padding:24px;border:1px solid var(--bbcx-border);background:transparent;border-radius:12px;margin-bottom:16px;align-items:center}
.bbcx-journey .woocommerce-cart-form__contents .cart_item td{display:block!important;border:0;padding:0;width:auto!important;text-align:start;min-width:0}
.bbcx-journey .woocommerce-cart-form__contents .cart_item td::before{display:none!important}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-thumbnail{grid-column:1;grid-row:1/span 3}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-thumbnail :is(a,img){display:block;width:150px!important;height:160px;max-width:none!important;object-fit:contain}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-name{grid-column:2;grid-row:1/span 2;font-size:16px!important;line-height:1.9;color:var(--color-gray-900)}
.bbcx-journey .woocommerce-cart-form__contents .product-name :is(a,.cart-product-label){display:block!important;white-space:normal!important;overflow:visible!important;font-size:inherit!important;line-height:inherit;max-height:none;-webkit-line-clamp:unset;color:inherit}
.bbcx-journey .woocommerce-cart-form__contents .variation{display:block;font-size:13px;color:var(--bbcx-muted);margin-top:8px}
.bbcx-journey .woocommerce-cart-form__contents .variation :is(dt,dd){float:none;display:inline;margin:0 0 0 6px}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-price{grid-column:3;grid-row:1;padding-top:22px;font-size:13px;color:var(--bbcx-muted)}
.bbcx-journey .woocommerce-cart-form__contents .product-price del{display:block;font-size:12px}
.bbcx-journey .woocommerce-cart-form__contents .product-price ins{text-decoration:none}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-subtotal{grid-column:3;grid-row:2;font-size:17px;font-weight:700}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-quantity{grid-column:2;grid-row:3}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-remove{position:absolute;inset-block-start:8px;inset-inline-end:8px}
.bbcx-journey .product-remove a{display:flex;align-items:center;justify-content:center;width:44px;height:44px}
.bbcx-journey .quantity :is(input,.minus,.plus){min-height:44px}
.bbcx-journey .bbcx-success-feedback{padding:10px 16px;margin:0 0 20px;border-inline-start:3px solid var(--wd-primary-color);font-size:13px;line-height:1.8;background:transparent;color:var(--color-gray-800)}
.bbcx-journey .bbcx-success-feedback ul{list-style:none;margin:0;padding:0}
.bbcx-journey .bbcx-success-feedback .button{display:none}
.bbcx-journey .bbcx-wizard-nav{display:flex;justify-content:flex-start;gap:8px;border:0;border-bottom:1px solid var(--bbcx-border);padding:0 0 16px;margin:0 0 20px;background:transparent;border-radius:0}
.bbcx-journey .bbcx-wizard-nav :is(a,button){padding:10px 16px;min-height:44px;font-size:13px;background:transparent;border-radius:6px;color:var(--bbcx-muted)}
.bbcx-journey .bbcx-wizard-nav [aria-current=step]{background:transparent;color:var(--btn-accented-color,#fff)}
.bbcx-journey .bbcx-wizard-nav button:disabled{opacity:1;color:var(--bbcx-muted)}
.bbcx-journey .bbcx-checkout-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(300px,3fr);gap:20px 24px;align-items:start}
.bbcx-journey .bbcx-checkout-layout form.bbcx-wizard{display:contents!important}
.bbcx-journey .bbcx-wizard>.customer-details{grid-column:1;grid-row:1;width:auto!important;max-width:none;order:0}
.bbcx-journey .bbcx-wizard>.bbcx-delivery-summary{grid-column:1;grid-row:1;order:0;width:auto!important;max-width:none}
.bbcx-journey .bbcx-wizard>.bbcx-payment-panel{grid-column:1;grid-row:2;order:1;width:auto!important;max-width:none}
.bbcx-journey .bbcx-wizard>.bbcx-shipment-panel{grid-column:1;grid-row:2;order:1}
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="1"] .bbcx-shipment-panel{grid-row:4;order:3}
.bbcx-journey .bbcx-wizard>.checkout-order-review{grid-column:2;grid-row:1/span 5;order:4;width:100%!important;max-width:none!important;margin:0}
.bbcx-journey .checkout-order-review::before,.bbcx-journey .checkout-order-review::after{display:none}
.bbcx-journey .checkout-order-review .wd-table-wrapper{padding:0}
.bbcx-journey .bbcx-wizard>.bbcx-wizard-controls{grid-column:1;grid-row:5;order:5;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;width:auto;margin:0}
.bbcx-journey .bbcx-wizard-message{width:100%;margin:0}
.bbcx-journey .bbcx-wizard-message:empty{display:none}
.bbcx-journey .bbcx-back{display:inline-flex;align-items:center;min-height:44px;color:var(--bbcx-muted);font-size:13px}
.bbcx-journey .bbcx-next{min-width:210px}
.bbcx-journey :is(.customer-details,.bbcx-shipment-panel,.bbcx-payment-panel,.bbcx-delivery-summary) :is(h2,h3){font-size:19px;text-align:start;margin:0 0 18px}
.bbcx-journey .woocommerce-billing-fields__field-wrapper,.bbcx-journey .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bbcx-journey .bbcx-wizard .form-row{width:100%!important;float:none;margin:0;min-width:0}
.bbcx-journey .bbcx-wizard .form-row-wide{grid-column:1/-1}
.bbcx-journey .bbcx-wizard .form-row label{display:block;font-size:14px;margin-bottom:8px;color:var(--color-gray-800)}
.bbcx-journey .bbcx-wizard input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.bbcx-journey .bbcx-wizard select{min-height:46px;border-radius:8px;font-size:14px;background:transparent}
.bbcx-journey .bbcx-wizard .select2-selection{height:46px;border-radius:8px;background:transparent;box-shadow:none}
.bbcx-journey .bbcx-wizard .select2-selection__rendered{line-height:44px}
.bbcx-journey .bbcx-wizard .select2-selection__arrow{height:44px}
.bbcx-journey .bbcx-draft-consent{font-size:12px;line-height:1.9;margin-top:18px}
.bbcx-journey #ship-to-different-address{font-size:14px;margin:18px 0}
.bbcx-journey .bbcx-notes{margin-top:16px;border-top:1px solid var(--bbcx-border);padding-top:8px}
.bbcx-journey .bbcx-notes label,.bbcx-journey .woocommerce-additional-fields>h3{display:none!important}
.bbcx-journey :is(.bbcx-notes,.bbcx-coupon,.bbcx-account-invitation details) summary{cursor:pointer;min-height:44px;padding-block:10px;font-size:14px}
.bbcx-journey .bbcx-address-text{font-size:14px;line-height:2;margin-bottom:12px;color:var(--color-gray-800)}
.bbcx-journey .bbcx-edit-delivery{padding:8px 14px;min-height:44px;border-radius:6px;color:var(--wd-primary-color);background:transparent}
.bbcx-journey .bbcx-parcel-items{list-style:none;padding:0;margin:0;display:flex;gap:24px;flex-wrap:wrap}
.bbcx-journey .bbcx-parcel-items li{display:flex;gap:12px;align-items:center;flex:1 1 220px;margin:0;min-width:0}
.bbcx-journey .bbcx-parcel-items img{width:76px;height:86px;object-fit:contain;flex:none}
.bbcx-journey .bbcx-parcel-items strong{display:block;font-size:14px;line-height:1.8;color:var(--color-gray-900)}
.bbcx-journey .bbcx-parcel-items :is(span,.variation){font-size:12px;color:var(--bbcx-muted)}
.bbcx-journey .bbcx-shipping-table{width:100%;margin:18px 0 0}
.bbcx-journey .bbcx-shipping-table :is(th,td){font-size:14px;padding:16px 0;vertical-align:top;text-align:start}
.bbcx-journey .bbcx-delivery-info{font-size:12px;line-height:1.8;color:var(--bbcx-muted);border-top:1px solid var(--bbcx-border);padding-top:14px;margin-top:8px;background:transparent}
.bbcx-journey .bbcx-delivery-info p{margin:0 0 4px}
.bbcx-journey .bbcx-payment-panel #payment{margin:0;background:transparent}
.bbcx-journey .bbcx-payment-panel .wc_payment_methods{padding:0;margin:0;display:grid;gap:12px;list-style:none}
.bbcx-journey .bbcx-payment-panel .wc_payment_method{border:1px solid var(--bbcx-border);border-radius:10px;padding:18px;margin:0;background:transparent}
.bbcx-journey .bbcx-payment-panel .wc_payment_method.bbcx-method-selected{border:2px solid var(--wd-primary-color);padding:17px;background:transparent}
.bbcx-journey .bbcx-payment-panel .wc_payment_method>label{font-size:16px;line-height:1.8;font-weight:700;cursor:pointer}
.bbcx-journey .bbcx-payment-panel .payment_box{background:transparent;margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--bbcx-border);font-size:14px;line-height:1.9}
.bbcx-journey .bbcx-payment-panel .payment_box::before{display:none}
.bbcx-journey .bbcx-order-action{border-top:1px solid var(--bbcx-border);padding-top:16px;margin:0}
.bbcx-journey .bbcx-order-action .woocommerce-privacy-policy-text{font-size:12px;line-height:1.9}
.bbcx-journey .bbcx-coupon{grid-column:1;grid-row:3;order:2;max-width:none;padding:8px 24px}
.bbcx-journey .bbcx-coupon form.checkout_coupon{display:flex;border:0;padding:12px 0;margin:0;gap:10px;flex-wrap:wrap;box-shadow:none}
.bbcx-journey .bbcx-coupon .form-row{margin:0;float:none;width:auto;min-width:0}
.bbcx-journey .bbcx-coupon .form-row-first{flex:1}
.bbcx-journey .bbcx-coupon .form-row-last{flex:none}
.bbcx-journey .bbcx-coupon .checkout-inline-error-message{flex-basis:100%;color:#a51919}
.bbcx-journey .bbcx-coupon input{border-radius:6px;min-height:44px}
.bbcx-journey .bbcx-account-invitation{margin-top:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;align-items:center}
.bbcx-journey .bbcx-account-invitation h2{font-size:18px;margin:0}
.bbcx-journey .bbcx-account-invitation>p{font-size:13px;line-height:1.9;margin:0;grid-column:1}
.bbcx-journey .bbcx-account-benefits{display:flex;gap:8px 16px;flex-wrap:wrap;list-style:none;padding:0;margin:8px 0;grid-column:1;font-size:12px;color:var(--bbcx-muted)}
.bbcx-journey .bbcx-account-benefits li::before{content:'✓';margin-inline-end:6px;color:var(--wd-primary-color)}
.bbcx-journey .bbcx-account-invitation>a{grid-column:2;grid-row:1/span 3;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border:1px solid var(--wd-primary-color);border-radius:8px;color:var(--wd-primary-color);font-size:14px;font-weight:700}
.bbcx-journey .bbcx-guest-continue{font-size:12px;color:var(--bbcx-muted)}
.bbcx-journey .bbcx-account-invitation details{font-size:12px;grid-column:1/-1;color:var(--bbcx-muted)}
.bbcx-journey .bbcx-account-invitation details summary{font-size:12px}
.bbcx-journey .bbcx-autofill-note{display:none}
.bbcx-journey .woocommerce-order{max-width:1040px;margin-inline:auto}
.bbcx-journey .bbcx-outcome-card{margin-bottom:20px;text-align:start;border-top:3px solid var(--wd-primary-color)}
.bbcx-journey .bbcx-outcome-heading{display:flex;gap:18px;align-items:center;margin-bottom:20px}
.bbcx-journey .bbcx-result-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;border:2px solid var(--wd-primary-color);color:var(--wd-primary-color);font-size:28px;flex:none}
.bbcx-journey .bbcx-outcome-card h1{font-size:23px;margin:0 0 6px}
.bbcx-journey .bbcx-outcome-card p{font-size:14px;line-height:1.8;margin:0}
.bbcx-journey .bbcx-outcome-card .woocommerce-order-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;border:0;border-block:1px solid var(--bbcx-border);border-radius:0;background:transparent;padding:18px 0;margin:0 0 18px}
.bbcx-journey .bbcx-outcome-card .woocommerce-order-overview li{width:auto;float:none;margin:0;padding:0;border:0;font-size:12px;line-height:1.9;text-align:start;color:var(--bbcx-muted)}
.bbcx-journey .bbcx-outcome-card .woocommerce-order-overview strong{font-size:14px;color:var(--color-gray-900)}
.bbcx-journey .bbcx-result-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--bbcx-muted)}
.bbcx-journey .bbcx-print-receipt{min-height:44px;border-radius:8px;border:1px solid var(--bbcx-border);background:transparent}
.bbcx-journey .woocommerce-order-details{margin:0 0 20px}
.bbcx-journey .woocommerce-order-details h2{font-size:19px;margin:0 0 16px}
.bbcx-journey .woocommerce-order-details :is(th,td){padding:12px 0;line-height:1.9;font-size:14px}
.bbcx-journey .bbcx-receipt-item{display:inline-flex;gap:12px;align-items:center;vertical-align:middle}
.bbcx-journey .bbcx-receipt-item img{width:56px;height:64px;object-fit:contain}
.bbcx-journey .bbcx-order-fulfilment{padding:16px;border:1px solid var(--bbcx-border);border-radius:8px;margin:20px 0 0;font-size:13px;line-height:1.9}
.bbcx-journey .bbcx-order-fulfilment p{margin:0 0 6px}
.bbcx-journey .woocommerce-customer-details{padding:20px;border:1px solid var(--bbcx-border);border-radius:12px;background:transparent;margin:0}
.bbcx-journey .woocommerce-customer-details h2{font-size:17px;margin:0 0 8px}
.bbcx-journey .woocommerce-customer-details address{font-style:normal;font-size:13px;line-height:1.8;margin:0}
.bbcx-journey .woocommerce-customer-details :is(p,br){margin:0}
.bbcx-journey .bbcx-wizard [hidden],.bbcx-journey .bbcx-wizard-nav[hidden],.bbcx-journey .bbcx-coupon[hidden]{display:none!important}
.bbcx-journey :is(a,button,input,select,summary):focus-visible{outline:3px solid var(--wd-primary-color);outline-offset:3px}
@media(max-width:1100px){
.bbcx-journey .cart-content-wrapper,.bbcx-journey .bbcx-checkout-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}
.bbcx-journey .woocommerce-cart-form__contents .cart_item{grid-template-columns:120px minmax(0,1fr);padding:18px;gap:12px}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-thumbnail :is(a,img){width:115px!important;height:140px}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-name{grid-column:2;grid-row:1;font-size:15px!important;padding-inline-end:20px}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-price{grid-column:2;grid-row:2;padding:0}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-subtotal{grid-column:2;grid-row:3}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-quantity{grid-column:2;grid-row:4}
.bbcx-journey :is(.cart_totals,.customer-details,.bbcx-shipment-panel,.bbcx-delivery-summary,.bbcx-payment-panel,.checkout-order-review){padding:20px}
}
@media(max-width:850px){
.bbcx-journey .cart-content-wrapper{display:flex!important;flex-direction:column;gap:20px}
.bbcx-journey .bbcx-checkout-layout{display:flex;flex-direction:column;gap:16px}
.bbcx-journey .bbcx-wizard>:is(.customer-details,.bbcx-delivery-summary,.bbcx-payment-panel,.bbcx-shipment-panel,.checkout-order-review,.bbcx-wizard-controls),.bbcx-journey .bbcx-coupon{width:100%!important;flex:none;max-width:none}
/* Keep native mobile navigation in normal flow on commerce pages so no control is covered. */
.bbcx-journey .wd-toolbar{position:static!important;inset:auto!important;margin-top:20px;padding-bottom:env(safe-area-inset-bottom);box-shadow:none;border-top:1px solid var(--bbcx-border)}
.bbcx-journey .bbcx-account-invitation{grid-template-columns:1fr}
.bbcx-journey .bbcx-account-invitation>a{grid-column:1;grid-row:auto;justify-self:start}
.bbcx-journey .bbcx-account-invitation details{grid-column:1}
}
@media(max-width:480px){
.bbcx-journey .main-page-wrapper{padding-top:20px}
.bbcx-journey :is(.bbcx-stage-heading,.bbcx-cart-heading){font-size:21px;margin-bottom:18px}
.bbcx-journey .woocommerce-cart-form__contents .cart_item{grid-template-columns:100px minmax(0,1fr);padding:16px;gap:10px 14px}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-thumbnail :is(a,img){width:100px!important;height:130px}
.bbcx-journey .woocommerce-cart-form__contents .cart_item .product-name{font-size:15px!important;padding-inline-end:14px}
.bbcx-journey .bbcx-wizard-nav{gap:4px}
.bbcx-journey .bbcx-wizard-nav :is(a,button){padding:10px 6px;font-size:12px;flex:1}
.bbcx-journey .bbcx-next{min-width:180px;flex:1}
.bbcx-journey :is(.bbcx-account-invitation,.bbcx-outcome-card,.woocommerce-order-details){padding:18px}
.bbcx-journey .bbcx-outcome-card .woocommerce-order-overview{grid-template-columns:1fr 1fr;gap:16px}
.bbcx-journey .bbcx-outcome-card h1{font-size:20px}
.bbcx-journey .bbcx-outcome-heading{gap:12px;align-items:flex-start}
.bbcx-journey .bbcx-result-icon{width:42px;height:42px;font-size:24px}
.bbcx-journey .bbcx-coupon{padding:8px 20px}
}
@media print{
.bbcx-journey :is(.whb-header,.wd-toolbar,footer,.bbcx-account-invitation,.bbcx-result-actions,.wd-scroll-top){display:none!important}
.bbcx-journey .main-page-wrapper{background:transparent;padding:0}
.bbcx-journey .woocommerce-order{color:#000;max-width:none}
.bbcx-journey .woocommerce-order table{break-inside:avoid}
}
/* Inspection correction 2: notices cannot occupy the product grid track. */
.bbcx-journey .cart-content-wrapper>.woocommerce-notices-wrapper{grid-column:1/-1}
.bbcx-journey .cart-content-wrapper>.woocommerce-notices-wrapper:empty{display:none}
.bbcx-journey .cart-content-wrapper>.woocommerce-cart-form{grid-column:1}
.bbcx-journey .cart-content-wrapper>.cart_totals{grid-column:2}
.bbcx-journey .main-page-wrapper>.content-layout-wrapper{padding-block:0}
.bbcx-journey .site-content>.woocommerce{margin-top:0}
.bbcx-journey .bbcx-store-title{font-size:28px;font-weight:800;color:var(--wd-primary-color);line-height:1.5}
.bbcx-journey .bbcx-wizard .woocommerce-checkout-review-order-table{display:table;width:100%;background:transparent;border-radius:0;padding:0}
.bbcx-journey .bbcx-wizard .woocommerce-checkout-review-order-table :is(thead,tbody){display:none}
.bbcx-journey .bbcx-wizard .woocommerce-checkout-review-order-table tfoot{display:table-row-group}
.bbcx-journey .bbcx-wizard .woocommerce-checkout-review-order-table tr,.bbcx-journey .cart_totals tr{display:table-row}
.bbcx-journey .bbcx-wizard .woocommerce-checkout-review-order-table :is(th,td),.bbcx-journey .cart_totals :is(th,td){display:table-cell!important;flex:none}
.bbcx-journey .cart_totals td::before{display:none!important}
.bbcx-journey .bbcx-wizard #order_review{padding:0;background:transparent;border:0;border-radius:0}
.bbcx-journey .bbcx-wizard .bbcx-coupon{margin:0}
.bbcx-journey .bbcx-customer-addresses{border:1px solid var(--bbcx-border);border-radius:10px;padding:8px 20px;background:transparent;margin:0 0 20px}
.bbcx-journey .bbcx-customer-addresses>summary{cursor:pointer;min-height:44px;padding-block:10px;font-size:14px}
.bbcx-journey .bbcx-customer-addresses .woocommerce-customer-details{padding:12px 0;border:0}
.bbcx-journey .woocommerce-order{max-width:1040px!important}
@media(min-width:851px){.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="0"] .bbcx-wizard-controls{grid-row:3}}
@media(min-width:851px){
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="0"][data-address-editing="false"] .customer-details{grid-row:2}
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="0"][data-address-editing="false"] .bbcx-shipment-panel{grid-row:3}
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="0"][data-address-editing="false"] .bbcx-wizard-controls{grid-row:4}
}
.bbcx-journey .bbcx-success-feedback summary{cursor:pointer;min-height:24px}
.bbcx-journey .bbcx-success-feedback details[open] ul{margin-top:12px}
.bbcx-journey .bbcx-draft-details{font-size:12px;color:var(--bbcx-muted);line-height:1.8}
.bbcx-journey .bbcx-draft-details summary{cursor:pointer;padding-block:8px}
.bbcx-journey .bbcx-draft-details p{margin:0}
.bbcx-journey .bbcx-native-shipping-summary{display:none}
.bbcx-journey .bbcx-wizard .bbcx-native-shipping-summary{display:table-row}
.bbcx-journey .woocommerce-order-details .product-name{width:70%}
.bbcx-journey .woocommerce-order-details .product-total{width:30%}
.bbcx-journey .bbcx-receipt-item{max-width:100%;line-height:1.8}
.bbcx-journey .bbcx-receipt-item>span{min-width:0}
@media(min-width:851px){.bbcx-journey .cart-content-wrapper>.woocommerce-notices-wrapper{margin:0}}
@media(max-width:480px){.bbcx-journey .bbcx-receipt-item img{width:44px;height:52px}.bbcx-journey .bbcx-coupon .form-row-last{flex-basis:100%}.bbcx-journey .bbcx-coupon button{width:100%}}
/* Native WoodMart's later table wrapper rules must not narrow totals. */
.bbcx-journey .bbcx-wizard>.checkout-order-review{padding:24px}
.bbcx-journey .bbcx-wizard #order_review .wd-table-wrapper{padding:0;background:transparent;border-radius:0;box-shadow:none}
.bbcx-journey .bbcx-wizard .checkout-order-review th{width:58%}
.bbcx-journey .bbcx-wizard .checkout-order-review td{width:42%}
.bbcx-journey .bbcx-wizard .wc_payment_method .payment_box{border-radius:0;box-shadow:none;border-inline:0;border-bottom:0}
.bbcx-journey .bbcx-wizard-nav button{opacity:1!important}
@media(max-width:1024px){.bbcx-journey .wd-toolbar{position:static!important;inset:auto!important;margin-top:20px;padding-bottom:env(safe-area-inset-bottom);box-shadow:none;border-top:1px solid var(--bbcx-border)}}
@media(max-width:1100px){.bbcx-journey .bbcx-wizard>.checkout-order-review{padding:20px}}
.bbcx-journey .bbcx-outcome-card .bbcx-outcome-shipping{margin:0 0 16px;font-size:13px;color:var(--bbcx-muted)}
/* Step identity changes atomically with aria-current; avoid two half-active pills. */
.bbcx-journey .bbcx-wizard-nav :is(a,button){transition:none}
@media(max-width:850px){
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="0"][data-address-editing="false"] .bbcx-delivery-summary{order:0}
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="0"][data-address-editing="false"] .customer-details{order:1}
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="0"][data-address-editing="false"] .bbcx-shipment-panel{order:2}
}
.bbcx-journey .bbcx-result-actions .bbcx-order-retry{min-height:44px;border-radius:8px;background:transparent;color:var(--btn-accented-color,#fff)}
/* Keep native message cleanup selectors while replacing only commerce success styling. */
.bbcx-journey .woocommerce-message.bbcx-success-feedback{padding:10px 16px;min-height:0;border:0;border-inline-start:3px solid var(--wd-primary-color);border-radius:0;background:transparent;color:var(--color-gray-800);text-align:start;box-shadow:none;line-height:1.8;font-size:13px}
.bbcx-journey .woocommerce-message.bbcx-success-feedback::before{display:none}

/* Phase10: theme surfaces, semantic controls and labelled address. */
.bbcx-journey .main-page-wrapper{background:var(--wd-main-bgcolor)}
.bbcx-journey :is(.checkout-button,.bbcx-next,#place_order,.bbcx-order-retry){background:var(--wd-primary-color);color:var(--btn-accented-color)}
.bbcx-journey .bbcx-wizard-nav [aria-current=step]{border:0;color:var(--wd-primary-color);font-weight:700}
.bbcx-journey :is(.bbcx-back,.bbcx-edit-delivery){display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border:1px solid var(--brdcolor-gray-300);border-radius:8px;background:transparent;color:var(--color-gray-800);font-size:14px;line-height:1.5}
.bbcx-journey .bbcx-edit-delivery{border-color:var(--wd-primary-color);color:var(--wd-primary-color)}
.bbcx-journey :is(.bbcx-edit-delivery,.bbcx-account-invitation>a):is(:hover,:focus-visible){background:var(--wd-primary-color);color:var(--btn-accented-color)}
.bbcx-journey .bbcx-address-text{display:grid;gap:10px;margin:0 0 16px}
.bbcx-journey .bbcx-address-text>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:8px;line-height:1.9}
.bbcx-journey .bbcx-address-text dt{color:var(--color-gray-600);font-size:13px;font-weight:400}
.bbcx-journey .bbcx-address-text dd{margin:0;font-size:14px;overflow-wrap:anywhere}
.bbcx-journey .bbcx-address-text bdi{direction:ltr;unicode-bidi:isolate}
.bbcx-journey #ship-to-different-address{margin:0;font-size:14px}
.bbcx-journey #ship-to-different-address label{display:flex;gap:10px;align-items:center;min-height:46px;padding:10px 0;cursor:pointer;font-size:14px}
.bbcx-journey .bbcx-shipment-panel .woocommerce-shipping-totals :is(th,td){border:0}
.bbcx-journey .bbcx-shipment-panel .bbcx-shipping-table{border:0;margin:16px 0 0}
.bbcx-journey .bbcx-draft-details summary{display:flex;align-items:center;gap:8px;min-height:44px}
.bbcx-info-icon{display:inline-flex;align-items:center;justify-content:center;inline-size:22px;block-size:22px;border:1px solid currentColor;border-radius:50%;font:700 15px Georgia,serif;flex:none}
.bbcx-commerce-header{display:flex;justify-content:center;align-items:center;position:relative;min-height:88px;padding:16px 24px;border-bottom:1px solid var(--brdcolor-gray-300)}
.bbcx-commerce-header>a{font-size:24px;font-weight:800;color:var(--wd-primary-color);line-height:1.5}
.bbcx-commerce-header img{display:block;max-width:180px;max-height:56px;width:auto;height:auto}
.bbcx-journey .bbcx-account-benefits{display:grid;gap:10px}
.bbcx-journey .bbcx-account-benefits li{line-height:1.9}
@media(max-width:480px){.bbcx-journey .bbcx-address-text>div{grid-template-columns:1fr;gap:0}.bbcx-commerce-header{min-height:76px}.bbcx-commerce-header>a{font-size:22px}}
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="1"] .bbcx-payment-panel{grid-row:1;order:0}
.bbcx-journey .bbcx-checkout-layout[data-bbcx-step="1"] .bbcx-delivery-summary{grid-column:1;grid-row:6;order:7;width:100%;max-width:none;min-width:0}
.bbcx-journey .woocommerce-shipping-fields{border-top:0;padding-top:8px;margin-top:16px}
.bbcx-journey #ship-to-different-address label::after{content:'⌄';margin-inline-start:auto;font-size:20px}


/* Native :is() also contains an order-pay ID, so override its shared gray fill explicitly. */


.bbcx-journey .bbcx-account-invitation{padding:16px 20px}
.bbcx-journey .bbcx-account-invitation .bbcx-invite-disclosure>summary{font-size:15px;font-weight:600;min-height:44px;padding-block:10px;cursor:pointer}
.bbcx-journey .bbcx-invite-privacy{font-size:12px;line-height:1.9;margin:8px 0 0}
.bbcx-journey .bbcx-invite-privacy a{text-decoration:underline;text-underline-offset:3px}
/* The two borders below the estimate belonged to nested payment action wrappers. */
.bbcx-journey .checkout-order-review>.bbcx-order-action,
.bbcx-journey .checkout-order-review>.bbcx-order-action>.woocommerce-terms-and-conditions-wrapper{border-top:0}

.bbcx-journey .checkout-order-review>.bbcx-order-action{margin-top:12px;padding-top:8px}
.bbcx-journey .checkout-order-review>.bbcx-order-action>.woocommerce-terms-and-conditions-wrapper{padding-top:0}

.bbcx-journey .bbcx-checkout-legal{flex:1 0 100%;min-width:0;font-size:12px;line-height:1.9}
.bbcx-journey .bbcx-checkout-legal>.woocommerce-terms-and-conditions-wrapper{border-top:0;padding-top:0}

/* Step headings are plain text; keyboard focus retains an explicit focus ring. */
.bbcx-journey .bbcx-stage-heading{border:0;box-shadow:none}

/* Optional native disclosure uses the existing palette, with a visible nested CTA. */
.bbcx-journey .bbcx-account-invitation{display:block;background:color-mix(in srgb,var(--wd-primary-color) 5%,var(--wd-main-bgcolor));border-color:color-mix(in srgb,var(--wd-primary-color) 25%,var(--brdcolor-gray-300));border-inline-start:3px solid var(--wd-primary-color)}
.bbcx-journey .bbcx-invite-disclosure>.bbcx-register{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;max-width:100%;padding:12px 22px;margin-block:12px;border:1px solid var(--wd-primary-color);border-radius:8px;background:var(--wd-primary-color);color:#fff;font-size:14px;font-weight:700;white-space:normal;text-align:center}
.bbcx-journey .bbcx-invite-disclosure>.bbcx-register:hover{filter:brightness(.9)}
.bbcx-journey .bbcx-invite-disclosure>.bbcx-register:focus-visible{outline:3px solid var(--wd-primary-color);outline-offset:4px}

/* The native review card owns an opaque surface at every wizard/AJAX state. */
body.bbcx-journey .checkout-order-review:has(#order_review){background:#fff}

html.bbcx-checkout-pending .bbcx-journey form.checkout{visibility:hidden}
