body.brandefy-quiz-route #main-content { min-height: 0; padding: 0; }

.brandefy-quiz {
    --quiz-stage: calc(100svh - 153px);
    --quiz-space: 80px;
    color: #000;
    font: 16px/24px ui-sans-serif, system-ui, sans-serif;
    text-align: center;
}

.brandefy-quiz [hidden] { display: none !important; }
.brandefy-quiz .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.brandefy-quiz-page {
    width: min(calc(100% - 60px), 1084px);
    min-height: var(--quiz-stage);
    margin: 0 auto;
    padding: var(--quiz-space) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brandefy-quiz h1 {
    width: 100%;
    margin: 0;
    font: 400 32px/38px ui-sans-serif, system-ui, sans-serif;
}

.brandefy-quiz h1:focus { outline: none; }
.brandefy-quiz-instruction { margin: 14px 0 0; line-height: 23px; }

.brandefy-quiz-options {
    display: grid;
    gap: 10px;
    min-inline-size: 0;
    width: min(100%, var(--answer-width));
    margin: 30px 0 0;
    padding: 0;
    border: 0;
}

.brandefy-quiz-choice {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #000;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font: inherit;
    cursor: pointer;
    text-align: center;
}

.brandefy-quiz-choice:is([aria-pressed="true"], :has(:checked)) {
    background: #ededed;
    outline: 1px solid #000;
    outline-offset: -1px;
}
.brandefy-quiz-choice:has(:disabled) { cursor: default; }
.brandefy-quiz-choice:has(:focus-visible),
.brandefy-quiz :is(button, a):focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
.brandefy-quiz-caption { margin: 30px 0 0; font-size: 12px; line-height: 15px; color: #333; }

.brandefy-quiz :is(.brandefy-quiz-primary, .brandefy-quiz-secondary) {
    display: inline-grid;
    min-height: 53px;
    padding: 16px 24px;
    place-items: center;
    border: 1px solid #000;
    border-radius: 4px;
    background: #000;
    color: #fff;
    font: 700 15px/18px ui-sans-serif, system-ui, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}
.brandefy-quiz .brandefy-quiz-secondary { background: #fff; color: #000; }
.brandefy-quiz .brandefy-quiz-primary:disabled { opacity: .45; cursor: default; }
.brandefy-quiz [data-quiz-continue] { margin-top: 74px; }

.brandefy-quiz :is(.brandefy-quiz-back, .brandefy-quiz-skip) {
    border: 0;
    padding: 0;
    margin-top: 28px;
    background: transparent;
    color: #000;
    font: 600 14px/17px ui-sans-serif, system-ui, sans-serif;
    cursor: pointer;
    text-transform: uppercase;
}
.brandefy-quiz .brandefy-quiz-skip { margin-top: 25px; text-transform: none; text-decoration: underline; }
.brandefy-quiz-email input { width: min(100%, 350px); height: 53px; margin-top: 30px; border: 1px solid #000; border-radius: 28px; background: #fff; }
.brandefy-quiz-email .brandefy-quiz-caption { margin: 12px 0 30px; }
.brandefy-quiz [data-quiz-loading] h1::after {
    content: "";
    display: block;
    width: 125px;
    height: 125px;
    margin: 32px auto 0;
    border: 2px solid #ededed;
    border-top-color: #000;
    border-radius: 50%;
    animation: brandefy-quiz-spin .8s linear infinite;
}
@keyframes brandefy-quiz-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .brandefy-quiz [data-quiz-loading] h1::after { animation: none; }
}

.brandefy-quiz-results { width: min(100% - 60px, 1084px); margin: 0 auto; padding: 40px 0 65px; }
.brandefy-quiz-results h1 { font-weight: 600; }
.brandefy-quiz-intro { margin: 14px 0 30px; font-size: 18px; line-height: 24px; }
.brandefy-quiz-product { margin: 0 auto 64px; max-width: 300px; }
.brandefy-quiz-product h2 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: .12em; }
.brandefy-quiz-product h2 + p { margin: 0; }
.brandefy-quiz-product-image { display: block; margin: 30px auto 12px; }
.brandefy-quiz-product-image img { display: block; margin: 0 auto; width: min(100%, 225px); height: 300px; object-fit: contain; }
.brandefy-quiz-product h3 { margin: 0 0 12px; font-size: 18px; font-weight: 400; }
.brandefy-quiz-product h3 a { color: inherit; text-decoration: none; }
.brandefy-quiz-product-copy p { margin: 0; font-size: 14px; line-height: 17px; }
.brandefy-quiz-product-copy strong { font-size: 12px; letter-spacing: .14em; }
.brandefy-quiz-product-copy .brandefy-quiz-price { margin: 16px 0 10px; }
.brandefy-quiz-price del { margin-inline-end: 4px; color: #b11; }
.brandefy-quiz-price ins { text-decoration: none; }
.brandefy-quiz-product-actions { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.brandefy-quiz-product-actions > * { width: min(49%, 137px); }
.brandefy-quiz-product-actions :is(button, a) { width: 100%; min-height: 55px; padding: 8px; font-size: 12px; line-height: 14px; }

@media (max-width: 749px) {
    .brandefy-quiz { --quiz-stage: calc(100svh - 125px); --quiz-space: 60px; }
    .brandefy-quiz h1 { font-size: 28px; line-height: 33px; }
    .brandefy-quiz-instruction { margin-top: 10px; line-height: 24px; }
    .brandefy-quiz-choice:has(:checked) { background: #f4f6f8; }
    .brandefy-quiz-results { padding-top: 30px; }
    .brandefy-quiz-product { max-width: 290px; }
    .brandefy-quiz-product-image img { height: 290px; }
}
