/* WK Loyalty – WOLLKE CI: sage green #7ab38b, square corners, white button text. */
.wk-loyalty {
	--wkl-accent: #7ab38b;
	--wkl-soft: #f3f8f4;
	--wkl-line: #dfeae2;
	--wkl-title: #242424;
}

/* Cart and checkout box */
.wk-loyalty-box {
	margin: 0 0 16px;
	padding: 14px 16px;
	background: var(--wkl-soft);
	border-left: 3px solid var(--wkl-accent);
	color: var(--wkl-title);
	font-size: 14px;
	line-height: 1.5;
}
.wk-loyalty-box__title {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}
.wk-loyalty-box p {
	margin: 0 0 8px;
}
.wk-loyalty-box p:last-child {
	margin-bottom: 0;
}
.wk-loyalty-box__amount input {
	width: 6em;
	margin: 0 6px 8px 4px;
}
.wk-loyalty-box__button,
.wk-loyalty-box .button.wk-loyalty-box__button {
	padding: 8px 14px;
	border: 0;
	border-radius: 0;
	background: var(--wkl-accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.wk-loyalty-box__button[disabled] {
	opacity: 0.6;
	cursor: default;
}
.wk-loyalty-box__error {
	color: #b32d2e;
}
/* Block checkout: rows inside the order summary. Layout and fonts come from
   WooCommerce's own totals-item classes; only the accents are ours. */
.wk-loyalty-summary .wc-block-components-totals-item__value {
	color: #4f8a62;
	white-space: nowrap;
}
.wk-loyalty-summary__redeem {
	margin-top: 10px;
}
.wk-loyalty-summary__button {
	padding: 0;
	border: 0;
	background: none;
	color: #4f8a62;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.wk-loyalty-summary__button[disabled] {
	opacity: 0.6;
	cursor: default;
}
.wk-loyalty-summary__error {
	color: #b32d2e;
}

/* Mini cart, product page, thank-you */
.wk-loyalty-mini {
	margin: 0 0 10px;
	font-size: 13px;
	color: #4f8a62;
	text-align: center;
}
.wk-loyalty-hint {
	margin: 12px 0 0;
	font-size: 13px;
}
.wk-loyalty-thankyou {
	padding: 12px 16px;
	background: var(--wkl-soft);
	border-left: 3px solid var(--wkl-accent);
}

/* Account tab */
.wk-loyalty-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}
.wk-loyalty-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px;
	background: var(--wkl-soft);
	border: 1px solid var(--wkl-line);
}
.wk-loyalty-card__label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.wk-loyalty-card__value {
	font-family: Georgia, serif;
	font-size: 30px;
	font-weight: 500;
	color: var(--wkl-title);
}
.wk-loyalty-card__hint {
	font-size: 13px;
}
.wk-loyalty-progress {
	margin-bottom: 24px;
}
.wk-loyalty-progress__bar {
	height: 10px;
	background: var(--wkl-line);
}
.wk-loyalty-progress__bar span {
	display: block;
	height: 100%;
	background: var(--wkl-accent);
}
.wk-loyalty-birthday select {
	width: auto;
	margin: 0 10px 0 4px;
}

/* Landing page: tier cards and calculator */
.wk-loyalty-tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}
.wk-loyalty-tiercard {
	padding: 22px 18px;
	background: var(--wkl-soft);
	border-top: 3px solid var(--wkl-accent);
	text-align: center;
}
.wk-loyalty-tiercard h3 {
	margin: 0 0 6px;
	font-family: Georgia, serif;
	font-weight: 500;
}
.wk-loyalty-tiercard__rate {
	margin: 0 0 6px;
	font-family: Georgia, serif;
	font-size: 34px;
	color: var(--wkl-title);
}
.wk-loyalty-tiercard p {
	margin: 0 0 4px;
}
.wk-loyalty-calc {
	padding: 18px;
	background: var(--wkl-soft);
	border: 1px solid var(--wkl-line);
}
.wk-loyalty-calc__amount {
	width: 7em;
	margin: 0 8px;
}
.wk-loyalty-calc__list {
	margin: 0 0 10px 18px;
}
.wk-loyalty-calc__result {
	margin: 0;
	font-weight: 600;
	color: var(--wkl-title);
}

