/* ==========================================================================
   Merchants - mc-checkout  |  Checkout (3 steps) + order completed ("Thank you")
   Scope: .mc-co (checkout/index.tpl, PAGE_BESTELLVORGANG = 11) and .mc-oc (checkout/order_completed.tpl, PAGE_BESTELLABSCHLUSS = 33).
   Mockup 4-checkout.png. Tokens only (mc_tokens_crit.css); forms/checkbox/radio come from mc-base.css (44-48px fields, lime tick).
   Brand marks of payment methods are the only literal colours (--mc-co-paypal-*, ...).
   ========================================================================== */

.mc-co, .mc-oc {
    --mc-co-gap: clamp(12px, 1.5vw, 20px);
    --mc-co-pad: clamp(18px, 2vw, 28px);
    --mc-co-r: var(--mc-radius);
    --mc-co-paypal-1: #003087;
    --mc-co-paypal-2: #0079c1;
    --mc-co-klarna: #ffb3c7;
    --mc-co-google: #4285f4;
}

/* ---------- shell ---------- */
#checkout.mc-co { padding-top: 0; padding-bottom: clamp(24px, 3vw, 48px); }
.mc-co-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--mc-co-gap); align-items: start; }
@media (min-width: 992px) {
    .mc-co-grid { grid-template-columns: minmax(0, 1.32fr) minmax(340px, 1fr); }
    .mc-co-aside { position: sticky; top: calc(var(--mc-header-h) + 20px); }
}
.mc-co-main { min-width: 0; display: flex; flex-direction: column; gap: var(--mc-co-gap); }
.mc-co-aside { min-width: 0; margin: 0; }
#result-wrapper.loading .mc-co-main { opacity: .55; pointer-events: none; transition: opacity .3s var(--mc-ease); }
.mc-co .alert { margin: 0; }
.mc-co fieldset { min-width: 0; margin: 0; }
.mc-co a.popup { text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* NOVA ships `input:checked + label { font-weight: 700 }` and margins on its option lists */
.mc-co input[type=radio]:checked + label, .mc-co input[type=checkbox]:checked + label,
.mc-oc input[type=radio]:checked + label, .mc-oc input[type=checkbox]:checked + label { font-weight: 400; }
.mc-co .mc-co-opts, .mc-co .checkout-payment-options, .mc-co .checkout-shipping-form-options { margin-bottom: 0; }

/* NOVA leftovers that must not show */
.mc-co .checkout-steps, .mc-co .stepper { display: none; }

/* ---------- head: back link | secure checkout, giant title, stepper ---------- */
.mc-co-head { margin: 0 0 clamp(18px, 2vw, 28px); }
.mc-co-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: clamp(10px, 1.4vw, 20px); }
.mc-co-bag { display: inline-flex; align-items: center; gap: 12px; color: var(--mc-ink); font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.mc-co-bag .mc-icon { width: 20px; height: 20px; transition: transform .35s var(--mc-ease); }
.mc-co-bag:hover .mc-icon { transform: translateX(-4px); }
.mc-co-secure { display: inline-flex; align-items: center; gap: 9px; color: var(--mc-ink); font-size: .92rem; font-weight: 500; white-space: nowrap; }
.mc-co-secure .mc-icon { width: 19px; height: 19px; }
.mc-co-title { margin: clamp(10px, 1.6vw, 22px) 0 clamp(16px, 2vw, 28px); font-size: clamp(3.4rem, 9.2vw, 8.6rem); line-height: .9; letter-spacing: .002em; }

/* the stepper spans the full content width (same as the form + summary grid below): the connector lines stretch, the last step ends at the right edge */
.mc-co-steps-list { display: flex; align-items: center; width: 100%; margin: 0; padding: 0; list-style: none; }
.mc-co-step { display: flex; align-items: center; min-width: 0; }
.mc-co-step:not(:last-child) { flex: 1 1 0; }
.mc-co-step:not(:last-child)::after { content: ""; flex: 1 1 auto; width: auto; min-width: 36px; height: 1px; margin: 0 clamp(14px, 2vw, 28px); background: var(--mc-line-strong); transition: background-color .4s var(--mc-ease); }
.mc-co-step.is-done:not(:last-child)::after { background: var(--mc-ink); }
.mc-co-step-in { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--mc-muted); text-decoration: none !important; white-space: nowrap; }
a.mc-co-step-in:hover { color: var(--mc-ink); }
.mc-co-step-dot {
    position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; background: var(--mc-surface-3); color: var(--mc-text-2);
    font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums;
    transition: background-color .35s var(--mc-ease), color .35s var(--mc-ease), transform .35s var(--mc-ease);
}
.mc-co-step-check { position: absolute; width: 17px; height: 17px; opacity: 0; transform: scale(.4); transition: opacity .3s var(--mc-ease), transform .4s var(--mc-ease); }
.mc-co-step-label { font-size: .95rem; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.mc-co-step.is-current .mc-co-step-dot { background: var(--mc-black); color: #fff; }
.mc-co-step.is-current .mc-co-step-label { color: var(--mc-ink); font-weight: 600; }
.mc-co-step.is-done .mc-co-step-dot { background: var(--mc-lime); color:var(--mc-on-accent); }
.mc-co-step.is-done .mc-co-step-num { opacity: 0; }
.mc-co-step.is-done .mc-co-step-check { opacity: 1; transform: scale(1); }
.mc-co-step.is-done .mc-co-step-label { color: var(--mc-ink); }
a.mc-co-step-in:hover .mc-co-step-dot { transform: scale(1.06); background: var(--mc-lime-hi); }
@media (max-width: 575.98px) {
    .mc-co-bag, .mc-co-secure { font-size: .84rem; gap: 8px; }
    .mc-co-step-dot { width: 32px; height: 32px; }
    .mc-co-step-in { gap: 8px; }
    .mc-co-step:not(.is-current) .mc-co-step-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .mc-co-step:not(:last-child)::after { min-width: 16px; margin: 0 8px; }
}

/* ---------- card chrome (white card, 1px line, Anton title) ---------- */
.mc-co-card, .mc-co-login, .mc-co-sum, .mc-oc-card,
.mc-co-fields > fieldset, .mc-co-fields > .row.inc-shipping-address, .mc-co-captcha {
    background: var(--mc-surface); border: 1px solid var(--mc-line); border-radius: var(--mc-co-r);
    padding: var(--mc-co-pad);
}
.mc-co-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mc-co-card-head .mc-co-card-title { margin: 0; }
.mc-co-card-title, .mc-oc-card-title {
    display: block; margin: 0 0 clamp(10px, 1.2vw, 16px); padding: 0; border: 0;
    font-family: var(--mc-display); font-weight: 400;  letter-spacing: .008em;
    font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); line-height: 1.04; color: var(--mc-ink);
}
.mc-co-fieldset > legend.mc-co-card-title, .mc-co-fields > fieldset > legend { float: left; width: 100%; }
.mc-co-fieldset > legend.mc-co-card-title + * { clear: both; }
.mc-co-sub { margin: -4px 0 14px; color: var(--mc-muted); font-size: .9rem; }
.mc-co-change {
    display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
    color: var(--mc-ink); font-size: .88rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.mc-co-change .mc-icon { width: 15px; height: 15px; }
.mc-co-change:hover { text-decoration-thickness: 2px; }
.mc-co-address { margin: 0; font-style: normal; color: var(--mc-text); line-height: 1.6; font-size: .95rem; }
.mc-co-address span { display: block; }
.mc-co-address .mc-co-address-gap { margin-top: 6px; }
.mc-co-line { margin: 0; color: var(--mc-text); font-size: .95rem; line-height: 1.6; }
.mc-co-line + .mc-co-line { margin-top: 2px; }
.mc-co-line.is-muted { color: var(--mc-muted); }
.mc-co-tick { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 5px; background: var(--mc-lime); color:var(--mc-on-accent); vertical-align: -5px; }
.mc-co-tick .mc-icon { width: 12px; height: 12px; }

/* ==========================================================================
   Step 1 - Contact (login, guest form, address cards)
   ========================================================================== */
.mc-co-formwrap, .mc-co-form { display: flex; flex-direction: column; gap: var(--mc-co-gap); min-width: 0; }
.mc-co-formwrap > form { display: flex; flex-direction: column; gap: var(--mc-co-gap); }
.mc-co-fields { display: flex; flex-direction: column; gap: var(--mc-co-gap); }
/* Contact first (JS moves the DOM too, so the tab order follows) */
.mc-co-fields > fieldset:not(.inc-billing-address-form):has(input[name="email"]) { order: -2; }
.mc-co-fields > .mc-co-required { order: 20; }
.mc-co-fields > .mc-co-consent, .mc-co-fields > .mc-co-captcha { order: 10; }

/* returning customer - collapsed card */
.mc-co-login { padding: 0; }
.mc-co-login-sum { display: flex; align-items: center; gap: 14px; padding: clamp(14px, 1.6vw, 20px) var(--mc-co-pad); cursor: pointer; list-style: none; }
.mc-co-login-sum::-webkit-details-marker { display: none; }
.mc-co-login-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mc-surface-2); color: var(--mc-ink); flex: 0 0 auto; }
.mc-co-login-ico .mc-icon { width: 20px; height: 20px; }
.mc-co-login-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
.mc-co-login-txt strong { color: var(--mc-ink); font-size: .98rem; font-weight: 600; }
.mc-co-login-txt span { color: var(--mc-muted); font-size: .85rem; }
.mc-co-login-chev { display: inline-flex; color: var(--mc-ink); transition: transform .3s var(--mc-ease); }
.mc-co-login-chev .mc-icon { width: 20px; height: 20px; }
.mc-co-login[open] .mc-co-login-chev { transform: rotate(180deg); }
.mc-co-login-sum:hover .mc-co-login-ico { background: var(--mc-lime); color: var(--mc-on-accent); }
.mc-co-login-body { padding: 0 var(--mc-co-pad) var(--mc-co-pad); }
.mc-co-login-form fieldset { border: 0; padding: 0; }
.mc-co-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
@media (min-width: 576px) { .mc-co-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mc-co-login-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 2px; }
.mc-co-login .two-fa-tooltip { font-size: .88rem; }

