/* Refined checkout and the downloadable order acknowledgement. */
.acc-auth-card .cm-social-login { display: none !important; }
.cm-privacy-accept { display: flex !important; align-items: center; gap: 12px; margin: 18px 0 !important; padding: 12px 14px !important; border: 1.5px solid var(--primary); border-radius: 8px; background: color-mix(in oklab, var(--primary) 7%, var(--card)); font-size: 14px; line-height: 1.5; color: var(--foreground); cursor: pointer; visibility: visible !important; opacity: 1 !important; }
.cm-privacy-accept input[type="checkbox"] { -webkit-appearance: none !important; appearance: none !important; display: inline-grid !important; place-content: center; position: static !important; visibility: visible !important; opacity: 1 !important; width: 22px !important; height: 22px !important; min-width: 22px; flex: 0 0 22px; margin: 0 !important; padding: 0 !important; border: 2px solid var(--foreground) !important; border-radius: 5px; background: var(--card) !important; cursor: pointer; transform: none !important; clip: auto !important; }
.cm-privacy-accept input[type="checkbox"]::after { content: ""; width: 6px; height: 11px; border: solid var(--primary-foreground); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.cm-privacy-accept input[type="checkbox"]:checked { background: var(--primary) !important; border-color: var(--primary) !important; }
.cm-privacy-accept input[type="checkbox"]:checked::after { opacity: 1; }
.cm-privacy-accept input[type="checkbox"]:focus-visible { outline: 3px solid color-mix(in oklab, var(--primary) 45%, transparent); outline-offset: 2px; }
.cm-privacy-accept span { flex: 1 1 auto; min-width: 0; }
.cm-privacy-accept a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.billing-layout .cod-payment { display: none !important; }
.checkout-order .commerce-trust span:nth-child(2) { display: none !important; }
.checkout-order .commerce-trust { grid-template-columns: repeat(2,minmax(0,1fr)); }
.checkout-order { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; padding: 24px !important; background: var(--card); }
.checkout-order > h2 { font-size: 23px; margin: -24px -24px 20px !important; padding: 22px 24px; background: var(--primary); color: var(--primary-foreground); border-bottom: 3px solid var(--chart-1); }
.checkout-products > div { display: grid !important; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 14px !important; padding: 16px 0 !important; }
.checkout-products img { width: 64px !important; height: 64px !important; object-fit: contain; background: var(--muted); border-radius: 6px; padding: 5px; }
.checkout-products > div > span { min-width: 0; }
.checkout-products strong { font-size: 14px; line-height: 1.5; }
.checkout-products small { display: block; margin-top: 5px; color: var(--muted-foreground); font-size: 12px; }
.checkout-products > div > strong { white-space: nowrap; }
.checkout-order .commerce-totals > div { gap: 16px; padding: 13px 0; font-size: 14px; }
.checkout-order .commerce-totals .grand-total { margin-top: 10px; padding: 18px 14px; border-radius: 6px; background: var(--muted); font-size: 19px; }
.checkout-order .commerce-totals .grand-total > strong:first-child { color: var(--foreground); }
.checkout-order .checkout-privacy { display: none; }
.checkout-order .commerce-checkout { height: 48px; border-radius: 6px; }
.order-success { padding: 24px 0 40px !important; }
.order-success > svg { width: 50px !important; height: 50px !important; margin: 0 auto 16px !important; }
.order-success > h2 { font-size: 28px; line-height: 1.3; margin-bottom: 10px; }
.order-success > p { line-height: 1.6; }
.order-success > .order-details { margin: 30px auto 22px; max-width: 980px; border: 1px solid var(--border); border-top: 4px solid var(--chart-1); border-radius: 8px; padding: 32px; text-align: start; background: var(--card); }
.cm-invoice-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.cm-invoice-brand { display: flex; align-items: center; gap: 12px; }
.cm-invoice-brand > svg { width: 36px; height: 36px; color: var(--chart-1); flex-shrink: 0; }
.cm-invoice-brand strong { display: block; font-size: 21px; line-height: 1.3; }
.cm-invoice-brand small { display: block; color: var(--muted-foreground); margin-top: 5px; font-size: 12px; }
.cm-invoice-title { text-align: end; }
.cm-invoice-title strong { display: block; font-size: 27px; }
.cm-invoice-title small { color: var(--muted-foreground); font-size: 12px; }
.order-success .order-meta { background: var(--muted); color: var(--foreground); border-radius: 6px; padding: 20px !important; gap: 18px; margin-bottom: 26px; }
.order-success .order-meta small { font-size: 10px; line-height: 1.6; color: var(--muted-foreground); }
.order-success .order-meta strong { display: block; margin-top: 7px; font-size: 13px; overflow-wrap: anywhere; }
.order-success .order-meta > div:last-child { display: none; }
.order-success .order-meta { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
.order-success .order-details h3 { font-size: 17px; margin: 18px 0; }
.order-success .ordered-lines > div { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 16px; padding: 18px 0; align-items: center; border-bottom: 1px solid var(--border); }
.order-success .ordered-lines img { width: 64px; height: 64px; object-fit: contain; }
.order-success .ordered-lines strong { font-size: 14px; }
.order-success .ordered-lines small { font-size: 12px; margin-top: 6px; display: block; color: var(--muted-foreground); }
.order-success .ordered-lines b { font-size: 14px; white-space: nowrap; }
.order-success .order-bottom { padding-top: 12px; gap: 36px; }
.order-success .order-address { font-size: 14px; overflow-wrap: anywhere; }
.order-success .order-address p { font-size: 13px; line-height: 1.7; }
.order-success .commerce-totals { min-width: 0; }
.order-success .commerce-totals > div { padding: 13px 0; font-size: 14px; gap: 18px; }
.order-success .commerce-totals .grand-total { background: var(--primary); color: var(--primary-foreground); padding: 18px 16px; border-radius: 6px; margin-top: 10px; font-size: 19px; }
.order-success .commerce-totals .grand-total strong { color: inherit; }
.cm-invoice-note { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 26px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted-foreground); line-height: 1.6; }
.cm-invoice-note strong { color: var(--foreground); }
.cm-invoice-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.cm-invoice-actions > * { min-height: 45px; border-radius: 6px; }
.cm-invoice-export { position: absolute !important; top: 0; left: -12000px; width: 900px !important; padding: 32px; background: var(--card); color: var(--foreground); text-align: start; }
.cm-invoice-export .order-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: var(--muted); color: var(--foreground); padding: 20px; gap: 18px; }
.cm-invoice-export .order-meta > div:last-child { display: none; }
.cm-invoice-export .order-meta strong { display: block; font-size: 13px; }
.cm-invoice-export .order-meta small { font-size: 10px; }
.cm-invoice-export .ordered-lines > div { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; padding: 18px 0; gap: 16px; border-bottom: 1px solid var(--border); }
.cm-invoice-export .ordered-lines img { width: 64px; height: 64px; object-fit: contain; }
.cm-invoice-export .ordered-lines small { display: block; }
.cm-invoice-export .order-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cm-invoice-export .grand-total { background: var(--primary); color: var(--primary-foreground); padding: 18px; }
.cm-invoice-export .grand-total strong { color: inherit; }
@media(max-width: 900px) { .billing-layout { grid-template-columns: minmax(0,1fr) !important; } .checkout-order { position: static !important; } }
@media(max-width: 640px) {
 .order-success > h2 { font-size: 23px; }
 .order-success > .order-details { padding: 18px; }
 .cm-invoice-header { align-items: flex-start; gap: 14px; }
 .cm-invoice-brand > svg { width: 24px; height: 24px; }
 .cm-invoice-brand strong { font-size: 16px; }
 .cm-invoice-brand small, .cm-invoice-title small { font-size: 10px; }
 .cm-invoice-title strong { font-size: 19px; }
 .order-success .order-meta { padding: 14px !important; gap: 12px; grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; }
 .order-success .order-bottom { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
 .order-success .ordered-lines > div { grid-template-columns: 48px minmax(0,1fr) auto; gap: 10px; }
 .order-success .ordered-lines img { width: 48px; height: 48px; }
 .order-success .ordered-lines strong, .order-success .ordered-lines b { font-size: 12px; }
 .cm-invoice-note { flex-direction: column; gap: 6px; }
 .checkout-products > div { grid-template-columns: 52px minmax(0,1fr) auto; gap: 10px !important; }
 .checkout-products img { width: 52px !important; height: 52px !important; }
}
/* Account login/register form refresh */
.acc-auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:0;border-radius:20px;overflow:hidden;box-shadow:0 24px 60px -24px rgba(8,30,60,.35);background:#fff;border:1px solid #e6ebf2}
.acc-auth-intro{position:relative;padding:48px 40px;background:linear-gradient(150deg,#0b2545 0%,#13315c 60%,#1d4e89 100%);color:#fff}
.acc-auth-intro h1,.acc-auth-intro h2,.acc-auth-intro p,.acc-auth-intro li{color:#fff}
.acc-auth-intro p,.acc-auth-intro li{opacity:.85}
.acc-auth-card{padding:44px 40px;background:#fff;border:0!important;box-shadow:none!important}
.acc-auth-tabs{display:flex;gap:6px;padding:6px;background:#f1f4f9;border-radius:14px;margin-bottom:26px}
.acc-auth-tabs button{flex:1;padding:12px 10px;border-radius:10px;font-weight:700;border:0;background:transparent;color:#5b6b82;transition:.2s}
.acc-auth-tabs button[aria-selected="true"],.acc-auth-tabs button.active{background:#fff;color:#0b2545;box-shadow:0 4px 14px -6px rgba(11,37,69,.35)}
.acc-auth-card .acc-form label{font-weight:600;font-size:14px;color:#22324a}
.acc-auth-card .acc-form input{height:50px;border-radius:12px;border:1.5px solid #dbe2ec;background:#f9fbfd;padding:0 16px;transition:border-color .2s,box-shadow .2s,background .2s}
.acc-auth-card .acc-form input:focus{outline:0;border-color:#f26b0f;background:#fff;box-shadow:0 0 0 4px rgba(242,107,15,.15)}
.acc-auth-card .acc-form button[type="submit"]{height:52px;border-radius:12px;font-weight:700;letter-spacing:.02em;box-shadow:0 12px 24px -12px rgba(242,107,15,.7);transition:transform .15s}
.acc-auth-card .acc-form button[type="submit"]:hover{transform:translateY(-1px)}
.cm-social-login button{height:50px;border-radius:12px!important;border:1.5px solid #dbe2ec!important;font-weight:600}
.cm-social-login button:hover{background:#f6f8fb!important}
@media (max-width:900px){.acc-auth{grid-template-columns:1fr;border-radius:16px}.acc-auth-intro{padding:28px 22px}.acc-auth-card{padding:28px 20px}}
.acc-auth-card .acc-form{display:flex!important;flex-direction:column;gap:16px}
.acc-auth-card .acc-form>label{display:block}
.acc-auth-card .acc-form>label>.required{display:inline;color:#f26b0f}
.acc-auth-card .acc-form>label>input,.acc-auth-card .acc-form>label>.acc-password{display:block;margin-top:8px;width:100%}
.acc-auth-card .acc-form>.acc-link{align-self:flex-end;margin-top:-6px}
.acc-auth-card .acc-form>.cm-social-login{order:90;position:relative;padding-top:30px}
.acc-auth-card .acc-form>.cm-social-login::before{content:"or";position:absolute;top:0;left:0;right:0;text-align:center;font-size:13px;color:#8a97a8;background:linear-gradient(#e3e8ef,#e3e8ef) left 50%/42% 1px no-repeat,linear-gradient(#e3e8ef,#e3e8ef) right 50%/42% 1px no-repeat;line-height:18px}
.acc-auth-card .acc-form>.cm-social-login button{width:100%}
.acc-auth-card .acc-form>*:last-child:not(.cm-social-login){order:95}
.acc-auth-card .acc-form input[type="checkbox"]{width:18px!important;height:18px!important;padding:0;margin:0 8px 0 0;border-radius:4px;flex:none;accent-color:#f26b0f}
.acc-auth-card .acc-form>label.acc-consent,.acc-auth-card .acc-consent{display:flex!important;align-items:center;gap:4px;flex-wrap:wrap;font-weight:500}
.acc-auth-card .acc-consent input{display:inline-block!important;margin-top:0!important}
.acc-auth-card .acc-form>button[type="submit"]{order:80}
.acc-auth-card .acc-form>button[type="submit"]:last-child{order:80}

/* Coupon box */
.cm-coupon{margin:0 0 14px;padding:14px;border:1px dashed #f3b27a;border-radius:12px;background:#fff8f2}
.cm-coupon label{display:block;font-weight:700;font-size:14px;margin-bottom:8px;color:#1f2937}
.cm-coupon-row{display:flex;gap:8px}
.cm-coupon-row input{flex:1;min-width:0;height:42px;padding:0 12px;border:1px solid #e5e7eb;border-radius:10px;font-size:15px;text-transform:uppercase;background:#fff}
.cm-coupon-row button{height:42px;padding:0 18px;border:0;border-radius:10px;background:#f97316;color:#fff;font-weight:700;cursor:pointer}
.cm-coupon-row button:disabled{opacity:.6}
.cm-coupon-msg{margin:8px 0 0;font-size:13px}
.cm-coupon-msg.is-ok{color:#15803d}.cm-coupon-msg.is-error{color:#dc2626}

/* Checkout: clean ruled sections, crisp fields and a compact order ledger. */
.billing-layout { gap: 48px !important; align-items: start; }
.billing-section { min-width: 0; border-top: 2px solid var(--foreground); padding-top: 24px; }
.billing-section .checkout-section-heading { margin-bottom: 28px; gap: 14px; }
.billing-section .checkout-section-heading > span { width: 36px; height: 36px; border-radius: 6px; background: var(--foreground); color: var(--primary-foreground); font-size: 14px; }
.billing-section .checkout-section-heading h2 { font-size: 24px; }
.billing-section .billing-fields { gap: 22px 18px; }
.billing-section .billing-fields label, .billing-section .notes-field { font-size: 13px; font-weight: 600; }
.billing-section .billing-fields input:not([type="hidden"]), .billing-section .checkout-country-trigger, .billing-section .notes-field textarea { background: var(--card); border: 1px solid var(--border); border-radius: 6px; min-height: 48px; font-size: 14px; }
.billing-section .billing-fields input:focus, .billing-section .notes-field textarea:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.billing-section .checkout-phone-wrap { background: var(--card); border: 1px solid var(--border); border-radius: 6px; min-height: 48px; }
.billing-section .checkout-phone-wrap input { border: 0 !important; min-width: 0; }
.billing-section .different-address { border-block: 1px solid var(--border); padding-block: 20px; margin-block: 26px; }
.billing-section > h2, .billing-section .delivery-section > h2 { font-size: 19px; margin-bottom: 18px; }
.billing-section .delivery-options { grid-template-columns: minmax(0,1fr); gap: 10px; }
.billing-section .delivery-option { display: grid; grid-template-columns: 18px 24px minmax(0,1fr) auto; align-items: center; gap: 8px 12px; padding: 16px; border-radius: 6px; background: var(--card); }
.billing-section .delivery-option p { grid-column: 3 / -1; margin: 0; font-size: 12px; }
.billing-section .delivery-option strong { font-size: 14px; margin: 0; }
.billing-section .delivery-option > input, .billing-section .delivery-option > svg { position: static; margin: 0; }
.billing-section .delivery-option.selected { border-color: var(--primary); background: color-mix(in oklab, var(--primary) 4%, var(--card)); }
.checkout-order { border-top: 2px solid var(--foreground); box-shadow: none !important; }
.checkout-order > h2 { background: var(--foreground); color: var(--primary-foreground); font-size: 21px; padding-block: 20px; }
.checkout-order .commerce-totals .grand-total { background: var(--foreground); color: var(--primary-foreground); padding: 20px 16px; }
.checkout-order .commerce-totals .grand-total > strong:first-child { color: inherit; }
.checkout-order .cm-coupon { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 14px; }
.checkout-order .cm-coupon label { color: var(--foreground); font-size: 12px; }
.checkout-order .cm-coupon input { border-color: var(--border); background: var(--card); color: var(--foreground); border-radius: 4px; font-size: 13px; }
.checkout-order .cm-coupon button { background: var(--primary); color: var(--primary-foreground); border-radius: 4px; }
.checkout-order .commerce-checkout { min-height: 50px; font-size: 15px; }
.checkout-order .commerce-trust { margin-top: 24px; padding-top: 20px; font-size: 12px; }

/* Confirmed order: a branded invoice, not a paid receipt. */
.order-success > svg { color: var(--chart-2); }
.order-success > .order-details { padding: 0 32px 24px; border-radius: 6px; border-top: 0; overflow: hidden; }
.order-success .cm-invoice-header { background: var(--foreground); color: var(--primary-foreground); margin: 0 -32px 0; padding: 30px 32px; border-bottom: 4px solid var(--primary); }
.order-success .cm-invoice-brand > svg { width: 42px; height: 42px; color: var(--primary); }
.order-success .cm-invoice-brand strong { font-size: 24px; color: inherit; }
.order-success .cm-invoice-brand small, .order-success .cm-invoice-title small { color: inherit; opacity: .75; }
.order-success .cm-invoice-title strong { font-size: 32px; color: inherit; }
.order-success .order-meta { margin: 0 -32px 28px; padding: 22px 32px !important; border-radius: 0; background: var(--muted); border-bottom: 1px solid var(--border); }
.order-success .order-meta > div { min-width: 0; }
.order-success .order-meta > div + div { border-inline-start: 1px solid var(--border); padding-inline-start: 20px; }
.order-success .order-meta small { font-size: 11px; }
.order-success .order-meta strong { font-size: 15px; }
.order-success .order-status { color: var(--foreground); text-transform: capitalize; }
.order-success .order-details > h3 { border-bottom: 2px solid var(--foreground); padding-bottom: 14px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.order-success .ordered-lines > div { display: grid !important; grid-template-columns: 64px minmax(0,1fr) auto !important; padding-block: 20px; }
.order-success .ordered-lines > div > span { min-width: 0; }
.order-success .ordered-lines b { grid-column: 3; grid-row: 1; }
.order-success .ordered-lines img { background: var(--muted); border-radius: 4px; padding: 6px; }
.order-success .ordered-lines b, .order-success .commerce-totals strong { font-variant-numeric: tabular-nums; }
.order-success .order-bottom { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); margin-top: 24px; padding: 0; }
.order-success .order-address h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-top: 10px; }
.order-success .order-address > strong { display: block; font-size: 15px; margin-bottom: 8px; }
.order-success .commerce-totals .grand-total { background: var(--foreground); border-radius: 4px; padding: 20px 16px; }
.order-success .cm-invoice-note { align-items: center; border-top-style: dashed; margin-top: 30px; }
.order-success .cm-invoice-note > strong { color: var(--foreground); border-inline-start: 3px solid var(--primary); padding-inline-start: 12px; max-width: 240px; font-size: 12px; }
.cm-invoice-export .cm-invoice-header { background: var(--foreground); color: var(--primary-foreground); padding: 22px; border-bottom: 4px solid var(--primary); }
.cm-invoice-export .cm-invoice-header strong, .cm-invoice-export .cm-invoice-header small { color: inherit; }
.cm-invoice-export .ordered-lines > div { display: grid !important; grid-template-columns: 64px minmax(0,1fr) auto !important; border-bottom: 1px solid var(--border); }
.cm-invoice-export .ordered-lines b { grid-column: 3; grid-row: 1; }
.cm-invoice-export .order-bottom h3 { display: flex; align-items: center; gap: 8px; }
.cm-invoice-export .grand-total { background: var(--foreground); color: var(--primary-foreground); }
.cm-invoice-export .cm-invoice-note { border-top: 1px dashed var(--border); }
@media(max-width: 640px) {
 .billing-layout { gap: 28px !important; }
 .billing-section { padding-top: 20px; }
 .billing-section .checkout-section-heading h2 { font-size: 21px; }
 .billing-section .billing-fields { gap: 20px 14px; }
 .billing-section .delivery-option { grid-template-columns: 16px 20px minmax(0,1fr); gap: 8px 10px; padding: 14px; }
 .billing-section .delivery-option .delivery-badge { grid-column: 3; justify-self: start; }
 .billing-section .delivery-option p { grid-column: 3; }
 .checkout-order { padding: 18px !important; }
 .checkout-order > h2 { margin: -18px -18px 16px !important; padding-inline: 18px; }
 .order-success > .order-details { padding: 0 18px 20px; }
 .order-success .cm-invoice-header { margin-inline: -18px; padding: 24px 18px; gap: 12px; }
 .order-success .cm-invoice-brand { gap: 8px; }
 .order-success .cm-invoice-brand > svg { width: 28px; height: 28px; }
 .order-success .cm-invoice-brand strong { font-size: 17px; }
 .order-success .cm-invoice-title strong { font-size: 22px; }
 .order-success .cm-invoice-title { flex-shrink: 0; }
 .order-success .cm-invoice-brand small { max-width: 130px; line-height: 1.6; }
 .order-success .order-meta { margin-inline: -18px; padding: 18px !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 18px 12px; }
 .order-success .order-meta > div + div { padding-inline-start: 12px; }
 .order-success .order-meta > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
 .order-success .order-meta strong { font-size: 13px; }
 .order-success .order-bottom { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .order-success .ordered-lines > div { grid-template-columns: 48px minmax(0,1fr) auto !important; }
 .order-success .cm-invoice-note { align-items: flex-start; gap: 12px; }
 .order-success .cm-invoice-note > strong { max-width: none; }
 .cm-invoice-actions > * { flex: 1 1 160px; }
}

/* Larger, clearer "Your Order" summary on checkout. */
.checkout-order { padding: 28px !important; border-radius: 12px; }
.checkout-order > h2 { font-size: 26px; margin: -28px -28px 24px !important; padding: 24px 28px; letter-spacing: .01em; }
.checkout-products > div { grid-template-columns: 84px minmax(0,1fr) auto; gap: 18px !important; padding: 20px 0 !important; border-bottom: 1px solid var(--border); }
.checkout-products img { width: 84px !important; height: 84px !important; border-radius: 10px; padding: 8px; border: 1px solid var(--border); }
.checkout-products strong { font-size: 17px; line-height: 1.45; }
.checkout-products small { font-size: 14px; margin-top: 6px; }
.checkout-products > div > strong { font-size: 18px; }
.checkout-order .commerce-totals > div { padding: 16px 0; font-size: 17px; }
.checkout-order .commerce-totals > div > strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.checkout-order .commerce-totals .grand-total { margin-top: 14px; padding: 24px 22px; border-radius: 10px; font-size: 24px; }
.checkout-order .cm-coupon label { font-size: 14px; }
.checkout-order .cm-coupon input { font-size: 15px; min-height: 44px; }
.checkout-order .commerce-checkout { min-height: 56px; font-size: 17px; border-radius: 10px; }
.checkout-order .commerce-trust { font-size: 14px; }
@media (max-width: 640px) {
  .checkout-order { padding: 18px !important; }
  .checkout-order > h2 { font-size: 22px; margin: -18px -18px 16px !important; padding: 18px; }
  .checkout-products > div { grid-template-columns: 64px minmax(0,1fr) auto; gap: 12px !important; }
  .checkout-products img { width: 64px !important; height: 64px !important; }
  .checkout-products strong { font-size: 15px; }
  .checkout-products > div > strong { font-size: 15px; }
  .checkout-order .commerce-totals > div { font-size: 15px; }
  .checkout-order .commerce-totals .grand-total { font-size: 20px; padding: 18px 16px; }
}
/* Checkout form polish + clear order button */
.billing-layout form input:not([type=checkbox]):not([type=radio]),.billing-layout form select,.billing-layout form textarea{min-height:48px;border:1.5px solid var(--border)!important;border-radius:10px!important;background:var(--card)!important;padding:12px 14px!important;font-size:15px!important;transition:border-color .15s,box-shadow .15s}
.billing-layout form textarea{min-height:110px}
.billing-layout form input:not([type=checkbox]):not([type=radio]):focus,.billing-layout form select:focus,.billing-layout form textarea:focus{outline:none!important;border-color:var(--chart-1)!important;box-shadow:0 0 0 4px color-mix(in oklab,var(--chart-1) 18%,transparent)!important}
.billing-layout form label{font-size:13.5px;font-weight:600;color:var(--foreground)}
.billing-layout form > section,.billing-layout form > div:first-child{background:var(--card)}
.checkout-order .commerce-checkout{height:56px!important;border-radius:10px!important;font-size:17px!important;font-weight:700!important;background:var(--chart-1)!important;color:var(--primary-foreground)!important;opacity:1!important;box-shadow:0 10px 24px -10px color-mix(in oklab,var(--chart-1) 70%,transparent);transition:transform .15s,filter .15s}
.checkout-order .commerce-checkout:hover:not(:disabled){filter:brightness(1.07);transform:translateY(-1px)}
.checkout-order .commerce-checkout:disabled{filter:saturate(.75);cursor:not-allowed;box-shadow:none}
.cm-privacy-accept{border-radius:10px!important;padding:14px 16px!important;font-size:15px!important}

/* self-hosted: email + password sign-in only */
.cm-social-login{display:none!important}
