/* ── Quiz container ─────────────────────────────────────────────────────────── */

.svea-hq {
	max-width: 680px;
	margin: 0 auto;
	font-family: inherit;
}

/* ── Progress bar ───────────────────────────────────────────────────────────── */

.svea-hq__progress {
	height: 4px;
	background: #E6F0F4;
	border-radius: 2px;
	margin-bottom: 48px;
	overflow: hidden;
}

.svea-hq__progress-bar {
	height: 100%;
	background: #345B70;
	border-radius: 2px;
	transition: width 0.35s ease;
}

/* ── Steps ──────────────────────────────────────────────────────────────────── */

.svea-hq__step {
	display: none;
}

.svea-hq__step--active {
	display: block;
	animation: svea-hq-slide-in 0.28s ease both;
}

@keyframes svea-hq-slide-in {
	from { opacity: 0; transform: translateX(18px); }
	to   { opacity: 1; transform: translateX(0);    }
}

.svea-hq__step-counter {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #7a9aaa;
	margin-bottom: 14px;
}

.svea-hq__question {
	font-size: 26px;
	font-weight: 700;
	color: #1a2e38;
	margin: 0 0 10px;
	line-height: 1.3;
}

.svea-hq__hint {
	font-size: 14px;
	color: #7a9aaa;
	margin: 0 0 24px;
}

/* ── Answer options ─────────────────────────────────────────────────────────── */

.svea-hq__answers {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 36px;
}

.svea-hq__answer {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 2px solid #dde8ed;
	border-radius: 10px;
	cursor: pointer;
	user-select: none;
	transition: border-color 0.18s, background 0.18s;
}

.svea-hq__answer:hover {
	border-color: #345B70;
	background: #f4f9fc;
}

.svea-hq__answer input {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: #345B70;
	cursor: pointer;
}

.svea-hq__answer span {
	font-size: 16px;
	color: #2a3a42;
	line-height: 1.4;
}

/* Checked state */
.svea-hq__answer:has(input:checked) {
	border-color: #345B70;
	background: #E6F0F4;
}

.svea-hq__answer:has(input:checked) span {
	font-weight: 600;
	color: #1a2e38;
}

/* ── Navigation buttons ─────────────────────────────────────────────────────── */

.svea-hq__nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

.svea-hq__btn {
	padding: 12px 28px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	border: 2px solid transparent;
	line-height: 1;
	transition: opacity 0.18s, background 0.18s;
}

.svea-hq__btn:disabled {
	opacity: 0.38;
	cursor: not-allowed;
}

.svea-hq__btn--next,
.svea-hq__btn--submit {
	background: #345B70;
	color: #fff;
	border-color: #345B70;
}

.svea-hq__btn--next:not(:disabled):hover,
.svea-hq__btn--submit:not(:disabled):hover {
	opacity: 0.85;
}

.svea-hq__btn--back {
	background: transparent;
	color: #345B70;
	border-color: #345B70;
}

.svea-hq__btn--back:hover {
	background: #E6F0F4;
}

/* ── Email step ─────────────────────────────────────────────────────────────── */

.svea-hq__email-field {
	margin-bottom: 32px;
}

.svea-hq__email-input {
	width: 100%;
	max-width: 400px;
	padding: 13px 18px;
	border: 2px solid #dde8ed;
	border-radius: 10px;
	font-size: 16px;
	outline: none;
	transition: border-color 0.18s;
	box-sizing: border-box;
}

.svea-hq__email-input:focus {
	border-color: #345B70;
}

/* ── Results area ───────────────────────────────────────────────────────────── */

.svea-hq__results {
	animation: svea-hq-slide-in 0.35s ease both;
}

/* ══════════════════════════════════════════════════════════════════════════════
   Product recommendation cards  (.svea-qr)
   ══════════════════════════════════════════════════════════════════════════════ */

.svea-qr {
	max-width: 1100px;
	margin: 0 auto;
}

.svea-qr__header {
	text-align: center;
	margin-bottom: 32px;
}

.svea-qr__title {
	font-size: 26px;
	font-weight: 700;
	color: #1a2e38;
	margin: 0 0 8px;
}

.svea-qr__subtitle {
	font-size: 15px;
	color: #7a9aaa;
	margin: 0;
}

/* Grid */
.svea-qr__grid {
	display: grid;
	gap: 20px;
}

.svea-qr__grid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.svea-qr__grid--2 { grid-template-columns: repeat(2, 1fr); }
.svea-qr__grid--3 { grid-template-columns: repeat(3, 1fr); }

@media ( max-width: 768px ) {
	.svea-qr__grid--2,
	.svea-qr__grid--3 { grid-template-columns: 1fr; }
}

/* Card */
.svea-qr__card {
	position: relative;
	background: #fff;
	border: 1.5px solid #dde8ed;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, transform 0.2s;
}

.svea-qr__card:hover {
	box-shadow: 0 8px 28px rgba(52, 91, 112, 0.12);
	transform: translateY(-2px);
}

.svea-qr__card--primary {
	border-color: #345B70;
	border-width: 2px;
	box-shadow: 0 4px 18px rgba(52, 91, 112, 0.12);
}

.svea-qr__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #345B70;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 20px;
	z-index: 1;
}

.svea-qr__image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.svea-qr__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.svea-qr__name {
	font-size: 17px;
	font-weight: 700;
	color: #1a2e38;
	margin: 0 0 8px;
	line-height: 1.3;
}

.svea-qr__desc {
	font-size: 14px;
	color: #556a74;
	margin: 0 0 14px;
	line-height: 1.6;
	flex: 1;
}

.svea-qr__price {
	font-size: 16px;
	font-weight: 700;
	color: #345B70;
	margin-bottom: 16px;
}

.svea-qr__btn {
	display: inline-block;
	background: #345B70;
	color: #fff;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	transition: opacity 0.18s;
}

.svea-qr__btn:hover {
	opacity: 0.85;
	color: #fff;
	text-decoration: none;
}
