/* JKP Purchase Cards: styles for the two stacked purchase cards.
 * Brand colors are variables on .jkp-cards below. Change them in one place. */

/* The original tabs/forms stay in the page (they do the real add-to-cart),
   but are hidden once the cards have been built. */
.jkp-pending .tabbed-content { visibility: hidden; }
.tabbed-content.jkp-enhanced { display: none !important; }

.jkp-cards {
		--jkp-navy: #1D2B4A; /* theme primary (--fs-color-primary) */
	--jkp-gold: #DFAA26; /* theme secondary (--fs-color-secondary) */
	--jkp-tint: #F5F6FA;
	--jkp-soft: #5B6275;
	--jkp-line: #D3D7E2;

	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0 0 20px;
	clear: both;
	color: var(--jkp-navy);
	font-family: inherit;
	line-height: 1.3;
}

.jkp-cards *,
.jkp-cards *::before,
.jkp-cards *::after { box-sizing: border-box; }

.jkp-cards [hidden] { display: none !important; }
.jkp-cards ul { margin: 0; padding: 0; list-style: none; }
.jkp-cards li { margin: 0; padding: 0; }
.jkp-cards p { margin: 0; }
.jkp-cards img { margin: 0; max-width: none; }
.jkp-cards s { text-decoration: line-through; }
.jkp-cards svg { flex: none; }

.jkp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---- Button reset: theme button styles (Flatsome) must not leak in. ---- */
.jkp-cards button {
	margin: 0;
	padding: 0;
	min-height: 0;
	min-width: 0;
	width: auto;
	max-width: none;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	font: inherit;
	border-radius: 0;
	cursor: pointer;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
}
.jkp-cards button,
.jkp-cards button:hover,
.jkp-cards button:focus,
.jkp-cards button:active {
	background: var(--jkp-bg, transparent);
	color: var(--jkp-fg, inherit);
	border: var(--jkp-bd, 0);
	box-shadow: none;
	opacity: 1;
}
.jkp-cards button:focus-visible {
	outline: 3px solid var(--jkp-navy);
	outline-offset: 2px;
}

/* ---- Radio dot (shared) ---- */
.jkp-radio {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid #9AA1B5;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.jkp-radio::after {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--jkp-navy);
	transform: scale(0);
	transition: transform 0.15s ease;
}
.is-selected .jkp-radio { border-color: var(--jkp-navy); }
.is-selected .jkp-radio::after { transform: scale(1); }

.jkp-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.jkp-title { font-size: 20px; font-weight: 900; line-height: 1.1; }
.jkp-sub { font-size: 14px; color: var(--jkp-soft); line-height: 1.3; }

.jkp-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.jkp-price__was { font-size: 14px; color: var(--jkp-soft); }
.jkp-price__now { font-size: 26px; font-weight: 900; line-height: 1; color: var(--jkp-navy); }
.jkp-price__per { font-size: 12px; color: var(--jkp-soft); }

