/**
 * Calio MobilePay Express — buttons + summary modal.
 * Typography inherits from the theme kit (Buddy font, #333 text); we only set
 * layout/box props, plus explicit colors on the MobilePay-blue brand buttons
 * (deliberate override: white text on #000000 must not follow the kit).
 */

.calio-wex-hidden { display: none !important; }



/* ---------------- buttons ---------------- *
 * One shared branded pill: MobilePay blue, white wordmark. Colors are a
 * deliberate brand override (must NOT inherit the theme's green button). Sized
 * to sit next to the theme's add-to-cart / checkout buttons without dwarfing
 * them. */

.calio-wex-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 52px;
	padding: 12px 22px;
	border-radius: 30px;
	background: #000000;
	color: #fff;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	transition: background .15s ease, transform .15s ease;
}

.calio-wex-btn:hover,
.calio-wex-btn:focus {
	background: #222222;
	color: #fff;
	transform: translateY(-1px);
}

.calio-wex-btn-prefix {
	color: #fff;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.2;
	white-space: nowrap;
}

/* Price mirrored from the add-to-cart button (product page, engangskøb). */
.calio-wex-btn-price {
	color: #fff;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.2;
	white-space: nowrap;
}
.calio-wex-btn-price:empty { display: none; }

/* Loading state: hide the label/logo and show a spinner until the modal opens. */
.calio-wex-btn.calio-wex-loading {
	opacity: 1;
	pointer-events: none;
	position: relative;
}
.calio-wex-btn.calio-wex-loading .calio-wex-btn-prefix,
.calio-wex-btn.calio-wex-loading .calio-wex-btn-logo,
.calio-wex-btn.calio-wex-loading .calio-wex-btn-price {
	visibility: hidden;
}
.calio-wex-btn.calio-wex-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2.5px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: calio-wex-spin .7s linear infinite;
}
@keyframes calio-wex-spin { to { transform: rotate(360deg); } }

/* White MobilePay wordmark. Aspect ratio ~5.6:1; height drives the size.
   !important defends against theme/global `img { height:auto }` rules that
   otherwise stretch the wordmark. */
.calio-wex-btn .calio-wex-btn-logo {
	display: block;
	height: 17px !important;
	width: auto !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	flex: 0 0 auto;
	align-self: center;
}

.calio-wex-product-buttons { margin-top: 12px; width: 100%; }