/* NOVA address markup -> label above field, one flow inside the card */
.mc-co-fields fieldset { border: 0; }
.mc-co-fields > fieldset { border: 1px solid var(--mc-line); }
.mc-co-fields > fieldset fieldset, .mc-co-fields .row.inc-shipping-address fieldset { padding: 0; border: 0; background: none; }
.mc-co-fields .row, .mc-co .mc-co-fields .row { display: block; margin: 0; }
.mc-co .mc-co-fields .row > [class*="col"] { flex: none; width: 100%; max-width: 100%; padding: 0; }
.mc-co .mc-co-fields .row > [class*="col"]:not(:has(:is(input, select, textarea, fieldset, .form-group, h2, .custom-control, .collapse, table))) { display: none; }
.mc-co-fields .form-row { margin-left: -8px; margin-right: -8px; }
.mc-co-fields .form-row > [class*="col"] { padding-left: 8px; padding-right: 8px; }
.mc-co-fields .form-group { margin-bottom: 14px; }
.mc-co-fields .col-form-label, .mc-co-fields label:not(.custom-control-label),
.mc-co-login .col-form-label {
    position: static !important; transform: none !important; display: block;
    padding: 0 !important; margin: 0 0 6px; background: none !important; max-width: none !important;
    font-size: .88rem !important; font-weight: 500; color: var(--mc-text) !important; white-space: normal;
}
.mc-co-fields .col-form-label::after, .mc-co-login .col-form-label::after { content: none; }
.mc-co-fields :is(input, select, textarea)[required] + .col-form-label::after,
.mc-co-login :is(input, select, textarea)[required] + .col-form-label::after { content: " *"; position: static; background: none; height: auto; color: var(--mc-ink); }
.mc-co-fields .form-group > label:has(+ input[required])::after { content: " *"; color: var(--mc-ink); }
.mc-co-fields .form-control::placeholder { color: transparent; }
.mc-co-fields .d-flex.flex-column-reverse { gap: 0; }
.mc-co-fields .typeahead-required label:not(.focused) { top: auto !important; }
.mc-co-fields .form-error-msg, .mc-co-login .form-error-msg { margin-top: 6px; font-size: .84rem; }
.mc-co-fields .optional { color: var(--mc-muted); font-weight: 400; }
.mc-co-fields .direct-advertising { margin: -4px 0 12px; color: var(--mc-muted); font-size: .8rem; line-height: 1.5; }
.mc-co-fields .snippets-checkbox-wrapper { margin: 0 0 12px; }
.mc-co-fields .snippets-checkbox-wrapper:last-child { margin-bottom: 0; }
.mc-co-fields .select-shipping-address { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--mc-line); }
.mc-co-fields .select-shipping-address.collapse:not(.show) { display: none; }
.mc-co-fields .select-shipping-address .h3, .mc-co-fields .select-shipping-address legend { display: none; }
.mc-co-fields .select-shipping-address > .row > [class*="col"] > .h3 { display: none; }
.mc-co-fields .new-shipping-address { margin-top: 14px; }
.mc-co-fields table.dataTable { width: 100% !important; margin: 0 0 12px; border-collapse: collapse; }
.mc-co-fields table.dataTable td { padding: 10px 6px; vertical-align: top; border-top: 1px solid var(--mc-line); }
.mc-co-fields .dt-address { font-size: .92rem; line-height: 1.5; }
.mc-co-required { margin: 0; font-size: .82rem; color: var(--mc-muted); }
.mc-co-required .required-star { color: var(--mc-ink); }

