/* Dr. Lentilla Club. Colours come from the theme palette (see Style::inline_css()). */
.kt-club-box,
.kt-club-card,
.kt-club-banner {
	--kt-bg: var(--kt-club-bg, #15c29b);
	--kt-fg: var(--kt-club-fg, #333);
	--kt-btn: var(--kt-club-btn, #04678d);
	--kt-hover: var(--wp--preset--color--black, #333);
	/* Soft contact-lens pattern over the accent colour. */
	background-color: var(--kt-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.22' stroke-width='2'%3E%3Ccircle cx='30' cy='30' r='22'/%3E%3Ccircle cx='30' cy='30' r='11'/%3E%3Ccircle cx='90' cy='90' r='22'/%3E%3Ccircle cx='90' cy='90' r='11'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.2'%3E%3Ccircle cx='90' cy='30' r='3'/%3E%3Ccircle cx='30' cy='90' r='3'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 120px 120px;
	color: var(--kt-fg);
}

/* Same scheme as the theme buttons in cart and checkout (see the checkout coupon button):
   colour-1 background, white text, weight 500, medium radius, inherited font.
   WooCommerce and the theme style `.button` with rules of higher specificity, so the box buttons
   carry their own class and the layout properties are enforced. The theme hover is colour-2, which
   is the box background, so here the hover is black. */
.kt-club-box .kt-club-btn.button,
#order_review .kt-club-box .kt-club-btn.button,
.kt-club-banner .kt-club-btn.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 0;
	padding: .75em .8em !important;
	border: 0 !important;
	border-radius: var(--wp--custom--border-radius--medium, 24px) !important;
	background-color: var(--kt-btn);
	color: #fff;
	font-family: inherit;
	font-size: 1em !important;
	font-style: normal;
	font-weight: 500 !important;
	letter-spacing: normal;
	line-height: normal !important;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.kt-club-box .button:hover,
.kt-club-box .button:focus,
.kt-club-banner__button:hover,
.kt-club-banner__button:focus,
.woocommerce .kt-club-box .button:hover,
.woocommerce .kt-club-box .button:focus {
	background-color: var(--kt-hover) !important;
	color: #fff !important;
	text-decoration: none;
}

/* Cart, checkout and account boxes: same card scheme as the theme (padding, radius, shadow), colour-2 background. */
.kt-club-box,
.kt-club-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 8rem;
	padding: var(--wp--custom--layout--padding, 20px);
	margin: 0 0 1.5em;
	border-radius: var(--wp--custom--border-radius--medium, 6px);
	box-shadow: var(--wp--custom--box-shadow--2, 0 2px 8px rgba(0, 0, 0, .12));
}
.kt-club-box a,
.kt-club-card a {
	color: inherit;
	font-weight: 500;
	text-decoration: underline;
}
.kt-club-box__title {
	margin: 0 0 .5em;
	font-size: 1.5em;
	color: inherit;
}
.kt-club-box > *,
.kt-club-card > * {
	margin-top: 0;
	margin-bottom: .75em;
}
.kt-club-box > :last-child,
.kt-club-card > :last-child {
	margin-bottom: 0;
}
.kt-club-box__title {
	margin-bottom: .5em;
}
.kt-club-terms {
	font-size: .85em;
}
.kt-club-banner .kt-club-terms {
	margin: 1rem 0 0;
}
.kt-club-banner .kt-club-terms a {
	color: inherit;
	text-decoration: underline;
}
.kt-club-box__form {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
	align-items: stretch;
}
/* The two buttons always share a line; when the input does not fit next to them, it goes on top. */
.kt-club-box__actions {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: nowrap;
	gap: .5em;
}
.kt-club-box__actions .button {
	flex: 1 1 auto;
	margin: 0;
	white-space: nowrap;
}
@media (max-width: 480px) {
	.kt-club-box__form {
		flex-direction: column;
	}
	.kt-club-input {
		flex: 0 0 auto;
		width: 100%;
	}
	.kt-club-box__actions .button {
		padding-left: .5em;
		padding-right: .5em;
	}
}
.kt-club-input {
	flex: 0 1 6.5em;
	width: 6.5em;
	margin: 0;
	padding: .5em .8em;
	line-height: normal;
	max-width: 100%;
	border-radius: var(--wp--custom--border-radius--medium, 6px);
}
.kt-club-box.is-loading {
	opacity: .6;
	pointer-events: none;
}
.kt-club-message {
	font-weight: 500;
}
.kt-club-message:empty {
	display: none;
}
.kt-club-account__balance {
	font-size: 1.4em;
}

/* Short messages (product, cart, thank-you): light tint of the accent colour. */
.kt-club-note {
	margin: .75em 0;
	padding: .6em 1em;
	border-left: 4px solid var(--kt-club-bg, #15c29b);
	border-radius: var(--wp--custom--border-radius--small, 4px);
	background-color: rgba(21, 194, 155, .12);
	font-size: .95em;
}
@supports (background-color: color-mix(in srgb, red, blue)) {
	.kt-club-note {
		background-color: color-mix(in srgb, var(--kt-club-bg, #15c29b) 14%, #fff);
	}
}

/* Banner. */
.kt-club-banner {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 5rem) var(--wp--custom--layout--padding, 20px);
	margin: 0 0 2rem;
}
.kt-club-banner.is-full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.kt-club-banner::before,
.kt-club-banner::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	pointer-events: none;
}
.kt-club-banner::before {
	width: 28rem;
	height: 28rem;
	top: -12rem;
	right: -6rem;
}
.kt-club-banner::after {
	width: 16rem;
	height: 16rem;
	bottom: -8rem;
	left: 8%;
	background: rgba(255, 255, 255, .12);
}
.kt-club-banner__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}
.kt-club-banner__eyebrow {
	display: inline-block;
	margin-bottom: .75rem;
	padding: .25em .9em;
	border-radius: 999px;
	background: rgba(255, 255, 255, .85);
	color: #333;
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.kt-club-banner__title {
	margin: 0 0 .5rem;
	color: inherit;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.05;
	font-weight: 700;
}
.kt-club-banner__text {
	max-width: 36em;
	margin: 0 0 1.5rem;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	line-height: 1.5;
}
.kt-club-banner .kt-club-btn.button.kt-club-banner__button {
	padding: 1em 2em !important;
	font-size: 1.1rem !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.kt-club-banner__button:hover {
	transform: translateY(-2px);
}
.kt-club-banner__perks {
	display: grid;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.kt-club-banner__perks li {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 1rem 1.25rem;
	border-radius: var(--wp--custom--border-radius--medium, 8px);
	background: rgba(255, 255, 255, .88);
	color: #333;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}
.kt-club-banner__perks strong {
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	line-height: 1.1;
	color: var(--kt-btn);
}
.kt-club-banner__perks span {
	font-size: .9rem;
}
@media (max-width: 782px) {
	.kt-club-banner__inner {
		grid-template-columns: 1fr;
	}
}

/* A full-width banner is as wide as the window including the scrollbar: avoid a horizontal scrollbar. */
body:has(.kt-club-banner.is-full) {
	overflow-x: clip;
}
