/* =========================================================
   VIGOR COSMETICS QUIZ — FRONTEND
========================================================= */

.vcq-quiz {
	--vcq-bg: transparent;
	--vcq-card: #ffffff;
	--vcq-text: #181818;
	--vcq-muted: #686868;
	--vcq-line: #00000017;
	--vcq-success: #1d6b36;
	--vcq-error: #a12622;

	width: 100%;
	margin: 0;
	color: var(--vcq-text);
	font-family: "Avenir", Arial, sans-serif;
	scroll-margin-top: 110px;
}

.vcq-quiz *,
.vcq-quiz *::before,
.vcq-quiz *::after { box-sizing: border-box; }
.vcq-quiz [hidden] { display: none !important; }
.vcq-shell { width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(32px, 4vw, 60px); background: var(--vcq-bg); border: 1px solid var(--vcq-line); box-shadow: none; }
.vcq-screen { opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; }
.vcq-screen.is-active { opacity: 1; transform: translateY(0); }
.vcq-start { width: 100%; max-width: 850px; min-height: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px 0; }
.vcq-eyebrow { margin: 0 0 18px; color: var(--vcq-muted); font-family: "Avenir", Arial, sans-serif; font-size: 13px; font-weight: 400; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.vcq-title, .vcq-results-title { max-width: 1050px; margin: 0; color: var(--vcq-text); font-family: "DidodVigor", "Times New Roman", serif; font-size: clamp(42px, 5vw, 72px); font-weight: 400; line-height: 1; letter-spacing: 0; text-transform: none; }
.vcq-intro { max-width: 700px; margin: 26px 0 34px; color: var(--vcq-muted); font-family: "Avenir", Arial, sans-serif; font-size: clamp(16px, 1.5vw, 20px); font-weight: 400; line-height: 1.55; }
.vcq-form { width: 100%; margin: 0; padding: 0; }
.vcq-progress-wrap { width: 100%; margin: 0 0 clamp(34px, 4vw, 52px); }
.vcq-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 14px; color: var(--vcq-muted); font-family: "Avenir", Arial, sans-serif; font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; }
.vcq-progress-label, .vcq-progress-percent { font-family: inherit; font-size: inherit; font-weight: inherit; }
.vcq-progress { width: 100%; height: 1px; background: var(--vcq-line); overflow: hidden; }
.vcq-progress-bar { display: block; width: 25%; height: 1px; background: var(--vcq-text); transition: width .26s ease; }
.vcq-step { min-width: 0; width: 100%; margin: 0; padding: 0; border: 0; }
.vcq-question { display: block; width: 100%; max-width: 980px; margin: 0 0 clamp(28px, 3.5vw, 44px); padding: 0; color: var(--vcq-text); font-family: "DidodVigor", "Times New Roman", serif; font-size: clamp(42px, 4.3vw, 64px); font-weight: 400; line-height: 1.05; letter-spacing: 0; text-transform: none; }
.vcq-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
.vcq-options-long { grid-template-columns: 1fr; }
.vcq-option { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 18px 20px; background: transparent; border: 1px solid var(--vcq-line); border-radius: 0; box-shadow: none; color: var(--vcq-text); font-family: "Avenir", Arial, sans-serif; cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
.vcq-options-long .vcq-option { min-height: 64px; }
.vcq-option:hover { background: transparent; border-color: rgba(0, 0, 0, .45); }
.vcq-option.is-selected { background: transparent; border-color: #000; }
.vcq-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vcq-radio { display: grid; flex: 0 0 20px; place-items: center; width: 20px; height: 20px; border: 1px solid var(--vcq-text); border-radius: 50%; }
.vcq-radio::after { content: ""; width: 10px; height: 10px; background: var(--vcq-text); border-radius: 50%; transform: scale(0); transition: transform .16s ease; }
.vcq-option input:checked + .vcq-radio::after { transform: scale(1); }
.vcq-option input:focus-visible + .vcq-radio { outline: 2px solid var(--vcq-text); outline-offset: 3px; }
.vcq-option-text { color: var(--vcq-text); font-family: "Avenir", Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.4; }
.vcq-actions, .vcq-result-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; margin: clamp(32px, 4vw, 48px) 0 0; }
.vcq-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border: 1px solid var(--vcq-text); border-radius: 0; box-shadow: none; font-family: "Avenir", Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 1; text-align: center; text-decoration: none; cursor: pointer; transition: opacity .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.vcq-btn-primary { background: var(--vcq-text); color: #fff; }
.vcq-btn-secondary { background: transparent; color: var(--vcq-text); }
.vcq-btn:hover { opacity: .76; }
.vcq-btn:focus-visible { outline: 2px solid var(--vcq-text); outline-offset: 3px; }
.vcq-btn:disabled { background: #858585; border-color: #858585; color: #fff; opacity: 1; cursor: not-allowed; }
.vcq-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 280px; }
.vcq-loading p { margin: 0; color: var(--vcq-muted); font-family: "Avenir", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.vcq-spinner { width: 42px; height: 42px; border: 2px solid var(--vcq-line); border-top-color: var(--vcq-text); border-radius: 50%; animation: vcq-spin .8s linear infinite; }
@keyframes vcq-spin { to { transform: rotate(360deg); } }
.vcq-results { width: 100%; }
.vcq-results-header { margin: 0 0 clamp(30px, 4vw, 52px); }
.vcq-results-title { font-size: clamp(40px, 4.2vw, 64px); line-height: 1.05; }
.vcq-products { width: 100%; }
.vcq-products .products { margin-top: 0; }
.vcq-empty { width: 100%; padding: clamp(28px, 5vw, 56px); background: transparent; border: 1px solid var(--vcq-line); text-align: center; }
.vcq-empty p { max-width: 700px; margin: 0 auto 24px; color: var(--vcq-text); font-family: "Avenir", Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 1.5; }
.vcq-text-link, .vcq-cart-link { color: var(--vcq-text); font-family: "Avenir", Arial, sans-serif; font-size: 15px; font-weight: 400; line-height: 1.4; text-decoration: underline; text-underline-offset: 5px; }
.vcq-text-link:hover, .vcq-cart-link:hover { color: var(--vcq-text); opacity: .7; }
.vcq-add-all-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; width: 100%; margin: 34px 0 0; padding: 24px; background: transparent; border: 1px solid var(--vcq-line); }
.vcq-add-all-status { width: 100%; margin: 0; color: var(--vcq-muted); font-family: "Avenir", Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; }
.vcq-add-all-status:empty { display: none; }
.vcq-add-all-status.is-success { color: var(--vcq-success); }
.vcq-add-all-status.is-error { color: var(--vcq-error); }
@media (max-width: 1024px) { .vcq-shell { padding: 42px 34px; } .vcq-question { font-size: clamp(40px, 6vw, 58px); } .vcq-progress-wrap { margin-bottom: 38px; } }
@media (max-width: 767px) {
	.vcq-quiz { margin: 0; scroll-margin-top: 80px; }
	.vcq-shell { padding: 28px 18px; }
	.vcq-start { min-height: auto; padding: 20px 0; }
	.vcq-title, .vcq-results-title { font-size: 40px; line-height: 1.04; }
	.vcq-intro { margin: 22px 0 28px; font-size: 16px; }
	.vcq-progress-wrap { margin-bottom: 30px; }
	.vcq-progress-meta { font-size: 12px; }
	.vcq-question { margin-bottom: 24px; font-size: 38px; line-height: 1.05; }
	.vcq-options { grid-template-columns: 1fr; gap: 10px; }
	.vcq-option, .vcq-options-long .vcq-option { min-height: 62px; padding: 15px 16px; }
	.vcq-option-text { font-size: 15px; }
	.vcq-actions, .vcq-result-actions { flex-direction: column-reverse; align-items: stretch; gap: 12px; margin-top: 28px; }
	.vcq-actions .vcq-btn, .vcq-result-actions .vcq-btn { width: 100%; }
	.vcq-add-all-wrap { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; padding: 18px; }
	.vcq-add-all-wrap .vcq-btn { width: 100%; }
	.vcq-text-link, .vcq-cart-link { display: block; text-align: center; }
	.vcq-loading { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .vcq-screen, .vcq-progress-bar, .vcq-option, .vcq-radio::after, .vcq-btn { transition: none; } .vcq-spinner { animation-duration: 1.6s; } }
