/*
 * Cellpept Welcome Credit - styles. Brand blue (#0C5DD8) with a gold "balance" chip.
 * Space for the bar is reserved before the first paint (html.cpwc-on is set in <head> for visitors with the
 * flag cookie), so the page does not jump when the status arrives.
 */

:root {
	--cpwc-blue: #0C5DD8;
	--cpwc-navy: #0A2A66;
	--cpwc-sky: #2BACE2;
	--cpwc-gold: #FFD24A;
	--cpwc-gold-deep: #F5B700;
	--cpwc-ink: #0F1E3D;
	--cpwc-text: #33415C;
	--cpwc-muted: #6B7A93;
	--cpwc-bar-h: 40px;
	--cpwc-toolbar-h: 0px;
}

body.sticky-toolbar-on {
	--cpwc-toolbar-h: 55px; /* WoodMart's mobile bottom toolbar. */
}

.cpwc-slot[hidden] {
	display: none !important;
}

/* ---- the balance chip (bar, boxes) ----------------------------------------------------------------- */

.cpwc-chip {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 2px 10px;
	border-radius: 999px;
	background: linear-gradient(180deg, #FFE07A 0%, var(--cpwc-gold) 55%, var(--cpwc-gold-deep) 100%);
	color: var(--cpwc-navy);
	font-weight: 800;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: .01em;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 1px 2px rgba(10, 42, 102, .25);
	white-space: nowrap;
}

/* ---- sticky bar ---------------------------------------------------------------------------------- */

.cpwc-bar {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 9990;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: var(--cpwc-bar-h);
	padding: 0 16px;
	background: linear-gradient(90deg, var(--cpwc-navy) 0%, var(--cpwc-blue) 62%, #1C86E0 100%);
	color: #FFF;
	font-size: 14px;
	line-height: 1.3;
	box-shadow: 0 2px 10px rgba(10, 42, 102, .18);
}

html.cpwc-on .cpwc-bar[hidden] {
	display: flex !important; /* Empty strip while the status loads. */
}

html.cpwc-on body {
	padding-top: var(--cpwc-bar-h);
}

/* WoodMart places its sticky header, side panels (cart, menu, login) and overlays below --wd-admin-bar-h:
   include the bar, so nothing of the site sits under it. */
html.cpwc-on body:not(.cpwc-bottom) {
	--wd-admin-bar-h: var(--cpwc-bar-h);
}

html.cpwc-on body.admin-bar:not(.cpwc-bottom) {
	--wd-admin-bar-h: calc(32px + var(--cpwc-bar-h));
}

/* WoodMart's stuck header uses that variable on desktop only; on phones it is pinned at top:0. */
html.cpwc-on body:not(.cpwc-bottom) .whb-sticked .whb-main-header {
	top: var(--wd-admin-bar-h);
}

/* Checkout v2: its sticky order summary keeps clear of the bar too. */
html.cpwc-on body.cp-co2:not(.cpwc-bottom) .cp-co2-summary {
	top: calc(24px + var(--cpwc-bar-h));
}

.admin-bar .cpwc-bar {
	top: 32px;
}

.cpwc-bar .cpwc-bar__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #FFF;
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.cpwc-bar .cpwc-bar__btn:hover .cpwc-bar__more,
.cpwc-bar .cpwc-bar__btn:focus-visible .cpwc-bar__more {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cpwc-bar__text {
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #FFF;
}

.cpwc-bar__label {
	font-weight: 700;
}

.cpwc-bar .cpwc-chip {
	font-size: 14px;
	padding: 2px 11px;
}

.cpwc-bar__dot {
	opacity: .6;
	margin: 0 2px;
}

.cpwc-bar__more,
.cpwc-bar__more .woocommerce-Price-amount {
	font-weight: 700;
	color: #FFF;
}

.cpwc-wide {
	opacity: .8;
}

.cpwc-bar .woocommerce-Price-amount {
	color: inherit;
}

.cpwc-tick {
	color: var(--cpwc-gold);
	font-weight: 800;
}

.cpwc-bar__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: rgba(255, 255, 255, .22);
}

.cpwc-bar__progress > span,
.cpwc-progress > span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--cpwc-gold-deep), var(--cpwc-gold));
	border-radius: inherit;
}