/* "eller" divider tying the express button to the add-to-cart button. */
.calio-wex-or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px auto 12px;
	max-width: 360px;
}
.calio-wex-or::before,
.calio-wex-or::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #E9EEE8;
}
.calio-wex-or span {
	color: #7A7A7A;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}

/* Desktop: don't let the express buttons run the full content width. */
@media (min-width: 601px) {
	.calio-wex-buy-now,
	.calio-wex-sub-btn,
	.calio-wex-cart-btn {
		max-width: 360px;
		margin-left: auto;
		margin-right: auto;
	}
}

.calio-wex-slot { margin-top: 10px; width: 100%; }
/* No MobilePay button for empty / subscription carts. */
.calio-wex-slot[data-state="none"],
.calio-wex-slot[data-state="subscription"] { display: none; }

/* Fly-cart / cart footer: a touch more compact than the product page. */
.calio-wex-cart-btn { min-height: 48px; }
.calio-wex-cart-btn .calio-wex-btn-prefix { font-size: 15.5px; }
.calio-wex-cart-btn .calio-wex-btn-logo { height: 15px !important; }

/* Cart PAGE: put the express button on its own row BELOW "Fortsæt til kassen"
   (the theme lays Shop videre + checkout in a flex row; we wrap ours under). */
.woocommerce-cart .wc-proceed-to-checkout { flex-wrap: wrap; }
.woocommerce-cart .wc-proceed-to-checkout .calio-wex-slot {
	flex-basis: 100%;
	width: 100%;
	order: 10;
	margin-top: 8px;
}
/* Cart PAGE mobile: express sits right under "Fortsæt til kassen" (grouped),
   with "Shop videre" moved below both and given breathing room. */
@media (max-width: 768px) {
	.woocommerce-cart .wc-proceed-to-checkout .calio-wex-slot { order: 1; margin-top: 8px; }
	.woocommerce-cart .wc-proceed-to-checkout a.shop-videre { order: 2; margin-top: 14px; }
}
/* calio 2026-11-16: cart page button layout, like nattelyst.dk and buddyschoice.dk.
   Desktop: checkout + express button stacked at the right, both 300px wide (the express
   button was centered at 360px). No row gap; spacing comes from margins. */
.woocommerce-cart .cart_totals .wc-proceed-to-checkout { row-gap: 0; } /* .cart_totals: beats the inline gap:15px in cart-tweaks.php */
@media (min-width: 769px) {
	.woocommerce-cart .wc-proceed-to-checkout .checkout-button { margin-left: auto; }
	.woocommerce-cart .wc-proceed-to-checkout .calio-wex-slot { margin-top: 10px; }
	.woocommerce-cart .wc-proceed-to-checkout .calio-wex-cart-btn {
		max-width: 300px;
		min-height: 45px;
		margin-left: auto;
		margin-right: 0;
	}
}
@media (max-width: 768px) {
	.woocommerce-cart .wc-proceed-to-checkout .calio-wex-slot { margin-top: 10px; }
}

/* Fly-cart footer layout: stack checkout + express + payment icons. The checkout
   button keeps its own 10px bottom margin, so the express slot needs no top
   margin (tighter gap); it just holds space down to the payment badges. */
.fly-cart-footer .woocommerce-mini-cart__buttons.buttons { flex-wrap: wrap; }
.fly-cart-footer .calio-wex-slot {
	flex-basis: 100%;
	margin-top: 0;
	margin-bottom: 14px;
}

/* loading state */
.calio-wex-loading {
	opacity: .55;
	pointer-events: none;
	position: relative;
}

/* ---------------- modal ---------------- */

/* Scroll lock — pin the body (mobile ignores plain overflow:hidden). JS restores
   the scroll position on close via body.style.top. */
body.calio-wex-modal-open {
	position: fixed;
	width: 100%;
	overflow: hidden;
}

.calio-wex-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(20, 24, 31, .5);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.calio-wex-modal {
	position: relative;
	width: 100%;
	max-width: 500px;
	max-height: min(92vh, 860px);
	overflow-y: auto;
	background: #fff;
	border-radius: 20px;
	padding: 26px 24px 22px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
}

.calio-wex-close {
	position: absolute;
	top: 12px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	color: #d63638;
}
.calio-wex-close:hover { color: #b32d2e; }

.calio-wex-head { margin-bottom: 16px; padding-right: 26px; }
.calio-wex-head-title {
	display: block;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.3;
}
.calio-wex-head-sub {
	display: block;
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.5;
	color: #7A7A7A;
}

/* items */
.calio-wex-items {
	border-top: 1px solid #E9EEE8;
	border-bottom: 1px solid #E9EEE8;
	padding: 6px 0;
	margin-bottom: 12px;
}

/* Row layout: image | title | quantity (own column) | price + remove. */
.calio-wex-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
}

.calio-wex-item-img { flex: 0 0 48px; }
.calio-wex-item-img img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 10px;
	background: #FAF9F7;
}

