/* Design M · cart page, mini-cart flyout and checkout (inc/cart.php, woocommerce-m/). */

body.xr-m {
	--xc-delft: #1F4E9C; --xc-delft-2: #163B78; --xc-yellow: #FFD23F; --xc-yellow-2: #FFC613;
	--xc-card: #fff; --xc-muted: #5B6475; --xc-line: var(--xr-line, #EDE5D0); --xc-ok: #1E7B4F;
	--xc-sticky: 108px;
}
body.xr-m .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shared buttons */
.xr-btn-pay, body.xr-m .xr-sum-go .checkout-button, body.xr-m form.xr-co #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
	background: var(--xc-yellow-2) !important; color: var(--xr-ink, #1D2330) !important; border: 0 !important; border-radius: 999px !important;
	padding: 16px 24px !important; font: 800 17px/1.2 var(--xr-head-font) !important; text-decoration: none !important; cursor: pointer;
	box-shadow: 0 6px 16px rgba(255, 198, 19, .35); transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; text-transform: none !important; letter-spacing: 0 !important;
}
.xr-btn-pay:hover, body.xr-m .xr-sum-go .checkout-button:hover, body.xr-m form.xr-co #place_order:hover { filter: brightness(.97); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 198, 19, .45); }
.xr-btn-pay:focus-visible, .xr-btn-line:focus-visible, body.xr-m form.xr-co #place_order:focus-visible { outline: 3px solid var(--xc-delft); outline-offset: 3px; }
.xr-btn-line { display: inline-flex; align-items: center; justify-content: center; width: 100%; border: 1.5px solid var(--xc-delft); color: var(--xc-delft) !important; background: #fff; border-radius: 999px; padding: 13px 20px; font: 700 15px/1.2 var(--xr-head-font); text-decoration: none !important; }
.xr-btn-line:hover { background: #EEF3FB; }

/* Site tile: first letter of the domain, or a parcel for packages */
.xr-ci-tile { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #EAF0FA; color: var(--xc-delft); font: 800 19px/1 var(--xr-head-font); }
.xr-ci-tile.is-pack { background: #FFF3C4; color: #7A5A00; }
.xr-ci-title { font: 800 16px/1.3 var(--xr-head-font); color: var(--xr-ink, #1D2330) !important; text-decoration: none !important; word-break: break-word; }
a.xr-ci-title:hover { color: var(--xc-delft) !important; text-decoration: underline !important; }
.xr-ci-label { display: block; color: var(--xc-muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.xr-ci-badges, .xr-ci-opts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.xr-ci-badges li { font-size: 12px; line-height: 1; padding: 5px 8px; border-radius: 999px; background: #F4F1E8; color: var(--xr-ink-2, #3E4656); white-space: nowrap; }
.xr-ci-badges li span { color: var(--xc-muted); font-weight: 600; }
.xr-ci-badges li b { font-weight: 700; }
.xr-ci-opts li { font-size: 12.5px; line-height: 1.3; padding: 5px 9px; border-radius: 8px; background: #EEF3FB; color: var(--xc-delft-2); max-width: 100%; overflow-wrap: anywhere; }
.xr-ci-opts li span { font-weight: 700; }
.xr-ci-opts li span::after { content: ':'; }

/* Totals (cart and checkout) */
.xr-sum-h { font: 800 20px/1.2 var(--xr-head-font) !important; margin: 0 0 14px !important; color: var(--xr-ink, #1D2330); display: block !important; }
body.xr-m table.xr-totals { width: 100%; border: 0 !important; border-collapse: collapse; background: transparent !important; margin: 0; font-size: 15px; border-radius: 0 !important; }
body.xr-m table.xr-totals tr { background: transparent !important; border: 0 !important; }
body.xr-m table.xr-totals th, body.xr-m table.xr-totals td { background: transparent !important; padding: 7px 0 !important; border: 0 !important; vertical-align: top; color: var(--xr-ink-2, #3E4656); font-weight: 500; }
body.xr-m table.xr-totals th { text-align: left; font-weight: 600; padding-right: 12px !important; }
body.xr-m table.xr-totals td { text-align: right !important; white-space: nowrap; color: var(--xr-ink, #1D2330); font-variant-numeric: tabular-nums; }
body.xr-m table.xr-totals th small { color: var(--xc-muted); font-weight: 500; font-size: 12.5px; }
body.xr-m table.xr-totals .fee th span { display: block; }
.xr-fee-why { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--xc-muted); margin-top: 2px; white-space: normal; }
.xr-fee-why a { color: var(--xc-delft) !important; text-decoration: underline; }
body.xr-m table.xr-totals .cart-discount td, body.xr-m table.xr-totals .cart-discount td .amount { color: var(--xc-ok); }
body.xr-m table.xr-totals .woocommerce-remove-coupon { display: block; font-size: 12px; color: var(--xc-muted) !important; }
.xr-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: #F4F1E8; padding: 2px 6px; border-radius: 6px; }
body.xr-m table.xr-totals tr.order-total th, body.xr-m table.xr-totals tr.order-total td { border-top: 1px solid var(--xc-line) !important; padding-top: 14px !important; color: var(--xr-ink, #1D2330); }
body.xr-m table.xr-totals tr.order-total th { font: 800 18px/1.2 var(--xr-head-font); }
body.xr-m table.xr-totals tr.order-total th small { display: block; font: 500 12.5px/1.4 Inter, system-ui, sans-serif; color: var(--xc-muted); }
body.xr-m table.xr-totals tr.order-total td strong { font: 800 24px/1.1 var(--xr-head-font); }
body.xr-m table.xr-totals tr.order-total td .includes_tax { display: none; }
body.xr-m table.xr-totals tr.xt-pts-row th, body.xr-m table.xr-totals tr.xt-pts-row td, body.xr-m table.xr-totals tr.xt-plus-row th, body.xr-m table.xr-totals tr.xt-plus-row td { font-size: 12.5px; color: var(--xc-muted); white-space: normal; font-weight: 500; }
body.xr-m table.xr-totals tr.xt-pts-row th, body.xr-m table.xr-totals tr.xt-plus-row th { white-space: nowrap; }
body.xr-m table.xr-totals tr.xt-pts-row:first-of-type th, body.xr-m table.xr-totals tr.order-total + tr th, body.xr-m table.xr-totals tr.order-total + tr td { padding-top: 12px !important; }

/* Voucher, out of the way until asked for */
.xr-coupon { margin: 14px 0 0; border-top: 1px dashed var(--xc-line); padding-top: 12px; }
.xr-coupon summary { cursor: pointer; list-style: none; color: var(--xc-delft); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.xr-coupon summary::-webkit-details-marker { display: none; }
.xr-coupon summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.xr-coupon[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.xr-coupon summary:focus-visible { outline: 3px solid var(--xr-soft, #FFF1C2); border-radius: 6px; }
.xr-coupon-row { display: flex; gap: 8px; margin-top: 10px; }
body.xr-m .xr-coupon-row input.input-text { flex: 1 1 auto; min-width: 0; padding: 10px 12px !important; margin: 0 !important; height: auto; text-transform: uppercase; }
body.xr-m .xr-coupon .xr-coupon-btn { flex: 0 0 auto; width: auto !important; background: var(--xc-delft) !important; color: #fff !important; border: 0 !important; border-radius: 12px !important; padding: 10px 18px !important; font-weight: 700 !important; font-size: 14.5px !important; margin: 0 !important; box-shadow: none !important; }
body.xr-m .xr-coupon .xr-coupon-btn:hover { background: var(--xc-delft-2) !important; }
body.xr-m .xr-coupon .xr-coupon-btn[disabled] { opacity: .6; }
.xr-coupon-msg { margin: 8px 0 0; font-size: 13px; color: var(--xc-ok); }
.xr-coupon-msg:empty { display: none; }
.xr-coupon-msg.is-error { color: #B42318; }

/* Payment marks and promises */
.xr-trust { margin-top: 16px; display: grid; gap: 10px; }
.xr-trust-marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.xr-pm { font: 700 11.5px/1 Inter, system-ui, sans-serif; letter-spacing: .01em; padding: 6px 8px; border: 1px solid var(--xc-line); border-radius: 6px; background: #fff; color: var(--xr-ink-2, #3E4656); }
.xr-pm-ideal { color: #CC0066; }
.xr-pm-visa { color: #1A1F71; font-style: italic; }
.xr-pm-mastercard { color: #C2410C; }
.xr-pm-paypal { color: #003087; font-style: italic; }
.xr-trust-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.xr-trust-lines li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--xr-ink-2, #3E4656); font-weight: 600; }
.xr-trust-lines svg { color: var(--xc-ok); flex: 0 0 auto; }
.xr-trust.is-compact { justify-items: center; text-align: center; }
.xr-trust.is-compact .xr-trust-marks, .xr-trust.is-compact .xr-trust-lines { justify-content: center; }
.xr-trust.is-compact .xr-trust-lines { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ================= Cart page ================= */
body.xr-m.woocommerce-cart .section__header .title { margin-bottom: 8px; }
body.xr-m .xr-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; margin: 8px 0 56px; }
.xr-cart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.xr-cart-h { font: 800 18px/1.2 var(--xr-head-font) !important; margin: 0 !important; color: var(--xc-muted) !important; }
.xr-cart-more { color: var(--xc-delft) !important; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.xr-cart-more::before { content: '+ '; }
.xr-cart-more:hover { text-decoration: underline; }
body.xr-m .xr-cart-list { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 12px; border: 0 !important; background: transparent !important; }
body.xr-m .xr-cart-list .xr-ci { display: flex; gap: 16px; align-items: flex-start; background: var(--xc-card); border: 1px solid var(--xc-line); border-radius: 18px; padding: 18px 20px; transition: opacity .2s; }
.xr-ci-main { flex: 1 1 auto; min-width: 0; }
.xr-ci-name { display: block; }
.xr-ci-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.xr-ci-price { font: 800 18px/1.2 var(--xr-head-font); color: var(--xr-ink, #1D2330); font-variant-numeric: tabular-nums; }
.xr-ci-price small { display: block; font: 500 12.5px/1.4 Inter, system-ui, sans-serif; color: var(--xc-muted); }
body.xr-m .xr-cart .product-remove a.remove, body.xr-m .xr-cart a.xr-ci-rm { display: inline-flex !important; align-items: center; gap: 5px; width: auto !important; height: auto !important; font-size: 13px !important; font-weight: 600; color: var(--xc-muted) !important; background: none !important; text-decoration: none; line-height: 1.2 !important; padding: 4px 6px; margin: -4px -6px; border-radius: 8px; }
body.xr-m .xr-cart .product-remove a.remove:hover { color: #B42318 !important; background: #FDECEC !important; }
body.xr-m .xr-cart-actions { display: none; }
body.xr-m .xr-cart-side { position: sticky; top: var(--xc-sticky); }
body.xr-m .xr-cart-side .cart-collaterals { width: 100%; float: none; background: none !important; padding: 0 !important; margin: 0 !important; }
body.xr-m .xr-cart-side .cart_totals { width: 100% !important; float: none !important; background: var(--xc-card) !important; border: 1px solid var(--xc-line); border-radius: 22px !important; padding: 24px !important; box-shadow: 0 18px 40px rgba(29, 35, 48, .06); }
body.xr-m .xr-cart-side .cart_totals > h2:not(.xr-sum-h) { display: none; }
body.xr-m .xr-sum-go { margin-top: 18px; padding: 0 !important; }
body.xr-m .xr-sum-go .checkout-button { margin: 0 !important; }
body.xr-m .xr-sum-go .checkout-button::after { content: '→'; font-weight: 800; }
body.xr-m .woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
body.xr-m .blockUI.blockOverlay { border-radius: 18px; }

/* Empty cart */
.xr-cart-empty { max-width: 620px; margin: 8px auto 48px; background: var(--xc-card); border: 1px solid var(--xc-line); border-radius: 20px; padding: 28px; box-shadow: 0 1px 2px rgba(22, 59, 120, .04); }
.xr-ce-head { display: flex; gap: 16px; align-items: flex-start; }
.xr-cart-empty-ico { flex: 0 0 auto; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #EAF0FA; color: var(--xc-delft); }
.xr-cart-empty h2 { font: 800 22px/1.25 var(--xr-head-font) !important; margin: 2px 0 4px !important; color: var(--xr-ink, #1D2330); }
.xr-cart-empty p { color: var(--xc-muted); margin: 0; font-size: 15px; line-height: 1.5; }
.xr-cart-empty-go { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0 !important; }
.xr-cart-empty-go a { width: 100%; min-width: 0; }
.xr-cart-empty-go .xr-btn-pay { padding: 13px 18px !important; font-size: 15.5px !important; box-shadow: 0 4px 12px rgba(255, 198, 19, .3); }
.xr-cart-empty-go .xr-btn-line { padding: 11.5px 18px; }
.xr-ce-quick { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--xc-line); }
.xr-ce-quick-h { font: 700 12px/1 var(--xr-head-font); text-transform: uppercase; letter-spacing: .06em; color: var(--xc-muted) !important; margin: 0 0 10px !important; }
.xr-ce-quick ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xr-ce-quick a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #F6F3EA; color: var(--xr-ink-2, #3E4656) !important; font: 600 13.5px/1 var(--xr-body-font, inherit); text-decoration: none !important; transition: background .12s ease; }
.xr-ce-quick a:hover { background: #EAF0FA; color: var(--xc-delft) !important; }
.xr-ce-quick img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }

/* ================= Mini-cart (the header basket itself is styled in site-m2.css) ================= */
body.xr-m .site-header-cart a.cart-contents[aria-expanded="true"] { background: var(--xr-paper-2, #FFF6DA); }
body.xr-m .site-header-cart a.cart-contents:focus-visible { outline: 3px solid var(--xc-delft); outline-offset: 2px; }

.xr-mc[hidden] { display: none !important; }
.xr-mc { position: fixed; inset: 0; z-index: 9990; }
.xr-mc-scrim { position: absolute; inset: 0; background: rgba(22, 59, 120, .18); opacity: 0; transition: opacity .18s; }
.xr-mc.is-open .xr-mc-scrim { opacity: 1; }
.xr-mc.is-brief { pointer-events: none; }
.xr-mc.is-brief .xr-mc-scrim { display: none; }
.xr-mc.is-brief .xr-mc-panel { pointer-events: auto; }
.xr-mc-panel { position: fixed; top: 84px; right: 24px; width: 400px; max-height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--xc-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(22, 59, 120, .22); opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s; outline: none; overflow: hidden; }
.xr-mc.is-open .xr-mc-panel { opacity: 1; transform: none; }
.xr-mc-body { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.xr-mc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; border-bottom: 1px solid var(--xc-line); }
.xr-mc-title { font: 800 18px/1.2 var(--xr-head-font) !important; margin: 0 !important; color: var(--xr-ink, #1D2330); }
.xr-mc-n { color: var(--xc-muted); font-weight: 600; }
body.xr-m .xr-mc-x { all: unset; box-sizing: border-box; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--xr-ink-2, #3E4656); }
body.xr-m .xr-mc-x:hover { background: #F4F1E8; }
body.xr-m .xr-mc-x:focus-visible { outline: 3px solid var(--xc-delft); }
.xr-mc-list { list-style: none; margin: 0; padding: 6px 18px; overflow: auto; flex: 1 1 auto; min-height: 0; }
.xr-mc-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F2EDE0; transition: opacity .2s; }
.xr-mc-item:last-child { border-bottom: 0; }
.xr-mc-item.is-removing { opacity: .4; pointer-events: none; }
.xr-mc-item .xr-ci-tile { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
.xr-mc-main { flex: 1 1 auto; min-width: 0; }
.xr-mc-main .xr-ci-title { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xr-mc-main .xr-ci-label { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xr-mc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.xr-mc-price { font: 800 14.5px/1.2 var(--xr-head-font); white-space: nowrap; font-variant-numeric: tabular-nums; }
.xr-mc-price i { font-style: normal; color: var(--xc-muted); font-weight: 600; }
.xr-mc-rm { font-size: 12.5px; color: var(--xc-muted) !important; text-decoration: underline; text-underline-offset: 2px; }
.xr-mc-rm:hover { color: #B42318 !important; }
.xr-mc-foot { padding: 14px 18px 18px; border-top: 1px solid var(--xc-line); background: #FFFDF8; }
.xr-mc-sub { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.xr-mc-sub b { font: 800 19px/1 var(--xr-head-font); }
.xr-mc-note { margin: 4px 0 12px; font-size: 12.5px; color: var(--xc-muted); }
.xr-mc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xr-mc-btns .xr-btn-pay { padding: 13px 16px !important; font-size: 15px !important; box-shadow: none; }
.xr-mc-empty { padding: 28px 18px 22px; text-align: center; }
.xr-mc-empty p { margin: 0 0 14px; color: var(--xc-muted); }
html.xr-mc-lock, html.xr-mc-lock body { overflow: hidden; }

@media (max-width: 699px) {
	.xr-mc-panel { top: auto !important; right: 0 !important; left: 0; bottom: 0; width: auto; max-height: 82vh; border-radius: 22px 22px 0 0; transform: translateY(24px); padding-bottom: env(safe-area-inset-bottom); }
	.xr-mc-head::before { content: ''; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #E3DCCB; }
	.xr-mc-head { position: relative; padding-top: 20px; }
}

/* ================= Checkout ================= */
body.xr-m.woocommerce-checkout .section__header .title { margin-bottom: 4px; }
body.xr-m form.xr-co { counter-reset: xrsec; margin: 8px 0 56px; }
body.xr-m form.xr-co::after { display: none; }
body.xr-m .xr-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: start; }
body.xr-m .xr-co .customer_details_wrapper { float: none !important; width: auto !important; padding: 0 !important; }
body.xr-m .xr-co-details { display: grid; gap: 16px; }
body.xr-m .xr-co-main { display: grid; gap: 16px; min-width: 0; }
body.xr-m .xr-co-sec { background: var(--xc-card); border: 1px solid var(--xc-line); border-radius: 20px; padding: 24px 24px 26px; }
body.xr-m .xr-co-sec.is-empty { display: none; }
body.xr-m .xr-co .woocommerce-billing-fields { display: grid; gap: 16px; }
body.xr-m .xr-co .woocommerce-shipping-fields:empty { display: none; }
body.xr-m .xr-co h2.xr-co-h { counter-increment: xrsec; display: flex !important; align-items: center; gap: 12px; font: 800 20px/1.2 var(--xr-head-font) !important; margin: 0 0 18px !important; color: var(--xr-ink, #1D2330); }
body.xr-m .xr-co h2.xr-co-h::before { content: counter(xrsec); flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--xc-delft); color: #fff; display: grid; place-items: center; font: 800 14px/1 var(--xr-head-font); }
.xr-co-intro { margin: -10px 0 16px 42px; color: var(--xc-muted); font-size: 14.5px; }

/* Fields: labels above, two columns where it makes sense */
body.xr-m .xr-co .xr-co-fields { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
body.xr-m .xr-co .xr-co-fields > * { grid-column: 1 / -1; }
@media (min-width: 600px) {
	body.xr-m .xr-co .xr-co-fields > #billing_first_name_field, body.xr-m .xr-co .xr-co-fields > #billing_email_field, body.xr-m .xr-co .xr-co-fields > #billing_postcode_field { grid-column: 1; }
	body.xr-m .xr-co .xr-co-fields > #billing_last_name_field, body.xr-m .xr-co .xr-co-fields > #billing_phone_field, body.xr-m .xr-co .xr-co-fields > #billing_city_field { grid-column: 2; }
}
body.xr-m .xr-co .form-row.form-row { width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; position: relative; }
body.xr-m .xr-co .form-row.form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { position: static !important; opacity: 1 !important; transform: none !important; pointer-events: auto !important; display: block !important; font: 600 14px/1.3 Inter, system-ui, sans-serif !important; color: var(--xr-ink, #1D2330) !important; margin: 0 0 6px !important; left: auto; top: auto; overflow: visible; }
body.xr-m .xr-co .form-row.form-row label .required { color: #B42318; text-decoration: none; border: 0; }
body.xr-m .xr-co .form-row.form-row label abbr { display: inline !important; }
body.xr-m .xr-co .form-row.form-row label .optional { color: var(--xc-muted); font-weight: 500; }
body.xr-m .xr-co .form-row.form-row input.input-text, body.xr-m .xr-co .form-row.form-row textarea, body.xr-m .xr-co .form-row.form-row select { width: 100% !important; padding: 12px 14px !important; min-height: 48px; font-size: 16px !important; line-height: 1.3; border-radius: 12px !important; }
body.xr-m .xr-co .form-row.form-row textarea { min-height: 96px; }
body.xr-m .xr-co .form-row.form-row input.input-text::placeholder { color: #9AA1AE; }
body.xr-m .xr-co .form-row .description { display: block !important; position: static !important; margin: 6px 0 0; padding: 0; background: none !important; color: var(--xc-muted); font-size: 13px; line-height: 1.4; border: 0; box-shadow: none; }
body.xr-m .xr-co .form-row .description::before { display: none; }
body.xr-m .xr-co .form-row.woocommerce-invalid input.input-text, body.xr-m .xr-co .form-row.woocommerce-invalid select { border-color: #D92D20 !important; }
body.xr-m .xr-co .form-row .checkout-inline-error-message { color: #B42318; font-size: 13px; margin: 6px 0 0; }
body.xr-m .xr-co select, body.xr-m .xr-co .select2-container .select2-selection--single { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D2330' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center !important; padding-right: 40px !important; }
body.xr-m .xr-co .select2-container { width: 100% !important; }
body.xr-m .xr-co .select2-container .select2-selection--single { height: 48px !important; border: 1px solid var(--xr-line-strong, #D9CFB5) !important; border-radius: 12px !important; overflow: hidden; }
body.xr-m .xr-co .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px !important; margin: 0 !important; padding: 0 0 0 14px !important; color: var(--xr-ink, #1D2330); font-size: 16px; }
body.xr-m .xr-co .select2-container .select2-selection__arrow { display: none; }
body.xr-m .xr-co .select2-container--focus .select2-selection--single, body.xr-m .xr-co .select2-container--open .select2-selection--single { border-color: var(--xr-navy, #163B78) !important; outline: 3px solid var(--xr-soft, #FFF1C2); }
body.xr-m .select2-dropdown { border-color: var(--xr-line-strong, #D9CFB5); border-radius: 12px; overflow: hidden; }
body.xr-m .select2-results__option--highlighted[aria-selected], body.xr-m .select2-results__option--highlighted[data-selected] { background: var(--xc-delft) !important; }

/* Notices at the top of the form */
body.xr-m .xr-co .woocommerce-NoticeGroup, body.xr-m .xr-co-main > .woocommerce-error, body.xr-m .xr-co-main > .woocommerce-message, body.xr-m .xr-co-main > .woocommerce-info { margin: 0 !important; }
body.xr-m .xr-co .woocommerce-error { background: #FEF3F2 !important; color: #912018 !important; border: 1px solid #FECDCA !important; border-radius: 14px; padding: 14px 18px 14px 44px !important; list-style: none; }

/* Payment */
body.xr-m .xr-co #payment { background: transparent !important; border-radius: 0; padding: 0 !important; margin: 0 !important; }
body.xr-m .xr-co #payment ul.payment_methods { list-style: none; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; display: grid; gap: 10px; background: transparent !important; }
body.xr-m .xr-co #payment ul.payment_methods > li { position: relative; margin: 0 !important; border: 1.5px solid var(--xc-line); border-radius: 14px; padding: 0 !important; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
body.xr-m .xr-co #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--xc-delft); box-shadow: 0 0 0 3px #EAF0FA; }
body.xr-m .xr-co #payment ul.payment_methods > li > input[type=radio] { position: absolute; top: 17px; left: 16px; margin: 0 !important; z-index: 1; accent-color: var(--xc-delft); width: 18px; height: 18px; }
body.xr-m .xr-co #payment ul.payment_methods > li > label { display: flex !important; align-items: center; gap: 10px; justify-content: space-between; padding: 15px 16px 15px 46px !important; margin: 0 !important; cursor: pointer; font: 700 15.5px/1.3 Inter, system-ui, sans-serif !important; color: var(--xr-ink, #1D2330); position: static !important; opacity: 1 !important; }
body.xr-m .xr-co #payment ul.payment_methods > li > label img { max-height: 24px; width: auto; margin: 0 !important; float: none !important; }
body.xr-m .xr-co #payment .payment_box { background: #F8F6EF !important; margin: 0 !important; padding: 12px 16px 14px 46px !important; border-radius: 0; font-size: 14px; color: var(--xr-ink-2, #3E4656); }
body.xr-m .xr-co #payment .payment_box::before { display: none !important; }
body.xr-m .xr-co #payment .payment_box p:last-child { margin-bottom: 0; }
body.xr-m .xr-co #payment .place-order { padding: 0 !important; margin: 0 !important; background: transparent !important; display: grid; gap: 12px; }
body.xr-m .xr-co #payment .woocommerce-terms-and-conditions-wrapper { display: block !important; font-size: 13px; color: var(--xc-muted); }
body.xr-m .xr-co #payment .woocommerce-privacy-policy-text p { margin: 0; }
body.xr-m .xr-co #payment .woocommerce-privacy-policy-text a { color: var(--xc-delft); }
body.xr-m form.xr-co #place_order { float: none !important; margin: 0 !important; font-size: 18px !important; padding: 18px 24px !important; }
body.xr-m form.xr-co #place_order::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='4' y='9' width='12' height='9' rx='2'/%3E%3Cpath d='M7 9V6.5a3 3 0 0 1 6 0V9' fill='none' stroke='%23000' stroke-width='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 20 20'%3E%3Crect x='4' y='9' width='12' height='9' rx='2'/%3E%3Cpath d='M7 9V6.5a3 3 0 0 1 6 0V9' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
body.xr-m .xr-co #payment .woocommerce-info { background: #FFF6DA !important; border-radius: 12px; }

/* Order summary */
body.xr-m .xr-co-side { position: sticky; top: var(--xc-sticky); min-width: 0; }
body.xr-m .xr-co-sticky { background: var(--xc-card); border: 1px solid var(--xc-line); border-radius: 22px; padding: 24px; box-shadow: 0 18px 40px rgba(29, 35, 48, .06); }
body.xr-m .xr-co #order_review { background: transparent !important; border-radius: 0; padding: 0; float: none; width: auto; }
body.xr-m .xr-co .xr-sum { display: block; width: 100%; font-size: 15px; border: 0 !important; background: transparent !important; }
body.xr-m .xr-co table.xr-sum-hooks { width: 100%; border: 0 !important; margin: 0; background: transparent !important; }
body.xr-m .xr-co table.xr-sum-hooks:empty, body.xr-m .xr-co table.xr-sum-hooks:not(:has(tr)) { display: none; }
.xr-sum-list { list-style: none; margin: 0 0 12px !important; padding: 0 0 4px !important; border-bottom: 1px solid var(--xc-line); max-height: 46vh; overflow: auto; }
.xr-sum-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.xr-sum-item + .xr-sum-item { border-top: 1px solid #F2EDE0; }
.xr-sum-item .xr-ci-tile { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
.xr-sum-main { flex: 1 1 auto; min-width: 0; }
.xr-sum-main .xr-ci-title { display: block; font-size: 15px; overflow-wrap: anywhere; }
.xr-sum-main .xr-ci-label { font-size: 13px; }
.xr-sum-main .xr-ci-opts { margin-top: 6px; }
.xr-sum-main .xr-ci-opts li { font-size: 12px; padding: 3px 7px; }
.xr-sum-price { flex: 0 0 auto; text-align: right; font: 700 15px/1.3 var(--xr-head-font); color: var(--xr-ink, #1D2330); white-space: nowrap; font-variant-numeric: tabular-nums; }
.xr-sum-qty { display: block; font: 500 12px/1.3 Inter, system-ui, sans-serif; color: var(--xc-muted); }
body.xr-m .xr-co .xr-co-coupon { margin-top: 12px; }
body.xr-m form.xr-co .xr-co-toggle { display: none !important; }

/* ================= Phone and tablet ================= */
@media (max-width: 1023px) {
	body.xr-m .xr-cart { grid-template-columns: 1fr; gap: 20px; }
	body.xr-m .xr-cart-side { position: static; }
	body.xr-m .xr-co-grid { grid-template-columns: 1fr; gap: 16px; }
	body.xr-m .xr-co-side { position: static; order: -1; display: none; }
	body.xr-m .xr-co-side.is-open { display: block; }
	body.xr-m .xr-co-sticky { border-radius: 18px; padding: 18px; box-shadow: none; }
	body.xr-m .xr-co-sticky > .xr-sum-h { display: none !important; }
	.xr-sum-list { max-height: none; }
	body.xr-m form.xr-co .xr-co-toggle { all: unset; box-sizing: border-box; display: flex !important; width: 100%; align-items: center; justify-content: space-between; gap: 12px; background: #fff !important; border: 1px solid var(--xc-line) !important; border-radius: 16px !important; box-shadow: none !important; padding: 14px 16px; margin: 0 0 12px; cursor: pointer; font: 700 15px/1.2 Inter, system-ui, sans-serif; color: var(--xc-delft); }
	body.xr-m .xr-co-toggle:focus-visible { outline: 3px solid var(--xc-delft); outline-offset: 2px; }
	.xr-co-toggle-l { display: inline-flex; align-items: center; gap: 8px; }
	.xr-co-toggle-l::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; transition: transform .15s; }
	.xr-co-toggle[aria-expanded="true"] .xr-co-toggle-l::after { transform: rotate(-135deg) translateY(-1px); }
	.xr-co-toggle .xr-co-hide, .xr-co-toggle[aria-expanded="true"] .xr-co-show { display: none; }
	.xr-co-toggle[aria-expanded="true"] .xr-co-hide { display: inline; }
	.xr-co-toggle-t { font: 800 17px/1 var(--xr-head-font); color: var(--xr-ink, #1D2330); }
	.xr-co-toggle-t .includes_tax { display: none; }
}
@media (max-width: 599px) {
	body.xr-m .xr-cart-list .xr-ci { flex-wrap: wrap; padding: 16px; gap: 12px; }
	body.xr-m .xr-cart-list .xr-ci .xr-ci-main { flex: 1 1 calc(100% - 60px); }
	.xr-ci-side { flex: 1 1 100%; flex-direction: row-reverse; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #F2EDE0; }
	.xr-ci-price small { display: inline; margin-right: 6px; }
	body.xr-m .xr-cart-side .cart_totals { padding: 20px !important; border-radius: 18px !important; }
	body.xr-m .xr-co-sec { padding: 20px 16px 22px; border-radius: 18px; }
	body.xr-m .xr-co .xr-co-fields { grid-template-columns: 1fr; }
	body.xr-m .xr-co .xr-co-fields > .form-row.form-row { grid-column: 1 / -1; }
	body.xr-m .xr-co .xr-co-fields:has(> #billing_postcode_field) { grid-template-columns: 2fr 3fr; }
	body.xr-m .xr-co .xr-co-fields > #billing_postcode_field.form-row { grid-column: 1; }
	body.xr-m .xr-co .xr-co-fields > #billing_city_field.form-row { grid-column: 2; }
	.xr-co-intro { margin-left: 0; }
	.xr-cart-empty { padding: 20px 18px; border-radius: 18px; margin-bottom: 32px; }
	.xr-ce-head { gap: 12px; }
	.xr-cart-empty-ico { width: 44px; height: 44px; border-radius: 12px; }
	.xr-cart-empty h2 { font-size: 19px !important; }
	.xr-cart-empty p { font-size: 14.5px; }
	.xr-cart-empty-go { margin-top: 18px !important; }
}

/* Thank-you page (woocommerce-m/checkout/thankyou.php) */
body.woocommerce-order-received .section__header { display: none; }
body.woocommerce-order-received .woocommerce-notice--success.woocommerce-thankyou-order-received { display: none; }
.xr-ty { max-width: 1040px; margin: 8px auto 56px; display: grid; gap: 16px; }
.xr-ty-hero { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; background: linear-gradient(135deg, #EAF6EF 0%, #F4FAF6 100%); border: 1px solid #CDE9D8; border-radius: 20px; padding: 24px 28px; }
.xr-ty-ok { grid-row: span 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--xc-ok); color: #fff; font: 800 26px/1 var(--xr-head-font); box-shadow: 0 6px 16px rgba(30, 123, 79, .25); }
.xr-ty-hero.is-failed { background: #FFF3F0; border-color: #F5CFC6; }
.xr-ty-hero.is-failed .xr-ty-ok { background: #C2412D; box-shadow: none; }
.xr-ty-h { font: 800 26px/1.2 var(--xr-head-font) !important; margin: 0 !important; color: var(--xr-ink, #1D2330) !important; letter-spacing: -.01em; }
.xr-ty-lead { margin: 4px 0 0 !important; color: var(--xr-ink-2, #3E4656); font-size: 15.5px; line-height: 1.5; }
.xr-ty-hero.is-failed .xr-ty-lead, .xr-ty-hero.is-failed .xr-ty-actions { grid-column: 1 / -1; }
.xr-ty-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 16px 0 0; background: #fff; border: 1px solid #DCEFE3; border-radius: 14px; overflow: hidden; }
.xr-ty-meta div { padding: 11px 14px; border-left: 1px solid #E6F3EB; min-width: 0; }
.xr-ty-meta div:first-child { border-left: 0; }
.xr-ty-meta dt { font: 700 11.5px/1 var(--xr-head-font); text-transform: uppercase; letter-spacing: .06em; color: var(--xc-muted); margin: 0 0 6px; }
.xr-ty-meta dd { margin: 0; font: 700 15px/1.3 var(--xr-head-font); color: var(--xr-ink, #1D2330); overflow-wrap: anywhere; }
.xr-ty-extra { grid-column: 1 / -1; margin-top: 12px; display: grid; gap: 8px; font-size: 14.5px; }
.xr-ty-extra:empty { display: none; }
.xr-ty-extra > * { margin: 0 !important; }
.xr-ty-extra .xt-pts-earnline { background: #FFF6DA; border-radius: 12px; padding: 10px 14px; }
.xr-ty-extra section, .xr-ty-extra .woocommerce-bacs-bank-details, .xr-ty-extra .mollie-instructions { background: #fff; border: 1px solid #DCEFE3; border-radius: 12px; padding: 12px 14px; }
.xr-ty-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.xr-ty-grid > :only-child { grid-column: 1 / -1; max-width: 640px; }
.xr-ty-card { background: var(--xc-card); border: 1px solid var(--xc-line); border-radius: 20px; padding: 22px 24px; }
.xr-ty-h2 { font: 800 18px/1.25 var(--xr-head-font) !important; margin: 0 0 14px !important; color: var(--xr-ink, #1D2330); }
.xr-ty-steps { list-style: none; margin: 0; padding: 0; counter-reset: xrty; }
.xr-ty-steps li { position: relative; padding: 0 0 16px 40px; counter-increment: xrty; }
.xr-ty-steps li:last-child { padding-bottom: 0; }
.xr-ty-steps li::before { content: counter(xrty); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #EAF0FA; color: var(--xc-delft); font: 800 13px/1 var(--xr-head-font); }
.xr-ty-steps li::after { content: ''; position: absolute; left: 12.5px; top: 29px; bottom: 3px; width: 1.5px; background: var(--xc-line); }
.xr-ty-steps li:last-child::after { display: none; }
.xr-ty-steps li.is-done::before { content: '✓'; background: var(--xc-ok); color: #fff; }
.xr-ty-steps b { display: block; font: 700 15px/1.3 var(--xr-head-font); color: var(--xr-ink, #1D2330); }
.xr-ty-steps span { display: block; margin-top: 2px; color: var(--xc-muted); font-size: 14px; line-height: 1.45; }
.xr-ty-items { list-style: none; margin: 0; padding: 0; }
.xr-ty-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--xc-line); }
.xr-ty-items li:first-child { border-top: 0; padding-top: 0; }
.xr-ty-items .xr-ci-tile { width: 38px; height: 38px; border-radius: 10px; font-size: 16px; }
.xr-ty-it { flex: 1 1 auto; min-width: 0; }
.xr-ty-it b { display: block; font: 700 15px/1.3 var(--xr-head-font); color: var(--xr-ink, #1D2330); overflow-wrap: anywhere; }
.xr-ty-it b small { color: var(--xc-muted); font-weight: 600; }
.xr-ty-it > span { display: block; color: var(--xc-muted); font-size: 13px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xr-ty-pr { flex: 0 0 auto; font: 700 15px/1.2 var(--xr-head-font); color: var(--xr-ink, #1D2330); white-space: nowrap; }
.xr-ty-sum { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--xc-line); display: grid; gap: 4px; }
.xr-ty-sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--xc-muted); }
.xr-ty-sum dt, .xr-ty-sum dd { margin: 0; }
.xr-ty-sum dd { white-space: nowrap; }
.xr-ty-sum .is-total { font: 800 17px/1.3 var(--xr-head-font); color: var(--xr-ink, #1D2330); margin-top: 2px; }
.xr-ty-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.xr-ty-actions a:only-child { grid-column: 1 / -1; }
.xr-ty-actions .xr-btn-pay { padding: 13px 18px !important; font-size: 15.5px !important; box-shadow: 0 4px 12px rgba(255, 198, 19, .3); }
.xr-ty-actions .xr-btn-line { padding: 11.5px 18px; }
.xr-ty-help { margin: 14px 0 0 !important; font-size: 13.5px; color: var(--xc-muted); text-align: center; }
.xr-ty-help a { color: var(--xc-delft) !important; font-weight: 600; }
@media (max-width: 860px) {
	.xr-ty-grid { grid-template-columns: 1fr; }
	.xr-ty-grid > :nth-child(2) { order: -1; }
}
@media (max-width: 600px) {
	.xr-ty { gap: 12px; margin-bottom: 32px; }
	.xr-ty-hero { padding: 18px; border-radius: 18px; gap: 4px 14px; }
	.xr-ty-ok { width: 42px; height: 42px; }
	.xr-ty-ok svg { width: 22px; height: 22px; }
	.xr-ty-h { font-size: 21px !important; }
	.xr-ty-lead { font-size: 14.5px; grid-column: 1 / -1; margin-top: 8px !important; }
	.xr-ty-meta { grid-template-columns: 1fr 1fr; margin-top: 14px; }
	.xr-ty-meta div:nth-child(3) { border-left: 0; }
	.xr-ty-meta div:nth-child(n+3) { border-top: 1px solid #E6F3EB; }
	.xr-ty-card { padding: 18px; border-radius: 18px; }
	.xr-ty-actions { grid-template-columns: 1fr; }
}

/* ---------- Nov 2026: calmer cart lines ---------- */
/* Figures as one quiet line, order details as a small two-column list instead of stacked pills. */
body.xr-m .xr-cart-list .xr-ci { border-radius: 18px; padding: 18px 20px; gap: 14px; }
body.xr-m .xr-ci-tile { width: 42px; height: 42px; border-radius: 12px; font-size: 17px; }
body.xr-m .xr-ci-title { font-size: 17px; }
body.xr-m .xr-ci-label { display: block; font-size: 13px; color: var(--xc-muted); margin-top: 1px; }
body.xr-m .xr-ci-main .xr-ci-badges { gap: 0; margin-top: 6px; }
body.xr-m .xr-ci-main .xr-ci-badges li { background: none; padding: 0; border-radius: 0; font-size: 13px; color: var(--xc-muted); }
body.xr-m .xr-ci-main .xr-ci-badges li b { color: var(--xr-ink, #1D2330); font-weight: 700; }
body.xr-m .xr-ci-main .xr-ci-badges li + li::before { content: '·'; margin: 0 7px; color: #C9C2B0; }
body.xr-m .xr-ci-main .xr-ci-opts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 14px; margin-top: 12px; padding: 12px 14px; background: #FAF8F3; border: 1px solid #F0EADB; border-radius: 12px; }
body.xr-m .xr-ci-main .xr-ci-opts li { display: contents; background: none; padding: 0; font-size: 13.5px; color: var(--xr-ink, #1D2330); }
body.xr-m .xr-ci-main .xr-ci-opts li span { font-weight: 500; color: var(--xc-muted); }
body.xr-m .xr-ci-main .xr-ci-opts li span::after { content: ''; }
body.xr-m .xr-ci-main .xr-ci-opts li em { font-style: normal; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
body.xr-m .xr-ci-main .xr-ci-opts li:not(:has(span)) em { grid-column: 1 / -1; }
@media (max-width: 599px) {
	body.xr-m .xr-cart-list .xr-ci { padding: 14px; gap: 10px 12px; border-radius: 16px; }
	body.xr-m .xr-ci-tile { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
	body.xr-m .xr-cart-list .xr-ci .xr-ci-main { flex: 1 1 calc(100% - 50px); }
	body.xr-m .xr-ci-title { font-size: 16px; }
	body.xr-m .xr-ci-main .xr-ci-opts { margin-left: -48px; grid-template-columns: max-content minmax(0, 1fr); padding: 10px 12px; }
	body.xr-m .xr-ci-main .xr-ci-opts li { font-size: 13px; }
	.xr-ci-side { padding-top: 8px; border-top: 0; }
	body.xr-m .xr-ci-price { font-size: 17px; }
}

/* Voucher: a visible label, a short placeholder in normal case (only the typed code is upper case). */
.xr-coupon-l { display: block; margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--xc-ink-2, #4A5568); }
.xr-coupon-l + .xr-coupon-row { margin-top: 6px; }
body.xr-m .xr-coupon-row input.input-text::placeholder { text-transform: none; color: #8A93A3; letter-spacing: 0; }

/* Edit a placement from the cart. */
.xr-ci-edit { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--xc-delft, #1F4E9C); text-decoration: none; }
.xr-ci-edit:hover { text-decoration: underline; }
.xr-ci-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.xr-ci-rm { color: #5a6478; font-weight: 500; }

.xr-ci-art { margin-top: 8px; font-size: 13.5px; }
.xr-ci-art summary { cursor: pointer; font-weight: 600; color: var(--xc-delft, #1F4E9C); }
.xr-ci-art-t { margin-top: 8px; max-height: 320px; overflow: auto; padding: 10px 12px; background: #fff; border: 1px solid #E7E1D2; border-radius: 10px; line-height: 1.5; white-space: normal; }

/* ---------- Order experience v2: thank-you page and My account > order ---------- */
.xr-ci-tile.is-shot { padding: 0; overflow: hidden; background: #F2F5FB; border: 1px solid #E3EAF6; }
.xr-ci-tile.is-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.xr-ty-hero.is-v2, .xr-vo-hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 18px 28px; align-items: center; width: 100%; box-sizing: border-box; background: linear-gradient(135deg, #EAF6EF 0%, #F4FAF6 60%, #EEF3FB 100%); border: 1px solid #CDE9D8; border-radius: 22px; padding: 28px 32px; }
.xr-ty-hero.is-v2 .xr-ty-hero-top { display: flex; align-items: center; gap: 16px; }
.xr-ty-hero.is-v2 .xr-ty-ok { flex: 0 0 auto; animation: xr-pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.xr-ty-hero.is-v2 .xr-ty-h { font-size: 30px !important; }
.xr-ty-hero.is-v2 .xr-ty-meta { margin-top: 18px; }
.xr-ty-hero.is-v2 .xr-ty-extra { grid-column: 1 / -1; margin-top: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xr-ty-hero.is-v2 .xr-ty-extra > * { flex: 1 1 280px; }
.xr-ty-extra .xt-pts-earnline, .xr-vo-after .xt-pts-earnline { margin: 0 !important; }
.xr-ty-hero-art, .xr-vo-hero-art { display: flex; justify-content: center; }
.xr-ty-art { width: 100%; max-width: 240px; height: auto; animation: xr-float 4s ease-in-out infinite; }
@keyframes xr-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes xr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes xr-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 78, 156, .45); } 70% { box-shadow: 0 0 0 10px rgba(31, 78, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 78, 156, 0); } }
@media (prefers-reduced-motion: reduce) { .xr-ty-art, .xr-trk li.is-now .xr-trk-dot, .xr-ty-hero.is-v2 .xr-ty-ok { animation: none !important; } }

/* Step bar */
.xr-trk { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.xr-trk li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 4px; }
.xr-trk li::before { content: ''; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 3px; border-radius: 3px; background: #D5DEEC; }
.xr-trk li:first-child::before { display: none; }
.xr-trk li.is-done::before, .xr-trk li.is-now::before { background: var(--xc-ok); }
.xr-trk-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #D5DEEC; color: var(--xc-muted); font: 800 14px/1 var(--xr-head-font); }
.xr-trk li.is-done .xr-trk-dot { background: var(--xc-ok); border-color: var(--xc-ok); color: #fff; }
.xr-trk li.is-now .xr-trk-dot { background: var(--xc-delft); border-color: var(--xc-delft); color: #fff; animation: xr-pulse 1.8s infinite; }
.xr-trk-t { font: 700 13.5px/1.3 var(--xr-head-font); color: var(--xc-muted); }
.xr-trk li.is-done .xr-trk-t { color: var(--xc-ok); }
.xr-trk li.is-now .xr-trk-t { color: var(--xr-ink, #1D2330); }
.xr-trk.is-compact { margin: 14px 0 4px; }
.xr-trk.is-compact .xr-trk-dot { width: 24px; height: 24px; font-size: 11.5px; }
.xr-trk.is-compact li::before { top: 11px; left: calc(-50% + 14px); right: calc(50% + 14px); height: 2px; }
.xr-trk.is-compact .xr-trk-t { font-size: 12px; font-weight: 600; }

/* Grids */
.xr-ty-grid.is-v2, .xr-vo-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 18px; align-items: start; }
.xr-ty-side, .xr-vo-side { display: grid; gap: 16px; position: sticky; top: 90px; }
.xr-vo-main { display: grid; gap: 14px; min-width: 0; }
.xr-vo-main > .xr-ty-h2 { margin: 4px 0 0 !important; }
.xr-ty-actions.is-stack { grid-template-columns: 1fr; }

/* Placement card */
.xr-oi-list { display: grid; gap: 14px; }
.xr-oi { background: #fff; border: 1px solid var(--xc-line); border-radius: 18px; padding: 18px; box-shadow: 0 2px 10px rgba(22, 59, 120, .04); }
.xr-ty-card .xr-oi { box-shadow: none; }
.xr-oi-top { display: flex; gap: 16px; align-items: flex-start; }
.xr-oi-shot { flex: 0 0 132px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #EEF3FB; border: 1px solid #E3EAF6; display: grid; place-items: center; }
.xr-oi-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .3s; }
.xr-oi-shot:hover img { transform: scale(1.04); }
.xr-oi-shot.is-none span { font: 800 34px/1 var(--xr-head-font); color: var(--xc-delft); }
.xr-oi-head { min-width: 0; flex: 1 1 auto; }
.xr-oi-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font: 700 12px/1.5 var(--xr-head-font); background: #EAF0FA; color: var(--xc-delft); }
.xr-oi-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.xr-oi-chip.is-busy::before { animation: xr-pulse 1.8s infinite; }
.xr-oi-chip.is-live { background: #E3F4EA; color: var(--xc-ok); }
.xr-oi-chip.is-wait { background: #FFF3C4; color: #7A5A00; }
.xr-oi-chip.is-off { background: #F3EEE2; color: var(--xc-muted); }
.xr-oi-title { margin: 6px 0 0 !important; font: 800 19px/1.25 var(--xr-head-font) !important; color: var(--xr-ink, #1D2330) !important; overflow-wrap: anywhere; }
.xr-oi-title small { color: var(--xc-muted); font-weight: 600; }
.xr-oi-label { margin: 2px 0 0 !important; color: var(--xc-muted); font-size: 14px; }
.xr-oi-price { margin: 6px 0 0 !important; font: 800 17px/1.2 var(--xr-head-font); color: var(--xr-ink, #1D2330); }
.xr-oi-price small { font: 500 12px/1 inherit; color: var(--xc-muted); }
.xr-oi-live { margin: 12px 0 0 !important; padding: 10px 12px; background: #E3F4EA; border-radius: 12px; font-size: 14.5px; }
.xr-oi-live a { color: var(--xc-ok) !important; font-weight: 700; overflow-wrap: anywhere; }
.xr-oi-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 14px 0 0; padding: 12px 14px; background: #F8F6F0; border-radius: 14px; }
.xr-oi-rows div { padding: 6px 0; border-bottom: 1px solid #EEE8D9; min-width: 0; }
.xr-oi-rows div:nth-last-child(-n+2) { border-bottom: 0; }
.xr-oi-rows dt { font-size: 12px; font-weight: 600; color: var(--xc-muted); margin: 0; }
.xr-oi-rows dd { margin: 1px 0 0; font-size: 14.5px; font-weight: 600; color: var(--xr-ink, #1D2330); overflow-wrap: anywhere; }
.xr-oi-rows dd a { color: var(--xc-delft) !important; }
.xr-oi-art { margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid #DCEFE3; background: #F3FAF6; }
.xr-oi-art.is-todo { border-color: #F3DC85; background: #FFF8DB; }
.xr-oi-art-h { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 !important; font: 700 15px/1.3 var(--xr-head-font); color: var(--xr-ink, #1D2330); }
.xr-oi-art-h small { font: 500 13px/1 inherit; color: var(--xc-muted); }
.xr-oi-ic { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--xc-ok); color: #fff; font-size: 12px; }
.xr-oi-art.is-todo .xr-oi-ic { background: #E0A100; }
.xr-oi-art-s { margin: 4px 0 0 30px !important; font-size: 14px; color: var(--xc-muted); }
.xr-oi-read { margin: 8px 0 0 30px; }
.xr-oi-read summary, .xr-oi-form summary { cursor: pointer; font-weight: 600; color: var(--xc-delft); font-size: 14px; }
.xr-oi-read summary em { font-style: normal; color: var(--xr-ink, #1D2330); }
.xr-oi-read-t { margin-top: 8px; max-height: 360px; overflow: auto; padding: 12px 14px; background: #fff; border: 1px solid var(--xc-line); border-radius: 12px; font-size: 14px; line-height: 1.55; }
.xr-oi-form { margin: 10px 0 0 30px; }
.xr-oi-form details[open] { display: grid; gap: 10px; }
.xr-oi-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--xc-muted); }
.xr-oi-form textarea, .xr-oi-form input[type=url] { width: 100%; box-sizing: border-box; border: 1px solid #DCD3BE; border-radius: 10px; padding: 9px 11px; font-size: 14px; background: #fff; }
.xr-oi-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xr-oi-form .xr-btn-pay { justify-self: start; padding: 10px 22px !important; }

/* Order page hero */
.xr-vo { display: grid; gap: 18px; margin: 0 0 40px; }
.xr-vo-kicker { margin: 0 0 6px !important; font-size: 14px; color: var(--xc-muted); }
.xr-vo-kicker b { color: var(--xr-ink, #1D2330); }
.xr-vo-h { font: 800 28px/1.2 var(--xr-head-font) !important; margin: 0 !important; color: var(--xr-ink, #1D2330) !important; }
.xr-vo-lead { margin: 6px 0 0 !important; color: var(--xr-ink-2, #3E4656); font-size: 15.5px; }
.xr-vo-count { margin: 10px 0 0 !important; display: inline-block; background: #fff; border: 1px solid #DCEFE3; border-radius: 999px; padding: 4px 12px; font-size: 13.5px; }
.xr-vo-notes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xr-vo-notes li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid #D5DEEC; }
.xr-vo-notes time { font-size: 12px; color: var(--xc-muted); }
.xr-vo-notes p { margin: 0 !important; font-size: 14.5px; }
.xr-vo-after { display: grid; gap: 12px; }
.xr-vo-after > section, .xr-vo-after > .xt-tr, .xr-vo-after > .xt-proof { background: #fff; border: 1px solid var(--xc-line); border-radius: 18px; padding: 16px 18px; }
.xr-vo-after h2 { font: 800 17px/1.3 var(--xr-head-font) !important; margin: 0 0 6px !important; text-align: left !important; }
.xr-vo-after .mollie-instructions, .xr-vo-after .woocommerce-info { background: #FFF8DB !important; border: 1px solid #F3DC85 !important; border-radius: 14px !important; padding: 10px 14px !important; margin: 0 !important; font-size: 14px; }
.xr-vo-addr address { font-style: normal; font-size: 14.5px; line-height: 1.55; color: var(--xr-ink, #1D2330); }
.xr-vo-after-c { margin-top: 8px; font-size: 13.5px; color: var(--xc-muted); }
.xr-vo-note { margin: 12px 0 0 !important; font-size: 13.5px; color: var(--xc-muted); }
.xr-vo-help p { font-size: 14px; color: var(--xc-muted); margin: 0 0 12px !important; }
.xr-vo-help a:not(.xr-btn-line) { color: var(--xc-delft) !important; font-weight: 600; }
body.woocommerce-view-order .woocommerce-MyAccount-content > p:first-child mark, body.woocommerce-view-order .woocommerce-MyAccount-content > h2 { display: none; }

@media (max-width: 900px) {
	.xr-ty-grid.is-v2, .xr-vo-grid { grid-template-columns: 1fr; }
	.xr-ty-side, .xr-vo-side { position: static; }
	.xr-ty-hero.is-v2, .xr-vo-hero { grid-template-columns: 1fr; padding: 20px; }
	.xr-ty-hero-art, .xr-vo-hero-art { display: none; }
}
@media (max-width: 560px) {
	.xr-oi-top { flex-direction: column; }
	.xr-oi-shot { flex-basis: auto; width: 100%; }
	.xr-oi-rows, .xr-oi-form-row { grid-template-columns: 1fr; }
	.xr-oi-rows div:nth-last-child(2) { border-bottom: 1px solid #EEE8D9; }
	.xr-trk-t { font-size: 11px; }
	.xr-ty-hero.is-v2 .xr-ty-h { font-size: 23px !important; }
}