@media (max-width: 782px) {
	.admin-bar .cpwc-bar {
		top: 46px;
	}

	html.cpwc-on body.admin-bar:not(.cpwc-bottom) {
		--wd-admin-bar-h: calc(46px + var(--cpwc-bar-h));
	}
}

@media (max-width: 767.98px) {
	:root {
		--cpwc-bar-h: 44px;
	}

	.cpwc-wide {
		display: none;
	}

	.cpwc-bar,
	.cpwc-bar .cpwc-bar__btn {
		font-size: 13.5px;
	}

	/* Optional (filter cpwc_bar_position = 'bottom'): above WoodMart's mobile toolbar. */
	.cpwc-bar.cpwc-bar--bottom {
		top: auto;
		bottom: var(--cpwc-toolbar-h);
	}

	html.cpwc-on body.cpwc-bottom {
		padding-top: 0;
		padding-bottom: calc(var(--cpwc-bar-h) + var(--cpwc-toolbar-h));
	}
}

/* ---- inline box (cart, checkout, blocks, shortcode) ------------------------------------------------- */

.cpwc-inline,
.cpwc-sc__box {
	margin: 0 0 16px;
}

/* The main-column copy is only for checkout v2 below 1024px, where the summary (with the other copy) starts closed. */
.cpwc-inline--main {
	display: none !important;
}

@media (max-width: 1023.98px) {
	body.cp-co2 .cpwc-inline--main:not([hidden]) {
		display: block !important;
	}

	html.cpwc-on body.cp-co2 .cpwc-inline--main[hidden] {
		display: block !important;
		visibility: hidden;
		min-height: 64px;
	}
}

html.cpwc-on .cpwc-inline[hidden]:not(.cpwc-inline--main) {
	display: block !important; /* Reserved while the status loads. */
	visibility: hidden;
	min-height: 64px;
}

.cpwc-box {
	box-sizing: border-box;
	padding: 14px 16px;
	background: linear-gradient(135deg, #F3F8FF 0%, #EAF2FE 100%);
	border: 1px solid #D3E2FA;
	border-radius: 14px;
	color: var(--cpwc-text);
	font-size: 14px;
	line-height: 1.45;
}

.cpwc-box__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 0 0 4px;
	color: var(--cpwc-ink);
}

.cpwc-box__head strong {
	font-weight: 700;
	color: var(--cpwc-ink);
}

.cpwc-box__text {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0;
	color: var(--cpwc-text);
}

.cpwc-box__text .woocommerce-Price-amount,
.cpwc-box__head .woocommerce-Price-amount {
	font-weight: 700;
	color: var(--cpwc-ink);
}

.cpwc-box--parked .cpwc-box__text {
	display: block;
}

.cpwc-box--applied .cpwc-box__text {
	color: var(--cpwc-ink);
	font-weight: 600;
}

.cpwc-box--applied .cpwc-tick {
	color: #15803D;
}

.cpwc-box__note {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--cpwc-muted);
}

.cpwc-days {
	margin-left: auto;
	font-size: 12.5px;
	color: var(--cpwc-muted);
}

.cpwc-progress {
	height: 8px;
	margin: 10px 0 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #DCE7FA;
}