/* Landing page (WOLLKE CI: sage #7ab38b, titles #242424, square corners,
   white text on accent buttons). The FAQ uses the shop's own accordion block. */
.wkl-lead {
	font-size: 1.25em;
	font-weight: 600;
	line-height: 1.45;
	color: #242424;
}
.wkl-cta {
	margin: 1.5em 0 2.5em;
}
.wkl-cta a.wkl-button,
a.wkl-button {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 0;
	background-color: #7ab38b;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
a.wkl-button:hover,
a.wkl-button:focus {
	background-color: #68a37a;
	color: #fff;
}
.wkl-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 0 0 2.5em;
	padding: 0;
	list-style: none;
	counter-reset: wkl-step;
}
.wkl-steps > li {
	position: relative;
	margin: 0;
	padding: 62px 20px 20px;
	background: #f7f7f7;
	line-height: 1.6;
	counter-increment: wkl-step;
}
.wkl-steps > li::before {
	content: counter(wkl-step);
	position: absolute;
	top: 18px;
	left: 20px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #7ab38b;
	color: #fff;
	font-weight: 600;
	line-height: 32px;
	text-align: center;
}
.wkl-steps > li strong {
	display: block;
	margin-bottom: 4px;
	color: #242424;
	font-size: 1.05em;
}
.wkl-heading {
	margin-top: 2.2em;
	margin-bottom: 0.7em;
}
.wkl-note {
	font-size: 0.95em;
}
.wk-loyalty-tiers,
.wk-loyalty-calc {
	margin-bottom: 2.5em;
}
.wk-loyalty-tiercard {
	background: #f7f7f7;
}
.wk-loyalty-tiercard__rate {
	color: #7ab38b;
}
.wk-loyalty-calc {
	background: #f7f7f7;
	border: 0;
}
.wk-loyalty-calc .button {
	border-radius: 0;
	font-weight: 600;
}
.wk-loyalty-calc .wk-loyalty-calc__add {
	background-color: #7ab38b;
	color: #fff;
}
/* FAQ accordion on this page: CI focus colour and open-state icon in sage. */
.wkl-faq .wk-faq-question:focus {
	outline-color: #7ab38b;
}
.wkl-faq .wk-faq-question:hover {
	color: #7ab38b;
}
.wkl-faq .wk-faq-item[open] .wk-faq-icon {
	background-color: #7ab38b;
}
/* Calculator: keep the amount field compact (the theme makes inputs full width). */
.wk-loyalty-calc input.wk-loyalty-calc__amount {
	display: inline-block;
	width: 8em;
	max-width: 100%;
	margin: 0 10px 10px 8px;
	background: #fff;
}
.wk-loyalty-calc__list:empty {
	display: none;
}
.wkl-note a,
.wk-loyalty-hint a,
.wk-loyalty-more a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
/* Full-width layout: keep the text column readable. */
.wkl-lead,
.wkl-lead ~ p,
.wkl-lead ~ .wkl-faq {
	max-width: 860px;
}
.wk-loyalty-birthday input[type="number"] {
	display: inline-block;
	width: 6.5em;
	margin: 0 10px 0 4px;
}
/* Birthday form: fields side by side (the theme stretches selects to full width). */
.wk-loyalty-account .wk-loyalty-birthday label {
	display: inline-block;
	margin: 0 14px 10px 0;
}
.wk-loyalty-account .wk-loyalty-birthday select {
	display: inline-block;
	width: auto;
	min-width: 6em;
	margin: 0 0 0 6px;
}
.wk-loyalty-account .wk-loyalty-birthday input[type="number"] {
	margin: 0 0 0 6px;
}

/* ------------------------------------------------------------------------
   Landing page 2.0 (design canvas 2026-11-25): hero, step cards, example
   band, fact cards, closing banner. Fonts are the shop's own (Lora / Karla).
   ------------------------------------------------------------------------ */
