body.kev-coffee-guide-page,
body.kev-coffee-guide-page .wp-site-blocks,
body.kev-coffee-guide-page .wp-block-post-content {
	background: #090a0b;
	color: #f7f3ed;
}

body.kev-coffee-guide-page .wp-block-post-title {
	display: none;
}

body.kev-coffee-guide-page .wp-block-post-content {
	width: 100%;
	max-width: none;
	margin: 0;
}

.kev-coffee-guide {
	--guide-bg: #090a0b;
	--guide-surface: #111314;
	--guide-surface-raised: #171a1b;
	--guide-text: #fffaf3;
	--guide-muted: rgb(247 243 237 / 68%);
	--guide-border: rgb(216 185 138 / 20%);
	--guide-accent: var(--wp--preset--color--crema, #d8b98a);
	--guide-brand: var(--wp--preset--color--roast, #1c5461);
	background: var(--guide-bg);
	direction: rtl;
	overflow: hidden;
}

.kev-coffee-guide *,
.kev-coffee-guide *::before,
.kev-coffee-guide *::after {
	box-sizing: border-box;
}

.kev-coffee-guide__hero,
.kev-coffee-guide__selector,
.kev-coffee-guide__results,
.kev-coffee-guide__education,
.kev-coffee-guide__consultation {
	width: min(calc(100% - 2rem), 80rem);
	margin-inline: auto;
}

.kev-coffee-guide__hero {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: clamp(18rem, 36vh, 22rem);
	padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem);
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	border-bottom: 1px solid var(--guide-border);
}

.kev-coffee-guide__hero::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		radial-gradient(circle at 13% 28%, rgb(28 84 97 / 45%), transparent 30%),
		radial-gradient(circle at 78% 20%, rgb(216 185 138 / 16%), transparent 27%),
		linear-gradient(135deg, #141718 0%, #090a0b 62%);
	content: '';
}

.kev-coffee-guide__hero::after {
	position: absolute;
	z-index: -1;
	inset: 1rem;
	border: 1px solid rgb(216 185 138 / 10%);
	border-radius: 1.5rem;
	content: '';
}

.kev-coffee-guide__eyebrow {
	margin: 0 0 0.55rem;
	color: var(--guide-accent) !important;
	font-size: 0.78rem !important;
	font-weight: 850;
	letter-spacing: 0.04em;
}

.kev-coffee-guide__hero h1 {
	max-width: 54rem;
	margin: 0;
	color: var(--guide-text);
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 900;
	line-height: 1.12;
}

.kev-coffee-guide__hero > p:not(.kev-coffee-guide__eyebrow) {
	max-width: 42rem;
	margin: 0.85rem 0 0;
	color: var(--guide-muted);
	font-size: clamp(0.92rem, 1.5vw, 1.08rem);
	line-height: 1.85;
}

.kev-coffee-guide__hero > a {
	display: inline-flex;
	min-height: 2.8rem;
	margin-top: 1rem;
	padding-inline: 1.25rem;
	align-items: center;
	gap: 0.7rem;
	border-radius: 999px;
	background: var(--guide-accent);
	color: #17100b;
	font-weight: 850;
	text-decoration: none;
}

.kev-coffee-guide__selector,
.kev-coffee-guide__results,
.kev-coffee-guide__education {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.kev-coffee-guide__results-heading h2,
.kev-coffee-guide__consultation h2 {
	margin: 0;
	color: var(--guide-text);
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 900;
	line-height: 1.35;
}

.kev-coffee-guide__results-heading p,
.kev-coffee-guide__consultation p {
	max-width: 46rem;
	margin: 0.8rem 0 0;
	color: var(--guide-muted);
	line-height: 2;
}

.kev-coffee-guide__form {
	display: grid;
	gap: 1rem;
	margin-top: 1rem;
}

.kev-coffee-guide__progress {
	--guide-progress: 33.333%;
	margin-top: 0;
	padding: 1.25rem clamp(1rem, 3vw, 1.75rem);
	border: 1px solid var(--guide-border);
	border-radius: 1.25rem;
	background: linear-gradient(135deg, rgb(28 84 97 / 22%), transparent 55%), var(--guide-surface);
}

.kev-coffee-guide__progress-copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.kev-coffee-guide__progress-copy strong {
	color: var(--guide-text);
	font-size: 0.92rem;
}

.kev-coffee-guide__progress-copy span {
	color: var(--guide-accent);
	font-size: 0.78rem;
	font-weight: 800;
}

.kev-coffee-guide__progress-track {
	height: 0.42rem;
	margin-top: 1rem;
	overflow: hidden;
	border-radius: 999px;
	background: rgb(247 243 237 / 10%);
}

.kev-coffee-guide__progress-track span {
	display: block;
	width: var(--guide-progress);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--guide-brand), var(--guide-accent));
	transition: width 260ms ease;
}