.cpwc-link {
	font-size: 13px;
	font-weight: 600;
	color: var(--cpwc-blue) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cpwc-slot .cpwc-use {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin: 0;
	padding: 4px 12px;
	border: 0;
	border-radius: 8px;
	background: var(--cpwc-gold);
	color: var(--cpwc-navy);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	white-space: nowrap;
}

.cpwc-box .cpwc-use {
	margin-top: 10px;
	min-height: 40px;
	padding: 8px 14px;
	background: var(--cpwc-blue);
	color: #FFF;
}

/* WoodMart's button hover rule (:is(.btn, button, [type=button]):hover: colour, border, background, shadow) has
   the same weight as the rules above and loads later; these keep the buttons as they are. */
.cpwc-bar .cpwc-bar__btn:hover {
	border-color: transparent;
	background: none;
	box-shadow: none;
	color: #FFF;
}

.cpwc-slot .cpwc-use:hover {
	border-color: transparent;
	background: var(--cpwc-gold);
	box-shadow: none;
	color: var(--cpwc-navy);
	filter: brightness(1.06);
}

.cpwc-box .cpwc-use:hover {
	background: var(--cpwc-blue);
	color: #FFF;
}

.cpwc-sc .cpwc-form__button:hover {
	border-color: transparent;
	background: var(--cpwc-blue);
	box-shadow: none;
	color: #FFF;
}

/* Focus rings: WoodMart draws its own on every link and button (black dotted, !important); its variables set the
   colour for the background each control sits on. */
.cpwc-bar,
.cpwc-modal .cpwc-modal__x {
	--wd-otl-color: var(--cpwc-gold);
	--wd-otl-style: solid;
	--wd-otl-width: 2px;
}

.cpwc-inline,
.cpwc-sc,
.cpwc-modal__body {
	--wd-otl-color: var(--cpwc-ink);
	--wd-otl-style: solid;
	--wd-otl-width: 2px;
}

.cpwc-slot .cpwc-use:focus-visible,
.cpwc-sc .cpwc-form__button:focus-visible,
.cpwc-sc .cpwc-form__input:focus-visible,
.cpwc-bar .cpwc-bar__btn:focus-visible {
	outline: 2px solid var(--cpwc-gold);
	outline-offset: 2px;
}

.cpwc-box .cpwc-use:focus-visible,
.cpwc-link:focus-visible {
	outline: 2px solid var(--cpwc-ink);
	outline-offset: 2px;
}

.cpwc-slot .cpwc-use[disabled] {
	opacity: .6;
	cursor: default;
}

/* Narrow phones: the €100 chip stays and the label goes, so "add €125 more, pay just €75" fits. */
@media (max-width: 399.98px) {
	.cpwc-bar__label,
	.cpwc-bar__dot {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.cpwc-bar .cpwc-use {
		min-height: 28px;
		padding: 3px 10px;
		font-size: 12px;
	}
}

/* ---- [cellpept_credit] (kept for pages that still use it) ------------------------------------------- */

.cpwc-sc {
	max-width: 520px;
}

.cpwc-form__label {
	display: block;
	margin: 0 0 6px;
	color: var(--cpwc-ink);
	font-weight: 600;
	font-size: 14px;
}

.cpwc-form__row {
	display: flex;
	gap: 8px;
}

.cpwc-sc .cpwc-form__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #CFD8E6;
	border-radius: 10px;
	background: #FFF;
	color: var(--cpwc-ink);
	font-size: 16px;
}

.cpwc-sc .cpwc-form__button {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--cpwc-blue);
	color: #FFF;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.cpwc-sc .cpwc-form__button[disabled] {
	opacity: .6;
}

.cpwc-form__msg {
	min-height: 1.45em;
	margin: 8px 0 12px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--cpwc-ink);
}

.cpwc-form__msg.is-error {
	color: #9F1D14;
}

/* ---- the welcome pop-up -------------------------------------------------------------------------- */

html.cpwc-modal-open,
html.cpwc-modal-open body {
	overflow: hidden !important;
}

.cpwc-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000; /* Below the age check (max), above the site, chat and WoodMart panels. */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.cpwc-modal[hidden] {
	display: none !important;
}

.cpwc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 20, 48, .62);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .3s ease;
}

.cpwc-modal.is-open .cpwc-modal__backdrop {
	opacity: 1;
}

