.pvqb-quiz {
    --pvqb-navy: #244b5a;
    --pvqb-mint: #2ed9c3;
    --pvqb-teal: #18988b;
    --pvqb-orange: #ffa400;
    --pvqb-white: #ffffff;
    --pvqb-ink: #17313b;
    --pvqb-muted: #5e7279;
    --pvqb-soft: #eff9f7;
    --pvqb-border: #d9e5e7;
    --pvqb-danger: #a33232;
    --pvqb-shadow: 0 24px 60px rgba(36, 75, 90, .14);
    box-sizing: border-box;
    color: var(--pvqb-ink);
    font-family: Montserrat, Arial, sans-serif;
    margin: 24px auto;
    max-width: 1180px;
    width: 100%;
}

.pvqb-quiz *, .pvqb-quiz *::before, .pvqb-quiz *::after { box-sizing: border-box; }
.pvqb-quiz button, .pvqb-quiz input { font: inherit; }
.pvqb-quiz a { text-underline-offset: 3px; }
.pvqb-quiz img { height: auto; max-width: 100%; }
.pvqb-quiz fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.pvqb-quiz legend { display: block; padding: 0; width: 100%; }
.pvqb-quiz [hidden] { display: none !important; }

.pvqb-honeypot {
    height: 1px !important;
    left: -10000px !important;
    overflow: hidden !important;
    position: absolute !important;
    top: auto !important;
    width: 1px !important;
}

.pvqb-initial-loader {
    background: var(--pvqb-white);
    border: 1px solid var(--pvqb-border);
    border-radius: 20px;
    color: var(--pvqb-navy);
    padding: 32px;
    text-align: center;
}

