.cq-root {
	--cq-green: #8b9574;
	--cq-green-dark: #7c8567;
	--cq-tile: rgba(0, 0, 0, 0.14);
	--cq-tile-hover: rgba(0, 0, 0, 0.22);
	--cq-tile-selected: rgba(255, 255, 255, 0.22);
	--cq-white: #ffffff;
	--cq-radius-outer: 28px;
	--cq-radius-inner: 18px;
	font-family: "Poppins", "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	max-width: 1180px;
	margin: 0 auto;
	box-sizing: border-box;
}
.cq-root *,
.cq-root *::before,
.cq-root *::after {
	box-sizing: border-box;
}

.cq-card {
	border-radius: var(--cq-radius-outer);
	padding: 0px 48px 44px;
	color: var(--cq-white);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cq-lang-switcher {
	display: flex;
	justify-content: flex-end;
	gap: 4px;
	padding: 18px 0 0;
}
.cq-lang-btn {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	border-radius: 999px;
	padding: 5px 12px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cq-lang-btn:hover {
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--cq-white);
}
.cq-lang-btn.is-active {
	background: var(--cq-white);
	border-color: var(--cq-white);
	color: var(--cq-green-dark);
}

.cq-progress {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 22px;
}
.cq-progress-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	transition: background 0.2s ease, width 0.2s ease;
}
.cq-progress-dot.is-active {
	background: var(--cq-white);
	width: 22px;
	border-radius: 5px;
}
.cq-progress-dot.is-done {
	background: rgba(255, 255, 255, 0.75);
}

.cq-heading {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 10px;
	color: white;
}

.cq-subheading {
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0 auto 36px;
	max-width: 620px;
	color: rgba(255, 255, 255, 0.92);
}

.cq-options {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 36px;
}
.cq-options[data-count="2"] {
	grid-template-columns: repeat(2, 1fr);
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}
.cq-options[data-count="3"] {
	grid-template-columns: repeat(3, 1fr);
}

.cq-option {
	background: var(--cq-tile);
	border: 2px solid transparent;
	border-radius: var(--cq-radius-inner);
	padding: 28px 18px 22px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
	color: var(--cq-white);
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
	font-family: inherit;
	min-height: 190px;
}
.cq-option:hover {
	background: var(--cq-tile-hover);
}
.cq-option:active {
	transform: scale(0.99);
}
.cq-option.is-selected {
	background: var(--cq-tile-selected);
	border-color: var(--cq-white);
}

.cq-option-icon {
	width: 130px;
	height: 130px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cq-option-icon svg {
	width: 100%;
	height: 100%;
	stroke: #fff;
}

.cq-option-label {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	color: white;
}

.cq-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 20px;
}

.cq-btn {
	appearance: none;
	border: none;
	border-radius: 999px;
	padding: 14px 36px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.1s ease;
}
.cq-btn:active {
	transform: scale(0.98);
}
.cq-btn-primary {
	background: var(--cq-white);
	color: var(--cq-green-dark);
}
.cq-btn-primary:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.cq-btn-secondary {
	background: transparent;
	color: var(--cq-white);
	border: 2px solid rgba(255, 255, 255, 0.5);
	padding: 12px 30px;
}
.cq-btn-secondary:hover {
	border-color: var(--cq-white);
}

/* Result screen */
.cq-result {
	display: none;
}
.cq-result.is-active {
	display: block;
}
.cq-result-product {
	background: rgba(255, 255, 255, 0.12);
	border-radius: var(--cq-radius-inner);
	padding: 32px;
	display: flex;
	align-items: center;
	gap: 28px;
	text-align: left;
	margin: 0 auto 28px;
	max-width: 640px;
}
.cq-result-product img {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.2);
	flex-shrink: 0;
}
.cq-result-info h3 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #fff;
}
.cq-result-price {
	font-size: 16px;
	font-weight: 600;
	opacity: 0.95;
	margin: 0 0 16px;
	color: #fff;
}
.cq-result-price .woocommerce-Price-amount, .cq-result-price span, .cq-result-price bdi {
	color: #fff;
}
.cq-result-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.cq-result-actions a,
.cq-result-actions button {
	text-decoration: none;
	display: inline-flex;
}

.cq-also-like {
	margin-top: 10px;
}
.cq-also-like-title {
	font-size: 17px;
	font-weight: 700;
	opacity: 0.9;
	margin: 0 0 18px;
	color: #fff;
}
.cq-also-like-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 22px;
	max-width: 700px;
	margin: 0 auto;
}
.cq-also-like-item {
	background: rgba(255, 255, 255, 0.12);
	border-radius: var(--cq-radius-inner);
	padding: 20px;
	text-align: left;
	text-decoration: none;
	color: var(--cq-white);
	transition: background 0.15s ease, transform 0.1s ease;
}
.cq-also-like-item:hover {
	background: rgba(255, 255, 255, 0.2);
}
.cq-also-like-item:active {
	transform: scale(0.99);
}
.cq-also-like-item img {
	width: 100%;
	height: 160px;
	object-fit: contain;
	border-radius: 12px;
	margin-bottom: 16px;
	background: rgba(255, 255, 255, 0.2);
}
.cq-also-like-item > span {
	font-size: 15px;
	font-weight: 700;
	display: block;
	line-height: 1.4;
	color: #fff;
}
.cq-also-like-item .cq-also-like-price {
	display: block;
	font-size: 14px;
	font-weight: 500;
	opacity: 0.85;
	margin-top: 8px;
	color: #fff;
}
.cq-also-like-item .cq-also-like-price * {
	display: inline;
	color: #fff;
}

.cq-no-result p {
	max-width: 520px;
	margin: 0 auto 24px;
	font-size: 15px;
	opacity: 0.95;
}
.cq-no-result-suggestions {
	margin-top: 14px;
	margin-bottom: 16px;
}

@media (max-width: 900px) {
	.cq-options,
	.cq-options[data-count="3"] {
		grid-template-columns: repeat(2, 1fr);
	}
	.cq-card {
		padding: 40px 24px 32px;
	}
	.cq-heading {
		font-size: 24px;
	}
	.cq-result-product {
		flex-direction: column;
		text-align: center;
	}
	.cq-result-actions {
		justify-content: center;
	}
}

@media (max-width: 520px) {
	.cq-options,
	.cq-options[data-count="3"],
	.cq-options[data-count="2"] {
		grid-template-columns: 1fr;
	}
	.cq-option {
		flex-direction: row;
		text-align: left;
		min-height: unset;
		padding: 16px;
	}
	.cq-option-icon {
		width: 40px;
		height: 40px;
	}
	.cq-also-like-grid {
		grid-template-columns: 1fr;
		max-width: 320px;
	}
}