.cpwc-modal__card {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 440px;
	max-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	border-radius: 24px;
	background: #FFF;
	box-shadow: 0 30px 80px rgba(8, 20, 48, .45), 0 2px 6px rgba(8, 20, 48, .2);
	opacity: 0;
	transform: translateY(28px) scale(.84);
}

.cpwc-modal.is-open .cpwc-modal__card {
	animation: cpwc-spring .72s cubic-bezier(.2, .9, .25, 1) .05s both;
}

.cpwc-modal.is-open .cpwc-modal__card.is-bump {
	animation: cpwc-bump .5s cubic-bezier(.3, 1.6, .5, 1) both;
}

@keyframes cpwc-spring {
	0% { opacity: 0; transform: translateY(28px) scale(.84); }
	55% { opacity: 1; transform: translateY(-6px) scale(1.03); }
	78% { transform: translateY(2px) scale(.994); }
	100% { opacity: 1; transform: none; }
}

@keyframes cpwc-bump {
	0% { opacity: 1; transform: scale(1); }
	40% { opacity: 1; transform: scale(1.035); }
	100% { opacity: 1; transform: none; }
}

.cpwc-modal .cpwc-modal__x {
	position: absolute;
	text-transform: none;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	color: #FFF;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease;
}

.cpwc-modal .cpwc-modal__x:hover {
	border-color: transparent;
	background: rgba(255, 255, 255, .28);
	box-shadow: none;
	color: #FFF;
}

.cpwc-modal .cpwc-modal__x:focus-visible {
	outline: 2px solid var(--cpwc-gold);
	outline-offset: 2px;
}