.kev-coffee-guide__milestones {
	display: grid;
	margin: 1rem 0 0;
	padding: 0;
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
}

.kev-coffee-guide__milestones li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--guide-muted);
	font-size: 0.72rem;
	font-weight: 800;
}

.kev-coffee-guide__milestones li:nth-child(2) { justify-content: center; }
.kev-coffee-guide__milestones li:last-child { justify-content: flex-end; }

.kev-coffee-guide__milestones span {
	display: grid;
	width: 1.55rem;
	height: 1.55rem;
	border: 1px solid rgb(247 243 237 / 20%);
	border-radius: 50%;
	place-items: center;
}

.kev-coffee-guide__milestones .is-current,
.kev-coffee-guide__milestones .is-complete { color: var(--guide-text); }

.kev-coffee-guide__milestones .is-current span {
	border-color: var(--guide-accent);
	box-shadow: 0 0 0 4px rgb(216 185 138 / 10%);
	color: var(--guide-accent);
}

.kev-coffee-guide__milestones .is-complete span {
	border-color: var(--guide-brand);
	background: var(--guide-brand);
	color: #fff;
}

.kev-coffee-guide__question {
	min-width: 0;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--guide-border);
	border-radius: 1.25rem;
	background: var(--guide-surface);
	transition: border-color 180ms ease, background-color 180ms ease;
}

.kev-coffee-guide__question[hidden],
.kev-coffee-guide__navigation[hidden] {
	display: none !important;
}

.kev-coffee-guide__question.is-answered {
	border-color: rgb(216 185 138 / 48%);
	background: linear-gradient(135deg, rgb(216 185 138 / 7%), transparent 52%), var(--guide-surface);
}

.kev-coffee-guide__question legend {
	width: auto;
	max-width: 100%;
	padding: 0 0.15rem;
	color: var(--guide-text);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 850;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.kev-coffee-guide__question legend span {
	display: inline;
	vertical-align: middle;
	padding-bottom: 1rem;
}

.kev-coffee-guide__question legend .kev-coffee-guide__question-number {
	display: inline-flex;
	margin-inline-end: 0.65rem;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: rgb(216 185 138 / 11%);
	color: var(--guide-accent);
	font-size: 0.68rem;
}

.kev-coffee-guide__question-layout {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.8rem;
}

.kev-coffee-guide__choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
	gap: 0.65rem;
}

.kev-coffee-guide__hint {
	display: flex;
	min-height: 0;
	padding: 0.75rem 0.9rem;
	align-items: center;
	gap: 0.75rem;
	border: 1px solid rgb(216 185 138 / 14%);
	border-inline-start: 3px solid var(--guide-accent);
	border-radius: 0.75rem;
	background: linear-gradient(145deg, rgb(216 185 138 / 8%), rgb(28 84 97 / 12%));
}

.kev-coffee-guide__hint > span {
	display: grid;
	width: 2rem;
	height: 2rem;
	flex: 0 0 auto;
	border-radius: 0.7rem;
	background: var(--guide-brand);
	place-items: center;
}

.kev-coffee-guide__hint strong { color: var(--guide-text); font-size: 0.78rem; }
.kev-coffee-guide__hint p { margin: 0.2rem 0 0; color: var(--guide-muted); font-size: 0.74rem; line-height: 1.7; }

