/* Commerce 5.0.123: storefront-only experience. All brand colors come from Core design tokens. */
[data-commerce-view="cart"],.mofa-checkout-system [data-commerce-view="checkout"]{
 --commerce-brand:var(--site-primary,var(--color-primary,#e3b01e));
 --commerce-ink:var(--site-text,var(--color-text,#182235));
 --commerce-surface:var(--site-bg,var(--color-background,#fff));
 --commerce-border:color-mix(in srgb,var(--commerce-ink) 12%,var(--commerce-surface));
 --commerce-muted:color-mix(in srgb,var(--commerce-ink) 60%,var(--commerce-surface));
 --commerce-tint:color-mix(in srgb,var(--commerce-brand) 10%,var(--commerce-surface));
 color:var(--commerce-ink);font-family:var(--site-font-body,inherit);
}
/* A self-contained storefront cart: never rely on the admin design-system classes. */
[data-commerce-view="cart"].commerce-cart{box-sizing:border-box;width:min(1180px,calc(100% - 32px));margin:0 auto;padding:clamp(28px,5vw,60px) 0 68px}
.commerce-cart *, .mofa-checkout-system [data-commerce-view="checkout"] *{box-sizing:border-box}
.commerce-cart__heading{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap;margin-bottom:28px}
.commerce-cart__heading h1{font-size:clamp(28px,3.6vw,44px);letter-spacing:-.035em;line-height:1.16;margin:6px 0 10px;color:var(--commerce-ink)}
.commerce-cart__heading p:not(.commerce-cart__eyebrow){font-size:15px;line-height:1.7;margin:0;color:var(--commerce-muted)}
.commerce-cart__eyebrow{font-size:12px!important;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--commerce-ink)!important;margin:0!important;opacity:.75}
.commerce-cart__back{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:9px 15px;border:1px solid var(--commerce-border);border-radius:12px;color:var(--commerce-ink);background:var(--commerce-surface);font-size:13px;font-weight:700;text-decoration:none}
.commerce-cart__back:hover{border-color:var(--commerce-brand);background:var(--commerce-tint)}
.commerce-cart__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:24px;align-items:start}
.commerce-cart__items,.commerce-cart__summary,.commerce-cart__empty{background:var(--commerce-surface);border:1px solid var(--commerce-border);border-radius:18px;box-shadow:0 12px 35px color-mix(in srgb,var(--commerce-ink) 5%,transparent)}
.commerce-cart__items{overflow:hidden}
.commerce-cart__section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:22px 24px;border-bottom:1px solid var(--commerce-border)}
.commerce-cart__section-heading h2,.commerce-cart__summary h2{font-size:19px;margin:0;line-height:1.35;color:var(--commerce-ink);font-weight:750}
.commerce-cart__count{font-size:12px;color:var(--commerce-muted);background:color-mix(in srgb,var(--commerce-ink) 5%,var(--commerce-surface));border-radius:999px;padding:6px 10px}
.commerce-cart__list{display:grid}
.commerce-cart__item{display:grid;grid-template-columns:48px minmax(0,1fr) 72px minmax(115px,auto);gap:16px;padding:24px;align-items:center}
.commerce-cart__item+.commerce-cart__item{border-top:1px solid var(--commerce-border)}
.commerce-cart__item-mark{width:46px;height:46px;display:grid;place-items:center;background:var(--commerce-tint);color:var(--commerce-ink);border-radius:13px;font-size:23px}
.commerce-cart__item-content{min-width:0;display:grid;gap:6px}
.commerce-cart__item-content strong{overflow-wrap:anywhere;font-size:16px;font-weight:750}
.commerce-cart__item-content small,.commerce-cart__quantity span,.commerce-cart__item-price small{font-size:12px;color:var(--commerce-muted);line-height:1.5}
.commerce-cart__quantity{display:grid;gap:6px;justify-items:center}
.commerce-cart__quantity strong{font-size:15px;padding:5px 13px;min-width:42px;text-align:center;border-radius:9px;border:1px solid var(--commerce-border)}
.commerce-cart__item-price{display:grid;gap:5px;justify-items:end;direction:ltr;text-align:end}
.commerce-cart__item-price strong{white-space:nowrap;font-size:15px;font-variant-numeric:tabular-nums}
.commerce-cart__summary{padding:24px;position:sticky;top:24px}
.commerce-cart__summary h2{margin:0 0 24px}
.commerce-cart__summary-row,.commerce-cart__summary-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:14px;line-height:1.6;margin:12px 0}
.commerce-cart__summary-row{color:var(--commerce-muted)}
.commerce-cart__summary-row span:last-child,.commerce-cart__summary-total strong{direction:ltr;unicode-bidi:isolate;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--commerce-ink)}
.commerce-cart__summary-total{padding:20px 0 0;border-top:1px solid var(--commerce-border);margin:22px 0;font-weight:800;font-size:16px}
.commerce-cart__summary-total strong{font-size:22px}
.commerce-cart__cta{display:flex;align-items:center;justify-content:center;gap:14px;text-decoration:none;border-radius:12px;min-height:50px;padding:12px 18px;background:var(--commerce-brand);color:var(--commerce-ink);font-weight:800;font-size:14px;line-height:1.4;transition:filter .15s ease}
.commerce-cart__cta:hover{filter:brightness(.95)}
.commerce-cart__summary-note{font-size:12px;text-align:center;color:var(--commerce-muted);line-height:1.7;margin:14px 0 0}
.commerce-cart__empty{padding:clamp(38px,7vw,80px) 24px;display:grid;justify-items:center;gap:12px;text-align:center}
.commerce-cart__empty-icon{font-size:42px;color:var(--commerce-brand)}
.commerce-cart__empty h2{font-size:23px;margin:0}.commerce-cart__empty p{color:var(--commerce-muted);margin:0 0 12px}.commerce-cart__empty .commerce-cart__cta{min-width:190px}
/* Previously published Checkout pages retain their editable CSS; this scoped sheet updates only the trusted slot. */
.mofa-checkout-system:has([data-checkout-single-page="1"]){--co-border:color-mix(in srgb,var(--site-text,var(--color-text,#182235)) 12%,#fff);--co-text:var(--site-text,var(--color-text,#182235));--co-muted:color-mix(in srgb,var(--co-text) 62%,#fff);--co-bg:color-mix(in srgb,var(--site-bg,var(--color-background,#fff)) 93%,var(--co-text));background:var(--co-bg)}
.mofa-checkout-system [data-commerce-view="checkout"]{gap:24px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-head h1{font-size:clamp(30px,3.5vw,42px);color:var(--commerce-ink)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-eyebrow{color:var(--commerce-ink);opacity:.75}
.mofa-checkout-system [data-commerce-view="checkout"] .co-link{color:var(--commerce-ink);background:var(--commerce-surface);border-color:var(--commerce-border)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-link:hover{border-color:var(--commerce-brand);background:var(--commerce-tint)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-grid{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);gap:24px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-main{gap:14px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-card{border-color:var(--commerce-border);border-radius:18px;box-shadow:0 10px 32px color-mix(in srgb,var(--commerce-ink) 5%,transparent)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-card h2{font-size:17px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-button{background:var(--commerce-brand);color:var(--commerce-ink);font-size:14px;font-weight:800;border-radius:12px;padding:12px 20px;min-height:50px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-button--secondary{background:var(--commerce-tint);color:var(--commerce-ink)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-button:focus-visible,.mofa-checkout-system [data-commerce-view="checkout"] .co-link:focus-visible{outline:3px solid var(--commerce-brand);outline-offset:3px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-field input:focus,.mofa-checkout-system [data-commerce-view="checkout"] .co-field select:focus,.mofa-checkout-system [data-commerce-view="checkout"] .co-field textarea:focus{border-color:var(--commerce-brand);outline:2px solid color-mix(in srgb,var(--commerce-brand) 38%,transparent)}
.mofa-checkout-system [data-commerce-view="checkout"] input[type="checkbox"],.mofa-checkout-system [data-commerce-view="checkout"] input[type="radio"]{accent-color:var(--commerce-brand)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-payment-option{border-color:var(--commerce-border);border-radius:13px;padding:16px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-payment-option:has(input:checked){border-color:var(--commerce-brand);background:var(--commerce-tint)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-payment-option:focus-within{outline:2px solid var(--commerce-brand);outline-offset:2px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-payment-option input{accent-color:var(--commerce-brand)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-terms{margin:0}
.mofa-checkout-system [data-commerce-view="checkout"] .co-terms input{accent-color:var(--commerce-brand)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-actions{margin:0}
.mofa-checkout-system [data-commerce-view="checkout"] .co-actions [data-commerce-place-order]{width:100%}
.mofa-checkout-system [data-commerce-view="checkout"] .co-status{min-height:0;margin:10px 0 0}
.mofa-checkout-system [data-commerce-view="checkout"] .co-summary{top:24px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-line,.mofa-checkout-system [data-commerce-view="checkout"] .co-total{border-color:var(--commerce-border)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-money{color:var(--commerce-ink)}
/* User-visible Checkout is a single page, not a multi-step wizard; JS still validates every required field. */
.mofa-checkout-system [data-commerce-view="checkout"] [data-checkout-single-page="1"] [data-checkout-next],
.mofa-checkout-system [data-commerce-view="checkout"] [data-checkout-single-page="1"] [data-checkout-previous]{display:none!important}
@media(max-width:850px){.commerce-cart__grid,.mofa-checkout-system [data-commerce-view="checkout"] .co-grid{grid-template-columns:minmax(0,1fr)}.commerce-cart__summary,.mofa-checkout-system [data-commerce-view="checkout"] .co-summary{position:static}}
@media(max-width:620px){.commerce-cart__heading{align-items:start}.commerce-cart__item{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:18px}.commerce-cart__item-mark{width:38px;height:38px}.commerce-cart__quantity{grid-column:2;justify-items:start;display:flex;align-items:center;gap:8px}.commerce-cart__item-price{grid-column:3;grid-row:1/span 2}.commerce-cart__section-heading,.commerce-cart__summary{padding:20px}.mofa-checkout-system [data-commerce-view="checkout"] .co-card{padding:20px}}
@media(max-width:400px){[data-commerce-view="cart"].commerce-cart{width:calc(100% - 24px)}.commerce-cart__heading h1{font-size:28px}.commerce-cart__item-price strong{font-size:13px}.commerce-cart__summary-total strong{font-size:19px}}

/* Visible to authorized staff only; non-secret reasons aid Sandbox troubleshooting. */
.mofa-checkout-system [data-commerce-view="checkout"] .co-staff-diagnostics{font-size:12px;line-height:1.7;color:var(--commerce-ink);background:var(--commerce-tint);border:1px solid var(--commerce-border);border-radius:12px;padding:14px;margin:12px 0 0}
.mofa-checkout-system [data-commerce-view="checkout"] .co-staff-diagnostics strong{font-size:13px}
.mofa-checkout-system [data-commerce-view="checkout"] .co-staff-diagnostics p{margin:5px 0;color:var(--commerce-muted)}
.mofa-checkout-system [data-commerce-view="checkout"] .co-staff-diagnostics ul{margin:6px 0 0;padding-inline-start:17px}
