/* Cart and checkout: step indicator, cards, spacing. Buttons / fields come from ui.css. */
:is(.woocommerce-cart, .woocommerce-checkout):not(.wcdp-donation-form) main > * { max-width:1240px !important; margin-left:auto !important; margin-right:auto !important; }
:is(.woocommerce-cart, .woocommerce-checkout):not(.wcdp-donation-form) main { padding-bottom:4rem; }

/* Steps */
.inxo-steps { display:flex; justify-content:center; align-items:flex-start; gap:0; margin:0 auto 2.2rem; padding:0; max-width:560px; list-style:none; counter-reset:none; }
.inxo-steps li { position:relative; flex:1; display:flex; flex-direction:column; align-items:center; gap:.5rem; margin:0; padding:0; text-align:center; color:var(--inxo-muted); }
.inxo-steps li::before { content:""; position:absolute; top:17px; right:50%; width:100%; height:2px; background:#e3e3e6; z-index:0; }
.inxo-steps li:first-child::before { display:none; }
.inxo-steps li.is-done::before, .inxo-steps li.is-current::before { background:var(--inxo-red); }
.inxo-step-no { position:relative; z-index:1; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#fff; border:2px solid #e3e3e6; font:600 .95rem/1 var(--inxo-head); color:var(--inxo-muted); }
.inxo-steps li.is-current .inxo-step-no { border-color:var(--inxo-red); color:var(--inxo-red); box-shadow:var(--inxo-ring); }
.inxo-steps li.is-done .inxo-step-no { border-color:var(--inxo-red); background:var(--inxo-red); color:#fff; }
.inxo-step-label { font:500 .85rem/1.5 var(--inxo-body); letter-spacing:.04em; }
.inxo-steps li.is-current .inxo-step-label, .inxo-steps li.is-done .inxo-step-label { color:var(--inxo-text); }

/* Two columns: main + summary card */
.wc-block-cart, .wc-block-checkout { margin-top:0; }
.wc-block-components-sidebar-layout { gap:2rem; }
.wc-block-components-sidebar, .wc-block-cart__sidebar, .wc-block-checkout__sidebar { align-self:flex-start; box-sizing:border-box; padding:1.5rem !important; background:#fafafb; border:1px solid #ececef; border-radius:16px; }
.wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary { border:0 !important; padding-left:0 !important; padding-right:0 !important; border-radius:0; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right:0 !important; }
.wc-block-checkout__sidebar .wc-block-components-order-summary, .wc-block-checkout__sidebar .wc-block-components-totals-wrapper { border-color:#ececef !important; }
.wc-block-components-sidebar .wc-block-components-totals-wrapper { padding-left:0; padding-right:0; }
.wc-block-cart__totals-title, .wc-block-components-checkout-order-summary__title-text { font:700 .85rem/1.5 var(--inxo-head) !important; letter-spacing:.1em; text-transform:uppercase; color:var(--inxo-muted); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font:700 1.4rem/1.5 var(--inxo-head); color:var(--inxo-red); }

/* Section headings */
.wc-block-components-title.wc-block-components-title, .wc-block-checkout__form h2 { margin:.8rem 0 .9rem; font:700 1.15rem/1.5 var(--inxo-head); letter-spacing:.04em; color:var(--inxo-text); }
.wc-block-checkout__form > fieldset:first-child .wc-block-components-title { margin-top:0; }
.wc-block-components-checkout-step__description, .wc-block-checkout__description { color:var(--inxo-muted); font-size:.92rem; }

/* Fields (WooCommerce blocks use floating labels, so only look is set here, not padding) */
.wc-block-components-text-input, .wc-blocks-components-select, .wc-block-components-country-input, .wc-block-components-state-input { margin-top:14px; }
.wc-blocks-components-select .wc-blocks-components-select__container { margin-top:0 !important; }
.wc-block-components-address-form { gap:0 14px; }
.wc-block-components-address-form > * { margin-top:14px !important; }
.wc-block-components-text-input input, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-combobox .components-combobox-control input { height:56px; min-height:56px; background:#fff; font-family:var(--inxo-body); font-size:1rem; color:var(--inxo-text); }
.wc-block-components-text-input label, .wc-blocks-components-select__label { font-family:var(--inxo-body); color:var(--inxo-muted); }
.wc-block-components-text-input.has-error input { border-color:var(--inxo-red) !important; }
.wc-block-components-validation-error { color:var(--inxo-red); font-size:.85rem; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border:1px solid #b9b9c0; border-radius:5px; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background:var(--inxo-red); border-color:var(--inxo-red); }
.wc-block-components-checkbox__mark { fill:#fff; }

/* Shipping / payment options */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control__option { border-radius:12px; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option { border:1px solid var(--inxo-line) !important; box-shadow:none !important; margin-bottom:.6rem; padding:1rem 1.1rem 1rem 3rem; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-checked { border-color:var(--inxo-red) !important; background:rgba(200, 21, 59, .04); }
.wc-block-components-radio-control__input[type="radio"]:checked { border-color:var(--inxo-red); }
.wc-block-components-radio-control__input[type="radio"]:checked::before { background:var(--inxo-red); }

/* Order summary items */
.wc-block-components-order-summary-item__image { overflow:visible; }
.wc-block-components-order-summary-item__image img { border-radius:10px; }
.wc-block-components-order-summary-item__quantity { min-width:22px; height:22px; background:var(--inxo-red) !important; color:#fff !important; border:2px solid #fff !important; box-shadow:none !important; font:600 .72rem/18px var(--inxo-body); }
.wc-block-components-product-name { color:var(--inxo-text); font-weight:500; text-decoration:none; }
a.wc-block-components-product-name:hover { color:var(--inxo-red); }
.wc-block-components-product-metadata, .wc-block-components-product-metadata__description { color:var(--inxo-muted); font-size:.88rem; }

/* Cart table */
.wc-block-cart-items { border-collapse:separate; border-spacing:0; }
.wc-block-cart-items th { padding:.4rem .5rem .9rem; font:600 .78rem/1.5 var(--inxo-body); letter-spacing:.1em; text-transform:uppercase; color:var(--inxo-muted); border-bottom:1px solid #ececef !important; }
.wc-block-cart-items td { border-top:0 !important; padding:1.3rem .5rem; border-bottom:1px solid #f0f0f2; }
.wc-block-cart-item__image img { border-radius:12px; }
.wc-block-cart-item__remove-link { color:var(--inxo-muted); font-size:.85rem; }
.wc-block-cart-item__remove-link:hover { color:var(--inxo-red); }
.wc-block-components-quantity-selector { background:#fff; border:1px solid var(--inxo-line); }
.wc-block-components-quantity-selector::after { display:none; }
.wc-block-components-quantity-selector__button { color:var(--inxo-text); opacity:.7; }
.wc-block-components-quantity-selector__button:hover { opacity:1; color:var(--inxo-red); }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { width:100%; }
.wc-block-components-checkout-return-to-cart-button { color:var(--inxo-muted); text-decoration:none; }
.wc-block-components-checkout-return-to-cart-button:hover { color:var(--inxo-red); }
.wc-block-components-panel__button { font-weight:500; }
.wc-block-components-totals-coupon__button, .wc-block-components-totals-coupon button { min-height:46px; }

/* Order received page */
.woocommerce-order-received .wc-block-order-confirmation-status, .woocommerce-order-received .woocommerce-order { padding:1.2rem 1.5rem; background:#f1faf4; border:1px solid #c5e8d0; border-radius:14px; }
.wp-block-woocommerce-order-confirmation-summary ul, .woocommerce-order-overview { display:flex; flex-wrap:wrap; gap:1rem 2rem; margin:1.2rem 0; padding:1.2rem 1.5rem; list-style:none; background:#fafafb; border:1px solid #ececef; border-radius:14px; }

@media (max-width:781px) {
	.inxo-step-label { font-size:.75rem; }
	.wc-block-components-sidebar { padding:1.2rem !important; }
}

/* No black frame around a cart line after +/- or remove: WooCommerce moves focus to the row (and the parent theme outlines every :focus). Buttons, links and fields keep their keyboard ring. */
.wc-block-cart :focus:not(:focus-visible), .wc-block-checkout :focus:not(:focus-visible),
.wc-block-cart :is(.wc-block-cart-items, .wc-block-cart-items__row, .wc-block-cart-item__wrap):focus-visible { outline:none !important; box-shadow:none !important; }
.wc-block-cart :is(.wc-block-cart-items, .wc-block-cart-items__row, .wc-block-cart-item__wrap) { outline:none !important; }

/* "Add coupons" and the other panel / stepper buttons: no black box after a click; keyboard users get a soft dark-grey ring */
.wc-block-components-panel__button:focus:not(:focus-visible), .wc-block-components-quantity-selector__button:focus:not(:focus-visible), .wc-block-components-totals-coupon__button:focus:not(:focus-visible) { outline:none !important; box-shadow:none !important; }
.wc-block-components-panel__button:focus-visible, .wc-block-components-quantity-selector__button:focus-visible { outline:2px solid #4a4a4f !important; outline-offset:2px; box-shadow:none !important; }

/* Applied coupon: a soft tag (icon + code) with a round remove button, instead of the black outlined pill */
body .wc-block-components-chip { display:inline-flex; align-items:center; gap:.45rem; padding:.1rem .25rem .05rem .75rem; border:0 !important; border-radius:99px; background:#eef0f2 !important; color:var(--inxo-text); font:600 .72rem/1.4 var(--inxo-body); letter-spacing:.06em; text-transform:uppercase; }
body .wc-block-components-chip::before { content:""; flex:none; width:13px; height:13px; margin-top:-.1rem; background-color:var(--inxo-red); -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat; }
body .wc-block-components-chip .wc-block-components-chip__text { padding:0; font:inherit; }
body .wc-block-components-chip .wc-block-components-chip__remove { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; margin:0; padding:0 !important; border:0 !important; border-radius:50%; background:transparent !important; color:#4a4a4f !important; cursor:pointer; }
body .wc-block-components-chip .wc-block-components-chip__remove svg, body .wc-block-components-chip:hover .wc-block-components-chip__remove svg { width:17px; height:17px; fill:currentColor !important; }
body .wc-block-components-chip .wc-block-components-chip__remove { transition:color .15s; }
body .wc-block-components-chip .wc-block-components-chip__remove:hover, body .wc-block-components-chip .wc-block-components-chip__remove:focus-visible { background:transparent !important; color:var(--inxo-red) !important; outline:0; }
/* keep the tag background on hover / focus (WooCommerce clears it) */
body .wc-block-components-chip:is(:hover, :focus, :focus-within, :active) { background:#eef0f2 !important; color:var(--inxo-text) !important; }
/* the × stays dark grey while the chip is hovered (WooCommerce turns it white there), red only when the × itself is hovered */
body .wc-block-components-chip:hover .wc-block-components-chip__remove:not(:hover):not(:focus-visible) { color:#4a4a4f !important; }
body .wc-block-components-chip:hover .wc-block-components-chip__remove:is(:hover, :focus-visible) { color:var(--inxo-red) !important; }
body .wc-block-components-chip .wc-block-components-chip__remove .wc-block-components-chip__remove-icon, body .wc-block-components-chip .wc-block-components-chip__remove:is(:hover, :focus) .wc-block-components-chip__remove-icon, body button.wc-block-components-chip:is(:hover, :focus) > .wc-block-components-chip__remove .wc-block-components-chip__remove-icon { fill:currentColor !important; }
body .wc-block-components-chip .wc-block-components-chip__remove:is(:hover, :focus), body button.wc-block-components-chip:is(:hover, :focus) > .wc-block-components-chip__remove { background:transparent !important; }

/* success check icon: an outline in the notice colour (the notice rule that fills every notice icon would otherwise fill the circle and leave a dark outline) */
.wc-block-components-notice-banner > svg.inxo-ok-icon { fill:none !important; stroke:var(--n); color:var(--n); }

/* ================= Checkout polish ================= */
/* Section titles: a smaller gap between the title and its first field */
.wc-block-components-checkout-step__heading-container, .wc-block-components-checkout-step__heading { margin-bottom:0 !important; }
.wc-block-components-title.wc-block-components-title, .wc-block-checkout__form h2.wc-block-components-title { margin-bottom:.45rem !important; }
.wc-block-components-checkout-step__content > :first-child, .wc-block-components-checkout-step__content > :first-child > :first-child { margin-top:0 !important; }

/* Dropdowns (country / state): same height, radius, padding and floating label as the text fields */
.wc-blocks-components-select, .wc-blocks-components-select .wc-blocks-components-select__container { height:50px; min-height:50px; margin-top:14px; }
.wc-blocks-components-select .wc-blocks-components-select__container { margin-top:0 !important; border-radius:10px; background:#fff; }
.wc-blocks-components-select .wc-blocks-components-select__select { box-sizing:border-box; height:50px !important; min-height:50px !important; padding:16px 2.6rem 0 12px !important; border:1px solid var(--inxo-line) !important; border-radius:10px !important; background-color:#fff !important; font:300 1rem/1.5 var(--inxo-body); color:var(--inxo-text); cursor:pointer; }
.wc-blocks-components-select .wc-blocks-components-select__label { left:12px; top:6px; font-size:12px; line-height:1.2; color:var(--inxo-muted); }
.wc-blocks-components-select .wc-blocks-components-select__expand { right:12px; top:50%; margin-top:-12px; }
.wc-blocks-components-select .wc-blocks-components-select__select:focus { border-color:var(--inxo-field-focus) !important; outline:none !important; box-shadow:none !important; }

/* Checkbox: white tick on the red box; label text centred with the box */
.wc-block-components-checkbox .wc-block-components-checkbox__mark, .wc-block-components-checkbox .wc-block-components-checkbox__mark path { fill:#fff !important; color:#fff !important; }
.wc-block-components-checkbox label { display:inline-flex !important; align-items:center; gap:.65rem; }
.wc-block-components-checkbox .wc-block-components-checkbox__label { position:relative; top:2px; line-height:20px; }

/* Selected shipping / payment option: soft grey instead of the red tint */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-checked { background:#f3f3f5 !important; border-color:var(--inxo-field-focus) !important; }
/* WooCommerce draws the selected border again with a pseudo-element: that was the extra rounded line under the shipping option */
.wc-block-components-radio-control--highlight-checked::after, .wc-block-components-radio-control--highlight-checked::before { display:none !important; content:none !important; }

/* Payment methods: one clean card per method (grey line, rounded), the open one grey with a darker line; no black frame */
.wc-block-components-radio-control-accordion-option { position:relative; margin:0 0 .6rem; border:1px solid var(--inxo-line) !important; border-radius:12px !important; background:#fff; box-shadow:none !important; outline:none !important; overflow:hidden; }
.wc-block-components-radio-control-accordion-option--checked-option-highlighted { background:#f3f3f5; border-color:var(--inxo-field-focus) !important; }
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option-checked { margin:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.wc-block-components-radio-control-accordion-option::after, .wc-block-components-radio-control-accordion-option::before { display:none !important; content:none !important; }
.wc-block-components-radio-control-accordion-content { padding:0 1.1rem 1rem 3rem; border:0 !important; }

/* Order summary title = the Cart Totals title */
.wc-block-components-checkout-order-summary__title-text { font:700 .85rem/1.5 var(--inxo-head) !important; color:#111 !important; letter-spacing:-.1px !important; text-transform:uppercase; }
/* the country / state wrappers already carry the 14px top gap */
.wc-block-components-country-input .wc-blocks-components-select, .wc-block-components-state-input .wc-blocks-components-select { margin-top:0 !important; }

/* ---- Checkout round 3 ---- */
/* the first field of a step sits as close to its title as an address card does */
.wc-block-components-title.wc-block-components-title, .wc-block-checkout__form h2.wc-block-components-title { margin-bottom:.55rem !important; }
.wc-block-components-address-form:not(.wc-block-components-address-form .wc-block-components-address-form) { margin-top:-14px; } /* the first field of contact / shipping / billing: cancel its own 14px top gap */

/* light-grey border for every field; dark grey only while focused (filled fields no longer look "active") */
.wc-block-components-text-input input, .wc-block-components-text-input.is-active input, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea { border-color:var(--inxo-line) !important; }
.wc-block-components-text-input input:focus, .wc-block-components-textarea:focus { border-color:var(--inxo-field-focus) !important; }

/* tick a little higher */
.wc-block-components-checkbox .wc-block-components-checkbox__mark { transform:translateY(-1.5px); }

/* ---- Country / state dropdown: same look as the milestones filter, with a search box ---- */
.wc-blocks-components-select .wc-blocks-components-select__container { position:relative; }
html body .wc-block-checkout .wc-blocks-components-select__select.inxo-dd-native { position:absolute !important; left:0; top:0; width:1px !important; height:1px !important; min-height:0 !important; padding:0 !important; margin:0 !important; border:0 !important; opacity:0 !important; overflow:hidden; clip-path:inset(50%); pointer-events:none; }
.wc-blocks-components-select .wc-blocks-components-select__label, .wc-blocks-components-select .wc-blocks-components-select__expand { pointer-events:none; z-index:2; }
.inxo-dd-trigger { display:block; width:100%; height:50px; box-sizing:border-box; margin:0; padding:20px 2.6rem 0 12px; border:1px solid var(--inxo-line); border-radius:10px; background:#fff; color:var(--inxo-text); font:300 1rem/1.5 var(--inxo-body); text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; transition:border-color .15s; }
.inxo-dd-trigger:hover { border-color:#b9b9c0; }
.inxo-dd-trigger:focus { outline:none; }
.is-open .inxo-dd-trigger, .inxo-dd-trigger:focus-visible { border-color:var(--inxo-field-focus); }
.inxo-dd-trigger:disabled { opacity:.6; cursor:not-allowed; }
.is-open .wc-blocks-components-select__expand { transform:rotate(180deg); }
.inxo-dd-panel { position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:60; overflow:hidden; border:1px solid var(--inxo-field-focus); border-radius:12px; background:#fff; box-shadow:0 14px 34px rgba(0, 0, 0, .16); }
.inxo-dd-panel[hidden] { display:none; }
body .inxo-dd-search { display:block; width:100%; box-sizing:border-box; height:46px; margin:0; padding:0 1rem; border:0; border-bottom:1px solid #ececef; border-radius:0; background:#fafafb; color:var(--inxo-text); font:300 1rem/1.5 var(--inxo-body); outline:none; box-shadow:none; }
.inxo-dd-list { max-height:260px; margin:0; padding:.3rem 0; overflow-y:auto; list-style:none; }
.inxo-dd-list li { margin:0; padding:.6rem 1rem .5rem; color:var(--inxo-text); font:300 1rem/1.5 var(--inxo-body); cursor:pointer; }
.inxo-dd-list li.is-selected { font-weight:600; }
.inxo-dd-list li.is-active { background:var(--inxo-red); color:#fff; }
.inxo-dd-list li.is-empty { color:var(--inxo-muted); cursor:default; }

/* order summary title starts at the same left edge as the product pictures below it */
.wc-block-components-checkout-order-summary__title, .wc-block-components-checkout-order-summary__title-text { padding-left:0 !important; margin-left:0 !important; }

/* bank transfer details: the saved text has one detail per line */
.wc-block-components-radio-control-accordion-content { white-space:pre-line; }

/* Empty cart: just the message and the "Return to shop" button - no dotted divider and no "New in store" products */
.wp-block-woocommerce-empty-cart-block > :not(.wc-block-cart__empty-cart__title):not(.wp-block-buttons) { display:none !important; }

/* ================= Pay for order: same page as Checkout (woocommerce/checkout/form-pay.php) ================= */
/* WooCommerce's classic "#payment" box (grey panel, list borders, arrow on the description) is not wanted: the cards above are the checkout's */
.inxo-pay #payment { margin:0; padding:0; border:0; border-radius:0; background:none; }
.inxo-pay #payment .wc_payment_methods { margin:0; padding:0; border:0; }
.inxo-pay #payment div.payment_box { margin:0; padding:0 1.1rem 1rem 3rem; background:transparent; color:inherit; font-size:inherit; white-space:normal; }
.inxo-pay #payment div.payment_box::before, .inxo-pay #payment div.payment_box::after { display:none; }
.inxo-pay #payment div.payment_box p { margin:0 0 .6rem; }
.inxo-pay #payment div.payment_box p:last-child { margin-bottom:0; }
/* the selected card (the checkout block adds a class when selected; here the browser knows which radio is on) */
.inxo-pay .wc-block-components-radio-control-accordion-option:has(> label > input:checked) { background:#f3f3f5; border-color:var(--inxo-field-focus) !important; }
.inxo-pay .wc-block-components-radio-control__label img { display:inline-block; width:auto; max-height:24px; margin:0 0 0 .5rem; vertical-align:middle; }
.inxo-pay .wc-block-components-radio-control-accordion-option > label { cursor:pointer; }
/* terms + the Pay button */
.inxo-pay .wc-block-checkout__terms { margin:1.2rem 0; color:var(--inxo-muted); font-size:.92rem; }
.inxo-pay .wc-block-checkout__terms :is(p, .woocommerce-terms-and-conditions-wrapper) { margin:0 0 .6rem; }
.inxo-pay .wc-block-checkout__actions { margin-bottom:36px; }
.inxo-pay .wc-block-checkout__actions_row { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
.inxo-pay #place_order { float:none; width:100%; margin:0; }
/* narrow screens: the summary folds up under its title, as in the checkout */
.inxo-pay .wc-block-components-checkout-order-summary__title-icon svg { fill:currentColor; transition:transform .15s; }
.inxo-pay .wc-block-components-checkout-order-summary__title.is-open .wc-block-components-checkout-order-summary__title-icon svg { transform:rotate(180deg); }
.inxo-pay .wc-block-components-checkout-order-summary__title:focus-visible { outline:2px solid #4a4a4f; outline-offset:2px; }

/* Pay for order: read-only contact / address cards (same card as a saved address in the checkout) */
.inxo-pay .wc-block-components-address-card { box-sizing:border-box; padding:1rem 1.1rem; background:#fff; border:1px solid var(--inxo-line); border-radius:12px; font-size:.95rem; line-height:1.5; color:var(--inxo-text); }
.inxo-pay .wc-block-components-checkout-step { margin-bottom:1.6rem; }
.inxo-pay .wc-block-components-checkout-step:last-of-type { margin-bottom:0; }

/* Pay for order: totals sit on the same left / right edge as the product picture and price above them (WooCommerce pads each totals row by 16px) */
.inxo-pay .wc-block-components-sidebar .wc-block-components-totals-item { padding-left:0; padding-right:0; }
/* Pay for order: with a single payment method WooCommerce's checkout script hides the radio, which left an empty gap in front of the text. The block checkout always shows it, so keep it visible. */
.inxo-pay .wc-block-components-radio-control .wc-block-components-radio-control__input { display:inline-block !important; }
/* label and description the same size (the classic box would otherwise be bigger than the label) */
.inxo-pay .wc-block-components-radio-control-accordion-option { font-size:.95rem; line-height:1.5; }
.inxo-pay .wc-block-components-radio-control__label, .inxo-pay #payment div.payment_box { font-size:inherit; line-height:inherit; }

/* ================= Shipping options + payment options: the same cards as the donation form's Payment step =================
   white card, light grey line, 10px corners; the chosen one gets a black line; red radio; the description (e.g. bank details) in a soft grey box. */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option:not(#inxo-x),
.wc-block-components-radio-control-accordion-option:not(#inxo-x) { background:#fff !important; border:1px solid #dcdcdc !important; border-radius:10px !important; box-shadow:none !important; transition:border-color .2s, box-shadow .2s; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-checked:not(#inxo-x),
.wc-block-components-radio-control-accordion-option--checked-option-highlighted:not(#inxo-x),
.inxo-pay .wc-block-components-radio-control-accordion-option:has(> label > input:checked):not(#inxo-x),
.wc-block-components-radio-control-accordion-option:has(input[type="radio"]:checked):not(#inxo-x) { background:#fff !important; border-color:#000 !important; box-shadow:0 0 0 1px #000 !important; }
/* the inner label row of a payment card draws nothing of its own (the black frame belongs to the whole card, not to the label row) */
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option:not(#inxo-x), .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option-checked:not(#inxo-x) { background:transparent !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; }
.wc-block-components-radio-control__label { color:#222; font-weight:500; }
.wc-block-components-radio-control__input[type="radio"]:checked { background:var(--inxo-red) !important; border-color:var(--inxo-red) !important; }
.wc-block-components-radio-control__input[type="radio"]:checked::before { background:#fff !important; width:8px !important; height:8px !important; }
.wc-block-components-radio-control__description, .wc-block-components-radio-control__secondary-label { color:#666; }
/* description / bank details */
.wc-block-components-radio-control-accordion-content:not(#inxo-x), .inxo-pay #payment div.payment_box:not(#inxo-x) { margin:.2rem 1.1rem 1.1rem !important; padding:.9rem 1.05rem !important; background:#f6f6f6 !important; border-radius:8px; color:#666; font-size:.92rem; line-height:1.5; }
.wc-block-components-radio-control-accordion-content:empty, .inxo-pay #payment div.payment_box:empty { display:none !important; }
.wc-block-components-radio-control-accordion-content p, .inxo-pay #payment div.payment_box p { margin:0; color:inherit; }
.wc-block-components-radio-control-accordion-content strong { color:#222; font-weight:600; }