.cpwc-modal__hero {
	position: relative;
	overflow: hidden;
	padding: 34px 24px 28px;
	text-align: center;
	color: #FFF;
	background:
		radial-gradient(120% 90% at 85% -10%, rgba(43, 172, 226, .55) 0%, rgba(43, 172, 226, 0) 60%),
		radial-gradient(90% 70% at 0% 110%, rgba(255, 210, 74, .22) 0%, rgba(255, 210, 74, 0) 55%),
		linear-gradient(150deg, var(--cpwc-navy) 0%, var(--cpwc-blue) 70%, #1C86E0 100%);
}

.cpwc-modal__glow {
	position: absolute;
	inset: -40% -20% auto;
	height: 120%;
	z-index: 1;
	background: radial-gradient(closest-side, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
	pointer-events: none;
}

/* The GLP-2 and GLP3-R vials, blended into the blue behind the amount (the blue gradient above stays as it is).
   The images are pre-tinted blue; "screen" lets them catch the light of the gradient like a watermark. */
.cpwc-modal__hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: url(bottle-glp2.webp), url(bottle-glp3r.webp);
	background-repeat: no-repeat, no-repeat;
	background-position: left -22px center, right -26px center;
	background-size: auto 128%, auto 140%;
	opacity: .5;
	mix-blend-mode: screen;
}

.cpwc-modal__hero > * {
	position: relative;
	z-index: 2;
}

.cpwc-modal__eyebrow {
	position: relative;
	display: inline-block;
	margin: 0 0 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 210, 74, .16);
	color: var(--cpwc-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.cpwc-modal__amount {
	position: relative;
	margin: 0;
	color: #FFF;
	font-size: clamp(64px, 20vw, 96px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.035em;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 6px 24px rgba(8, 20, 48, .35);
}

.cpwc-modal.is-open .cpwc-modal__amount {
	animation: cpwc-amount .8s cubic-bezier(.2, 1.4, .4, 1) .25s both;
}

@keyframes cpwc-amount {
	0% { opacity: 0; transform: scale(.6); }
	100% { opacity: 1; transform: none; }
}

.cpwc-modal__num {
	display: inline-flex;
	align-items: flex-start;
	justify-content: center;
}

.cpwc-modal__cur {
	margin: .12em .04em 0 0;
	font-size: .46em;
	font-weight: 800;
	line-height: 1;
	opacity: .95;
}

.cpwc-modal__sub {
	position: relative;
	margin: 8px 0 0;
	color: rgba(255, 255, 255, .9);
	font-size: 16px;
	font-weight: 600;
}

.cpwc-modal__body {
	padding: 22px 24px 20px;
	color: var(--cpwc-text);
	font-size: 15px;
	line-height: 1.5;
}

.cpwc-modal__view[hidden],
.cpwc-modal [hidden] {
	display: none !important;
}

.cpwc-modal__intro,
.cpwc-modal__how {
	margin: 0 0 16px;
	color: var(--cpwc-text);
	font-size: 15px;
	text-align: center;
}

.cpwc-modal__label {
	display: block;
	margin: 0 0 6px;
	color: var(--cpwc-ink);
	font-size: 13px;
	font-weight: 700;
}

.cpwc-modal__row {
	display: flex;
	gap: 8px;
}

.cpwc-modal .cpwc-modal__input {
	flex: 1 1 auto;
	min-width: 0;
	box-sizing: border-box;
	height: 52px;
	margin: 0;
	padding: 0 14px;
	border: 1.5px solid #CFD8E6;
	border-radius: 12px;
	background: #FFF;
	color: var(--cpwc-ink);
	font-size: 16px; /* No zoom on iOS. */
	letter-spacing: .04em;
	box-shadow: none;
}

.cpwc-modal .cpwc-modal__input:focus {
	border-color: var(--cpwc-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(12, 93, 216, .18);
}

.cpwc-modal .cpwc-modal__go,
.cpwc-modal .cpwc-modal__cta,
.cpwc-modal .cpwc-modal__swap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	height: 52px;
	min-height: 0;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(180deg, #1A6CE6 0%, var(--cpwc-blue) 100%);
	color: #FFF !important;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(12, 93, 216, .28);
	transition: transform .15s ease, box-shadow .15s ease;
}

.cpwc-modal .cpwc-modal__go:hover,
.cpwc-modal .cpwc-modal__cta:hover,
.cpwc-modal .cpwc-modal__swap:hover {
	border-color: transparent;
	background-color: var(--cpwc-blue);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(12, 93, 216, .34);
}

.cpwc-modal .cpwc-modal__go[disabled],
.cpwc-modal .cpwc-modal__swap[disabled] {
	opacity: .65;
	cursor: default;
	transform: none;
}

.cpwc-modal .cpwc-modal__go:focus-visible,
.cpwc-modal .cpwc-modal__cta:focus-visible,
.cpwc-modal .cpwc-modal__swap:focus-visible,
.cpwc-modal .cpwc-modal__later:focus-visible {
	outline: 2px solid var(--cpwc-ink);
	outline-offset: 2px;
}

.cpwc-modal__msg {
	min-height: 1.4em;
	margin: 8px 0 0;
	color: #B42318;
	font-size: 13.5px;
	font-weight: 600;
}

.cpwc-modal__msg:empty {
	min-height: 0;
	margin: 0;
}

.cpwc-modal__perks {
	display: grid;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.cpwc-modal__perk {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--cpwc-ink);
	font-size: 14px;
	font-weight: 600;
}

.cpwc-modal__perk-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #E5F0FF;
	color: var(--cpwc-blue);
	font-size: 12px;
	font-weight: 800;
}

.cpwc-modal__basket {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #F3F8FF;
	border: 1px solid #D3E2FA;
}

.cpwc-modal__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #DCE7FA;
}

.cpwc-modal__fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--cpwc-gold-deep), var(--cpwc-gold));
	transition: width .8s cubic-bezier(.2, .9, .3, 1) .2s;
}

.cpwc-modal__basket-text {
	margin: 8px 0 0;
	color: var(--cpwc-ink);
	font-size: 13.5px;
	font-weight: 700;
	text-align: center;
}

.cpwc-modal__note {
	margin: 0 0 12px;
	color: var(--cpwc-muted);
	font-size: 13px;
	text-align: center;
}

.cpwc-modal__note:empty {
	display: none;
}