.calio-wex-item-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.calio-wex-item-name {
	font-weight: 500;
	font-size: 14px;
	line-height: 1.3;
	/* wrap to at most two lines, then ellipsis */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.calio-wex-item-giftbadge {
	font-size: 12px;
	font-weight: 500;
	color: #55B607;
}

/* quantity stepper — its own column, with clear separation from the price. */
.calio-wex-qty {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	margin-right: 8px;
	border: 1px solid #E9EEE8;
	border-radius: 20px;
	overflow: hidden;
}
.calio-wex-qty-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 17px;
	line-height: 1;
	color: #333;
	cursor: pointer;
	user-select: none;
}
.calio-wex-qty-btn:hover { background: #FAF9F7; }
.calio-wex-qty-val {
	min-width: 26px;
	text-align: center;
	font-size: 13.5px;
	font-weight: 600;
}

.calio-wex-item-right {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	line-height: 1.2;
}
.calio-wex-item-total {
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
}
.calio-wex-item-remove {
	margin-top: 3px;
	font-size: 12.5px;
	line-height: 1.2;
	color: var(--e-global-color-ec74859, #18564B);
	cursor: pointer;
	text-decoration: underline;
}
.calio-wex-item-remove:hover { color: var(--e-global-color-ec74859, #18564B); }

/* the editable region shows a subtle busy state while an edit is in flight */
.calio-wex-refresh.calio-wex-loading { opacity: .55; pointer-events: none; }

/* totals */
.calio-wex-totals { margin-bottom: 14px; }

.calio-wex-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	font-size: 14px;
	line-height: 1.6;
}

.calio-wex-discount { color: #55B607; }
.calio-wex-muted { color: #7A7A7A; }

.calio-wex-grand {
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid #E9EEE8;
	font-weight: 600;
	font-size: 16px;
}

/* Free shipping: no subtotal row and no divider line above the total. */
.calio-wex-totals--free .calio-wex-row-subtotal { display: none; }
.calio-wex-totals--free .calio-wex-grand {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

/* coupon — compact "Har du en rabatkode?" that expands to an input. */
.calio-wex-coupon { margin-bottom: 14px; }
.calio-wex-coupon-toggle {
	display: inline-block;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--e-global-color-ec74859, #18564B);
	cursor: pointer;
	text-decoration: underline;
}
.calio-wex-coupon-form {
	display: flex;
	gap: 8px;
	margin-top: 4px;
}
.calio-wex-coupon-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	padding: 0 14px;
	border: 1px solid #E9EEE8;
	border-radius: 10px;
	font-size: 14px;
	background: #fff;
}
.calio-wex-coupon-apply {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 0 18px;
	border-radius: 10px;
	background: var(--e-global-color-ec74859, #18564B);
	color: #fff;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
}
.calio-wex-coupon-apply:hover { opacity: .92; }
.calio-wex-coupon-applied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 10px;
	background: #FAF9F7;
	font-size: 13.5px;
}
.calio-wex-coupon-tag { font-weight: 600; color: #55B607; }
.calio-wex-coupon-remove {
	font-size: 12.5px;
	color: var(--e-global-color-ec74859, #18564B);
	cursor: pointer;
	text-decoration: underline;
}
.calio-wex-coupon-msg {
	margin-top: 5px;
	font-size: 12.5px;
	color: #d63638;
	line-height: 1.4;
}

.calio-wex-vat-note {
	font-size: 12px;
	line-height: 1.5;
	color: #7A7A7A;
	text-align: right;
}

/* app-note (replaces the 1-2-3 steps): one concise reassurance line. */
.calio-wex-appnote {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #FAF9F7;
	border-radius: 14px;
	padding: 12px 14px;
	margin-bottom: 14px;
	font-size: 13.5px;
	line-height: 1.45;
	color: #333;
}
.calio-wex-appnote-icon {
	flex: 0 0 auto;
	display: inline-flex;
	color: #000000;
}
.calio-wex-appnote-icon svg { width: 22px; height: 22px; display: block; }

/* newsletter + terms consent (mirrors the checkout boxes). No divider between
   them — just spacing (2px extra above the top box, 5px below the bottom box).
   The theme skins native checkboxes via :before/:after pseudo-elements and mobile
   browsers ignore width/height on native checkboxes — so we build our OWN box
   (appearance:none) at a fixed size, consistent on desktop AND mobile. */
.calio-wex-newsletter,
.calio-wex-terms {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 13.5px;
	line-height: 1.5;
	cursor: pointer;
}
.calio-wex-newsletter { margin-top: 2px; margin-bottom: 12px; }
.calio-wex-terms { margin-bottom: 9px; }

.calio-wex-modal input[type="checkbox"].calio-wex-newsletter-box,
.calio-wex-modal input[type="checkbox"].calio-wex-terms-box {
	flex: 0 0 auto !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	margin: 1px 0 0 !important;
	padding: 0 !important;
	position: relative !important;
	border: 2px solid #C9C9C9 !important;
	border-radius: 5px !important;
	background: #fff !important;
	cursor: pointer;
}
.calio-wex-modal input[type="checkbox"].calio-wex-newsletter-box:checked,
.calio-wex-modal input[type="checkbox"].calio-wex-terms-box:checked {
	background: var(--e-global-color-ec74859, #18564B) !important;
	border-color: var(--e-global-color-ec74859, #18564B) !important;
}
.calio-wex-modal input[type="checkbox"].calio-wex-newsletter-box::before,
.calio-wex-modal input[type="checkbox"].calio-wex-terms-box::before {
	content: "" !important;
	display: none !important;
}
.calio-wex-modal input[type="checkbox"].calio-wex-newsletter-box:checked::after,
.calio-wex-modal input[type="checkbox"].calio-wex-terms-box:checked::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid #fff !important;
	border-width: 0 2px 2px 0 !important;
	transform: rotate(45deg);
}

.calio-wex-terms-warn {
	display: block;
	font-size: 12.5px;
	color: #d63638;
	margin-bottom: 4px;
}

@keyframes calio-wex-bounce {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}
.calio-wex-bounce { animation: calio-wex-bounce .3s ease 2; display: inline-block; }

/* CTA + cancel — a bit more air above the pay button (below the terms box). */
.calio-wex-continue { margin-top: 18px; }

.calio-wex-cancel {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 13.5px;
	color: #7A7A7A;
	cursor: pointer;
	text-decoration: underline;
}
.calio-wex-cancel:hover { color: #333; }

/* in-modal terms reader — hide the close "X" here so the prominent "Tilbage"
   button is the obvious (and only) way back. */
.calio-wex-modal.calio-wex-viewing-terms .calio-wex-close { display: none; }

.calio-wex-terms-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 16px;
	padding: 9px 18px;
	border-radius: 30px;
	background: var(--e-global-color-ec74859, #18564B);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.calio-wex-terms-back:hover { background: #123f37; color: #fff; }
.calio-wex-terms-body {
	font-size: 13.5px;
	line-height: 1.6;
	color: #333;
	overflow-wrap: break-word;
}
.calio-wex-terms-body > :first-child { margin-top: 0; }
.calio-wex-terms-body img,
.calio-wex-terms-body table { max-width: 100%; height: auto; }

/* trust banner — flush to the modal's bottom + side edges (cancels the modal
   padding via negative margins). Dark-green band, white text, compact. */
.calio-wex-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 10px -24px -22px;
	padding: 8px 18px;
	background: var(--e-global-color-ec74859, #18564B);
	border-radius: 0 0 20px 20px;
}
.calio-wex-trust-stars { height: 16px; width: auto; display: block; }
.calio-wex-trust-text {
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	white-space: nowrap;
}
.calio-wex-trust-sep { color: rgba(255, 255, 255, .5); margin: 0 2px; }

/* mobile: bottom-sheet feel */
@media (max-width: 600px) {
	.calio-wex-overlay { padding: 0; align-items: flex-end; }
	.calio-wex-modal {
		max-width: none;
		border-radius: 20px 20px 0 0;
		max-height: 92vh;
		padding: 22px 18px 18px;
	}
	.calio-wex-trust {
		margin: 16px -18px -18px;
		border-radius: 0;
	}
}

/* ---------------- woo-vipps express landing overlay ----------------
 * The plugin's own "preparing your order" interstitial (/vipps-express-checkout/)
 * shows its .vippsoverlay spinner at opacity .5 over the page, so the themed page
 * bleeds through and looks half-broken. Make it a solid full-screen cover with a
 * crisp spinner (opacity applies to the spinner child too) that sits above the
 * sticky header. On failure the plugin removes body.processing, which hides the
 * overlay and reveals the error underneath — so this never masks a real error. */
.vippsoverlay {
	opacity: 0.95 !important;
	background: #fff !important;
	z-index: 99999 !important;
}

/* calio 2026-10-27: Apple Pay / Google Pay Express additions */
.calio-wex-mark { font-weight: 600; margin-left: 6px; }
.calio-wex-probe { position: absolute; left: -9999px; top: 0; width: 300px; height: 48px; overflow: hidden; }
.calio-wex-pay { position: relative; margin-top: 14px; min-height: 48px; }
.calio-wex-pay-cover { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.calio-wex-pay.calio-wex-ready .calio-wex-pay-cover { display: none; }
.calio-wex-error { display: block; margin-top: 10px; color: #b3261e; font-size: 14px; }
/* calio 2026-11-02: "pay by card" after a refused wallet payment */
.calio-wex-cardlink { display: block; margin-top: 10px; padding: 13px 16px; border: 1px solid currentColor; border-radius: 999px; text-align: center; font-weight: 600; text-decoration: none; }

/* calio 2026-10-27 v2: real wallet marks, white text, Google Pay as a white button (Emil: the green text was wrong) */
.calio-wex-btn, .calio-wex-btn:hover, .calio-wex-btn:focus, .calio-wex-btn * { color: #fff !important; text-decoration: none !important; }
.calio-wex-btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.calio-wex-btn .calio-wex-mark { height: 22px; width: auto; margin-left: 0; }
.calio-wex-btn .calio-wex-mark-applePay { filter: invert(1) brightness(2); }
.calio-wex-btn.calio-wex-google { background: #fff !important; border: 1px solid #3c4043; }
.calio-wex-btn.calio-wex-google, .calio-wex-btn.calio-wex-google * { color: #3c4043 !important; }

/* ================================================================== *
 *  Subscription popup — copied from mobilepay-sub-express.css (calio-subx- → calio-wex-sub-), 2026-10-27
 * ================================================================== */

/* ------------------------------------------------ modal: item block */

.calio-wex-sub-items {
	border-top: 1px solid #e9eee8;
	padding-top: 12px;
	margin-bottom: 12px;
}
.calio-wex-sub-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.calio-wex-sub-item-img { flex: 0 0 56px; }
.calio-wex-sub-item-img img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 12px;
	background: #faf9f7;
}
.calio-wex-sub-item-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}
.calio-wex-sub-item-name {
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.3;
}
/* The quantity/cadence is the key fact — the store's cart pill (bc-frequency
   look): grey chip, dark-green text, GREEN quantity. Explicit line-height so
   theme span rules can't inflate the row. */
.calio-wex-sub-item-cadence {
	display: inline-block;
	margin: 4px 0 2px;
	padding: 3px 8px;
	border-radius: 6px;
	background: #f2f2f2;
	color: #17554b;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}
.calio-wex-sub-item-cadence b {
	color: #25ae91;
	font-weight: 600;
}
.calio-wex-sub-item-size {
	margin-top: 3px;
	font-size: 12.5px;
	line-height: 1.35;
	color: #7a7a7a;
}
.calio-wex-sub-item-price {
	flex: 0 0 auto;
	align-self: center;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.25;
	white-space: nowrap;
}
.calio-wex-sub-item-price del {
	font-size: 12.5px;
	color: #7a7a7a;
}
.calio-wex-sub-item-price ins {
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
}

/* compact free-gift rows */
.calio-wex-sub-gift {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px dashed #e9eee8;
	font-size: 13px;
}
.calio-wex-sub-gift-img { flex: 0 0 32px; }
.calio-wex-sub-gift-img img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 8px;
	background: #faf9f7;
}
.calio-wex-sub-gift-name {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.3;
}
.calio-wex-sub-gift-price {
	flex: 0 0 auto;
	font-size: 13px;
	white-space: nowrap;
}

/* ------------------------------------------------ modal: payment schedule */

/* Soft rounded box, but the rows keep the DEFAULT text color (no grey labels);
   only "Betales i dag" is bold. Explicit font-size/weight/line-height so theme
   span/price rules can't restyle it. */
.calio-wex-sub-schedule {
	margin: 12px 0 10px;
	padding: 11px 14px;
	background: #faf9f7;
	border-radius: 14px;
}
.calio-wex-sub-srow {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 2px 0;
}
.calio-wex-sub-srow > span {
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.5;
	color: inherit;
}
.calio-wex-sub-srow-free {
	color: #55b607 !important;
	font-weight: 500 !important;
}
.calio-wex-sub-srow-today > span {
	font-size: 15.5px;
	font-weight: 600;
}
/* ------------------------------------------------ modal: no-binding trust line */

.calio-wex-sub-nobind {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 11px;
	font-size: 12.5px;
	line-height: 1.4;
}
.calio-wex-sub-nobind svg {
	flex: 0 0 auto;
	color: #55b607;
	display: block;
}

/* Reading terms: the heading disappears, the reader takes the whole popup (as in both MobilePay modules). */
.calio-wex-viewing-terms .calio-wex-head { display: none; }
.calio-wex-summary-sub .calio-wex-pay { margin-top: 18px; }

/* Waiting view after the wallet sheet, until the redirect to the receipt (calio 2026-10-27). */
.calio-wex-waiting .calio-wex-view,
.calio-wex-waiting .calio-wex-head { display: none !important; }
.calio-wex-wait { display: none; }
.calio-wex-waiting .calio-wex-wait {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding: 48px 12px 40px;
	font-size: 14px;
	line-height: 1.45;
}
.calio-wex-wait strong { font-size: 18px; font-weight: 600; }
.calio-wex-wait-spin {
	width: 36px;
	height: 36px;
	margin-bottom: 10px;
	border: 3px solid #E9EEE8;
	border-top-color: #18564B;
	border-radius: 50%;
	animation: calio-wex-spin .7s linear infinite;
}
.calio-wex-waiting ~ .calio-wex-close, .calio-wex-modal:has(.calio-wex-waiting) .calio-wex-close { display: none; }

/* Empty slot or no Apple Pay in this browser: no gap in the fly-cart (calio 2026-10-28). */
.calio-wex-slot:not(:has(.calio-wex-btn:not(.calio-wex-hidden))) { display: none; }

/* calio 2026-11-20 (Emil): the Apple Pay mark stayed visible next to the spinner while the button loads; and no
   yellow highlight on prices in the popup (a global sale-price style painted them yellow). */
.calio-wex-btn.calio-wex-loading .calio-wex-mark { visibility: hidden !important; }
.calio-wex-modal .woocommerce-Price-amount,
.calio-wex-modal ins,
.calio-wex-modal ins .woocommerce-Price-amount {
	background: none !important;
	padding: 0 !important;
	box-shadow: none !important;
}

/* calio 2026-12-03 green canvas (Emil: white under the Trustpilot band on iPhone). While the popup is open the page
   behind it is pinned, so whatever the phone shows below the sheet (toolbar collapsing, bounce) is the page canvas:
   paint it the band's green. The sheet itself does not bounce. */
html:has(body.calio-wex-modal-open),
body.calio-wex-modal-open { background-color: var(--e-global-color-ec74859, #18564B) !important; }
.calio-wex-modal { overscroll-behavior: contain; }

/* calio 2026-12-03 express sheet (Emil): no cancel link under the pay button (the X closes the popup), and a popup taller than the
   screen scrolls inside itself. 92vh on iPhone is the height WITHOUT the browser bars, so the sheet was taller than
   what is visible and its top or bottom could not be reached; 92dvh follows the bars. */
.calio-wex-cancel { display: none !important; }
.calio-wex-overlay { overscroll-behavior: contain; }
.calio-wex-modal { -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) {
	.calio-wex-overlay:not(.calio-pflow-express) .calio-wex-modal { max-height: 92vh; max-height: 92dvh; }
}