.kev-coffee-guide__choice {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 5.25rem;
	padding: 0.85rem 0.9rem 0.85rem 2.5rem;
	align-items: center;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.75rem;
	border: 1px solid rgb(247 243 237 / 10%);
	border-radius: 0.85rem;
	background: #0c0e0f;
	cursor: pointer;
	transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.kev-coffee-guide__navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.kev-coffee-guide__navigation button {
	min-height: 3rem;
	padding-inline: 1.3rem;
	border: 1px solid var(--guide-border);
	border-radius: 999px;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 850;
	cursor: pointer;
}

.kev-coffee-guide__back { background: transparent; color: var(--guide-muted); }
.kev-coffee-guide__next { min-width: 9rem; border-color: var(--guide-accent) !important; background: var(--guide-accent); color: #17100b; }
.kev-coffee-guide__navigation button:disabled { opacity: 0.36; cursor: not-allowed; }

.kev-coffee-guide__choice:hover {
	transform: translateY(-2px);
	border-color: rgb(216 185 138 / 36%);
}

.kev-coffee-guide__choice:has(input:checked) {
	border-color: var(--guide-accent);
	background: rgb(216 185 138 / 9%);
}

.kev-coffee-guide__choice:has(input:focus-visible) {
	outline: 3px solid rgb(216 185 138 / 28%);
	outline-offset: 2px;
}

.kev-coffee-guide__choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.kev-coffee-guide__choice-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.35rem;
}

.kev-coffee-guide__choice-copy strong {
	color: var(--guide-text);
	font-size: 0.95rem;
}

.kev-coffee-guide__choice-copy small {
	color: var(--guide-muted);
	font-size: 0.74rem;
	line-height: 1.7;
}

.kev-coffee-guide__choice-indicator {
	display: grid;
	width: 1.4rem;
	height: 1.4rem;
	border: 1px solid rgb(247 243 237 / 28%);
	border-radius: 50%;
	place-items: center;
}

.kev-coffee-guide__choice input:checked + .kev-coffee-guide__choice-copy + .kev-coffee-guide__choice-indicator {
	border-color: var(--guide-accent);
	background: var(--guide-accent);
}

.kev-coffee-guide__choice input:checked + .kev-coffee-guide__choice-copy + .kev-coffee-guide__choice-indicator::after {
	width: 0.42rem;
	height: 0.7rem;
	border: solid #17100b;
	border-width: 0 0.15rem 0.15rem 0;
	content: '';
	transform: rotate(45deg) translate(-0.05rem, 0.05rem);
}

.kev-coffee-guide__results {
	border-block: 1px solid var(--guide-border);
}

.kev-coffee-guide.has-js:not(.is-complete) .kev-coffee-guide__results {
	display: none;
}

.kev-coffee-guide.has-js:not(.is-complete) .kev-coffee-guide__product-group,
.kev-coffee-guide.has-js:not(.is-complete) .kev-coffee-guide__result-count,
.kev-coffee-guide.has-js:not(.is-complete) [data-kev-coffee-guide-reset] {
	display: none;
}

.kev-coffee-guide__results-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

.kev-coffee-guide__results-heading button {
	min-height: 2.75rem;
	padding-inline: 1.1rem;
	border: 1px solid var(--guide-border);
	border-radius: 999px;
	background: transparent;
	color: var(--guide-accent);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
}

.kev-coffee-guide__result-count {
	margin: 1.5rem 0 0;
	color: var(--guide-accent);
	font-size: 0.85rem;
	font-weight: 800;
}

.kev-coffee-guide__product-group {
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.kev-coffee-guide__product-group[hidden],
.kev-coffee-guide__product[hidden] {
	display: none !important;
}

.kev-coffee-guide__product-group-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
	gap: 2rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--guide-border);
}

.kev-coffee-guide__product-group-heading h3 {
	margin: 0;
	color: var(--guide-text);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.kev-coffee-guide__product-group-heading p {
	margin: 0;
	color: var(--guide-muted);
	line-height: 1.9;
}

.kev-coffee-guide__product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.8rem, 1.5vw, 1.2rem);
}

.kev-coffee-guide__product,
.kev-coffee-guide__product > .kev-coffee-product-card {
	min-width: 0;
	height: 100%;
}

.kev-coffee-guide__product .kev-coffee-product-card {
	--kev-coffee-product-card-background: #101314;
	border-color: rgb(216 185 138 / 22%);
	background: #101314;
	box-shadow: 0 0.75rem 1.75rem rgb(0 0 0 / 24%);
}

.kev-coffee-guide__product .kev-coffee-product-card__link {
	color: var(--guide-text);
}

.kev-coffee-guide__product .kev-coffee-product-card__content {
	min-height: 7.2rem;
	padding: 0.85rem 1rem 1rem;
	align-content: start;
	justify-items: center;
	gap: 0.45rem;
	background: #101314;
	text-align: center;
}

.kev-coffee-guide__product .kev-coffee-product-card__title {
	min-height: 2.9em;
	color: var(--guide-text) !important;
	font-size: clamp(0.88rem, 1.15vw, 1rem);
	font-weight: 850;
	line-height: 1.5;
}