/* ---- Size selector (only when a product has more than one size) ---- */
.jkp-size { display: flex; flex-direction: column; gap: 8px; }
.jkp-size__label { font-size: 13px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.jkp-size__opts { display: flex; flex-wrap: wrap; gap: 12px; }
.jkp-cards .jkp-sizeopt {
	flex: 1 1 0;
	min-width: 96px;
	min-height: 52px;
	padding: 6px 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 15px;
	font-weight: 900;
	border-radius: 0;
	--jkp-bg: #fff;
	--jkp-fg: var(--jkp-navy);
	--jkp-bd: 2px solid #C9CEDC;
}
.jkp-cards .jkp-sizeopt.is-selected {
	--jkp-bd: 2px solid var(--jkp-navy);
	box-shadow: inset 0 0 0 1px var(--jkp-navy);
}
/* While another size is loading. */
.jkp-cards.is-loading { opacity: 0.55; pointer-events: none; transition: opacity 0.15s ease; }

/* ---- Subscribe & Save card ---- */
.jkp-card--sub {
	position: relative;
	margin-top: 10px;
	padding: 24px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border: 2px solid var(--jkp-line);
	border-radius: 0;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.jkp-card--sub.is-selected {
	border-color: var(--jkp-navy);
	background: var(--jkp-tint);
}

.jkp-ribbon {
	position: absolute;
	top: -15px;
	right: 20px;
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--jkp-gold);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 7px 12px;
	border-radius: 0;
}

.jkp-cards .jkp-head {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 56px;
}

.jkp-save {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 12px;
	background: var(--jkp-navy);
	color: #fff;
	border-radius: 0;
	padding: 12px 16px;
}
.jkp-save__main { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.jkp-save__main svg { color: var(--jkp-gold); }
.jkp-save__main b { color: var(--jkp-gold); font-weight: 900; }

.jkp-perks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0.9em; text-align: center; }
.jkp-perks li { display: flex; align-items: center; gap: 0.5em; font-size: 12px; font-weight: 700; white-space: nowrap; }
.jkp-perks svg { color: var(--jkp-navy); width: 1.33em; height: 1.33em; }
/* The theme adds a left margin to lists; this keeps the row truly centered. */
.jkp-cards ul.jkp-perks {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.jkp-cards ul.jkp-perks > li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.jkp-freq { display: flex; flex-direction: column; gap: 8px; }
.jkp-freq__label { font-size: 13px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.jkp-freq__pills { display: grid; gap: 8px; }
.jkp-freq__note { font-size: 13px; color: var(--jkp-soft); line-height: 1.4; text-align: center; }

.jkp-cards .jkp-pill {
	min-height: 52px;
	padding: 6px 4px;
	border-radius: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	font-size: 15px;
	font-weight: 900;
	text-align: center;
	--jkp-bg: #fff;
	--jkp-fg: var(--jkp-navy);
	--jkp-bd: 2px solid #C9CEDC;
}
.jkp-cards .jkp-pill.is-selected {
	--jkp-bg: var(--jkp-navy);
	--jkp-fg: #fff;
	--jkp-bd: 2px solid var(--jkp-navy);
}
.jkp-pill small {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--jkp-navy);
}
.jkp-pill.is-selected small { color: #fff; }

/* ---- One-time card ---- */
.jkp-cards .jkp-card--once {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 80px;
	padding: 18px 20px;
	border-radius: 0;
	--jkp-bg: #fff;
	--jkp-bd: 2px solid var(--jkp-line);
}
.jkp-cards .jkp-card--once.is-selected {
	--jkp-bg: #F5F6FA;
	--jkp-bd: 2px solid var(--jkp-navy);
}
.jkp-card--once .jkp-title { font-size: 18px; }
.jkp-card--once .jkp-price__now { font-size: 26px; color: var(--jkp-navy); }
.jkp-card--once.is-selected .jkp-radio { border-color: var(--jkp-navy); }
.jkp-card--once.is-selected .jkp-radio::after { background: var(--jkp-navy); }

.jkp-nudge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 12px;
	background: #FFF1CC;
	border-radius: 0;
	padding: 12px 16px;
}
.jkp-nudge__text { font-size: 14px; font-weight: 700; line-height: 1.3; }
.jkp-cards .jkp-nudge__btn {
	/* Same height and lettering as the main Add to Cart / Subscribe button. */
	min-height: 44px;
	padding: 0 1.2em;
	border-radius: 0;
	font-size: .97em;
	font-weight: bolder;
	letter-spacing: .03em;
	line-height: 1.5;
	text-transform: uppercase;
	--jkp-bg: var(--jkp-navy);
	--jkp-fg: #fff;
}

/* ---- Quantity + add to cart ---- */
.jkp-buy { display: flex; gap: 12px; align-items: stretch; margin-top: 4px; }
.jkp-qty {
	flex: none;
	display: flex;
	align-items: center;
	min-height: 2.5em;
	border: 2px solid #C9CEDC;
	border-radius: 0;
	background: #fff;
}
.jkp-cards .jkp-qty__btn {
	width: 44px;
	height: 100%;
	font-size: 22px;
	text-align: center;
	--jkp-fg: var(--jkp-navy);
}
.jkp-qty__val { min-width: 28px; text-align: center; font-size: 18px; font-weight: 900; }

.jkp-cards .jkp-cta {
	/* Copied from the theme's own buttons (Flatsome .button.secondary). */
	flex: 1;
	max-width: 100%;
	min-width: 24px;
	min-height: 44px;
	padding: 0.35em 1.2em;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	box-sizing: border-box;
	border-radius: 0;
	font-size: .97em;
	font-weight: bolder;
	letter-spacing: .03em;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	text-rendering: optimizeLegibility;
	text-shadow: none;
	text-transform: uppercase;
	vertical-align: middle;
	transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s;
	--jkp-bg: var(--jkp-gold);
	--jkp-fg: #fff;
	--jkp-bd: 1px solid rgba(0, 0, 0, .05);
}
/* Second line inside the button: "Every 4 Months · Cancel Anytime" */
.jkp-cta__sub {
	display: block;
	font-size: 0.82em;
	font-weight: 400;
	letter-spacing: .02em;
	line-height: 1.3;
	text-transform: none;
}
/* Flatsome's standard hover on coloured buttons: a darkening overlay. */
.jkp-cards .jkp-cta:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2); }
.jkp-cards .jkp-cta.is-busy { opacity: .8; cursor: wait; }