/* dynamic titles / label: delivery <-> billing (data-mc-same on .mc-co-fields) */
.mc-co-dyn .mc-co-t-diff, .mc-co-same .mc-co-t-diff { display: none; }
.mc-co-fields[data-mc-same="0"] .mc-co-dyn .mc-co-t-same, .mc-co-fields[data-mc-same="0"] .mc-co-same .mc-co-t-same { display: none; }
.mc-co-fields[data-mc-same="0"] .mc-co-dyn .mc-co-t-diff, .mc-co-fields[data-mc-same="0"] .mc-co-same .mc-co-t-diff { display: inline; }

/* guest / account */
.mc-co-guest { margin: 4px 0 6px; }
.mc-co-guest .custom-control-label { font-size: .92rem; color: var(--mc-ink); }
.mc-co-guest-hint { margin: 4px 0 0 32px; color: var(--mc-muted); font-size: .82rem; line-height: 1.45; }
.mc-co-pass.collapse:not(.show) { display: none; }
.mc-co-pass { margin-top: 14px; }
.mc-co-same { margin: 0; }
.mc-co-same .custom-control-label { font-size: .92rem; color: var(--mc-ink); }
.mc-co-fields .row.inc-shipping-address .control-toggle { margin-bottom: 0; }
.mc-co-captcha { padding: var(--mc-co-pad); }
.mc-co-consent .form-group { margin-bottom: 12px; }

