/* Checkout and customer-area demonstration. Approved E colours and type. */
.bb-journey-page { min-width:0; padding:26px 6px 58px; }
.bb-journey-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:20px; font-size:14px; line-height:1.5; }
.bb-journey-breadcrumb a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.bb-journey-heading { margin-bottom:24px; }
.bb-journey-heading .bb-eyebrow { margin-bottom:10px; }
.bb-journey-heading h1 { margin:0 0 14px; font-size:clamp(38px,4.7vw,64px); line-height:1.04; letter-spacing:-.045em; text-wrap:balance; }
.bb-journey-heading > p:not(.bb-eyebrow) { max-width:64ch; font-size:19px; line-height:1.5; }
.bb-journey-note { margin:0 0 28px; border-left:3px solid var(--orange); background:#f7ecd9; padding:14px 18px; font-size:15px; line-height:1.5; }
.bb-journey-note p { margin:0; }
.bb-journey-note p + p { margin-top:5px; }
.bb-journey-note strong { font-weight:650; }
.bb-journey-note a { text-decoration:underline; text-underline-offset:4px; }
.bb-checkout-steps { margin:0 0 34px; padding:0 0 24px; border-bottom:1px solid var(--line); }
.bb-checkout-steps ol { display:flex; flex-wrap:wrap; align-items:stretch; gap:16px 24px; list-style:none; margin:0; padding:0; }
.bb-checkout-steps li { display:flex; align-items:center; gap:10px; flex:1 1 150px; min-width:0; color:#42645a; font-size:16px; line-height:1.25; }
.bb-checkout-steps li > span:first-child { display:inline-grid; place-items:center; flex:none; width:34px; height:34px; border:1px solid #9eafa3; border-radius:50%; font:600 15px/1 var(--body); }
.bb-checkout-steps li[aria-current="step"] { color:var(--green); font-weight:650; }
.bb-checkout-steps li[aria-current="step"] > span:first-child { color:var(--paper); background:var(--green); border-color:var(--green); }
.bb-checkout-steps li[data-complete="true"] > span:first-child { color:var(--green); background:var(--mint); border-color:#93b7a3; }
.bb-journey-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(290px,350px); align-items:start; gap:clamp(28px,4vw,60px); }
.bb-journey-layout > *,.bb-journey-content { min-width:0; }
.bb-checkout-panel { min-width:0; }
.bb-checkout-panel > h2 { margin:0 0 14px; font-size:clamp(28px,3vw,36px); line-height:1.12; letter-spacing:-.035em; text-wrap:balance; }
.bb-checkout-panel > p { max-width:66ch; margin:0 0 24px; font-size:17px; line-height:1.6; }
.bb-demo-profile { margin:24px 0; padding:22px 24px; border:1px solid var(--line); background:#fffdf7; }
.bb-demo-profile h3 { margin:0 0 18px; font:600 20px/1.25 var(--body); }
.bb-demo-profile dl { margin:0; }
.bb-profile-row { display:grid; grid-template-columns:minmax(100px,150px) minmax(0,1fr); gap:12px 24px; margin:0; padding:12px 0; border-bottom:1px solid var(--line); font-size:16px; line-height:1.5; }
.bb-profile-row:first-child { padding-top:0; }
.bb-profile-row:last-child { border-bottom:0; padding-bottom:0; }
.bb-profile-row dt { color:#42645a; }
.bb-profile-row dd { margin:0; overflow-wrap:anywhere; }
.bb-journey-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 16px; margin:26px 0 0; }
.bb-journey-button,.bb-journey-button-secondary { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; max-width:100%; padding:12px 20px; border:1px solid var(--green); border-radius:4px; font:600 16px/1.3 var(--body); text-align:center; transition:background .15s ease; }
.bb-journey-button { color:var(--paper); background:var(--green); }
.bb-journey-button:hover:not(:disabled):not([aria-disabled="true"]) { background:#284e42; }
.bb-journey-button-secondary { color:var(--green); background:transparent; }
.bb-journey-button-secondary:hover:not(:disabled):not([aria-disabled="true"]) { background:var(--mint); }
.bb-journey-button:disabled,.bb-journey-button[aria-disabled="true"],.bb-journey-button-secondary:disabled { cursor:not-allowed; opacity:.7; }
.bb-journey-button .icon,.bb-journey-button-secondary .icon { width:20px; height:20px; }
.bb-delivery-option { display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:start; gap:14px; margin:0 0 12px; padding:20px; border:1px solid #9eafa3; border-radius:4px; background:#fffdf7; cursor:pointer; transition:background .15s ease,border-color .15s ease; }
.bb-delivery-option input { width:18px; height:18px; margin:3px 0 0; accent-color:var(--green); }
.bb-delivery-option > div { min-width:0; }
.bb-delivery-option > div strong { display:block; font-size:18px; font-weight:600; line-height:1.3; }
.bb-delivery-option > div span { display:block; margin-top:6px; color:#42645a; font-size:15px; line-height:1.5; }
.bb-delivery-option > strong { font-size:18px; font-weight:600; line-height:1.3; font-variant-numeric:tabular-nums; white-space:nowrap; }
.bb-delivery-option:has(input:checked) { border-color:var(--green); background:#e6efdf; box-shadow:inset 0 0 0 1px var(--green); }
.bb-delivery-option:has(input:focus-visible) { outline:3px solid var(--green); outline-offset:4px; }
.bb-journey-summary { position:sticky; top:24px; min-width:0; padding:26px 24px 22px; border-top:4px solid var(--green); background:#e6efdf; }
.bb-journey-summary > h2 { margin:0 0 24px; font-size:28px; line-height:1.12; letter-spacing:-.035em; }
.bb-journey-summary dl { margin:0; }
.bb-journey-price-row { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin:0 0 14px; font-size:16px; line-height:1.5; }
.bb-journey-price-row dt { min-width:0; }
.bb-journey-price-row dd { flex:none; margin:0; text-align:right; font-weight:600; font-variant-numeric:tabular-nums; }
.bb-journey-total { padding-top:18px; margin-top:18px; border-top:1px solid #b5c9b8; font-size:20px; font-weight:600; }
.bb-journey-total dd { font-size:28px; line-height:1.2; }
.bb-journey-summary > p { margin:18px 0 0; color:#365448; font-size:14px; line-height:1.5; }
.bb-journey-summary > a:not(.bb-journey-button) { display:inline-flex; align-items:center; min-height:44px; margin-top:12px; font-size:15px; text-decoration:underline; text-underline-offset:4px; }
.bb-journey-summary .bb-journey-button { width:100%; margin-top:20px; }
.bb-journey-items { list-style:none; margin:0 0 22px; padding:0; border-bottom:1px solid #b5c9b8; }
.bb-journey-item { display:grid; grid-template-columns:64px minmax(0,1fr) auto; align-items:start; gap:12px; padding:0 0 18px; }
.bb-journey-item + .bb-journey-item { padding-top:16px; border-top:1px solid #c5d4c3; }
.bb-journey-item-image { display:block; width:64px; height:64px; object-fit:contain; border:1px solid #c5d4c3; border-radius:3px; background:#fbf3e4; }
.bb-journey-item-copy { min-width:0; font-size:15px; line-height:1.3; }
.bb-journey-item-copy strong,.bb-journey-item-copy a { display:block; font-weight:600; overflow-wrap:anywhere; }
.bb-journey-item-copy p,.bb-journey-item-copy span,.bb-journey-item-copy small { display:block; margin:5px 0 0; color:#42645a; font-size:13px; line-height:1.4; }
.bb-journey-item-price { font-size:15px; font-weight:600; line-height:1.3; white-space:nowrap; font-variant-numeric:tabular-nums; }
.bb-payment-preview { display:flex; align-items:flex-start; gap:16px; margin:24px 0; padding:24px; border:1px solid var(--line); border-radius:4px; background:#fffdf7; }
.bb-payment-preview > .icon { width:28px; height:28px; margin-top:1px; }
.bb-payment-preview > div { min-width:0; }
.bb-payment-preview h3,.bb-payment-preview strong { display:block; font:600 20px/1.3 var(--body); margin:0 0 8px; }
.bb-payment-preview p { margin:0; font-size:16px; line-height:1.6; }
.bb-journey-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:350px; padding:46px 24px 54px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); text-align:center; }
.bb-journey-empty > .icon { width:48px; height:48px; margin-bottom:22px; }
.bb-journey-empty h2 { max-width:22ch; margin:0 0 14px; font-size:clamp(28px,3vw,38px); line-height:1.12; letter-spacing:-.035em; text-wrap:balance; }
.bb-journey-empty p { max-width:48ch; margin:0 0 24px; font-size:18px; line-height:1.5; }
.bb-confirmation-panel { max-width:780px; padding:4px 0 10px; }
.bb-confirmation-icon { display:grid; place-items:center; width:70px; height:70px; margin-bottom:26px; border-radius:50%; color:var(--green); background:var(--yellow); }
.bb-confirmation-icon .icon { width:34px; height:34px; }
.bb-confirmation-panel > h2 { max-width:21ch; margin:0 0 16px; font-size:clamp(32px,3.5vw,46px); line-height:1.08; letter-spacing:-.04em; text-wrap:balance; }
.bb-confirmation-panel > p { max-width:64ch; margin:0 0 18px; font-size:18px; line-height:1.6; }
.bb-account-layout { display:grid; grid-template-columns:230px minmax(0,1fr); align-items:start; gap:clamp(28px,4vw,56px); }
.bb-account-layout > *,.bb-account-content { min-width:0; }
.bb-account-nav { padding:20px 16px; border-top:4px solid var(--green); background:#e6efdf; }
.bb-account-nav h2,.bb-account-nav h3 { margin:0 10px 14px; font:600 18px/1.3 var(--body); }
.bb-account-nav > p { margin:0 10px 16px; color:#42645a; font-size:14px; line-height:1.5; }
.bb-account-nav ul { list-style:none; margin:0; padding:0; }
.bb-account-nav a { display:flex; align-items:center; gap:10px; min-height:48px; margin:2px 0; padding:11px 12px; border-radius:3px; font-size:16px; line-height:1.4; }
.bb-account-nav a:hover { background:#d4e5d0; }
.bb-account-nav a[aria-current="page"] { color:var(--paper); background:var(--green); font-weight:600; }
.bb-account-nav a .icon { width:21px; height:21px; }
.bb-account-content > h2 { margin:0 0 16px; font-size:clamp(28px,3vw,36px); line-height:1.12; letter-spacing:-.035em; text-wrap:balance; }
.bb-account-content > p { margin:0 0 24px; font-size:18px; line-height:1.6; max-width:64ch; }
.bb-account-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:20px; margin:24px 0; }
.bb-account-card { min-width:0; padding:24px; border:1px solid var(--line); background:#fffdf7; }
.bb-account-card + .bb-account-card:not(.bb-account-grid > *) { margin-top:20px; }
.bb-account-card-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:10px 16px; margin-bottom:20px; }
.bb-account-card-heading h2,.bb-account-card-heading h3 { margin:0; font:700 25px/1.15 var(--display); letter-spacing:-.03em; }
.bb-account-card > h2,.bb-account-card > h3 { margin:0 0 18px; font:700 25px/1.15 var(--display); letter-spacing:-.03em; }
.bb-account-card p { margin:0; line-height:1.6; }
.bb-account-card p + p { margin-top:12px; }
.bb-account-card > .bb-journey-button,.bb-account-card > .bb-journey-button-secondary { margin-top:22px; }
.bb-account-stat { display:flex; flex-direction:column; gap:6px; margin:0; }
.bb-account-stat strong { font:700 42px/1.1 var(--display); letter-spacing:-.035em; font-variant-numeric:tabular-nums; }
.bb-account-stat span,.bb-account-stat p { color:#42645a; font-size:16px; line-height:1.4; }
.bb-demo-tag { display:inline-flex; align-items:center; max-width:100%; gap:5px; padding:5px 9px; border-radius:3px; background:var(--yellow); color:var(--green); font-size:12px; line-height:1.3; font-weight:650; }
.bb-account-order { border-top:1px solid var(--line); padding:22px 0 0; margin-top:22px; }
.bb-account-order:first-child { margin-top:0; padding-top:0; border-top:0; }
.bb-account-order > header { display:flex; align-items:flex-start; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-bottom:18px; }
.bb-account-order h3 { margin:0 0 6px; font:600 20px/1.3 var(--body); overflow-wrap:anywhere; }
.bb-account-order header p { margin:0; color:#42645a; font-size:14px; }
.bb-account-order dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:18px 0 0; }
.bb-account-order dl > div { min-width:0; }
.bb-account-order dt { color:#42645a; font-size:14px; line-height:1.4; }
.bb-account-order dd { margin:6px 0 0; font-size:17px; line-height:1.4; font-weight:600; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.bb-order-status { display:inline-flex; align-items:center; max-width:100%; padding:6px 10px; border:1px solid #93b7a3; border-radius:3px; color:var(--green); background:var(--mint); font-size:13px; line-height:1.3; font-weight:600; }
.bb-account-address { font-style:normal; font-size:17px; line-height:1.65; overflow-wrap:anywhere; }
.bb-account-address strong { display:block; margin-bottom:6px; font-weight:600; }
.bb-account-links { display:flex; flex-wrap:wrap; gap:8px 24px; margin-top:18px; }
.bb-account-links a { display:inline-flex; align-items:center; gap:7px; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.bb-journey-storage { margin:26px 0 0; padding-top:18px; border-top:1px solid var(--line); color:#42645a; font-size:14px; line-height:1.6; }
.bb-journey-storage p { margin:0; }
.bb-journey-storage a { text-decoration:underline; text-underline-offset:4px; }
.bb-journey-page [hidden] { display:none!important; }
.bb-journey-page :is(button,a,input,select,textarea,[tabindex]):focus-visible { outline:3px solid var(--green); outline-offset:4px; }
.bb-journey-page .bb-journey-button:focus-visible,.bb-account-nav a[aria-current="page"]:focus-visible { outline:3px solid var(--paper); outline-offset:-5px; box-shadow:0 0 0 3px var(--green); }
@media(max-width:1100px) {
 .bb-journey-layout { grid-template-columns:minmax(0,1fr) 300px; gap:28px; }
 .bb-journey-summary { padding:24px 20px 20px; }
 .bb-account-layout { grid-template-columns:210px minmax(0,1fr); gap:28px; }
 .bb-account-card { padding:22px; }
 .bb-account-grid { gap:16px; }
}
@media(max-width:850px) {
 .bb-journey-layout { grid-template-columns:minmax(0,1fr); gap:32px; }
 .bb-journey-summary { position:static; }
 .bb-journey-item { grid-template-columns:64px minmax(0,1fr) auto; }
 .bb-journey-item-image { width:64px; height:64px; }
 .bb-account-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
 .bb-account-nav { padding:16px; }
 .bb-account-nav ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 12px; }
 .bb-account-nav > a { display:inline-flex; width:calc(50% - 8px); vertical-align:top; }
 .bb-account-nav a { margin:0; }
 .bb-checkout-steps li { flex-basis:110px; }
}
@media(max-width:560px) {
 .bb-journey-page { padding:18px 0 40px; }
 .bb-journey-breadcrumb { margin-bottom:17px; font-size:13px; }
 .bb-journey-heading { margin-bottom:20px; }
 .bb-journey-heading h1 { font-size:40px; margin-bottom:12px; }
 .bb-journey-heading > p:not(.bb-eyebrow) { font-size:17px; }
 .bb-journey-note { margin-bottom:24px; padding:12px 14px; font-size:14px; }
 .bb-checkout-steps { margin-bottom:28px; padding-bottom:20px; }
 .bb-checkout-steps ol { gap:12px; flex-wrap:nowrap; }
 .bb-checkout-steps li { flex:1 1 0; flex-direction:column; align-items:center; gap:9px; text-align:center; font-size:13px; overflow-wrap:anywhere; }
 .bb-checkout-steps li > span:first-child { width:30px; height:30px; font-size:14px; }
 .bb-checkout-panel > h2 { font-size:29px; }
 .bb-checkout-panel > p { font-size:16px; }
 .bb-demo-profile { padding:18px; margin:20px 0; }
 .bb-profile-row { grid-template-columns:minmax(0,1fr); gap:4px; padding:12px 0; }
 .bb-profile-row dt { font-size:14px; }
 .bb-journey-actions { align-items:stretch; gap:12px; margin-top:24px; }
 .bb-journey-actions > .bb-journey-button,.bb-journey-actions > .bb-journey-button-secondary { width:100%; }
 .bb-delivery-option { grid-template-columns:18px minmax(0,1fr); gap:10px 12px; padding:17px 15px; }
 .bb-delivery-option > strong { grid-column:2; font-size:17px; }
 .bb-delivery-option > div strong { font-size:17px; }
 .bb-delivery-option > div span { font-size:14px; }
 .bb-journey-summary { padding:24px 18px 20px; }
 .bb-journey-summary > h2 { font-size:27px; margin-bottom:22px; }
 .bb-journey-price-row { gap:12px; font-size:15px; }
 .bb-journey-total { font-size:19px; }
 .bb-journey-total dd { font-size:26px; }
 .bb-journey-item { grid-template-columns:52px minmax(0,1fr) auto; gap:10px; }
 .bb-journey-item-image { width:52px; height:52px; }
 .bb-journey-item-copy { font-size:14px; }
 .bb-journey-item-price { font-size:14px; }
 .bb-payment-preview { gap:12px; margin:20px 0; padding:18px; }
 .bb-payment-preview > .icon { width:24px; height:24px; }
 .bb-payment-preview h3,.bb-payment-preview strong { font-size:19px; }
 .bb-payment-preview p { font-size:15px; }
 .bb-journey-empty { min-height:320px; padding:36px 16px 44px; }
 .bb-journey-empty p { font-size:17px; }
 .bb-confirmation-icon { width:60px; height:60px; margin-bottom:22px; }
 .bb-confirmation-panel > h2 { font-size:33px; }
 .bb-confirmation-panel > p { font-size:17px; }
 .bb-account-grid { grid-template-columns:minmax(0,1fr); gap:16px; margin:20px 0; }
 .bb-account-nav { padding:14px 10px; }
 .bb-account-nav ul { gap:4px 8px; }
 .bb-account-nav a { gap:7px; padding:10px; font-size:15px; }
 .bb-account-nav a .icon { width:19px; height:19px; }
 .bb-account-content > h2 { font-size:29px; }
 .bb-account-content > p { font-size:17px; }
 .bb-account-card { padding:20px 18px; }
 .bb-account-card-heading h2,.bb-account-card-heading h3,.bb-account-card > h2,.bb-account-card > h3 { font-size:24px; }
 .bb-account-order dl { grid-template-columns:minmax(0,1fr); gap:14px; }
 .bb-account-order dl > div { display:flex; justify-content:space-between; align-items:baseline; gap:16px; }
 .bb-account-order dd { margin:0; text-align:right; font-size:16px; }
 .bb-account-order h3 { font-size:19px; }
 .bb-account-address { font-size:16px; }
 .bb-journey-storage { margin-top:24px; font-size:13px; }
}
@media(max-width:360px) {
 .bb-journey-heading h1 { font-size:36px; }
 .bb-checkout-steps ol { gap:8px; }
 .bb-checkout-steps li { font-size:12px; }
 .bb-journey-item { grid-template-columns:44px minmax(0,1fr) auto; gap:8px; }
 .bb-journey-item-image { width:44px; height:44px; }
 .bb-journey-item-copy,.bb-journey-item-price { font-size:13px; }
 .bb-account-nav ul { grid-template-columns:minmax(0,1fr); }
 .bb-account-nav > a { display:flex; width:100%; }
}
@media(prefers-reduced-motion:reduce) {
 .bb-journey-button,.bb-journey-button-secondary,.bb-delivery-option { transition:none; }
}

/* Shared semantic details used by the build-owned journey. */
.bb-journey-text-link { display:inline-flex; align-items:center; gap:7px; min-height:44px; margin-top:12px; max-width:100%; text-decoration:underline; text-underline-offset:4px; font-size:15px; line-height:1.5; }
.bb-journey-text-link .icon { width:18px; height:18px; }
.bb-delivery-options { padding:0; margin:0; border:0; min-width:0; }
.bb-delivery-options legend { font-weight:600; margin-bottom:14px; font-size:16px; }
.bb-delivery-option small { display:block; margin-top:5px; color:#42645a; font-size:12px; font-weight:400; }
.bb-journey-payment-disabled { min-height:44px; margin-top:16px; padding:10px 16px; border:1px solid var(--line); background:var(--paper); border-radius:4px; cursor:not-allowed; color:#42645a; }
.bb-account-nav .icon { margin-left:auto; flex-shrink:0; }
.bb-account-order dl.bb-demo-profile { grid-template-columns:repeat(2,minmax(0,1fr)); }
.bb-account-order .bb-profile-row { display:block; border:0; padding:0; }
.bb-account-order .bb-demo-tag { margin-bottom:10px; }
.bb-journey-item-copy h3 { margin:0; font:600 15px/1.3 var(--body); }
@media(max-width:560px) { .bb-account-order dl.bb-demo-profile { grid-template-columns:minmax(0,1fr); } .bb-account-order .bb-profile-row { display:flex; } }

.bb-account-content > .bb-account-grid:first-child { margin-top:0; }