/* ---- Benefits row: stays on ONE line at any width ----
 * The card measures itself, and the row's text scales with it (icons and gaps
 * are in em, so they scale too). Browsers too old for this simply wrap instead. */
@supports (container-type: inline-size) {
	.jkp-card--sub { container-type: inline-size; }
	.jkp-cards ul.jkp-perks { flex-wrap: nowrap; }
	.jkp-cards ul.jkp-perks > li { font-size: clamp(7px, 2.6cqw, 13px); }
}

/* ---- Sticky gallery (desktop only) ----
 * The image column stays pinned while the taller right column scrolls past it.
 * Only applies on wide, tall windows so the gallery is never cut off.
 * Turned on or off with 'stickyGallery' in the plugin's PHP file. */
@media (min-width: 850px) and (min-height: 600px) {
	/* Pinning stops working if a parent hides overflow, so make sure none does. */
	body.jkp-sticky-gallery.jkp-has-cards .product-main,
	body.jkp-sticky-gallery.jkp-has-cards .product-main > .row,
	body.jkp-sticky-gallery.jkp-has-cards .product-container {
		overflow: visible;
	}
	body.jkp-sticky-gallery.jkp-has-cards .product-main .product-gallery {
		position: sticky;
		top: var(--jkp-sticky-top, 110px);
		align-self: flex-start;
	}
}

/* ---- Hide the default WooCommerce price at the top of the page ----
 * The cards show both prices. Turned on or off with 'hideDefaultPrice' in the plugin's PHP file. */
body.jkp-hide-price.jkp-has-cards .product-info .price-wrapper,
body.jkp-hide-price.jkp-has-cards .product-info p.price,
body.jkp-hide-price.jkp-has-cards .product-info .product-page-price {
	display: none;
}

