@font-face{font-family:Ubuntu;src:url('/assets/fonts/Ubuntu-Bold.ttf');font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/fonts/Manrope-Variable.ttf');font-weight:200 800;font-display:swap}
.customer-flow{--ink:#101313;--muted:#606a6b;--line:#dfe5e4;--soft:#f2f5f4;--accent:#20c7e5;margin:0;background:#fff;color:var(--ink);font:400 14px/1.55 Manrope,Arial,sans-serif}
.customer-flow main,.customer-flow main *{box-sizing:border-box}.customer-flow main [hidden]{display:none!important}
.checkout-payment-shell{width:min(820px,calc(100% - 48px));margin:0 auto;padding:28px 0 40px}.customer-flow:has(#coody-header-test) main{padding-top:96px}
.flow-breadcrumb{display:flex;gap:12px;font-size:13px;color:var(--muted);margin-bottom:20px}.customer-flow main a{color:#087f95;text-underline-offset:4px}
.flow-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:10px;padding:28px 32px;box-shadow:0 8px 24px rgba(25,42,39,.035)}
.flow-eyebrow{font:700 11px/1.5 Ubuntu,Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#087f95;margin:0 0 8px}
.customer-flow main h1{font:700 32px/1.15 Ubuntu,Manrope,sans-serif;letter-spacing:-.02em;margin:0 0 8px;text-transform:none}.flow-heading>p:last-child{margin:0;color:var(--muted)}
.flow-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding-top:20px;margin-top:22px;border-top:1px solid var(--line)}.flow-bottom a{font-weight:600}
.flow-access{padding:20px 8px 0;max-width:680px}.flow-access strong{font:700 16px/1.4 Ubuntu,Manrope,sans-serif}.flow-access p{margin:6px 0;color:var(--muted);font-size:13px}.flow-access a{display:inline-block;margin-top:6px;font-size:13px}.flow-test-note{font-size:12px;color:var(--muted);margin:20px 8px 0}
.customer-flow .account-payment:not(.pf-nav){margin-top:22px;padding-top:20px}.customer-flow .pf-local{display:none}.customer-flow .pf-top h3{font-size:14px;font-family:Manrope,Arial,sans-serif;font-weight:500;color:var(--muted)}.customer-flow .pf-top .pf-amount{font-size:30px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.customer-flow .pf-status{display:inline-flex;align-items:center;gap:8px;font:700 14px/1.4 Ubuntu,Manrope,sans-serif;background:var(--soft);padding:7px 10px;border-radius:4px;margin:12px 0 8px}.customer-flow .pf-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.customer-flow .pf-explanation{min-height:0;margin:0 0 20px;color:var(--muted)}
.customer-flow .pf-methods strong{font-family:Ubuntu,Manrope,sans-serif}.customer-flow .pf-methods label{padding:14px 16px;align-items:center;transition:background-color .18s,border-color .18s}.customer-flow .pf-methods input{margin:0}.customer-flow .pf-methods small{margin-top:4px;letter-spacing:0}.customer-flow .pf-methods legend{font:700 16px/1.4 Ubuntu,Manrope,sans-serif;margin-bottom:12px}
.customer-flow .pf-sync-status:empty,.customer-flow .pf-updated:empty{display:none}.customer-flow .pf-refresh{margin-left:10px}.customer-flow .pf-simulator{margin-top:22px;margin-bottom:0}.customer-flow .pf-change{margin-bottom:18px}.customer-flow .pf-method-summary{margin:0 0 12px}
.customer-flow .access-form input[type=email]{width:100%;border:1px solid #abb4b4;border-radius:6px;padding:13px 14px;font:inherit;font-size:16px;min-height:52px;color:var(--ink);background:white}.customer-flow .access-form input[aria-invalid=true]{border-color:#b42318}.access-form label{display:block;font-weight:600;margin-bottom:6px}.access-form{margin-top:24px}.access-form .access-feedback{min-height:22px;margin:8px 0 14px;color:var(--muted)}.access-feedback[data-error=true]{color:#b42318}.access-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.access-actions a{font-size:14px}.flow-access-panel{max-width:560px;margin:0 auto}.flow-access-panel .account-payment{border:0;padding:0;margin:0}
.customer-flow main :is(a,button,summary):focus-visible{outline:2px solid #087f95;outline-offset:4px}
.customer-flow .shell{width:min(1080px,calc(100% - 48px));margin:auto;padding-bottom:40px}.customer-flow .shell>header{display:none}.customer-flow .customer-hero{padding:0 0 24px}.customer-flow .account-tabs{border-color:var(--line);margin-bottom:20px}.customer-flow .order{padding:24px;border-color:var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(25,42,39,.035)}.customer-flow .order:hover{border-color:var(--line);box-shadow:0 8px 24px rgba(25,42,39,.035)}.customer-flow .order-number{font:700 16px/1.4 Ubuntu,Manrope,sans-serif;text-transform:none;overflow-wrap:anywhere}.customer-flow .statuses{margin:18px 0}.customer-flow .status-block{background:var(--soft);border:0;border-radius:6px;padding:12px}.customer-flow .status-block small{color:var(--muted)}.customer-flow .status-block strong{text-transform:none;font-size:14px}.customer-flow .status-success{color:#087553}.customer-flow .order-total{font-family:Ubuntu,Manrope,sans-serif}.customer-flow .account-logout{margin-left:auto;border:0;background:transparent;font:700 13px Ubuntu,Manrope,sans-serif;color:var(--muted);cursor:pointer}
@media(hover:hover){.customer-flow .pf-methods label:hover{border-color:#087f95}.customer-flow main a:hover{color:#101313}}
@media(max-width:1120px){.customer-flow:has(#coody-header-test) main{padding-top:88px}}
@media(max-width:660px){.checkout-payment-shell,.customer-flow .shell{width:calc(100% - 28px)}.flow-card{padding:22px 18px}.customer-flow main h1{font-size:26px}.customer-flow .pf-top .pf-amount{font-size:26px}.customer-flow .pf-methods{gap:8px}.customer-flow .pf-methods label{padding:12px}.customer-flow .pf-refresh{margin-left:0}.flow-bottom{align-items:flex-start;gap:16px}.flow-access{padding-inline:2px}.customer-flow .pf-change{width:100%}.customer-flow .order{padding:18px}.customer-flow .order-head{flex-wrap:wrap}.customer-flow .statuses{grid-template-columns:1fr 1fr}.customer-flow .order-number{font-size:14px}}
@media(prefers-reduced-motion:reduce){.customer-flow main *{transition:none!important;scroll-behavior:auto!important}}
body.customer-flow{background:#fff!important}
.customer-flow .pf-local[data-sandbox=true]{display:block;color:#087f95;font-weight:600}
.customer-flow .order .pf-top,.customer-flow .order .pf-status{display:none}
.customer-flow .order .account-payment{margin-top:16px;padding-top:16px}
.customer-flow .order .pf-explanation{margin-bottom:14px}
.customer-flow .order:has(.statuses-payment-focus) .pf-status{display:inline-flex}
.customer-flow .profile-form{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px}
.customer-flow .profile-grid{gap:16px 24px;align-items:start}
.customer-flow .profile-grid label{text-transform:none;font-size:14px;gap:6px;letter-spacing:normal}
.customer-flow .profile-grid :is(input,select,textarea){border:1px solid #abb4b4;border-radius:6px;padding:12px 14px;font:400 16px/1.5 Manrope,Arial,sans-serif;min-height:48px;background:#fff;color:var(--ink);box-shadow:none;width:100%}
.customer-flow .profile-grid input[readonly]{background:var(--soft);color:var(--muted)}
.customer-flow .profile-grid textarea{min-height:88px;resize:vertical}
.customer-flow .profile-grid .field-hint:empty{display:none}
.customer-flow .profile-actions{margin-top:20px;padding-top:20px}
@media(max-width:660px){.customer-flow .profile-form{padding:18px}.customer-flow .profile-actions button[type=submit]{width:100%}}
/* An empty order history is not a pending checkout or an empty cart. */
.customer-flow .account-empty{padding:24px 0;border-top:1px solid #dce4e6}
.customer-flow .account-empty h2{font-size:20px;margin:0 0 8px}
.customer-flow .account-empty p{color:#59696e;line-height:1.6;margin:0 0 16px;max-width:62ch}
.customer-flow .account-empty a{color:#087f95;font-weight:700;text-underline-offset:4px}
.customer-flow .order .pf-status-panel .pf-status{display:block}
.customer-flow .order .pf-status-panel .pf-explanation{margin:0;max-width:72ch}
.customer-flow .pf-method-row .pf-change{margin:0;flex-shrink:0}
.customer-flow .pf-offer-summary{margin:0 0 16px;color:var(--muted)}
.customer-flow .pf-change-hint{padding:14px 16px;border:1px solid #b7e6ef;border-radius:6px;background:#eefafd;color:#42565b;line-height:1.6;margin:0 0 16px}
.customer-flow .order-head{align-items:flex-start}
.customer-flow .order-total{white-space:nowrap;font-variant-numeric:tabular-nums}
.customer-flow .item-main>a{font:700 14px/1.4 Ubuntu,Manrope,sans-serif;color:var(--ink);text-decoration:none}
.customer-flow .item-line-total{font-variant-numeric:tabular-nums;white-space:nowrap}
.customer-flow .item-quantity{color:var(--muted);margin-top:4px}
/* Keep each order on one alignment grid, with a single payment status. */
.customer-flow #customer-orders{display:grid;gap:28px}
.customer-flow #customer-orders>.order{margin:0;border-color:#cbd7d9;overflow:hidden}
.customer-flow .order .order-head{margin:-24px -24px 18px;padding:20px 24px;background:#eaf8fb;border-bottom:1px solid #c8e6ec;align-items:center}
.customer-flow .order .order-number{font-size:18px;margin:0 0 4px}
.customer-flow .order .order-date{margin:0}
.customer-flow .order .statuses{margin:12px 0 0;display:flex;justify-content:flex-start}
.customer-flow .order .status-progress{display:flex;align-items:baseline;gap:12px;background:none;padding:0;min-height:0}
.customer-flow .order .account-payment{border-top:0;margin-top:16px;padding-top:0}
.customer-flow .order .pf-method-row{border:0;padding:0;margin:0 0 12px}
.customer-flow .order .pf-actions{gap:10px;align-items:center}
.customer-flow .order .pf-actions .pf-change{margin:0}
.customer-flow .order .pf-updated,.customer-flow .order .pf-sync-status{margin:8px 0;font-size:12px}
.customer-flow .order .items-toggle{margin-top:16px;padding:0 4px;min-height:48px;border-bottom:0;font-size:13px;text-transform:none}
.customer-flow .order .items-toggle-icon{flex:0 0 9px;margin-right:4px}
.customer-flow .order .item-row{grid-template-columns:64px minmax(0,1fr) 120px;gap:16px;padding:14px 0;align-items:start}
.customer-flow .order .item-visual{width:64px;height:64px;border-radius:6px}
.customer-flow .order .item-visual img{object-fit:contain}
.customer-flow .order .item-visual img[hidden]{display:none}
.customer-flow .order .item-placeholder{background:#f5f7f7}
.customer-flow .order .item-line-total{padding-top:2px}
.customer-flow .order .item-line-total small{display:none}
.customer-flow .order .item-fulfillment{border:0;background:none;padding:0;text-transform:none;font-size:12px;color:var(--muted)}
@media(max-width:660px){.customer-flow .order .order-head{margin:-18px -18px 16px;padding:16px 18px}.customer-flow .order .order-number{font-size:16px}.customer-flow #customer-orders{gap:22px}}
@media(max-width:660px){.customer-flow .order .pf-actions{display:grid;grid-template-columns:1fr;width:100%}.customer-flow .order .pf-actions>*{width:100%;min-width:0}.customer-flow .order .status-progress{flex-wrap:wrap;gap:4px 10px}.customer-flow .order .item-row{grid-template-columns:56px minmax(0,1fr);gap:8px 12px}.customer-flow .order .item-visual{width:56px;height:56px;grid-row:span 2}.customer-flow .order .item-line-total{grid-column:2;justify-items:start;padding:0}.customer-flow .order .order-head{grid-template-columns:1fr}.customer-flow .order .order-total{font-size:20px}}
@media(max-width:660px){.customer-flow .order-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.customer-flow .statuses{grid-template-columns:1fr}.customer-flow .item-row{grid-template-columns:56px minmax(0,1fr);gap:12px}.customer-flow .item-line-total{grid-column:2;text-align:left}}

.order-changes{border-top:1px solid #dce3e5;padding-top:16px;margin-top:16px}.order-changes h3{margin:16px 0 12px}.order-change-row{display:grid;grid-template-columns:minmax(0,1fr) 80px;align-items:center;gap:16px;margin:12px 0}.order-change-row input{width:100%;min-width:0;padding:8px;border:1px solid #cbd5d9;border-radius:6px;font:inherit}.order-changes [hidden]{display:none}
.order-changes .order-composition-row{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid #dfe5e4}
.order-changes .order-composition-row label{display:grid;gap:6px;min-width:0;font-size:13px}
.order-changes .order-composition-row select,.order-changes .order-composition-row input{box-sizing:border-box;width:100%;min-width:0;height:44px;padding:8px;border:1px solid #cbd5d9;border-radius:6px;font:inherit;color:#101313;background:#fff}
.order-changes .pf-actions{margin-top:16px;flex-wrap:wrap}
.order-changes [role=status]{min-height:1.5em;overflow-wrap:anywhere}
@media(max-width:660px){.order-changes .order-composition-row{grid-template-columns:minmax(0,1fr) auto}.order-changes .order-composition-row>label:first-child{grid-column:1/-1}.order-changes .order-composition-row>button{justify-self:end}.order-changes .pf-actions>button{width:100%}}
.customer-flow .order-changes .order-composition-row>button{height:44px;min-height:44px;padding:8px 16px;margin:0;align-self:end}.customer-flow .order-changes [role=status]:empty{display:none}.customer-flow .order-changes .order-composition-row{margin-bottom:12px}.customer-flow .order-changes .pf-actions{margin-top:12px}
.customer-flow .order-changes .order-composition-row select,.customer-flow .order-changes .order-composition-row input{height:52px}.customer-flow .order-changes .order-composition-row>button{height:52px;min-height:52px}
/* Order composition uses the same compact product/variant layout as checkout. */
.customer-flow .oc-card{display:grid;grid-template-columns:64px minmax(0,1fr) 112px 24px;gap:10px 12px;padding:12px;margin:12px 0;border:1px solid #dfe5e4;border-radius:9px;align-items:start}
.customer-flow .oc-photo{width:64px;height:64px;object-fit:contain;border:1px solid #dfe5e4;border-radius:4px}
.customer-flow .oc-main{min-width:0}.customer-flow .oc-main>strong{font:700 14px/1.4 Ubuntu,Manrope,sans-serif}.customer-flow .oc-description{font-size:12px;color:#606a6b;margin-top:4px}
.customer-flow .oc-toggle{border:0;background:none;color:#079cb7;padding:4px 0;min-height:32px;font:inherit;font-size:12px;text-align:left}.customer-flow .oc-toggle:before{content:'▸ ';}.customer-flow .oc-toggle[aria-expanded=true]:before{content:'▾ ';}
.customer-flow .oc-side{display:grid;gap:8px;justify-items:end}.customer-flow .oc-price{font:700 14px/1.4 Ubuntu,Manrope,sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
.customer-flow .oc-quantity{display:grid;grid-template-columns:32px 32px 32px;gap:2px;align-items:center}.customer-flow .oc-quantity button,.customer-flow .oc-quantity input{box-sizing:border-box;width:32px;height:32px;min-width:0;padding:0;text-align:center;font:inherit;font-size:13px;background:#fff;color:#101313;border:1px solid #cbd5d9;border-radius:5px}.customer-flow .oc-quantity input{border-color:transparent;appearance:textfield;-moz-appearance:textfield}.customer-flow .oc-quantity input::-webkit-inner-spin-button{appearance:none}.customer-flow .oc-quantity button:disabled{opacity:.35}
.customer-flow .oc-remove{padding:0;width:24px;height:32px;border:0;background:none;color:#606a6b;font-size:19px;margin-top:24px}
.customer-flow .oc-details{grid-column:2/3;min-width:0}.customer-flow .oc-caption{font-size:12px;color:#606a6b;margin:0 0 8px}.customer-flow .oc-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.customer-flow .oc-option{display:flex;align-items:center;gap:8px;min-height:44px;padding:7px 10px;border:1px solid #cbd5d9;border-radius:5px;background:#fff;color:#101313;text-align:left;font:inherit;font-size:12px;min-width:0}.customer-flow .oc-option span{overflow-wrap:anywhere}.customer-flow .oc-option img{width:32px;height:28px;object-fit:contain}.customer-flow .oc-option[aria-pressed=true]{border-color:#079cb7;background:#eefafd}.customer-flow .oc-option:disabled{opacity:.45}.customer-flow .oc-variant-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.customer-flow .oc-variant-actions button{min-width:0;width:100%;padding-inline:10px}.customer-flow .oc-card button:focus-visible{outline:2px solid #079cb7;outline-offset:2px}
.customer-flow .oc-card:has(.oc-photo[hidden]){grid-template-columns:minmax(0,1fr) 112px 24px}.customer-flow .oc-card:has(.oc-photo[hidden]) .oc-details{grid-column:1/2}
@media(max-width:660px){.customer-flow .oc-card{grid-template-columns:48px minmax(0,1fr) 24px;gap:8px;padding:10px}.customer-flow .oc-photo{width:48px;height:48px}.customer-flow .oc-side{grid-column:1/3;grid-row:2;display:flex;justify-content:space-between;align-items:center}.customer-flow .oc-remove{grid-column:3;grid-row:2;margin:0}.customer-flow .oc-details{grid-column:1/-1}.customer-flow .oc-card:has(.oc-photo[hidden]){grid-template-columns:minmax(0,1fr) 24px}.customer-flow .oc-card:has(.oc-photo[hidden]) .oc-main{grid-column:1/-1}.customer-flow .oc-card:has(.oc-photo[hidden]) .oc-side{grid-column:1;grid-row:2}.customer-flow .oc-card:has(.oc-photo[hidden]) .oc-remove{grid-column:2}.customer-flow .oc-card:has(.oc-photo[hidden]) .oc-details{grid-column:1/-1}}
/* Keep the editor on the catalogue card grid, including its add/save controls. */
.customer-flow .oc-editor{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.customer-flow .oc-editor>h3{font:700 20px/1.3 Ubuntu,Manrope,sans-serif;margin:0 0 6px}
.customer-flow .oc-editor>p{font-size:13px;color:var(--muted);margin:0 0 16px}
.customer-flow .oc-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:16px}
.customer-flow .oc-add-row select{width:100%;min-width:0;height:52px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:inherit}
.customer-flow .oc-add-row button{margin:0;white-space:nowrap}
.customer-flow .oc-editor>.pf-actions{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}
.customer-flow .oc-remove{align-self:start;margin-top:24px}
@media(max-width:660px){.customer-flow .oc-add-row{grid-template-columns:minmax(0,1fr)}.customer-flow .oc-add-row button{width:100%}.customer-flow .oc-editor>h3{font-size:18px}.customer-flow .oc-remove{margin-top:0}}

/* Dense order cards share the same spacing in both account views. */
.customer-flow .order{padding:18px;box-shadow:none}
.customer-flow .order .order-head{margin:-18px -18px 12px;padding:14px 18px;gap:12px}
.customer-flow .order .order-number{font-size:16px}
.customer-flow .order .account-payment{margin-top:12px}
.customer-flow .order .pf-status-panel{padding:12px 14px;margin:12px 0}
.customer-flow .order .pf-status{font-size:17px}
.customer-flow .order .pf-explanation{margin:4px 0 0}
.customer-flow .order .pf-invoice{padding:14px;margin-top:12px}
.customer-flow .order .pf-invoice-actions{margin:10px 0}
.customer-flow .order .items-toggle{margin-top:12px;min-height:44px}
.customer-flow .order .order-changes{margin-top:8px;padding-top:8px}
@media(max-width:660px){.customer-flow .order .order-head{padding:12px 16px}.customer-flow .order .pf-actions{display:grid;grid-template-columns:minmax(0,1fr)}.customer-flow .order .pf-actions>*{width:100%;min-width:0}.customer-flow .order .pf-status-panel{padding:10px 12px}}

/* Account orders follow the compact requests rhythm without changing payment actions. */
.customer-flow #customer-orders{gap:12px}
.customer-flow #customer-orders>.order{padding:14px 16px;border:1px solid #dce0eb;border-radius:4px;box-shadow:none}
.customer-flow .order .order-head{display:grid;grid-template-columns:minmax(100px,1fr) 150px auto;align-items:center;gap:12px;margin:-14px -16px 12px;padding:12px 16px;background:#f5f6fa;border-bottom:1px solid #dce0eb}
.customer-flow .order .order-head .order-number{margin:0;font-size:14px;line-height:20px}
.customer-flow .order .order-head .order-date{font-size:12px;white-space:nowrap;line-height:20px}
.customer-flow .order .order-total{font-size:16px;line-height:20px}
.customer-flow .order .statuses{margin:0;gap:8px;flex-wrap:wrap}
.customer-flow .order .status-progress{align-items:center;gap:8px;font-size:12px}
.customer-flow .order .status-progress strong{padding:3px 8px;background:#edf0fb;color:#485b99;border-radius:4px;font-size:12px;line-height:20px}
.customer-flow .order .status-progress.status-success strong{background:#e8f5ed;color:#246844}
.customer-flow .order .status-progress.status-danger strong{background:#fcebec;color:#a22e37}
.customer-flow .order .account-payment{margin-top:10px;padding-top:0}
.customer-flow .order .pf-status-panel{padding:9px 12px;margin:8px 0 12px;border-radius:4px}
.customer-flow .order .pf-status-panel .pf-status{font-size:14px;line-height:20px;margin:0 0 3px}
.customer-flow .order .pf-status-panel .pf-explanation{font-size:12px;line-height:18px;max-width:none}
.customer-flow .order .pf-method-row{margin-bottom:8px;font-size:13px}
.customer-flow .order .pf-updated,.customer-flow .order .pf-sync-status{margin:6px 0;font-size:11px}
.customer-flow .order .items-toggle{margin-top:8px;min-height:36px;padding:6px 0;font-size:12px}
.customer-flow .order .item-row{padding:10px 0;gap:12px}
.customer-flow .order .order-changes{margin-top:6px;padding-top:6px}
.customer-flow .order .pf-invoice{padding:12px;margin-top:8px;border-radius:4px}
@media(max-width:660px){.customer-flow .order .order-head{grid-template-columns:1fr auto;gap:4px 12px}.customer-flow .order .order-head>.order-date{grid-column:1/-1;grid-row:2}.customer-flow .order .order-total{grid-column:2;grid-row:1}.customer-flow .order .status-progress{flex-wrap:wrap}.customer-flow .order .pf-actions{gap:8px}.customer-flow .order .pf-explanation{overflow-wrap:anywhere}}

/* Shared compact product thumbnail treatment. */
#customer-orders .item-visual{width:48px;height:48px;position:relative;overflow:visible;border-radius:4px;flex:none}
#customer-orders .item-visual img{width:100%;height:100%;object-fit:contain;background:#fff;transform-origin:left center;transition:transform 180ms ease-out}
@media(hover:hover) and (pointer:fine){#customer-orders .item-visual:hover{z-index:2}#customer-orders .item-visual:hover img{transform:scale(2.7)}}
@media(prefers-reduced-motion:reduce){#customer-orders .item-visual img{transition:none}}
.customer-flow .order .status-payment{display:flex;align-items:center;gap:8px;min-height:0;padding:0;background:transparent;color:var(--ink)}
.customer-flow .order .status-payment strong{font-size:12px;line-height:20px;padding:3px 8px;border-radius:4px;background:#fff3db;color:#866014}
.customer-flow .order .status-payment.status-success strong{background:#e8f5ed;color:#246844}
.customer-flow .order .statuses{display:flex;align-items:center}
.customer-flow .order .status-block{min-width:0}

/* Account / Balanced checkout parity — owner request 05.11.2026.
   Customer surfaces only; preserve native controls, states and business handlers. */
.customer-flow #customer-profile .field-hint{color:var(--muted);font-size:12px;line-height:1.5}
.customer-flow #customer-profile input[aria-invalid=true]~.field-hint{color:#a33}
.customer-flow #customer-profile textarea:is([name=deliveryAddress],[name=companyAddress]){resize:none;overflow:hidden;min-height:42px;box-sizing:border-box}
.customer-flow #customer-profile .profile-contact-kind{color:#00869b;font-weight:700}
.customer-flow #customer-profile .profile-save-status.success{color:#00869b;font-weight:600}
.customer-flow #customer-profile .profile-save-status.pending{color:var(--muted)}
.customer-flow #customer-profile .profile-save-status.error{color:#a33}
body.customer-flow{--muted:#687374;background:#fff!important;font:400 14px/1.5 Manrope,Arial,sans-serif}
.customer-flow .flow-card,.customer-flow .profile-form,.customer-flow #customer-orders>.order,.customer-flow #customer-access{border:1px solid #dfe5e4;border-radius:5px;background:#fff;box-shadow:none}
.customer-flow .flow-card{padding:28px}
.customer-flow main h1{font:700 30px/1.2 Ubuntu,Manrope,sans-serif;letter-spacing:0}
.customer-flow .flow-card>p:not(.flow-eyebrow),.customer-flow .flow-heading>p:last-child{font-size:13px;line-height:1.5;color:var(--muted);margin:8px 0 0}
.customer-flow .flow-access-panel .account-payment{border:0;margin:0;padding:0}
.customer-flow .access-form{margin-top:24px}
.customer-flow .access-form label,.customer-flow .profile-grid label,.customer-flow #customer-login label{font:600 12px/18px Manrope,sans-serif;letter-spacing:0;text-transform:none}
.customer-flow .access-form input[type=email],.customer-flow .profile-grid :is(input,select,textarea),.customer-flow #customer-login input,.customer-flow .oc-add-row select,.customer-flow .order-changes .order-composition-row :is(input,select){min-height:42px;height:auto;padding:10px 12px;border:1px solid #cbd5d5;border-radius:4px;font:400 14px/20px Manrope,sans-serif;background:#fff;color:#101313;box-shadow:none}
.customer-flow :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),select,textarea):is(:focus,:focus-visible){border-color:#079cb7;outline:0;outline-offset:0;box-shadow:none}
.customer-flow :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),select,textarea)[aria-invalid=true]:is(:focus,:focus-visible){border-color:#b42318;outline:0;outline-offset:0;box-shadow:none}
.customer-flow .profile-grid textarea{min-height:84px}
.customer-flow .profile-grid input[readonly]{background:#f2f5f4;color:#687374}
.customer-flow .access-form input[aria-invalid=true]{border-color:#b42318}
.customer-flow .access-form .access-feedback{min-height:0;margin:8px 0;font-size:12px}
.customer-flow .access-form .access-feedback:empty{display:none}
.customer-flow .access-actions{margin-top:20px;gap:12px}
.customer-flow .flow-test-note,.customer-flow .flow-breadcrumb{font-size:12px}
.customer-flow .profile-form{padding:24px}.customer-flow .profile-actions{margin-top:20px;padding-top:16px;border-top:1px solid #dfe5e4}
.customer-flow .order:hover{box-shadow:none;border-color:#dfe5e4}
.customer-flow .order .order-head{background:#f7f9f8;border-color:#dfe5e4}
.customer-flow .order-total{font:700 24px/1.25 Ubuntu,Manrope,sans-serif}
.customer-flow .account-tabs{gap:24px;border-color:#dfe5e4}
.customer-flow .account-tabs button{font:600 13px/20px Manrope,sans-serif;text-transform:none}
.customer-flow .account-tabs button::after{height:2px}
.customer-flow .pf-methods label,.customer-flow .oc-card,.customer-flow .pf-invoice,.customer-flow .pf-forma-dialog{border-radius:4px}
.customer-flow .pf-methods label:has(input:checked),.customer-flow .oc-option[aria-pressed=true]{background:#f4fcfd;border-color:#079cb7;color:#101313}
.customer-flow .pf-methods strong{font:700 14px/20px Ubuntu,Manrope,sans-serif}
.customer-flow .pf-methods small{font:400 12px/18px Manrope,sans-serif}
.customer-flow .pf-methods legend{font:700 14px/20px Ubuntu,Manrope,sans-serif}
.customer-flow .pf-invoice h3,.customer-flow .oc-editor>h3,.customer-flow .order-changes h3{font:700 18px/24px Ubuntu,Manrope,sans-serif}
body.customer-flow main :is(#customer-view .login button,#customer-view .profile-actions button,#customer-view .button-link,#orders-sync-refresh,.account-payment :is(a,button)[data-button-style-id],.order-changes>.pf-actions button,.oc-variant-actions button,.oc-add-row button){display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-height:36px!important;height:auto!important;width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important;justify-self:start!important;align-self:flex-start!important;padding:7px 14px!important;border:1px solid #101313!important;border-radius:4px!important;background:#fff!important;color:#101313!important;font:700 13px/20px Ubuntu,Manrope,sans-serif!important;letter-spacing:0!important;text-transform:uppercase!important;text-decoration:none!important;box-shadow:none!important;text-shadow:none!important;transform:none!important;white-space:normal!important;text-align:center!important;transition:background-color .2s,border-color .2s,transform .2s!important}
body.customer-flow main :is(#customer-view .login button,#customer-view .profile-actions button,#customer-view .button-link,#orders-sync-refresh,.account-payment :is(a,button)[data-button-style-id],.order-changes>.pf-actions button,.oc-variant-actions button,.oc-add-row button):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):hover{background:#f2f5f4!important;color:#101313!important;border-color:#101313!important;box-shadow:none!important;transform:translateY(-2px)!important}
body.customer-flow main :is(#customer-view .login button,#customer-view .profile-actions button,#customer-view .button-link,#orders-sync-refresh,.account-payment :is(a,button)[data-button-style-id],.order-changes>.pf-actions button,.oc-variant-actions button,.oc-add-row button):focus-visible{outline:1px solid #101313!important;outline-offset:2px!important}
body.customer-flow main :is(#customer-view .login button,#customer-view .profile-actions button,.account-payment :is(a,button)[data-button-style-id]):is(:disabled,[aria-disabled=true],[aria-busy=true]){opacity:.55!important;transform:none!important;cursor:default!important}
body.customer-flow main [hidden],body.customer-flow main :is(#customer-view#customer-view,.account-payment) [hidden]{display:none!important}
@media(max-width:660px){.customer-flow main h1{font-size:26px}.customer-flow .flow-card,.customer-flow .profile-form{padding:20px 16px}.customer-flow .access-form input[type=email],.customer-flow .profile-grid :is(input,select,textarea),.customer-flow #customer-login input,.customer-flow .oc-add-row select{font-size:16px;min-height:44px}.customer-flow .access-actions{align-items:stretch}.customer-flow .access-actions>button{width:auto}.customer-flow .account-tabs{gap:18px}}
@media(prefers-reduced-motion:reduce){body.customer-flow main :is(#customer-view button,.account-payment :is(a,button)[data-button-style-id]){transition:none!important;transform:none!important}}

/* Saved-order payment follows the compact, balanced checkout layout. */
:root:has(#checkout-payment){scrollbar-gutter:stable}
.customer-flow .checkout-payment-shell .flow-card{padding:24px;border-radius:4px}
.customer-flow .checkout-payment-shell .account-payment:not(.pf-nav){margin-top:20px;padding-top:16px}
.customer-flow .checkout-payment-shell .pf-top{align-items:center;gap:12px;flex-wrap:wrap}
.customer-flow .checkout-payment-shell .pf-top .pf-amount{font:700 28px/34px Ubuntu,Manrope,sans-serif;white-space:nowrap}
.customer-flow .checkout-payment-shell .pf-status-panel{margin:16px 0;padding:12px 14px;border-radius:4px}
.customer-flow .checkout-payment-shell .pf-status-panel .pf-status{font:700 18px/24px Ubuntu,Manrope,sans-serif;margin:0 0 4px}
.customer-flow .checkout-payment-shell .pf-status-panel .pf-explanation{font:400 13px/20px Manrope,sans-serif;max-width:none}
.customer-flow .checkout-payment-shell .pf-method-row{margin:0 0 12px;padding:12px 0;gap:12px}
.customer-flow .checkout-payment-shell .pf-method-row .pf-method-summary{min-width:0;flex:1}
.customer-flow .checkout-payment-shell .pf-methods{margin:0 0 12px;gap:8px}
.customer-flow .checkout-payment-shell .pf-methods label{padding:10px 12px;gap:8px}
.customer-flow .checkout-payment-shell .pf-methods strong{font-size:13px;line-height:20px}
.customer-flow .checkout-payment-shell .pf-methods small{margin-top:2px;font-size:12px;line-height:18px}
body.customer-flow main.checkout-payment-shell #checkout-payment .pf-method-row>.pf-change{width:224px!important;flex:0 0 224px!important;align-self:center!important;margin:0!important}
.customer-flow .checkout-payment-shell .pf-actions:not(:has(>:not([hidden]))){display:none}
.customer-flow .checkout-payment-shell .pf-updated{font-size:12px;margin:8px 0 12px}
.customer-flow .checkout-payment-shell .pf-invoice:not(:empty){margin-top:16px;padding:16px;border-radius:4px}
.customer-flow .checkout-payment-shell .pf-invoice>h3{font:700 16px/22px Ubuntu,Manrope,sans-serif;margin:0 0 12px}
.customer-flow .checkout-payment-shell .pf-invoice-controls{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:20px}
.customer-flow .checkout-payment-shell .pf-qr-thumbnail{padding:0;border:0;border-radius:4px;gap:12px;min-width:0;min-height:64px}
.customer-flow .checkout-payment-shell .pf-qr-thumbnail strong{font:700 14px/20px Ubuntu,Manrope,sans-serif}
.customer-flow .checkout-payment-shell .pf-qr-thumbnail small{font:400 12px/18px Manrope,sans-serif}
/* The shared button rule otherwise forces align-self:flex-start!important. */
body.customer-flow main.checkout-payment-shell #checkout-payment .pf-invoice-controls>a[data-button-style-id]{align-self:center!important;flex:none!important;margin:0!important}
.customer-flow .checkout-payment-shell .pf-invoice-actions:empty{display:none}
.customer-flow .checkout-payment-shell .flow-bottom{margin-top:20px;padding-top:16px}
.customer-flow .checkout-payment-shell .flow-access{padding:16px 0 0;width:100%;max-width:none}
.customer-flow .checkout-payment-shell .flow-access p{width:100%;max-width:none}
.customer-flow .checkout-payment-shell .flow-access strong{font:700 14px/20px Ubuntu,Manrope,sans-serif}
@media(max-width:660px){
 .customer-flow .checkout-payment-shell .flow-card{padding:20px 16px}
 .customer-flow .checkout-payment-shell .pf-top .pf-amount{font-size:26px;line-height:32px}
 .customer-flow .checkout-payment-shell .pf-invoice:not(:empty){padding:12px}
 .customer-flow .checkout-payment-shell .pf-invoice-controls{display:flex;gap:14px}
 .customer-flow .checkout-payment-shell .pf-method-row{align-items:stretch;gap:10px}
 body.customer-flow main.checkout-payment-shell #checkout-payment .pf-method-row>.pf-change{width:100%!important;flex:0 0 auto!important;align-self:stretch!important}
}
@media(max-width:480px){
 .customer-flow .checkout-payment-shell .pf-invoice-controls{align-items:stretch;flex-direction:column}
 body.customer-flow main.checkout-payment-shell #checkout-payment .pf-invoice-controls>a[data-button-style-id]{align-self:stretch!important;width:100%!important}
 .customer-flow .checkout-payment-shell .pf-qr-thumbnail{width:100%;justify-content:flex-start}
}

/* Customer profile uses the same field rhythm and selected state as checkout. */
body.customer-flow #customer-profile{padding:20px;border-radius:4px}
.customer-flow #customer-profile .profile-grid{gap:16px 24px;align-items:start}
.customer-flow #customer-profile .profile-grid>label{font:600 12px/18px Manrope,sans-serif;gap:6px}
.customer-flow #customer-profile .profile-grid :is(input:not([type=radio]),textarea){border-radius:4px;transition:border-color .15s;background:#fff}
.customer-flow #customer-profile .profile-grid :is(input:not([type=radio]),textarea):focus{border-color:#079cb7;outline:none;box-shadow:none}
.customer-flow #customer-profile .profile-grid input[readonly]{background:#f2f5f4;color:#687374;cursor:default}
.customer-flow #customer-profile .profile-grid input[readonly]:focus{border-color:#8b9999}
.customer-flow #customer-profile .profile-grid textarea{min-height:44px;line-height:22px;padding:10px 12px}
.customer-flow #customer-profile .profile-messenger{min-width:0;margin:0;padding:0;border:0}
.customer-flow #customer-profile .profile-messenger legend{padding:0;margin:0 0 6px;font:600 12px/18px Manrope,sans-serif}
.customer-flow #customer-profile .profile-messenger-options{display:flex;gap:8px;min-height:42px}
.customer-flow #customer-profile .profile-messenger-options label{display:flex;position:relative;cursor:pointer}
.customer-flow #customer-profile .profile-messenger-options input{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;opacity:0}
.customer-flow #customer-profile .profile-messenger-options span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1px solid #cbd5d5;border-radius:4px;background:#fff;color:#101313;font:600 13px/20px Manrope,sans-serif;transition:background-color .15s,border-color .15s}
.customer-flow #customer-profile .profile-messenger-options label:hover span{background:#f2f5f4;border-color:#8b9999}
.customer-flow #customer-profile .profile-messenger-options input:checked+span{background:#f4fcfd;border-color:#079cb7}
.customer-flow #customer-profile .profile-messenger-options input:focus-visible+span{outline:1px solid #101313;outline-offset:2px}
.customer-flow #customer-profile .marketing-setting{gap:10px;margin:16px 0;font:400 12px/20px Manrope,sans-serif;align-items:flex-start}
.customer-flow #customer-profile .marketing-setting input{flex:0 0 18px;width:18px;height:18px;margin:1px 0;accent-color:#079cb7}
.customer-flow #customer-profile .profile-actions{margin:0;padding-top:16px;gap:12px;align-items:center;min-height:53px}
.customer-flow #customer-profile .profile-actions [role=status]{flex:1;min-width:0;font:400 12px/18px Manrope,sans-serif}
body.customer-flow main #customer-view #customer-profile .profile-actions button{order:2;align-self:center!important}
@media(max-width:660px){
 body.customer-flow #customer-profile{padding:16px}
 .customer-flow #customer-profile .profile-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .customer-flow #customer-profile .profile-messenger-options span{min-height:44px}
 .customer-flow #customer-profile .profile-actions{flex-wrap:nowrap}
}
@media(prefers-reduced-motion:reduce){.customer-flow #customer-profile .profile-grid :is(input,textarea),.customer-flow #customer-profile .profile-messenger-options span{transition:none}}

/* Order list: stable compact summaries, payment/details expanded on demand. */
:root:has(#customer-orders){scrollbar-gutter:auto}
.customer-flow #customer-orders{gap:10px}
.customer-flow #customer-orders>.order{padding:0;border-radius:4px;overflow:visible}
.customer-flow #customer-orders .order-head{margin:0;padding:12px 16px;grid-template-columns:minmax(0,1fr) 210px 140px;gap:16px;background:#f7f9f8;border-radius:4px 4px 0 0}
.customer-flow #customer-orders .order-head>div{min-width:0}
.customer-flow #customer-orders .order-total{text-align:right;font:700 16px/22px Ubuntu,Manrope,sans-serif;white-space:nowrap}
.customer-flow #customer-orders .order-summary-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(150px,1fr) 110px;align-items:center;gap:12px;padding:10px 16px;min-height:64px}
.customer-flow #customer-orders .order-summary-row>.statuses{min-width:0;display:block;margin:0}
.customer-flow #customer-orders .order-summary-row>.statuses .status-progress{padding:0;background:transparent}
.customer-flow #customer-orders :is(.status-progress,.order-payment-badge,.order-delivery-badge){display:grid;gap:3px;justify-items:start;min-width:0;padding:0;background:transparent;border:0}
.customer-flow #customer-orders :is(.status-progress,.order-payment-badge,.order-delivery-badge)>small{display:block;color:#687374;font:600 10px/14px Manrope,sans-serif;text-transform:uppercase;letter-spacing:.04em}
.customer-flow #customer-orders .status-progress strong{display:inline-flex;align-items:center;box-sizing:border-box;min-height:28px;background:#f2f5f4;color:#101313;font:600 12px/20px Manrope,sans-serif;padding:3px 8px;border:1px solid transparent;border-radius:4px}
.customer-flow #customer-orders :is(.order-payment-badge,.order-delivery-badge)>strong{display:inline-flex;align-items:center;box-sizing:border-box;min-height:28px;font:600 12px/20px Manrope,sans-serif;padding:3px 8px;border:1px solid #b7e6ef;border-radius:4px;background:#f4fcfd;color:#087f95}
.customer-flow #customer-orders .order-payment-badge[data-status=paid]>strong{background:#f0faf5;border-color:#b8ddcc;color:#087553}
.customer-flow #customer-orders .order-payment-badge:is([data-status=failed],[data-status=cancelled])>strong{background:#fff7f7;border-color:#ebc9c9;color:#b32424}
.customer-flow #customer-orders .order-delivery-badge.status-success>strong{background:#f0faf5;border-color:#b8ddcc;color:#087553}
.customer-flow #customer-orders .order-delivery-badge.status-danger>strong{background:#fff7f7;border-color:#ebc9c9;color:#b32424}
.customer-flow #customer-orders .order-delivery-badge.status-partial>strong{background:#fff8e7;border-color:#ead19a;color:#8a5a00}
body.customer-flow main #customer-orders .order-summary-row>.order-summary-actions{display:flex;grid-column:4;grid-row:1;align-items:center;justify-content:flex-end;justify-self:end;width:110px;min-width:110px;margin:0!important;padding:0!important;border:0!important}
body.customer-flow main #customer-orders .order-summary-actions>.order-detail-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:center;width:110px;min-width:110px;min-height:36px;padding:6px 8px;margin:0;border:0;background:transparent;color:#687374;font:600 13px/20px Manrope,sans-serif;text-transform:none;white-space:nowrap;box-shadow:none;cursor:pointer}
body.customer-flow main #customer-orders .order-detail-toggle::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px}
body.customer-flow main #customer-orders .order-detail-toggle[aria-expanded=true]::after{transform:rotate(225deg);margin-top:4px}
body.customer-flow main #customer-orders .order-detail-toggle:hover{color:#101313;background:#f2f5f4}
body.customer-flow main #customer-orders .order-detail-toggle:focus-visible{outline:2px solid #00869b;outline-offset:2px}
.customer-flow #customer-orders .order-detail{padding:0 16px 14px;border-top:1px solid #dfe5e4}
.customer-flow #customer-orders .order-detail .account-payment:not(.pf-nav){margin:10px 0 0;padding:0;border:0}
.customer-flow #customer-orders .pf-local,.customer-flow #customer-orders .pf-simulator{display:none!important}
.customer-flow #customer-orders .pf-method-row{margin:0 0 10px;padding:10px 0;align-items:center;gap:12px}
.customer-flow #customer-orders .pf-method-summary{flex:1;min-width:0}
body.customer-flow main #customer-orders .pf-method-row>.pf-change{width:224px!important;flex:0 0 224px!important;align-self:center!important;margin:0!important}
.customer-flow #customer-orders .pf-methods{gap:8px;margin-bottom:10px}
.customer-flow #customer-orders .pf-methods label{padding:10px 12px}
.customer-flow #customer-orders .pf-actions:not(:has(>:not([hidden]))){display:none}
.customer-flow #customer-orders .pf-actions{justify-content:flex-end;margin:0 0 12px;gap:10px}
.customer-flow #customer-orders .order-changes>.pf-actions{justify-content:flex-start;margin-top:12px}
.customer-flow #customer-orders .order-changes-disabled button:disabled{opacity:.42;cursor:not-allowed;filter:saturate(.35)}
.customer-flow #customer-orders .order-changes-disabled>[role=status]{color:#687374;font:400 12px/18px Manrope,sans-serif;margin:2px 0 0}
.customer-flow #customer-orders .pf-invoice-actions:empty{display:none}
body.customer-flow main #customer-orders .pf-actions>:is(.pf-submit,.pf-continue)[data-button-style-id]{background:#101313!important;color:#fff!important;border-color:#101313!important;min-width:180px!important}
body.customer-flow main #customer-orders .pf-actions>:is(.pf-submit,.pf-continue)[data-button-style-id]:hover{background:#263030!important;color:#fff!important;border-color:#263030!important}
.customer-flow #customer-orders .pf-invoice:not(:empty){padding:12px;margin-top:10px;border-radius:4px}
.customer-flow #customer-orders .pf-invoice h3{font:700 16px/22px Ubuntu,Manrope,sans-serif;margin:0 0 10px}
.customer-flow #customer-orders .pf-invoice-controls{display:flex;align-items:center;justify-content:flex-start;gap:20px;flex-wrap:wrap}
.customer-flow #customer-orders .pf-qr-thumbnail{border:0;padding:0;min-height:64px;gap:12px}
.customer-flow #customer-orders .pf-qr-thumbnail strong{font:700 14px/20px Ubuntu,Manrope,sans-serif}
.customer-flow #customer-orders .pf-qr-thumbnail small{font:400 12px/18px Manrope,sans-serif}
body.customer-flow main #customer-orders .account-payment .pf-invoice-controls>a[data-button-style-id]{align-self:center!important;margin:0!important;flex:none!important}
.customer-flow #customer-orders .items-toggle{margin-top:10px;border-top:1px solid #dfe5e4}
.customer-flow #customer-orders .order-delivery-facts{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr);gap:12px;margin:12px 0 0;padding:12px;border:1px solid #dfe5e4;border-radius:4px;background:#f7f9f8}
.customer-flow #customer-orders .order-delivery-facts>div{display:grid;gap:3px;min-width:0}
.customer-flow #customer-orders .order-delivery-facts small{color:#687374;font:600 10px/14px Manrope,sans-serif;text-transform:uppercase;letter-spacing:.04em}
.customer-flow #customer-orders .order-delivery-facts strong{color:#101313;font:600 13px/19px Manrope,sans-serif;overflow-wrap:anywhere}
@media(max-width:660px){
 .customer-flow #customer-orders .order-head{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:10px 12px}
 .customer-flow #customer-orders .order-head>.order-date{grid-column:1;grid-row:2}
 .customer-flow #customer-orders .order-summary-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px 12px;gap:10px 12px}
 .customer-flow #customer-orders .order-summary-row>.statuses{grid-column:1;grid-row:1}
 .customer-flow #customer-orders .order-payment-badge{grid-column:2;grid-row:1}
 .customer-flow #customer-orders .order-delivery-summary{grid-column:1;grid-row:2}
 body.customer-flow main #customer-orders .order-summary-row>.order-summary-actions{grid-column:2;grid-row:2;align-self:end;justify-self:end}
 .customer-flow #customer-orders .order-delivery-facts{grid-template-columns:1fr}
 .customer-flow #customer-orders .order-detail{padding:0 12px 12px}
 .customer-flow #customer-orders .pf-method-row{align-items:stretch;gap:10px}
 body.customer-flow main #customer-orders .pf-method-row>.pf-change{width:100%!important;flex:0 0 auto!important;align-self:stretch!important}
}
@media(max-width:480px){
 .customer-flow #customer-orders .pf-invoice-controls{align-items:stretch;flex-direction:column;gap:12px}
 body.customer-flow main #customer-orders .account-payment .pf-invoice-controls>a[data-button-style-id]{align-self:stretch!important;width:100%!important}
}

/* Account shell: breathing room and footer at the viewport edge. */
body.customer-flow:has(#coody-header-test){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body.customer-flow:has(#coody-header-test)>main:is(.shell,.flow-access-panel){flex:1 0 auto;margin:0 auto;padding-top:136px;padding-bottom:80px}
body.customer-flow:has(#coody-header-test)>footer{flex-shrink:0}
@media(max-width:1120px){body.customer-flow:has(#coody-header-test)>main:is(.shell,.flow-access-panel){padding-top:120px;padding-bottom:64px}}
@media(max-width:660px){body.customer-flow:has(#coody-header-test)>main:is(.shell,.flow-access-panel){padding-top:108px;padding-bottom:48px}}

/* Account access uses the established profile field border for focus, without a second outer ring. */
body.customer-flow .flow-access-panel .access-form input[type=email]:focus{border-color:#079cb7;outline:none;box-shadow:none}
body.customer-flow .flow-access-panel .access-form input[type=email][aria-invalid=true]:focus{border-color:#b42318}

/* Access forms use the account spacing, without saved-payment offsets. */
body.customer-flow .checkout-payment-shell.flow-access-panel .account-payment:not(.pf-nav){margin:0;padding:0;border:0}
body.customer-flow .flow-access-panel .access-form{display:grid;gap:16px;margin-top:20px}
body.customer-flow .flow-access-panel .access-actions{margin:0;gap:12px;align-items:center}
body.customer-flow .flow-access-panel .access-feedback{margin:0}
/* Camp is an account panel; use the same card and action metrics as profile/orders. */
body.customer-flow #camp-panel{padding-block:0;background:transparent}
body.customer-flow #camp-panel .camp-card{max-width:none;box-sizing:border-box;padding:24px;border:1px solid #dfe5e4;border-radius:4px;background:#fff}
body.customer-flow #camp-panel h2{font:700 18px/24px Ubuntu,Manrope,sans-serif;margin:0 0 12px}
body.customer-flow #camp-panel :is(a.camp-button,button){min-height:36px;padding:7px 14px;border:1px solid #101313;border-radius:4px;font:700 13px/20px Ubuntu,Manrope,sans-serif;box-sizing:border-box;text-transform:uppercase}
body.customer-flow #camp-panel a.camp-primary{background:#101313;border-color:#101313;color:#fff}
@media(max-width:660px){body.customer-flow #camp-panel .camp-card{padding:20px 16px}}

/* Keep the order number and date as one readable identity group. */
.customer-flow #customer-orders .order-head{display:flex;align-items:center;gap:10px}
.customer-flow #customer-orders .order-head>div{flex:0 1 auto;min-width:0}
.customer-flow #customer-orders .order-head>.order-date{flex:0 0 auto;margin:0;color:#687374;white-space:nowrap}
.customer-flow #customer-orders .order-head>.order-total{flex:0 0 auto;margin-left:auto}
@media(max-width:660px){
 .customer-flow #customer-orders .order-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 8px}
 .customer-flow #customer-orders .order-head>div{grid-column:1;grid-row:1}
 .customer-flow #customer-orders .order-head>.order-date{grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis}
 .customer-flow #customer-orders .order-head>.order-total{grid-column:3;grid-row:1;margin-left:0}
}