.wkl-page {
	--wkl-sage: #7ab38b;
	--wkl-mint: #eef5f0;
	--wkl-border: #e3ece5;
	--wkl-ink: #242424;
	--wkl-text: #555;
	color: var(--wkl-ink);
	line-height: 1.6;
}
.wkl-page p {
	margin: 0;
}
.wkl-page .wkl-h2,
.wkl-page .wkl-hero__title,
.wkl-page .wkl-intro__lead,
.wkl-page .wkl-example__main,
.wkl-page .wkl-card__num,
.wkl-page .wkl-badge strong {
	font-family: Lora, Georgia, serif;
}
.wkl-page .wkl-h2 {
	margin: 0;
	font-weight: 500;
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--wkl-ink);
}
.wkl-page .wkl-h2--center {
	text-align: center;
	font-size: clamp(30px, 4vw, 44px);
}
.wkl-page .wkl-h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wkl-ink);
}

/* Icons: one mask per icon, coloured through background-color. */
.wkl-icon {
	display: inline-block;
	flex: none;
	width: 26px;
	height: 26px;
	background-color: var(--wkl-sage, #7ab38b);
	-webkit-mask: var(--wkl-i) center / contain no-repeat;
	mask: var(--wkl-i) center / contain no-repeat;
}
.wkl-icon--arrow {
	width: 18px;
	height: 18px;
	background-color: currentColor;
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E");
}
.wkl-icon--user {
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
}
.wkl-icon--bag {
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
}
.wkl-icon--gift {
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v8H4v-8'/%3E%3Cpath d='M2 7h20v5H2z'/%3E%3Cpath d='M12 21V7'/%3E%3Cpath d='M12 7H8a2 2 0 1 1 2-3c1 1 2 3 2 3Zm0 0h4a2 2 0 1 0-2-3c-1 1-2 3-2 3Z'/%3E%3C/svg%3E");
}
.wkl-icon--clock {
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}
.wkl-icon--truck {
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3z'/%3E%3Cpath d='M14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");
}
.wkl-icon--return {
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10a6 6 0 0 1 0 12h-3'/%3E%3C/svg%3E");
}
.wkl-icon--card {
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}
.wkl-icon--percent {
	--wkl-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3C/svg%3E");
}

/* Buttons */
.wkl-page a.wkl-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 6px 26px;
	border-radius: 0;
	background-color: var(--wkl-sage);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}
.wkl-page a.wkl-button:hover,
.wkl-page a.wkl-button:focus {
	background-color: #68a37a;
	color: #fff;
}
.wkl-page a.wkl-button--ghost,
.wkl-page a.wkl-button--light {
	background-color: #f7f7f7;
	color: #333;
}
.wkl-page a.wkl-button--light {
	background-color: #fff;
	padding: 6px 28px;
}
.wkl-page a.wkl-button--ghost:hover,
.wkl-page a.wkl-button--ghost:focus,
.wkl-page a.wkl-button--light:hover,
.wkl-page a.wkl-button--light:focus {
	background-color: #efefef;
	color: #242424;
}

/* Hero: full-bleed mint band. */
.wkl-hero {
	margin: 0 calc(50% - 50vw);
	padding: 72px 24px 88px;
	background: var(--wkl-mint);
}
.wkl-hero__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: center;
	max-width: 1120px;
	margin: 0 auto;
}
.wkl-hero__text {
	display: flex;
	flex: 1 1 480px;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}
.wkl-page .wkl-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #4f8a61;
}
.wkl-page .wkl-hero__title {
	margin: 0;
	font-weight: 500;
	font-size: clamp(40px, 6vw, 68px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	color: var(--wkl-ink);
}
.wkl-page .wkl-hero__lead {
	max-width: 34rem;
	font-size: 20px;
	line-height: 1.55;
	color: var(--wkl-text);
}
.wkl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}
.wkl-hero__media {
	display: flex;
	flex: 1 1 380px;
	justify-content: center;
	min-width: 0;
}
.wkl-hero__frame {
	position: relative;
	width: 100%;
	max-width: 480px;
	aspect-ratio: 1 / 1;
	background: #fff;
}
.wkl-hero__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wkl-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	border-radius: 999px;
	background: var(--wkl-sage);
	color: #fff;
	transform: rotate(8deg);
}
.wkl-badge strong {
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
}
.wkl-badge span {
	font-size: 12px;
	font-weight: 600;
}