/* ---- Small screens ---- */
@media (max-width: 480px) {
	.jkp-card--sub { padding: 24px 16px 16px; }
	.jkp-cards .jkp-head { flex-wrap: wrap; }
	.jkp-head .jkp-text { flex: 1 1 120px; }
	.jkp-head .jkp-price {
		flex-basis: 100%;
		flex-direction: row;
		align-items: baseline;
		justify-content: flex-end;
		gap: 8px;
	}
	.jkp-cards .jkp-pill { font-size: 14px; }
	.jkp-freq__pills--many { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.jkp-cards .jkp-card--once { padding: 16px; }
	.jkp-ribbon { right: 12px; font-size: 11px; }
}

/* ---- Phones (about 393px, e.g. iPhone 14 Pro): a more compact subscription card ----
 * Title and price share one line, all delivery buttons fit on one row, and the
 * button text takes two lines. The one-time card uses the same type sizes. */
@media (max-width: 480px) {
	.jkp-card--sub { padding: 22px 14px 14px; gap: 12px; }
	/* Row 1: radio, title, price. Row 2: the one-line tagline under the title. */
	.jkp-cards .jkp-card--sub .jkp-head {
		display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 3px;
		align-items: center; min-height: 0; text-align: left;
	}
	.jkp-card--sub .jkp-head .jkp-text { display: contents; }
	.jkp-card--sub .jkp-head .jkp-radio { grid-column: 1; grid-row: 1; }
	.jkp-card--sub .jkp-head .jkp-title { grid-column: 2; grid-row: 1; white-space: nowrap; font-size: clamp(14px, 4.3vw, 17px); }
	.jkp-card--sub .jkp-head .jkp-price {
		grid-column: 3; grid-row: 1; flex-direction: row; align-items: baseline; justify-content: flex-end; gap: 6px;
	}
	.jkp-card--sub .jkp-head .jkp-price__per { display: none; }
	.jkp-card--sub .jkp-head .jkp-sub {
		grid-column: 2 / -1; grid-row: 2; white-space: nowrap; overflow: hidden;
		font-size: 12px;
	}
	.jkp-title { font-size: 17px; }
	.jkp-sub { font-size: 12px; line-height: 1.25; }
	.jkp-price__was { font-size: 12px; }
	.jkp-price__now { font-size: 24px; }
	.jkp-price__per { font-size: 11px; }
	.jkp-radio { width: 22px; height: 22px; flex: 0 0 auto; }
	.jkp-save { padding: 9px 12px; }
	.jkp-save__main { font-size: 14px; gap: 8px; }
	.jkp-freq { gap: 6px; }
	.jkp-freq__label { font-size: 12px; }
	.jkp-freq__pills { gap: 6px; }
	.jkp-freq__pills--many { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.jkp-cards .jkp-pill { min-height: 42px; padding: 4px 2px; font-size: 12.5px; gap: 1px; }
	.jkp-pill small { font-size: 8px; letter-spacing: .02em; line-height: 1.15; white-space: nowrap; }
	.jkp-freq__note { font-size: 12px; white-space: nowrap; overflow: hidden; }

	/* One-time card: same type sizes as the subscription card. */
	.jkp-cards .jkp-card--once { padding: 14px; min-height: 0; gap: 10px; }
	.jkp-card--once .jkp-title { font-size: 17px; }
	.jkp-card--once .jkp-price__now { font-size: 24px; }

	/* Add to cart: smaller quantity box, and button text on two lines. */
	.jkp-buy { gap: 8px; }
	.jkp-cards .jkp-qty__btn { width: 34px; font-size: 20px; }
	.jkp-qty__val { min-width: 22px; font-size: 16px; }
	.jkp-cards .jkp-cta { font-size: 12px; padding: .35em .5em; }
	.jkp-cards .jkp-nudge__btn { font-size: 12px; padding: 0 1em; }
	/* Yellow banner on phones: text wraps to two lines on the left, button sits on the right. */
	.jkp-nudge { flex-wrap: nowrap; gap: 12px; padding: 12px 14px; }
	.jkp-nudge__text { flex: 1 1 auto; min-width: 0; font-size: 13px; }
	.jkp-cards .jkp-nudge__btn { flex: 0 0 auto; white-space: nowrap; }
	.jkp-cta__main { white-space: nowrap; }
	.jkp-cta__sub { font-size: .85em; white-space: nowrap; }
}

/* ---------- Sticky add-to-cart bar (replaces the theme's, which tracks the hidden button) ---------- */
body.jkp-has-cards .sticky-add-to-cart-wrapper,
body.jkp-has-cards .sticky-add-to-cart { display: none !important; }

.jkp-sticky {
	--jkp-navy: #1D2B4A;
	--jkp-gold: #DFAA26;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	background: #fff;
	border-top: 1px solid rgba(29, 43, 74, .15);
	transform: translateY(105%);
	transition: transform .25s ease;
	visibility: hidden;
	padding-bottom: env(safe-area-inset-bottom, 0);
}
.jkp-sticky.is-visible { transform: none; visibility: visible; }
.jkp-sticky__inner {
	display: flex;
	align-items: center;
	gap: 22px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 20px;
}
.jkp-sticky__img { flex: 0 0 auto; width: 64px; height: 64px; object-fit: contain; background: #fff; }
.jkp-sticky__info { min-width: 0; flex: 1 1 200px; }
.jkp-sticky__title {
	color: var(--jkp-navy);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.jkp-sticky__price { color: var(--jkp-navy); font-size: 15px; margin-top: 3px; }
.jkp-sticky__price b { font-weight: 700; }
.jkp-sticky__price s { opacity: .55; margin-left: 4px; font-size: 13px; }
.jkp-sticky__choices { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
.jkp-sticky__opt { display: flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; color: var(--jkp-navy); font-size: 15px; line-height: 1.2; }
.jkp-sticky__opt input { position: absolute; opacity: 0; pointer-events: none; }
.jkp-sticky__dot {
	flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
	border: 2px solid var(--jkp-navy); background: #fff; box-sizing: border-box; position: relative;
}
.jkp-sticky__opt input:checked + .jkp-sticky__dot::after {
	content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--jkp-navy);
}
.jkp-sticky__opt input:focus-visible + .jkp-sticky__dot { outline: 2px solid var(--jkp-gold); outline-offset: 2px; }
.jkp-sticky__lbl { font-weight: 600; }
.jkp-sticky__pill { background: var(--jkp-navy); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; white-space: nowrap; }
.jkp-sticky__pill[hidden] { display: none; }
.jkp-sticky .jkp-sticky__select {
	flex: 0 0 auto; width: auto; min-width: 150px; margin: 0; height: 40px; border-radius: 0;
	border: 1px solid rgba(29, 43, 74, .35); color: var(--jkp-navy); background-color: #fff;
	font-size: 15px; padding: 0 30px 0 12px; box-shadow: none;
}
.jkp-sticky .jkp-sticky__select:disabled { opacity: .35; cursor: not-allowed; }
.jkp-sticky .jkp-sticky__btn {
	flex: 0 0 auto;
	margin: 0;
	border-radius: 0;
	border: 1px solid rgba(0, 0, 0, .05);
	background: var(--jkp-gold);
	color: #fff;
	font-family: Lato, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 14px;
	line-height: 1;
	min-height: 46px;
	padding: 0 30px;
	cursor: pointer;
	box-shadow: none;
}
.jkp-sticky .jkp-sticky__btn:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2); }

@media (max-width: 1000px) {
	.jkp-sticky__info { display: none; }
	.jkp-sticky__inner { justify-content: center; gap: 14px; }
}
@media (max-width: 649px) {
	.jkp-sticky__inner { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 10px 14px; }
	.jkp-sticky__img { display: none; }
	.jkp-sticky__choices { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; gap: 10px; }
	.jkp-sticky__opt { font-size: 13px; gap: 6px; }
	.jkp-sticky__pill { font-size: 11px; padding: 2px 6px; }
	.jkp-sticky .jkp-sticky__select { min-width: 0; width: 100%; }
	.jkp-sticky .jkp-sticky__btn { padding: 0 20px; }
}

/* Benefits row in the sticky bar: green check when subscribing, grey x for one-time */
.jkp-sticky__main { display: flex; flex-direction: column; gap: 8px; flex: 0 1 auto; min-width: 0; }
.jkp-sticky__row { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.jkp-sticky ul.jkp-sticky__perks {
	list-style: none !important; margin: 0 !important; padding: 0 !important;
	display: flex; gap: 22px; flex-wrap: nowrap;
}
.jkp-sticky ul.jkp-sticky__perks li {
	list-style: none !important; margin: 0 !important; padding: 0 !important;
	display: flex; align-items: center; gap: 6px;
	font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--jkp-navy);
}
.jkp-sticky__tick circle { fill: #3E8E41; }
.jkp-sticky__tick .is-no { display: none; }
.jkp-sticky.is-once ul.jkp-sticky__perks li { color: #8a8f99; }
.jkp-sticky.is-once .jkp-sticky__tick circle { fill: #8a8f99; }
.jkp-sticky.is-once .jkp-sticky__tick .is-yes { display: none; }
.jkp-sticky.is-once .jkp-sticky__tick .is-no { display: inline; }
@media (max-width: 649px) {
	.jkp-sticky__main { display: contents; }
	.jkp-sticky__row { display: contents; }
	/* Benefits row sits under the radio buttons, centred across the phone width. */
	.jkp-sticky__choices { order: 1; }
	.jkp-sticky .jkp-sticky__select { order: 3; }
	.jkp-sticky .jkp-sticky__btn { order: 4; }
	.jkp-sticky ul.jkp-sticky__perks {
		order: 2; grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; gap: 4px 14px;
	}
	.jkp-sticky ul.jkp-sticky__perks li { font-size: 11px; gap: 5px; }
	.jkp-sticky__tick { width: 14px; height: 14px; }
	.jkp-sticky.is-once .jkp-sticky__select { visibility: hidden; }
}

/* Short perk wording is for phones only. */
.jkp-sticky__short { display: none; }
@media (max-width: 649px) {
	.jkp-sticky__long { display: none; }
	.jkp-sticky__short { display: inline; }
	.jkp-sticky ul.jkp-sticky__perks { flex-wrap: nowrap; gap: 4px 12px; }
	.jkp-sticky ul.jkp-sticky__perks li { font-size: clamp(9px, 2.9vw, 11.5px); white-space: nowrap; gap: 4px; }
	.jkp-sticky__tick { width: 13px; height: 13px; flex: 0 0 auto; }
}

/* WooCommerce Subscriptions leaves an empty "first payment date" paragraph under the
   button, which only adds blank space. Hidden while it is empty; it still shows if
   a product has a real first-payment date. */
body.jkp-has-cards .first-payment-date:has(> small:empty),
body.jkp-has-cards .first-payment-date:empty { display: none !important; }