.cpwc-modal .cpwc-modal__cta,
.cpwc-modal .cpwc-modal__swap {
	width: 100%;
	font-size: 16px;
}

.cpwc-modal__arrow {
	transition: transform .2s ease;
}

.cpwc-modal .cpwc-modal__cta:hover .cpwc-modal__arrow {
	transform: translateX(3px);
}

.cpwc-modal .cpwc-modal__later {
	display: block;
	width: 100%;
	min-height: 0;
	margin: 6px 0 0;
	padding: 10px;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--cpwc-muted);
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.cpwc-modal .cpwc-modal__later:hover {
	border-color: transparent;
	background: none;
	box-shadow: none;
	color: var(--cpwc-ink);
}

.cpwc-modal__expiry {
	margin: 4px 0 0;
	color: var(--cpwc-blue);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.cpwc-modal__expiry:empty {
	display: none;
}

.cpwc-modal__terms {
	margin: 16px 0 0;
	padding-top: 12px;
	border-top: 1px solid #EDF1F7;
	color: var(--cpwc-muted);
	font-size: 11.5px;
	line-height: 1.5;
	text-align: center;
}

/* WoodMart's catch-all button / input rules (:is(.btn, button, [type=submit], ...), input[type=text]) must not
   restyle the pop-up: the selectors above are scoped one level deeper; these settle the remaining properties. */
.cpwc-modal button,
.cpwc-modal input {
	text-transform: none;
	letter-spacing: 0;
}

/* The card takes the focus when text inside is clicked (Esc and Tab keep working); no ring for that. */
.cpwc-modal__card:focus {
	outline: none;
}

/* Confetti on activation. */
.cpwc-confetti {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.cpwc-confetti i {
	position: absolute;
	top: -12px;
	left: var(--x);
	width: 8px;
	height: 12px;
	border-radius: 2px;
	opacity: 0;
	animation: cpwc-fall var(--d) cubic-bezier(.25, .6, .45, 1) var(--delay) forwards;
}

@keyframes cpwc-fall {
	0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
	100% { opacity: 0; transform: translate3d(var(--dx), 230px, 0) rotate(var(--r)); }
}

/* Whole-page celebration when the balance is claimed (rains over everything, including the pop-up). */
.cpwc-confetti--page {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	overflow: hidden;
	pointer-events: none;
}

.cpwc-confetti--page i {
	position: absolute;
	top: -18px;
	left: var(--x);
	width: 9px;
	height: 14px;
	border-radius: 2px;
	opacity: 0;
	box-shadow: 0 1px 3px rgba(8, 20, 48, .18);
	animation: cpwc-fall-page var(--d) cubic-bezier(.2, .6, .4, 1) var(--delay) forwards;
}

@keyframes cpwc-fall-page {
	0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
	10% { opacity: 1; }
	100% { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--r)); }
}

@media (max-width: 480px) {
	.cpwc-modal {
		padding: 12px;
		align-items: flex-end;
	}

	.cpwc-modal__card {
		border-radius: 22px;
	}

	.cpwc-modal__hero {
		padding: 30px 20px 24px;
	}

	.cpwc-modal__body {
		padding: 20px 18px 16px;
	}

	.cpwc-modal__row {
		flex-direction: column;
	}

	.cpwc-modal .cpwc-modal__go {
		width: 100%;
	}
}

@media (max-height: 640px) {
	.cpwc-modal__hero {
		padding-top: 22px;
		padding-bottom: 18px;
	}

	.cpwc-modal__amount {
		font-size: 64px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cpwc-modal.is-open .cpwc-modal__card,
	.cpwc-modal.is-open .cpwc-modal__card.is-bump,
	.cpwc-modal.is-open .cpwc-modal__amount {
		animation: none !important;
		opacity: 1;
		transform: none;
	}

	.cpwc-modal__fill,
	.cpwc-modal__backdrop {
		transition: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.cpwc-progress > span,
	.cpwc-bar__progress > span {
		transition: width .3s ease;
	}
}