/* ---------- action row (back link + inline submit on small screens) ---------- */
.mc-co-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 2px; }
.mc-co-actions.is-back-only { justify-content: flex-start; margin-top: 0; }
.mc-co-back { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--mc-ink); font-size: .95rem; font-weight: 500; text-decoration: none !important; }
.mc-co-back span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mc-co-back .mc-icon { width: 19px; height: 19px; transition: transform .35s var(--mc-ease); }
.mc-co-back:hover .mc-icon { transform: translateX(-4px); }
.mc-co-submit { min-height: 54px; min-width: min(100%, 280px); gap: 12px; }
.mc-co-submit .mc-icon { width: 19px; height: 19px; }
/* >= lg the CTA lives in the sticky summary (the real submit via form="..."); below, the form carries its own button */
@media (min-width: 992px) { .mc-co-submit { display: none !important; } }
@media (max-width: 575.98px) {
    .mc-co-actions { flex-direction: column-reverse; align-items: stretch; }
    .mc-co-submit { width: 100%; }
    .mc-co-back { justify-content: center; }
}

/* ==========================================================================
   Step 2 - Delivery + payment method (bordered radio rows)
   ========================================================================== */
.mc-co-shipto .mc-co-card-head { margin-bottom: 8px; }
.mc-co-opts { display: flex; flex-direction: column; gap: 10px; }
.mc-co-opt-wrap { position: relative; min-width: 0; }
.mc-co .checkout-payment-method { padding: 0; margin: 0; max-width: none; flex: initial; }
.mc-co-opt-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.mc-co-opt {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
    width: 100%; margin: 0; padding: 16px 18px; cursor: pointer; font-weight: 400; color: var(--mc-text);
    background: var(--mc-surface); border: 1px solid var(--mc-line-strong); border-radius: var(--mc-radius-sm);
    transition: border-color .25s var(--mc-ease), background-color .25s var(--mc-ease);
}
.mc-co-opt:hover { border-color: var(--mc-ink); }
.mc-co-opt-input:checked + .mc-co-opt { border-color: var(--mc-ink); background: var(--mc-surface); }
.mc-co-opt-input:focus-visible + .mc-co-opt { outline: 2px solid var(--mc-ink); outline-offset: 2px; }
.mc-co-opt-input:disabled + .mc-co-opt { opacity: .55; cursor: progress; }
.mc-co-opt-radio {
    position: relative; flex: 0 0 auto; display: inline-block; width: 24px; height: 24px; border-radius: 50%;
    border: 1.5px solid var(--mc-line-strong); background: var(--mc-surface);
    transition: background-color .25s var(--mc-ease), border-color .25s var(--mc-ease);
}
.mc-co-opt-radio::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--mc-on-accent); transform: scale(0); transition: transform .3s var(--mc-ease); }
.mc-co-opt-input:checked + .mc-co-opt .mc-co-opt-radio { background: var(--mc-lime); border-color: var(--mc-lime); }
.mc-co-opt-input:checked + .mc-co-opt .mc-co-opt-radio::after { transform: scale(1); }
.mc-co-opt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-co-opt-title { display: block; color: var(--mc-ink); font-size: .98rem; font-weight: 600; line-height: 1.3; }
.mc-co-opt-text { display: block; color: var(--mc-muted); font-size: .86rem; line-height: 1.45; }
.mc-co-opt-next { color: var(--mc-text-2); }
.mc-co-opt-side { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 14px; text-align: right; }
.mc-co-opt-price { color: var(--mc-ink); font-size: 1rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mc-co-opt-extra { flex: 0 0 100%; color: var(--mc-muted); font-size: .8rem; }
.mc-co-opt-fee { display: inline-flex; padding: 3px 9px; border-radius: var(--mc-radius-xs); background: var(--mc-surface-2); color: var(--mc-text); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.mc-co-opt-logo { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 28px; color: var(--mc-ink); }
.mc-co-opt-logo:empty { display: none; }
.mc-co-opt-logo .mc-co-micon { width: 26px; height: 26px; color: var(--mc-muted); }
.mc-co-mimg { max-height: 30px; max-width: 120px; width: auto; height: auto; object-fit: contain; }
.mc-co-opt-specific { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; color: var(--mc-muted); font-size: .8rem; }
.mc-co-opt-specific > span { display: flex; justify-content: space-between; gap: 10px; }
@media (max-width: 479.98px) {
    .mc-co-opt { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
    .mc-co-opt-side { grid-column: 2; justify-content: flex-start; text-align: left; }
}

/* brand marks (quiet wordmarks) */
.mc-co-brand { display: inline-flex; align-items: center; gap: 1px; font-family: var(--mc-font); font-weight: 800; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.mc-co-brand.is-paypal { font-size: 1.15rem; font-style: italic; }
.mc-co-brand.is-paypal b { color: var(--mc-co-paypal-1); font-weight: 800; }
.mc-co-brand.is-paypal i { color: var(--mc-co-paypal-2); font-style: italic; }
.mc-co-brand.is-klarna { padding: 6px 9px; border-radius: 6px; background: var(--mc-co-klarna); color: var(--mc-ink); font-size: .95rem; }
.mc-co-brand.is-apple { color: var(--mc-ink); font-size: 1rem; font-weight: 700; }
.mc-co-brand.is-google { color: var(--mc-text-2); font-size: 1rem; font-weight: 600; gap: 5px; }
.mc-co-brand.is-google b { color: var(--mc-co-google); font-weight: 700; }

/* packaging */
.mc-co-pack-list { display: flex; flex-direction: column; gap: 14px; }
.mc-co-pack-row { display: flex; justify-content: space-between; gap: 16px; }
.mc-co .checkout-shipping-form-packaging-cost { font-weight: 700; color: var(--mc-ink); }
.mc-co .checkout-shipping-form-packaging-desc { display: block; margin-top: 2px; color: var(--mc-muted); }
.mc-co .checkout-additional-payment { margin: 0; }

/* ==========================================================================
   Order summary (right column, every step)
   ========================================================================== */
.mc-co-sum { padding: var(--mc-co-pad); }
.mc-co-sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(14px, 1.6vw, 20px); }
.mc-co-sum-title { margin: 0; font-family: var(--mc-display); font-weight: 400;  letter-spacing: .008em; font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem); line-height: 1; color: var(--mc-ink); }
.mc-co-sum-count { color: var(--mc-muted); font-size: .9rem; white-space: nowrap; }
.mc-co-sum-items { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0 0 clamp(14px, 1.6vw, 22px); list-style: none; border-bottom: 1px solid var(--mc-line); }
.mc-co-sum-item, .mc-oc-item { display: grid; grid-template-columns: clamp(84px, 9vw, 112px) minmax(0, 1fr) auto; gap: clamp(12px, 1.4vw, 18px); align-items: start; }
.mc-co-thumb { display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--mc-radius-sm); background: var(--mc-plate); color: var(--mc-subtle); }
.mc-co-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.mc-co-thumb .mc-icon { width: 34px; height: 34px; }
.mc-co-sum-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 4px; }
.mc-co-sum-brand { color: var(--mc-ink); font-size: .95rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.mc-co-sum-name { color: var(--mc-ink); font-size: .92rem; line-height: 1.4; overflow-wrap: anywhere; }
.mc-co-sum-var, .mc-co-sum-qty, .mc-co-sum-cfg, .mc-co-sum-note { color: var(--mc-muted); font-size: .88rem; line-height: 1.4; }
.mc-co-sum-cfg { display: flex; flex-direction: column; }
.mc-co-sum-price { padding-top: 4px; color: var(--mc-ink); font-size: .95rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mc-co-sum-rows { margin: 0; padding: clamp(12px, 1.4vw, 18px) 0; border-bottom: 1px solid var(--mc-line); }
.mc-co-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 5px 0; }
.mc-co-sum-row dt { margin: 0; font-weight: 400; color: var(--mc-text); font-size: .98rem; }
.mc-co-sum-row dd { margin: 0; color: var(--mc-ink); font-size: .98rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mc-co-sum-row.is-discount dd { color: var(--mc-success); }
.mc-co-sum-from { color: var(--mc-muted); font-size: .88rem; }
.mc-co-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: clamp(14px, 1.6vw, 20px); }
.mc-co-sum-total-label { color: var(--mc-ink); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.mc-co-sum-total-price { color: var(--mc-ink); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mc-co-sum-vat { display: flex; flex-direction: column; gap: 1px; margin-top: 2px; color: var(--mc-muted); font-size: .86rem; }
.mc-co-cta { gap: 12px; min-height: 58px; margin-top: clamp(16px, 1.8vw, 22px); font-size: 1.05rem; font-weight: 700; white-space: normal; text-align: center; }
.mc-co-cta .mc-icon { width: 21px; height: 21px; transition: transform .35s var(--mc-ease); }
.mc-co-cta:hover .mc-icon { transform: translateX(4px); }
.mc-co-cta:disabled, .mc-co-cta[aria-busy="true"] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.mc-co-fine, .mc-co-legal p { margin: 14px 0 0; color: var(--mc-muted); font-size: .84rem; line-height: 1.5; }
.mc-co-fine { display: flex; align-items: flex-start; gap: 8px; }
.mc-co.has-plugin-submit .mc-co-aside .mc-co-cta { display: none; }
.mc-co-fine .mc-icon { width: 15px; height: 15px; margin-top: 2px; flex: 0 0 auto; }
.mc-co-fine a, .mc-co-legal a { color: var(--mc-text-2); text-decoration: underline; text-underline-offset: 3px; }
.mc-co-legal { margin-top: 0; }
.mc-co-legal-checks { margin-top: 18px; padding: 16px 18px; border-radius: var(--mc-radius-sm); background: var(--mc-surface-2); }
.mc-co-legal-checks:not(:has(input)) { display: none; }
.mc-co-legal-checks .form-group { margin: 0; }
.mc-co-legal-checks .form-group + .form-group { margin-top: 12px; }
.mc-co-legal-checks .custom-control-label { font-size: .9rem; line-height: 1.5; color: var(--mc-ink); }
.mc-co-legal-checks .custom-control-label a { color: var(--mc-ink); text-decoration: underline; text-underline-offset: 3px; }
.mc-co-legal-checks .form-text { font-size: .82rem; }
.mc-co-warranty { margin-top: 14px; }

/* phones: a quiet jump bar on top, the summary card follows below the form */
.mc-co-sumbar { display: none; }
@media (max-width: 991.98px) {
    /* below lg the form carries its own button; the summary CTA would only duplicate it */
    .mc-co-aside .mc-co-cta[data-mc-co-cta] { display: none; }
    .mc-co-sumbar {
        display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--mc-surface);
        border: 1px solid var(--mc-line); border-radius: var(--mc-co-r); color: var(--mc-ink); text-decoration: none !important;
    }
    .mc-co-sumbar span { flex: 1 1 auto; font-size: .92rem; font-weight: 500; }
    .mc-co-sumbar strong { font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
    .mc-co-sumbar .mc-icon { width: 18px; height: 18px; }
    .mc-co-aside { scroll-margin-top: calc(var(--mc-header-h) + 12px); }
}

/* ==========================================================================
   Step 3 - Review + pay
   ========================================================================== */
.mc-co-review .mc-co-card-head { margin-bottom: 10px; }
.mc-co-method { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mc-co-method-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-co-method-body strong { color: var(--mc-ink); font-size: .98rem; font-weight: 600; }
.mc-co-method-body span { color: var(--mc-muted); font-size: .88rem; }
.mc-co-method-price { color: var(--mc-ink); font-weight: 700; white-space: nowrap; }
.mc-co-method-logo { display: inline-flex; align-items: center; }
.mc-co-method-logo .mc-co-micon { width: 26px; height: 26px; color: var(--mc-muted); }
.mc-co-note textarea.form-control { min-height: 96px; resize: vertical; padding-top: 12px; }
.mc-co-coupon-form { display: flex; gap: 10px; margin: 0; }
.mc-co-coupon-form .form-control { flex: 1 1 auto; min-width: 0; }
.mc-co-coupon-form .mc-btn { flex: 0 0 auto; }
@media (max-width: 479.98px) { .mc-co-coupon-form { flex-direction: column; } }
.mc-co-credit .credit-description { color: var(--mc-muted); font-size: .9rem; }
.mc-co-credit .credit-amount-description { margin-bottom: 10px; }
.mc-co-credit form { display: block; }
.mc-co-credit fieldset { border: 0; padding: 0; }

/* ==========================================================================
   Order completed "Thank you" (.mc-oc)
   ========================================================================== */
.mc-oc { padding-top: clamp(14px, 2vw, 32px); padding-bottom: clamp(10px, 1.4vw, 24px); }
.mc-oc-hero { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(22px, 3vw, 40px); }
.mc-oc-check { display: inline-flex; align-items: center; justify-content: center; width: clamp(48px, 4.4vw, 64px); height: clamp(48px, 4.4vw, 64px); margin-bottom: clamp(14px, 1.6vw, 22px); border-radius: 50%; background: var(--mc-lime); color:var(--mc-on-accent); }
.mc-oc-check .mc-icon { width: 52%; height: 52%; stroke-dasharray: 30; stroke-dashoffset: 30; animation: mc-oc-draw .7s .25s var(--mc-ease) forwards; }
@keyframes mc-oc-draw { to { stroke-dashoffset: 0; } }
.mc-oc-title { margin: 0; font-size: clamp(3.4rem, 9.2vw, 8.6rem); line-height: .9; }
.mc-oc-lead { margin: clamp(12px, 1.4vw, 20px) 0 0; max-width: 56ch; color: var(--mc-text-2); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.5; }
.mc-oc-number { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: clamp(14px, 1.6vw, 22px) 0 0; padding: 10px 16px; border-radius: var(--mc-radius-sm); background: var(--mc-surface-3); color: var(--mc-text-2); font-size: .92rem; }
.mc-oc-number strong { color: var(--mc-ink); font-size: 1.05rem; font-weight: 700; letter-spacing: .01em; }

.mc-oc-pay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: var(--mc-co-gap); padding: var(--mc-co-pad); border-radius: var(--mc-co-r); background: var(--mc-surface); border: 1px solid var(--mc-ink); }
@media (min-width: 992px) { .mc-oc-pay { grid-template-columns: minmax(0, 1fr) auto; } }
.mc-oc-pay-copy { display: flex; gap: 16px; align-items: center; }
.mc-oc-pay-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mc-lime); color:var(--mc-on-accent); flex: 0 0 auto; }
.mc-oc-pay-icon .mc-icon { width: 24px; height: 24px; }
.mc-oc-pay .mc-oc-card-title { margin: 0; }
.mc-oc-pay-text { display: block; color: var(--mc-muted); margin-top: 2px; font-size: .9rem; }
.mc-oc-pay-module .checkout-paymentmodules-alert, .mc-oc-pay-module .payment-method-module-ids { display: none; }
.mc-oc-pay-module .payment-method-inner > *:last-child { margin-bottom: 0; }

.mc-oc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--mc-co-gap); align-items: start; }
@media (min-width: 992px) { .mc-oc-grid { grid-template-columns: minmax(0, 1.32fr) minmax(320px, 1fr); } }
.mc-oc-main, .mc-oc-side { min-width: 0; display: flex; flex-direction: column; gap: var(--mc-co-gap); }
.mc-oc-card { padding: var(--mc-co-pad); }
.mc-oc-card-head { margin-bottom: 14px; }
.mc-oc-card-head .mc-oc-card-title { margin: 0; }
.mc-oc-items { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0 0 clamp(14px, 1.6vw, 22px); list-style: none; border-bottom: 1px solid var(--mc-line); }
.mc-oc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mc-oc-actions .btn { flex: 1 1 220px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; }
.mc-oc-actions .btn .mc-icon { width: 19px; height: 19px; }
.mc-oc-timeline { margin: 0; padding: 0; list-style: none; }
.mc-oc-timeline li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; }
.mc-oc-timeline li:last-child { padding-bottom: 0; }
.mc-oc-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 21.5px; top: 50px; bottom: 6px; width: 1px; background: var(--mc-line-strong); }
.mc-oc-tl-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mc-surface-3); color: var(--mc-ink); }
.mc-oc-tl-icon .mc-icon { width: 21px; height: 21px; }
.mc-oc-tl-body { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.mc-oc-tl-body strong { color: var(--mc-ink); font-size: .98rem; font-weight: 600; line-height: 1.3; }
.mc-oc-tl-body span { color: var(--mc-muted); font-size: .88rem; line-height: 1.5; }
.mc-oc-tl-body b { color: var(--mc-ink); font-weight: 600; overflow-wrap: anywhere; }
.mc-oc-info-title { margin: 0 0 12px; font-family: var(--mc-display); font-weight: 400;  letter-spacing: .008em; font-size: 1.4rem; line-height: 1.05; color: var(--mc-ink); }
.mc-oc-info-strong { margin: 0 0 4px; color: var(--mc-ink); font-size: .95rem; font-weight: 600; }
.mc-oc-info-muted { margin: 0 0 10px; color: var(--mc-muted); font-size: .88rem; }
.mc-oc-info .mc-co-address { color: var(--mc-text-2); font-size: .92rem; }
.mc-oc-bank { margin: 0; font-size: .88rem; }
.mc-oc-bank div { display: flex; gap: 10px; padding: 2px 0; }
.mc-oc-bank dt { min-width: 74px; font-weight: 400; color: var(--mc-muted); }
.mc-oc-bank dd { margin: 0; color: var(--mc-ink); overflow-wrap: anywhere; }
.mc-oc-account .mc-btn { margin-top: 4px; gap: 10px; }
.mc-oc-account .mc-btn .mc-icon { width: 18px; height: 18px; }
.mc-oc .mc-co-sum-total { padding-top: clamp(14px, 1.6vw, 20px); }

@media (prefers-reduced-motion: reduce) {
    .mc-oc-check .mc-icon { animation: none; stroke-dashoffset: 0; }
    .mc-co *, .mc-oc * { transition-duration: .01ms !important; }
}

/* step 1: hint under the billing card title (delivery address is chosen in step 2) */
.mc-co-card-hint { margin: -4px 0 16px; font-size: .86rem; line-height: 1.45; color: var(--mc-muted); }
