/* Shutters365 — "Which shutter style suits your home?" quiz */
.s365-quiz {
	background: var(--white, #fff);
	border: 1px solid var(--line, #e7ded0);
	border-radius: var(--r-lg, 16px);
	padding: clamp(22px, 3vw, 36px);
	max-width: 640px;
	margin: 0 auto;
	box-shadow: var(--sh-sm, 0 2px 12px rgba(0, 0, 0, .05));
}
.s365-quiz-progress { height: 6px; border-radius: 999px; background: var(--line, #eee); overflow: hidden; margin-bottom: 22px; }
.s365-quiz-bar { display: block; height: 100%; width: 0; background: var(--red, #d62828); transition: width .3s ease; }
.s365-quiz-q { display: none; }
.s365-quiz-q.on { display: block; }
.s365-quiz-step { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red, #d62828); margin-bottom: 8px; }
.s365-quiz-title { margin: 0 0 18px; font-size: clamp(1.3rem, 2.6vw, 1.65rem); color: var(--ink, #15171c); line-height: 1.25; }
.s365-quiz-opts { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .s365-quiz-opts { grid-template-columns: minmax(0, 1fr); } }
.s365-quiz-opt {
	display: flex; align-items: center; gap: 12px;
	text-align: left; padding: 12px 14px; border: 1.5px solid var(--line-2, #ddd); border-radius: 12px;
	background: #fff; font-size: .95rem; font-weight: 600; color: var(--charcoal, #333); cursor: pointer;
	font-family: inherit; line-height: 1.3;
	transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
}
.s365-quiz-opt:hover { border-color: var(--red, #d62828); background: #fdf6f5; transform: translateY(-2px); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .25); }
.s365-quiz-opt:active { transform: scale(.99); }
.s365-quiz-opt.sel { border-color: var(--red, #d62828); background: #fdf6f5; box-shadow: 0 0 0 3px rgba(214, 40, 40, .12); }
.s365-quiz-ic {
	flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
	background: var(--paper-2, #f6f1e7); color: var(--charcoal, #444);
	display: grid; place-items: center;
	transition: background .15s, color .15s, transform .15s;
}
.s365-quiz-ic svg { width: 23px; height: 23px; }
.s365-quiz-sw { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.s365-quiz-opt:hover .s365-quiz-ic, .s365-quiz-opt.sel .s365-quiz-ic { background: var(--red, #d62828); color: #fff; transform: scale(1.07); }
.s365-quiz-back {
	margin-top: 16px; background: none; border: none; color: var(--muted, #6b7280);
	font-size: .9rem; font-weight: 600; cursor: pointer; padding: 4px 0;
}
.s365-quiz-back:hover { color: var(--ink, #15171c); }
.s365-quiz-rec { margin: 0 0 20px; color: var(--charcoal, #444); font-size: 1.02rem; line-height: 1.55; }
.s365-quiz-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
/* The quiz renders inside .entry-content, whose `a { color: var(--red) }` rule
   would otherwise paint red text on the red primary button. */
.s365-quiz a.btn-primary, .s365-quiz a.btn-primary:hover { color: #fff; }
.s365-quiz a.btn-outline { color: var(--ink, #15171c); }
.s365-quiz-email { border-top: 1px solid var(--line, #eee); padding-top: 18px; }
.s365-quiz-emaillab { margin: 0 0 8px; font-weight: 600; color: var(--ink, #15171c); font-size: .95rem; }
.s365-quiz-emailrow { display: flex; gap: 8px; flex-wrap: wrap; }
.s365-quiz-emailrow input { flex: 1; min-width: 200px; padding: 11px 12px; border: 1.5px solid var(--line-2, #ddd); border-radius: 10px; font-size: 1rem; }
.s365-quiz-emailrow input:focus { outline: none; border-color: var(--red, #d62828); }
.s365-quiz-msg { margin: 8px 0 0; font-size: .85rem; line-height: 1.4; }
