/* Cart and checkout geometry from the mobile reference; commerce data stays live. */
.marches-flow:is([data-screen="cart"],[data-screen="delivery"],[data-screen="payment"]) {
    --checkout-ink: #080f3e;
    --checkout-muted: #7383a8;
    --checkout-green: #009e61;
    --checkout-mint: #ecf9f4;
    --checkout-line: #e5eaf2;
}
.marches-cart-benefits { display:grid;grid-template-columns:1.05fr 1fr;gap:12px;padding:12px 14px;margin-bottom:11px;border-radius:16px;background:#eff9f5; }
.marches-cart-benefits>div { display:flex;align-items:center;gap:11px;min-width:0; }
.marches-cart-benefits>div+div { padding-inline-start:14px;border-inline-start:1px solid #cfdce4; }
.marches-cart-benefits svg { flex:0 0 26px;width:26px;height:26px;color:var(--checkout-green);stroke-width:1.8; }
.marches-cart-benefits span { display:grid;gap:3px;min-width:0; }
.marches-cart-benefits strong { color:var(--checkout-green);font-size:clamp(11px,2.65cqw,15px);line-height:1.2;font-weight:750; }
.marches-cart-benefits small { color:var(--checkout-muted);font-size:clamp(9px,2.12cqw,12px);line-height:1.35; }
.marches-flow[data-screen="cart"] .marches-cart-card { padding:0;border:0;border-radius:0;background:transparent; }
.marches-flow[data-screen="cart"] .marches-cart-items { gap:10px; }
.marches-flow[data-screen="cart"] .marches-cart-item { position:relative;grid-template-columns:clamp(59px,17cqw,94px) minmax(0,1fr) auto auto;grid-template-rows:minmax(38px,1fr) auto;column-gap:clamp(7px,2.7cqw,14px);row-gap:3px;min-height:clamp(91px,20.3cqw,112px);padding:8px 10px 8px 8px;border:1px solid #f4f6fa;border-radius:14px;background:#fff;box-shadow:0 3px 11px #11204605; }
.marches-flow[data-screen="cart"] .marches-cart-item-image { grid-column:1;grid-row:1/3;align-self:center;width:100%;height:clamp(70px,17cqw,94px);min-height:0;border-radius:11px;background:#e5f8ed; }
.marches-flow[data-screen="cart"] .marches-cart-item-image img { display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;mix-blend-mode:multiply; }
.marches-flow[data-screen="cart"] .marches-cart-item-copy { align-self:start;grid-column:2/5;grid-row:1;padding-top:1px;padding-inline-end:27px; }
.marches-flow[data-screen="cart"] .marches-cart-item-copy strong { padding:0;overflow:visible;font-size:clamp(12px,3.02cqw,17px);font-weight:750;line-height:1.25;white-space:normal;overflow-wrap:anywhere; }
.marches-flow[data-screen="cart"] .marches-cart-item-copy small { margin-top:3px;color:var(--checkout-muted);font-size:clamp(10px,2.36cqw,13px);line-height:1.2; }
.marches-flow[data-screen="cart"] .marches-cart-unit-price { grid-column:2;grid-row:2;align-self:center;color:var(--checkout-green);font-size:clamp(11px,2.9cqw,16px);font-weight:750;line-height:1.2; }
.marches-flow[data-screen="cart"] .marches-cart-stepper { grid-column:3;grid-row:2;grid-template-columns:clamp(28px,6.4cqw,36px) 22px clamp(28px,6.4cqw,36px);gap:0;padding:1px;border:1px solid #e0e6f0;border-radius:30px;background:#fff; }
.marches-flow[data-screen="cart"] .marches-cart-stepper button { width:100%;min-height:32px;height:32px;border-radius:50%;color:var(--checkout-ink);background:#f5f7fa;font-size:19px;font-weight:600; }
.marches-flow[data-screen="cart"] .marches-cart-stepper button:disabled { opacity:.35; }
.marches-flow[data-screen="cart"] .marches-cart-stepper b { color:var(--checkout-ink);font-size:clamp(12px,2.8cqw,15px);font-weight:500; }
.marches-flow[data-screen="cart"] .marches-cart-line-total { position:static;grid-column:4;grid-row:2;align-self:center;justify-self:end;color:var(--checkout-ink);font-size:clamp(11px,2.86cqw,16px);font-weight:700;line-height:1.2;text-align:end; }
.marches-flow[data-screen="cart"] .marches-remove-item { position:absolute;grid-area:auto;inset-inline-end:5px;top:5px;display:grid;width:34px;min-width:34px;height:34px;padding:8px;color:#26365f; }
.marches-flow[data-screen="cart"] .marches-remove-item svg { width:18px;height:19px;stroke-width:1.7; }
.marches-flow[data-screen="cart"] .marches-totals { gap:10px;padding:14px 15px 10px;margin-top:13px;border:1px solid #f1f4f8;border-radius:15px;box-shadow:0 3px 13px #11204604; }
.marches-flow:is([data-screen="cart"],[data-screen="payment"]) .marches-totals>div { align-items:center;color:#354674;font-size:clamp(12px,2.7cqw,15px);line-height:1.25; }
.marches-flow:is([data-screen="cart"],[data-screen="payment"]) .marches-totals strong { color:var(--checkout-ink);font-weight:700;unicode-bidi:isolate; }
.marches-flow:is([data-screen="cart"],[data-screen="payment"]) :is([data-cart-subtotal],[data-cart-delivery],[data-cart-total]) { direction:ltr;unicode-bidi:isolate; }
.marches-flow:is([data-screen="cart"],[data-screen="payment"]) .marches-totals .is-total { margin-top:3px;padding-top:10px;border-color:#c7d0e2;color:var(--checkout-ink);font-size:clamp(16px,3.55cqw,20px); }
.marches-flow:is([data-screen="cart"],[data-screen="payment"]) .marches-totals .is-total strong { color:var(--checkout-green);font-weight:800; }
.marches-flow:is([data-screen="cart"],[data-screen="delivery"],[data-screen="payment"]) .marches-checkout-cta { position:static;display:flex;min-height:44px;gap:12px;padding:10px 20px;margin-top:12px;border-radius:32px;color:#fff;background:linear-gradient(110deg,#009d65,#00a361);font-size:clamp(14px,3.05cqw,17px);line-height:1.2;font-weight:700;box-shadow:none; }
.marches-checkout-cta>svg { flex:0 0 20px;width:20px;height:20px;stroke-width:2.2; }
.marches-checkout-cta .marches-cta-chevron { width:16px;flex-basis:16px;margin-inline-start:10px; }
.marches-flow:is([data-screen="delivery"],[data-screen="payment"]) .marches-checkout-progress { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0; }
.marches-flow:is([data-screen="delivery"],[data-screen="payment"]) .marches-checkout-progress li { flex-direction:row;justify-content:center;gap:5px;font-size:11px;line-height:1.3; }
.marches-flow:is([data-screen="delivery"],[data-screen="payment"]) .marches-checkout-progress li>span { flex:0 0 20px;width:20px;height:20px;font-size:10px; }
.marches-flow:is([data-screen="delivery"],[data-screen="payment"]) .marches-checkout-progress li:after { display:none; }
.marches-flow:is([data-screen="delivery"],[data-screen="payment"]) .marches-checkout-form { gap:9px; }
.marches-flow:is([data-screen="delivery"],[data-screen="payment"]) .marches-form-card { padding:10px 9px 9px;border:1px solid #edf1f7;border-radius:14px;background:#fff;box-shadow:0 3px 12px #15365905; }
.marches-checkout-card-heading { display:flex;align-items:center;gap:10px;min-height:24px;margin:0 3px 9px; }
.marches-checkout-card-heading>svg { flex:0 0 22px;width:22px;height:24px;color:var(--checkout-green);stroke-width:2; }
.marches-flow .marches-checkout-card-heading h2 { flex:1;min-width:0;margin:0;color:var(--checkout-ink);font-size:clamp(14px,3.05cqw,17px);font-weight:750;line-height:1.2; }
.marches-checkout-card-heading>a { display:flex;min-height:28px;align-items:center;gap:5px;color:var(--checkout-green);font-size:clamp(11px,2.3cqw,13px);font-weight:600;white-space:nowrap; }
.marches-checkout-card-heading>a svg { width:12px;height:16px;stroke-width:2; }
.marches-address-card .marches-address-list { gap:3px; }
.marches-address-card .marches-address-choice { grid-template-columns:31px minmax(0,1fr) auto;gap:11px;min-height:57px;padding:8px 13px;border:0;border-radius:10px;background:#fff; }
.marches-address-card .marches-address-choice.is-selected { background:var(--checkout-mint); }
.marches-address-card .marches-address-choice strong,.marches-flow .marches-selected-address strong { color:var(--checkout-ink);font-size:clamp(13px,2.65cqw,15px);font-weight:700; }
.marches-address-card .marches-address-choice small,.marches-flow .marches-selected-address small { display:block;margin:2px 0 0;overflow:visible;color:var(--checkout-muted);font-size:clamp(11px,2.3cqw,13px);line-height:1.3;white-space:normal;overflow-wrap:anywhere; }
.marches-address-choice>em { align-self:start;padding:4px 6px;border-radius:7px;color:#008951;background:#d9f4e6;font-size:9px;font-style:normal;font-weight:700; }
.marches-address-card .marches-address-choice i,.marches-selected-address>i,.marches-payment-choice>i,.marches-radio>i { flex:0 0 21px;width:21px;height:21px;margin:0;border:1px solid #7383a8;border-radius:50%;background:#fff; }
.marches-address-card .marches-address-choice.is-selected i,.marches-selected-address>i,.marches-payment-choice>i,.marches-radio>i { border:1px solid var(--checkout-green);background:radial-gradient(circle,var(--checkout-green) 0 6px,transparent 6.5px); }
.marches-address-editor { display:grid;gap:8px;margin-top:6px; }
.marches-flow .marches-location-actions { display:flex;gap:8px;flex-wrap:wrap; }
.marches-location-actions>button { display:flex;flex:1;min-height:40px;align-items:center;justify-content:center;gap:6px;padding:7px 8px;border:1px dashed #cdd8e8;border-radius:9px;color:#4c608c;background:#fff;font-size:11px;line-height:1.25;font-weight:600; }
.marches-location-actions>button svg { width:18px;height:18px;flex:0 0 18px;color:var(--checkout-green); }
.marches-flow[data-screen="delivery"] :is(.marches-field,.marches-field-grid label,.marches-location-selects label) { gap:5px;color:#5c709b;font-size:11px;font-weight:500; }
.marches-flow[data-screen="delivery"] :is(.marches-field textarea,.marches-field-grid input,.marches-location-selects select) { min-height:39px;padding:9px 11px;border:1px solid #e4eaf3;border-radius:9px;color:#26365f;background:#f5f7fb;font-size:13px; }
.marches-flow[data-screen="delivery"] .marches-location-status { min-height:0;margin:0;font-size:11px;line-height:1.35; }
.marches-flow[data-screen="delivery"] .marches-location-status:empty { display:none; }
.marches-flow .marches-delivery-moment-card .marches-radio { min-height:55px;padding:10px 13px;gap:12px;border:1px solid #00a466;border-radius:9px;background:var(--checkout-mint); }
.marches-flow .marches-delivery-moment-card .marches-radio input { width:20px;height:20px;opacity:1; }
.marches-flow .marches-delivery-moment-card .marches-radio strong { color:var(--checkout-ink);font-size:13px;font-weight:700; }
.marches-flow .marches-delivery-moment-card .marches-radio small { margin-top:3px;color:var(--checkout-muted);font-size:11px;line-height:1.3; }
.marches-flow .marches-selected-address { grid-template-columns:30px minmax(0,1fr);gap:11px;min-height:64px;padding:10px 15px;border-radius:10px;background:var(--checkout-mint); }
.marches-contact-value { display:flex;min-height:37px;align-items:center;justify-content:space-between;gap:12px;padding:8px 13px;border-radius:9px;color:#34456e;background:#f2f5f9;font-size:clamp(14px,3cqw,17px); }
.marches-contact-value svg { width:19px;height:21px;flex:0 0 19px;color:var(--checkout-ink); }
.marches-flow[data-screen="payment"] .marches-payment-choice { grid-template-columns:22px 30px minmax(0,1fr);gap:11px;padding:11px 13px;border:1px solid #00a466;border-radius:9px;background:var(--checkout-mint); }
.marches-flow[data-screen="payment"] .marches-payment-choice>svg { width:27px;height:27px;color:var(--checkout-green); }
.marches-flow[data-screen="payment"] .marches-payment-choice strong { color:var(--checkout-ink);font-size:13px; }
.marches-flow[data-screen="payment"] .marches-payment-choice small { display:block;margin-top:5px;overflow:visible;font-size:11px;line-height:1.35; }
.marches-checkout-summary-body { display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:center;gap:12px; }
.marches-cart-items.is-summary { display:flex;align-items:center;gap:3px;min-width:0; }
.marches-summary-thumb { display:grid;flex:1;min-width:0;max-width:52px;aspect-ratio:0.82;place-items:center;overflow:hidden;border-radius:8px;color:var(--checkout-ink);background:#f2f5f9;font-size:12px;font-weight:700; }
.marches-flow .marches-summary-thumb img { display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain; }
.marches-flow .marches-checkout-summary .marches-totals { gap:6px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none; }
.marches-flow .marches-checkout-summary .marches-totals>div { align-items:baseline;gap:6px;font-size:10px; }
.marches-flow .marches-checkout-summary .marches-totals strong { font-weight:500;text-align:end; }
.marches-flow .marches-checkout-summary .marches-totals .is-total { margin-top:0;padding-top:7px;font-size:12px; }
.marches-flow .marches-checkout-summary .marches-totals .is-total strong { font-size:14px;font-weight:750; }
.marches-flow .marches-checkout-summary .marches-cart-empty { grid-column:1/-1;min-height:70px;font-size:13px; }
.marches-flow[data-screen="payment"] .marches-secure-checkout { justify-content:flex-start;gap:8px;padding:8px 11px;border-radius:8px;color:#008d57;background:#eaf8f2;font-size:10px;line-height:1.35; }
.marches-flow[data-screen="payment"] .marches-checkout-cta { margin-top:0; }
.marches-flow.marches-reference[data-screen="payment"] .marches-header-row { min-height:32.5px; }
.marches-flow.marches-reference[data-screen="payment"] .marches-back-tivka { height:32px; }
.marches-flow.marches-reference[data-screen="payment"] .marches-header-title { font-size:clamp(17px,4.25cqw,23px);line-height:1.2; }
.marches-flow.marches-reference[data-screen="payment"] .marches-reference-brand { font-size:4.9cqw; }
.marches-flow.marches-reference[data-screen="payment"] .marches-checkout-header-lead { margin-bottom:2px;font-size:12px;line-height:1.3; }
.marches-flow[data-screen="payment"] .marches-checkout-form { gap:8px; }
.marches-flow[data-screen="payment"] .marches-checkout-card-heading { margin-bottom:8px; }
.marches-flow[data-screen="payment"] .marches-secure-checkout { padding-block:7px; }
html[dir="rtl"] .marches-flow[data-screen="cart"] .marches-cart-item { padding:8px 8px 8px 10px; }
html[dir="rtl"] :is(.marches-cta-chevron,.marches-checkout-card-heading>a svg) { transform:scaleX(-1)!important; }
@media(max-width:380px) {
    .marches-cart-benefits { padding:11px 10px;gap:8px; }
    .marches-cart-benefits>div { gap:7px; }
    .marches-cart-benefits>div+div { padding-inline-start:9px; }
    .marches-cart-benefits svg { flex-basis:21px;width:21px; }
    .marches-flow[data-screen="cart"] .marches-cart-item { column-gap:6px; }
    .marches-flow[data-screen="cart"] .marches-cart-unit-price,.marches-flow[data-screen="cart"] .marches-cart-line-total { font-size:10px; }
    .marches-address-choice>em { max-width:72px;font-size:8px; }
    .marches-checkout-summary-body { grid-template-columns:1fr;gap:10px; }
    .marches-cart-items.is-summary { max-width:240px; }
    .marches-flow .marches-checkout-summary .marches-totals>div { font-size:12px; }
    .marches-flow .marches-checkout-summary .marches-totals .is-total { font-size:14px; }
    .marches-flow[data-screen="delivery"] .marches-field-grid { grid-template-columns:1fr; }
    .marches-flow[data-screen="delivery"] .marches-location-selects { grid-template-columns:1fr 1fr; }
}
@media(max-height:600px) {
    .marches-flow:is([data-screen="delivery"],[data-screen="payment"]) .marches-sticky-cta { position:static; }
}