.pvqb-shell {
    background:
        radial-gradient(circle at 8% 5%, rgba(46, 217, 195, .16), transparent 30%),
        radial-gradient(circle at 92% 92%, rgba(255, 164, 0, .10), transparent 25%),
        linear-gradient(145deg, #f9fcfc, #fff);
    border: 1px solid rgba(36, 75, 90, .12);
    border-radius: 24px;
    box-shadow: var(--pvqb-shadow);
    min-height: 610px;
    overflow: hidden;
    padding: 22px 16px;
    position: relative;
}

.pvqb-shell::before,
.pvqb-shell::after {
    border-radius: 50%;
    content: "";
    pointer-events: none;
    position: absolute;
}

.pvqb-shell::before {
    background: rgba(46, 217, 195, .08);
    height: 180px;
    right: -80px;
    top: 110px;
    width: 180px;
}

.pvqb-shell::after {
    background: rgba(24, 152, 139, .06);
    bottom: -90px;
    height: 230px;
    left: -100px;
    width: 230px;
}

.pvqb-brand {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0 auto 18px;
    min-height: 58px;
    position: relative;
    z-index: 1;
}

.pvqb-brand__logo { max-height: 72px; max-width: 245px; object-fit: contain; width: 62%; }

.pvqb-welcome,
.pvqb-question-card,
.pvqb-loading,
.pvqb-message-card,
.pvqb-results {
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pvqb-welcome { max-width: 760px; padding: 20px 4px 30px; text-align: center; }
.pvqb-eyebrow { color: var(--pvqb-teal); font-size: 12px; font-weight: 700; letter-spacing: .18em; margin: 0 0 14px; text-transform: uppercase; }
.pvqb-title { color: var(--pvqb-navy); font-size: clamp(30px, 7vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 0 auto 18px; outline: none; }
.pvqb-lead { color: var(--pvqb-muted); font-size: 16px; line-height: 1.7; margin: 0 auto 22px; max-width: 720px; }

.pvqb-welcome__points { display: flex; flex-direction: column; gap: 8px; justify-content: center; margin: 0 auto 26px; }
.pvqb-welcome__points span { color: var(--pvqb-navy); font-size: 13px; font-weight: 600; }

.pvqb-button {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 13px;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 49px;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.pvqb-button:hover { transform: translateY(-1px); }
.pvqb-button:focus-visible, .pvqb-option:has(input:focus-visible) { outline: 3px solid rgba(46, 217, 195, .55); outline-offset: 3px; }
.pvqb-button:disabled { cursor: wait; opacity: .72; transform: none; }
.pvqb-button--primary { background: var(--pvqb-navy); box-shadow: 0 10px 24px rgba(36, 75, 90, .22); color: var(--pvqb-white) !important; }
.pvqb-button--primary:hover { background: #193c49; }
.pvqb-button--ghost { background: transparent; border-color: var(--pvqb-border); color: var(--pvqb-navy) !important; }
.pvqb-button--outline { background: var(--pvqb-white); border-color: var(--pvqb-navy); color: var(--pvqb-navy) !important; }
.pvqb-button--commerce { background: var(--pvqb-orange); color: var(--pvqb-navy) !important; }
.pvqb-button--commerce:hover { background: #ed9900; }
.pvqb-button.is-added { background: var(--pvqb-teal); color: #fff !important; }

.pvqb-disclaimer { color: #6f7f85; font-size: 12px; line-height: 1.55; margin: 24px auto 0; max-width: 680px; }
.pvqb-disclaimer--compact { border-top: 1px solid var(--pvqb-border); padding-top: 16px; text-align: center; }

.pvqb-progress-row {
    color: var(--pvqb-navy);
    display: flex;
    font-size: 11px;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: .06em;
    margin: 0 auto 8px;
    max-width: 760px;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.pvqb-progress { background: #deebed; border-radius: 999px; height: 8px; margin: 0 auto 24px; max-width: 760px; overflow: hidden; position: relative; z-index: 1; }
.pvqb-progress span { background: linear-gradient(90deg, var(--pvqb-teal), var(--pvqb-mint)); border-radius: inherit; display: block; height: 100%; transition: width .35s ease; }

.pvqb-question-card {
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--pvqb-border);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(36, 75, 90, .09);
    max-width: 760px;
    padding: 24px 18px 20px;
}

.pvqb-question__title { color: var(--pvqb-navy); font-size: clamp(22px, 5vw, 32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 22px; outline: none; }
.pvqb-optional { color: var(--pvqb-muted); display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0; margin-left: 6px; vertical-align: middle; }
.pvqb-question__helper { color: var(--pvqb-muted); font-size: 13px; margin: -10px 0 16px; }

.pvqb-options { display: grid; gap: 10px; }
.pvqb-option {
    align-items: center;
    background: var(--pvqb-white);
    border: 1.5px solid var(--pvqb-border);
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    min-height: 58px;
    padding: 13px 14px;
    position: relative;
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.pvqb-option:hover { border-color: var(--pvqb-teal); transform: translateY(-1px); }
.pvqb-option input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.pvqb-option:has(input:checked) { background: var(--pvqb-soft); border-color: var(--pvqb-teal); box-shadow: inset 0 0 0 1px var(--pvqb-teal); }
.pvqb-option__marker { border: 2px solid #9bb0b6; border-radius: 50%; flex: 0 0 22px; height: 22px; position: relative; width: 22px; }
.pvqb-option input[type="checkbox"] + .pvqb-option__marker { border-radius: 6px; }
.pvqb-option input:checked + .pvqb-option__marker { background: var(--pvqb-teal); border-color: var(--pvqb-teal); }
.pvqb-option input:checked + .pvqb-option__marker::after { border: solid white; border-width: 0 2px 2px 0; content: ""; height: 9px; left: 7px; position: absolute; top: 3px; transform: rotate(45deg); width: 5px; }
.pvqb-option input[type="radio"]:checked + .pvqb-option__marker::after { background: white; border: 0; border-radius: 50%; height: 8px; left: 5px; top: 5px; transform: none; width: 8px; }
.pvqb-option__label { color: var(--pvqb-ink); font-size: 14px; font-weight: 500; line-height: 1.4; }
.pvqb-option--consent { align-items: flex-start; background: #fbfdfd; }
.pvqb-option--consent .pvqb-option__label { color: var(--pvqb-muted); font-size: 12px; }
.pvqb-option--consent a { color: var(--pvqb-teal); font-weight: 700; }

.pvqb-text-field input {
    background: #fff;
    border: 1.5px solid var(--pvqb-border);
    border-radius: 14px;
    color: var(--pvqb-ink);
    font-size: 16px;
    min-height: 57px;
    outline: none;
    padding: 13px 15px;
    width: 100%;
}
.pvqb-text-field input:focus { border-color: var(--pvqb-teal); box-shadow: 0 0 0 3px rgba(46, 217, 195, .22); }

.pvqb-navigation { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; }
.pvqb-navigation .pvqb-button { min-width: 116px; }
.pvqb-inline-error, .pvqb-card-error { color: var(--pvqb-danger); font-size: 12px; font-weight: 600; min-height: 0; }
.pvqb-inline-error.is-visible { background: #fff1f1; border-radius: 8px; margin-top: 12px; padding: 9px 11px; }
.pvqb-card-error:not(:empty) { background: #fff1f1; border-radius: 8px; margin-top: 10px; padding: 8px; }

.pvqb-security-note { align-items: flex-start; background: #edf9f7; border: 1px solid #c9eee9; border-radius: 13px; display: flex; gap: 10px; margin-bottom: 18px; padding: 13px; }
.pvqb-security-note > span { align-items: center; background: var(--pvqb-teal); border-radius: 50%; color: white; display: inline-flex; flex: 0 0 24px; font-size: 12px; height: 24px; justify-content: center; }
.pvqb-security-note p { color: var(--pvqb-navy); font-size: 12px; line-height: 1.5; margin: 0; }

.pvqb-loading, .pvqb-message-card { max-width: 680px; padding: 70px 16px; text-align: center; }
.pvqb-loading h2, .pvqb-message-card h2 { color: var(--pvqb-navy); font-size: clamp(25px, 6vw, 38px); margin: 20px 0 12px; outline: none; }
.pvqb-loading p, .pvqb-message-card p { color: var(--pvqb-muted); line-height: 1.65; }
.pvqb-spinner { animation: pvqb-spin 1s linear infinite; border: 4px solid #dfeaec; border-radius: 50%; border-top-color: var(--pvqb-teal); height: 52px; margin: 0 auto; width: 52px; }
.pvqb-message-card__icon { align-items: center; background: var(--pvqb-soft); border-radius: 50%; color: var(--pvqb-teal); display: flex; font-size: 30px; font-weight: 800; height: 70px; justify-content: center; margin: 0 auto; width: 70px; }
.pvqb-message-card--error .pvqb-message-card__icon { background: #fff1f1; color: var(--pvqb-danger); }

.pvqb-results { padding: 10px 0 22px; text-align: center; }
.pvqb-shell--results { max-width: 1180px; }
.pvqb-results .pvqb-title { font-size: clamp(28px, 5vw, 46px); }
.pvqb-result-alerts { display: grid; gap: 8px; margin: 18px auto 24px; max-width: 820px; text-align: left; }
.pvqb-result-alerts p { align-items: flex-start; background: #f2f8fa; border-left: 4px solid var(--pvqb-teal); border-radius: 9px; color: var(--pvqb-navy); display: flex; font-size: 12px; gap: 9px; line-height: 1.5; margin: 0; padding: 11px 13px; }
.pvqb-result-alerts span { align-items: center; background: var(--pvqb-navy); border-radius: 50%; color: white; display: inline-flex; flex: 0 0 19px; font-size: 11px; font-style: normal; font-weight: 700; height: 19px; justify-content: center; }
.pvqb-email-status { border-radius: 10px; font-size: 12px; font-weight: 600; margin: 10px auto 22px; max-width: 760px; padding: 10px 12px; }
.pvqb-email-status.is-success { background: #e4f8f2; color: #116658; }
.pvqb-email-status.is-warning { background: #fff4d7; color: #765000; }

.pvqb-products-grid { display: grid; gap: 18px; grid-template-columns: 1fr; text-align: left; }
.pvqb-product-card {
    background: #fff;
    border: 1px solid var(--pvqb-border);
    border-radius: 20px;
    box-shadow: 0 13px 30px rgba(36, 75, 90, .09);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.pvqb-product-card__rank { align-items: center; background: var(--pvqb-navy); border-radius: 50%; color: white; display: flex; font-size: 13px; font-weight: 800; height: 34px; justify-content: center; left: 14px; position: absolute; top: 14px; width: 34px; z-index: 2; }
.pvqb-alternative { background: var(--pvqb-soft); border-radius: 999px; color: var(--pvqb-teal); font-size: 10px; font-weight: 700; padding: 6px 9px; position: absolute; right: 12px; text-transform: uppercase; top: 14px; z-index: 2; }
.pvqb-product-card__image { align-items: center; background: #f7fafb; display: flex; height: 220px; justify-content: center; overflow: hidden; padding: 28px; }
.pvqb-product-card__image img { height: 100%; object-fit: contain; transition: transform .25s ease; width: 100%; }
.pvqb-product-card__image:hover img { transform: scale(1.03); }
.pvqb-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.pvqb-product-card__brand { color: var(--pvqb-teal); font-size: 11px; font-weight: 700; letter-spacing: .09em; margin: 0 0 6px; text-transform: uppercase; }
.pvqb-product-card h3 { color: var(--pvqb-navy); font-size: 21px; font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.pvqb-product-card__price { color: var(--pvqb-navy); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.pvqb-product-card__price del { color: #8b9a9f; font-size: 14px; font-weight: 500; margin-right: 4px; }
.pvqb-product-card__price ins { color: var(--pvqb-teal); text-decoration: none; }
.pvqb-stock { align-items: center; color: #337267; display: flex; font-size: 11px; font-weight: 600; gap: 6px; margin: 0; }
.pvqb-stock > span { background: var(--pvqb-teal); border-radius: 50%; display: inline-block; height: 7px; width: 7px; }
.pvqb-low-stock { color: #9a6200; font-size: 11px; font-weight: 700; margin: 7px 0 0; }
.pvqb-why { background: #f5fbfa; border-radius: 12px; margin: 16px 0 18px; padding: 13px; }
.pvqb-why h4 { color: var(--pvqb-navy); font-size: 12px; margin: 0 0 5px; }
.pvqb-why p { color: var(--pvqb-muted); font-size: 12px; line-height: 1.55; margin: 0; }
.pvqb-card-actions { display: grid; gap: 8px; margin-top: auto; }
.pvqb-card-actions .pvqb-button { width: 100%; }
.pvqb-empty-results { background: #fff; border: 1px solid var(--pvqb-border); border-radius: 16px; color: var(--pvqb-muted); grid-column: 1 / -1; padding: 36px; text-align: center; }
.pvqb-results-footer { display: flex; flex-direction: column; gap: 10px; justify-content: center; margin-top: 28px; }

@keyframes pvqb-spin { to { transform: rotate(360deg); } }

@media (min-width: 560px) {
    .pvqb-shell { padding: 28px; }
    .pvqb-welcome__points { flex-direction: row; gap: 20px; }
    .pvqb-question-card { padding: 34px; }
    .pvqb-options--choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pvqb-options--choices .pvqb-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .pvqb-results-footer { flex-direction: row; }
}

@media (min-width: 760px) {
    .pvqb-shell { border-radius: 30px; padding: 34px 42px; }
    .pvqb-brand { margin-bottom: 24px; }
    .pvqb-brand__logo { max-width: 270px; width: 32%; }
    .pvqb-welcome { padding: 42px 20px 52px; }
    .pvqb-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1030px) {
    .pvqb-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pvqb-product-card__image { height: 245px; }
}

@media (prefers-reduced-motion: reduce) {
    .pvqb-quiz *, .pvqb-quiz *::before, .pvqb-quiz *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
