/* Feedback quiz — mobile-first, isolated from theme checkout/cart */
.roz-quiz__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.roz-quiz__teaser {
	position: fixed;
	z-index: 99990;
	left: 14px;
	right: 14px;
	bottom: 84px;
	max-width: none;
	margin: 0;
	padding: 16px;
	background: #fff;
	border: 1px solid rgba(95, 122, 86, 0.14);
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(34, 51, 32, 0.12);
	font-size: 14px;
	line-height: 1.4;
}

.roz-quiz__teaser::before,
.roz-quiz__teaser::after {
	display: none !important;
	content: none !important;
}

@media (min-width: 768px) {
	.roz-quiz__teaser {
		left: auto;
		right: 96px;
		bottom: 96px;
		max-width: 360px;
		padding: 22px 24px;
		border-radius: 22px;
	}
}

.roz-quiz__teaser-title {
	margin: 0 28px 8px 0;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.25;
	color: #2d2a26;
}

@media (min-width: 768px) {
	.roz-quiz__teaser-title {
		font-size: 20px;
	}
}

.roz-quiz__teaser-sub {
	margin: 0 0 14px;
	color: #5c5650;
	font-size: 14px;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.roz-quiz__teaser-sub {
		font-size: 15px;
	}
}

.roz-quiz__teaser-close,
.roz-quiz__modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 4px 8px;
}

.roz-quiz__teaser-cta {
	display: inline-block;
	width: 100%;
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: #7a3e5c;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	line-height: 48px;
}

@media (min-width: 768px) {
	.roz-quiz__teaser-cta {
		width: auto;
		min-width: 180px;
	}
}

.roz-quiz__teaser-cta:hover {
	background: #6a3450;
	color: #fff;
}

.roz-quiz__btn--primary {
	display: inline-block;
	width: 100%;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: #7a3e5c;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	min-height: 48px;
}

.roz-quiz__btn--primary:hover:not(:disabled) {
	background: #6a3450;
	color: #fff;
}

.roz-quiz__overlay {
	position: fixed;
	inset: 0;
	z-index: 99991;
	background: rgba(0, 0, 0, 0.45);
}

.roz-quiz__modal {
	position: fixed;
	z-index: 99992;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 28px);
	max-width: 440px;
	max-height: min(90vh, 640px);
	overflow: auto;
	padding: 20px 16px 16px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
}

body.roz-quiz-open {
	overflow: hidden;
}

.roz-quiz__progress {
	margin-bottom: 8px;
	font-size: 12px;
	color: #888;
}

.roz-quiz__limit-hint {
	margin: 0 0 8px;
	font-size: 13px;
	color: #7a3e5c;
}

.roz-quiz__limit-hint--hidden {
	display: none;
}

.roz-quiz__question {
	margin: 0 32px 16px 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: #2d2a26;
}

.roz-quiz__body {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.roz-quiz__chip {
	flex: 1 1 100%;
	padding: 10px 12px;
	border: 1px solid #ddd5cc;
	border-radius: 8px;
	background: #faf8f6;
	color: #2d2a26;
	font-size: 13px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

@media (min-width: 400px) {
	.roz-quiz__chip {
		flex: 1 1 calc(50% - 8px);
	}
}

.roz-quiz__chip.is-active {
	border-color: #7a3e5c;
	background: #f5eef2;
}

.roz-quiz__other {
	flex: 1 1 100%;
	margin-top: 4px;
}

.roz-quiz__other--hidden {
	display: none;
}

.roz-quiz__other-input,
.roz-quiz__contact-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd5cc;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	resize: vertical;
}

.roz-quiz__hint {
	flex: 1 1 100%;
	margin: 0 0 8px;
	font-size: 13px;
	color: #5c5650;
}

.roz-quiz__channels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}

.roz-quiz__consent {
	flex: 1 1 100%;
	display: block;
	margin-top: 8px;
	font-size: 12px;
	color: #5c5650;
}

.roz-quiz__contact-choice {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.roz-quiz__contact-choice .roz-quiz__btn--primary,
.roz-quiz__contact-choice .roz-quiz__btn--ghost {
	width: 100%;
}

.roz-quiz__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.roz-quiz__btn--ghost {
	padding: 12px 16px;
	border: 1px solid #ddd5cc;
	border-radius: 999px;
	background: #fff;
	color: #2d2a26;
	font-size: 14px;
	cursor: pointer;
	text-align: center;
}

.roz-quiz__btn--primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