.kev-coffee-guide__product .kev-coffee-product-card__price {
	min-height: 2.75rem;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	color: var(--guide-accent) !important;
	font-size: clamp(0.84rem, 1vw, 0.95rem);
	font-weight: 850;
	line-height: 1.45;
}

.kev-coffee-guide__product .kev-coffee-product-card__price del {
	color: rgb(247 243 237 / 52%) !important;
}

.kev-coffee-guide__product .kev-coffee-product-card__price ins {
	color: var(--guide-accent) !important;
}

.kev-coffee-guide__empty {
	margin-top: 2rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px dashed rgb(216 185 138 / 38%);
	border-radius: 1rem;
	background: var(--guide-surface);
	text-align: center;
}

.kev-coffee-guide__empty h3 {
	margin: 0;
	color: var(--guide-text);
}

.kev-coffee-guide__empty p {
	max-width: 42rem;
	margin: 0.75rem auto 0;
	color: var(--guide-muted);
	line-height: 1.9;
}

.kev-coffee-guide__knowledge { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.kev-coffee-guide__knowledge details { border: 1px solid var(--guide-border); border-radius: 1rem; background: var(--guide-surface); }
.kev-coffee-guide__knowledge summary { display: flex; min-height: 4.4rem; padding: 1rem 1.25rem; align-items: center; justify-content: space-between; gap: 1rem; color: var(--guide-text); font-weight: 850; cursor: pointer; list-style: none; }
.kev-coffee-guide__knowledge summary::-webkit-details-marker { display: none; }
.kev-coffee-guide__knowledge summary i { color: var(--guide-accent); font-size: 1.25rem; font-style: normal; transition: transform 180ms ease; }
.kev-coffee-guide__knowledge details[open] summary i { transform: rotate(45deg); }
.kev-coffee-guide__knowledge-body { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--guide-border); color: var(--guide-muted); }
.kev-coffee-guide__knowledge-body p { margin: 1rem 0 0; line-height: 1.9; }
.kev-coffee-guide__knowledge-body ul { display: grid; margin: 1rem 0 0; padding-inline-start: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 2rem; line-height: 1.9; }
.kev-coffee-guide__knowledge-body strong { color: var(--guide-text); }

.kev-coffee-guide__consultation {
	display: flex;
	margin-bottom: clamp(3rem, 7vw, 6rem);
	padding: clamp(2rem, 6vw, 4rem);
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	border: 1px solid rgb(216 185 138 / 32%);
	border-radius: 1.5rem;
	background: radial-gradient(circle at 12% 20%, rgb(28 84 97 / 50%), transparent 34%), var(--guide-surface-raised);
}

.kev-coffee-guide__consultation > div {
	max-width: 50rem;
}

.kev-coffee-guide__consultation > a {
	display: inline-flex;
	min-height: 3.4rem;
	padding-inline: 1.4rem;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 0.65rem;
	border-radius: 999px;
	background: #27b36a;
	color: #061b10;
	font-weight: 900;
	text-decoration: none;
}

@media (max-width: 62rem) {
	.kev-coffee-guide__product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 48rem) {
	.kev-coffee-guide__hero,
	.kev-coffee-guide__selector,
	.kev-coffee-guide__results,
	.kev-coffee-guide__education,
	.kev-coffee-guide__consultation {
		width: min(calc(100% - 1.25rem), 80rem);
	}

	.kev-coffee-guide__hero {
		min-height: 18rem;
		padding: 2.25rem 1rem;
	}

	.kev-coffee-guide__hero::after {
		inset: 0.6rem;
		border-radius: 1rem;
	}

	.kev-coffee-guide__choices,
	.kev-coffee-guide__knowledge-body ul {
		grid-template-columns: 1fr;
	}

	.kev-coffee-guide__choice {
		min-height: 5rem;
	}

	.kev-coffee-guide__results-heading,
	.kev-coffee-guide__consultation {
		align-items: stretch;
		flex-direction: column;
	}

	.kev-coffee-guide__product-group-heading {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}

	.kev-coffee-guide__product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.kev-coffee-guide__consultation > a {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kev-coffee-guide__choice {
		transition: none;
	}

	.kev-coffee-guide__progress-track span,
	.kev-coffee-guide__knowledge summary i {
		transition: none;
	}
}