/* Intro */
.wkl-intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 720px;
	margin: 0 auto;
	padding: 88px 0 24px;
}
.wkl-page .wkl-intro__lead {
	font-size: clamp(22px, 2.6vw, 28px);
	line-height: 1.45;
	color: var(--wkl-ink);
}
.wkl-intro p + p {
	font-size: 18px;
	color: var(--wkl-text);
}

/* Sections */
.wkl-section {
	display: flex;
	flex-direction: column;
	gap: 36px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 0 88px;
}
.wkl-section--steps {
	gap: 40px;
	padding: 72px 0;
	scroll-margin-top: 120px;
}
.wkl-section__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 640px;
}
.wkl-section__head p {
	font-size: 17px;
	color: var(--wkl-text);
}
.wkl-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.wkl-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	background: #fff;
	border: 1px solid var(--wkl-border);
}
.wkl-card p {
	font-size: 16px;
	color: var(--wkl-text);
}
.wkl-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
}
.wkl-card__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--wkl-mint);
	color: #4f8a61;
	font-size: 20px;
	font-weight: 700;
}

/* Example band */
.wkl-example {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	align-items: center;
	justify-content: space-between;
	max-width: 1120px;
	margin: 0 auto 88px;
	padding: 32px clamp(24px, 4vw, 48px);
	background: var(--wkl-mint);
	box-sizing: border-box;
}
.wkl-page .wkl-example__main {
	flex: 1 1 380px;
	min-width: 0;
	font-size: clamp(20px, 2.4vw, 26px);
	line-height: 1.4;
	color: var(--wkl-ink);
}
.wkl-page .wkl-example__side {
	flex: 0 1 300px;
	font-size: 16px;
	color: var(--wkl-text);
}

/* Facts */
.wkl-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px;
}
.wkl-fact {
	display: flex;
	gap: 16px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--wkl-border);
}
.wkl-fact .wkl-icon {
	width: 24px;
	height: 24px;
	margin-top: 2px;
}
.wkl-page .wkl-fact .wkl-h3 {
	margin: 0 0 4px;
	font-size: 17px;
}
.wkl-fact p {
	font-size: 15px;
	color: var(--wkl-text);
}

/* FAQ (the shop's accordion block, unchanged) */
.wkl-section--faq {
	gap: 24px;
}
.wkl-section--faq .wkl-faq {
	max-width: 860px;
}
.wkl-page .wkl-note {
	font-size: 15px;
	color: #666;
}

/* Closing banner */
.wkl-final {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	justify-content: space-between;
	max-width: 1120px;
	margin: 0 auto 56px;
	padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px);
	background: var(--wkl-sage);
	color: #fff;
	box-sizing: border-box;
}
.wkl-final__text {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.wkl-page .wkl-final .wkl-h2 {
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.1;
	color: #fff;
}
.wkl-final p {
	font-size: 18px;
	color: #fff;
}

@media (max-width: 600px) {
	.wkl-hero {
		padding: 40px 16px 48px;
	}
	.wkl-hero__inner {
		gap: 32px;
	}
	.wkl-page .wkl-hero__lead {
		font-size: 18px;
	}
	.wkl-hero__actions .wkl-button {
		width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}
	.wkl-intro {
		padding-top: 48px;
	}
	.wkl-section--steps {
		padding: 48px 0;
	}
	.wkl-section,
	.wkl-example {
		padding-bottom: 56px;
	}
	.wkl-example {
		margin-bottom: 56px;
		padding: 24px;
	}
	.wkl-card {
		padding: 24px;
	}
}
/* Hero sits directly under the shop header (the theme pads the content area). */
.wkl-page > .wkl-hero:first-child {
	margin-top: -40px;
}
