@font-face {
    font-family: 'FactorA';
    src: url('/assets/fonts/FactorA/FactorA-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FactorA';
    src: url('/assets/fonts/FactorA/FactorA-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FactorA';
    src: url('/assets/fonts/FactorA/FactorA-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FactorA';
    src: url('/assets/fonts/FactorA/FactorA-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.product-selection-popup {
    --product-selection-bg: #2e2a47;
    --product-selection-bg-light: #433f59;
    --product-selection-accent: #eb673b;
    --product-selection-text-muted: #dcd4c3;
    position: fixed;
    z-index: 1050;
    inset: 0;
    pointer-events: none;
}

/* The homepage header and mobile menu use layers up to 10000. */
.product-selection-popup--home {
    z-index: 10001;
}

body.product-selection-popup-open {
    overflow: hidden;
}

.product-selection-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 11, 27, .72);
    opacity: 0;
    transition: opacity .25s ease;
}

.product-selection-popup__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(720px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow: hidden;
    visibility: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--product-selection-bg) 0%, var(--product-selection-bg-light) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    color: #fff;
    font-family: 'FactorA', sans-serif;
    opacity: 0;
    transform: translate(-50%, -48%);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}

.product-selection-popup__dialog:focus {
    outline: none;
}

.product-selection-popup.is-open {
    pointer-events: auto;
}

.product-selection-popup.is-open .product-selection-popup__backdrop {
    opacity: 1;
}

.product-selection-popup.is-open .product-selection-popup__dialog {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%);
    transition-delay: 0s;
}

.product-selection-popup__body {
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 42px 40px 32px;
}

.product-selection-popup__close {
    position: absolute;
    z-index: 20;
    top: 12px;
    right: 14px;
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    transition: background .2s, opacity .2s;
}

.product-selection-popup__close:hover,
.product-selection-popup__close:focus-visible {
    background: var(--product-selection-accent);
    outline: none;
}

.product-selection-popup__close:focus-visible {
    box-shadow: 0 0 0 3px #fff;
}

.product-selection-popup__mobile-video-layer {
    display: none;
}

.product-selection-popup.is-first-step .product-selection-popup__mobile-video-layer {
    position: absolute !important;
    z-index: 10;
    display: block !important;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #000;
}

.product-selection-popup.is-first-step .product-selection-popup__mobile-video {
    position: absolute !important;
    z-index: 1;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-selection-popup.is-first-step .product-selection-popup__mobile-video-sound {
    position: absolute !important;
    z-index: 2;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent !important;
    cursor: pointer;
    font-size: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.product-selection-popup.is-first-step .product-selection-popup__mobile-video-sound:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: -4px;
}

.product-selection-popup__qform .is_qform,
.product-selection-popup__qform .qform__quiz-wrapper,
.product-selection-popup__qform form.qform {
    width: 100% !important;
    max-width: none !important;
}

/* QForm supports three visual step indicators, but no "hidden" setting. */
.product-selection-popup__qform .qform-tabnav-here {
    display: none !important;
}

/* QForm reapplies inline styles to its backlink while rendering quiz steps. */
.product-selection-popup__qform .qform__form-label {
    display: none !important;
}

.product-selection-popup__qform form.qform,
.product-selection-popup__qform .qform-row,
.product-selection-popup__qform .qform-field,
.product-selection-popup__qform .qform-field__textblock_text,
.product-selection-popup__qform .qform-field-outside-label-box_label,
.product-selection-popup__qform .qform-field__block_box__field-box_label,
.product-selection-popup__qform .qform-field__submit_agree-box label,
.product-selection-popup__qform .qform__form-label,
.product-selection-popup__qform .qform__form-label a {
    color: #fff !important;
    font-family: 'FactorA', sans-serif !important;
}

.product-selection-popup__qform form.qform {
    margin: 0 !important;
    font-family: 'FactorA', sans-serif !important;
}

.product-selection-popup__qform .qform-row.multiple-cols-2 {
    align-items: center;
    gap: 40px;
}

.product-selection-popup__qform .qform-row.multiple-cols-2 > .qform-field {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.product-selection-popup__qform .qform-field__textblock_label,
.product-selection-popup__qform .qform-video-widgets-gallery > .qform-field-outside-label-box {
    display: none !important;
}

.product-selection-popup__qform .qform-field__textblock_text h2 {
    max-width: 420px;
    margin: 0 0 18px !important;
    color: #fff !important;
    font-family: 'FactorA', sans-serif !important;
    font-size: 44px !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
}

.product-selection-popup__qform .qform-field__textblock_text p {
    max-width: 410px;
    margin: 0 !important;
    color: var(--product-selection-text-muted) !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
}

.product-selection-popup__qform .video-widgets-gallery-wrapper,
.product-selection-popup__qform .gallery-block,
.product-selection-popup__qform .gallery-item {
    width: 100% !important;
}

.product-selection-popup__qform .gallery-item {
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.product-selection-popup__qform .qform-field__quiz-btn {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px !important;
}

.product-selection-popup__qform .qform-field__quiz-btn-box {
    margin: 0 !important;
}

.product-selection-popup__qform .qform-field__quiz-btn-box input,
.product-selection-popup__qform .qform-field__submit__input,
.product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button {
    min-height: 48px !important;
    padding: 0 24px !important;
    border: 1px solid rgba(255, 255, 255, .6) !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--product-selection-text-muted) !important;
    cursor: pointer;
    font-family: 'FactorA', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .08em;
    line-height: 1 !important;
    text-transform: uppercase;
    transition: background .2s, border-color .2s, color .2s;
}

.product-selection-popup__qform .qform-field__quiz-btn-box input:hover:not(:disabled),
.product-selection-popup__qform .qform-field__quiz-btn-box input:focus-visible:not(:disabled),
.product-selection-popup__qform .qform-field__submit__input:hover:not(:disabled),
.product-selection-popup__qform .qform-field__submit__input:focus-visible:not(:disabled),
.product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button:hover,
.product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button:focus-visible {
    border-color: var(--product-selection-accent) !important;
    background: var(--product-selection-accent) !important;
    color: #fff !important;
    outline: none !important;
}

.product-selection-popup__qform .qform-field__quiz-btn-box input:focus-visible,
.product-selection-popup__qform .qform-field__submit__input:focus-visible,
.product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button:focus-visible,
.product-selection-popup__qform input:focus-visible,
.product-selection-popup__qform textarea:focus-visible,
.product-selection-popup__qform a:focus-visible {
    outline: 2px solid var(--product-selection-accent) !important;
    outline-offset: 3px !important;
}

.product-selection-popup__qform .qform-field__quiz-btn-box input:disabled,
.product-selection-popup__qform .qform-submit-disabled input {
    cursor: default;
    opacity: .55;
}

.product-selection-popup__qform .qform-field__block_box__field-box_input {
    min-height: 46px !important;
    border: 1px solid rgba(255, 255, 255, .35) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--product-selection-bg) !important;
    font-family: 'FactorA', sans-serif !important;
    font-size: 14px !important;
}

.product-selection-popup__qform .qform-field__block_box__field {
    border: 0 !important;
    background: transparent !important;
}

.product-selection-popup__qform textarea.qform-field__block_box__field-box_input {
    min-height: 92px !important;
    padding-top: 12px !important;
}

.product-selection-popup__qform .qform-field__block_box__field-box_input::placeholder {
    color: rgba(46, 42, 71, .55) !important;
    opacity: 1;
}

.product-selection-popup__qform .qform-field__block_box__field-box_input:focus {
    border-color: #fff !important;
}

.product-selection-popup__qform .qform-field__importance-label,
.product-selection-popup__qform .qform-field__block_box__field-box_label,
.product-selection-popup__qform .qform-field-outside-label-box_label {
    color: rgba(255, 255, 255, .82) !important;
}

.product-selection-popup__qform .qform-field__block_box__field-box_label a,
.product-selection-popup__qform .qform-field__block_box__field-box_label_link,
.product-selection-popup__qform .qform__form-label,
.product-selection-popup__qform .qform__form-label a {
    color: var(--product-selection-text-muted) !important;
}

.product-selection-popup__qform .qform__form-label {
    margin-top: 14px !important;
    text-align: right;
}

.product-selection-popup__qform input[type="checkbox"] {
    accent-color: var(--product-selection-accent);
}

.product-selection-badge {
    position: fixed;
    z-index: 1049;
    right: 24px;
    bottom: 24px;
    display: none;
    min-height: 40px;
    padding: 10px 18px;
    border: 0;
    border-radius: 20px 6px 6px 20px;
    background: #eb673b;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
    color: #fff;
    cursor: pointer;
    font: 700 13px/1 'FactorA', sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .2s, transform .2s;
}

.product-selection-badge:hover,
.product-selection-badge:focus-visible {
    background: #d9551f;
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

.product-selection-badge:focus-visible {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #2e2a47;
}

.product-selection-badge.is-visible {
    display: inline-flex;
    align-items: center;
}

/* Keep the homepage badge clear of the fixed chat controls. */
.product-selection-badge--home {
    z-index: 9997;
    right: 350px;
    bottom: 0;
}

@media (min-width: 768px) {
    .product-selection-popup.is-first-step .product-selection-popup__mobile-video-layer {
        top: 0;
        right: 0;
        width: auto !important;
        height: 100% !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__dialog {
        width: min(960px, calc(100vw - 48px));
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__body {
        overflow: hidden;
        padding: 34px 40px 22px;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform form.qform {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 24px;
        padding: 0 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform form.qform > .qform-row {
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform form.qform > .qform-row:nth-last-child(-n+2) {
        grid-column: 1 / -1;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--contact-name {
        grid-column: 1;
        grid-row: 1;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--contact-email {
        grid-column: 1;
        grid-row: 2;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--contact-phone {
        grid-column: 1;
        grid-row: 3;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--project-budget {
        grid-column: 2;
        grid-row: 1;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--project-description {
        grid-column: 2;
        grid-row: 2;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--project-upload {
        grid-column: 2;
        grid-row: 3;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform form.qform > .qform-row > .qform-field {
        width: 100% !important;
        margin: 0 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box_input {
        min-height: 42px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform_icon-user .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform_icon-email .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform_icon-phone .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--project-budget .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--project-description .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field_icon {
        display: none !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button::before {
        display: none !important;
        content: none !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform textarea.qform-field__block_box__field-box_input {
        min-height: 76px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__quiz-btn-box input {
        min-height: 42px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__submit_agree-box label {
        margin-top: 0 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__submit_agree-box label ~ label {
        margin-top: 10px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__quiz-btn {
        margin-top: 0 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform__form-label {
        margin-top: 8px !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__dialog {
        height: min(520px, calc(100vh - 48px));
    }

    .product-selection-popup.is-first-step .product-selection-popup__body {
        height: 100%;
        max-height: none;
        overflow: hidden;
        padding: 0;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform,
    .product-selection-popup.is-first-step .product-selection-popup__qform .is_qform,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform__quiz-wrapper,
    .product-selection-popup.is-first-step .product-selection-popup__qform form.qform {
        height: 100% !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform form.qform {
        position: relative;
        overflow: hidden;
        padding: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row.multiple-cols-2 {
        width: 100% !important;
        height: 100%;
        align-items: stretch;
        gap: 0;
        margin: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row.multiple-cols-2 > .qform-field:first-child {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        padding: 48px 42px 126px !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row.multiple-cols-2 > .qform-video-widgets-gallery {
        flex: none;
        width: auto !important;
        height: 100%;
        aspect-ratio: 9 / 16;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .video-widgets-gallery-wrapper,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .gallery-block,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .gallery-item,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .video-js,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-fluid,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-tech,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-poster,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery picture,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        padding-top: 0 !important;
        border-radius: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .video-widgets-gallery-wrapper {
        margin: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .gallery-item {
        position: relative !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-fluid {
        position: absolute !important;
        inset: 0 !important;
        flex: none !important;
        overflow: hidden !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-tech,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-poster {
        position: absolute !important;
        inset: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-tech {
        display: block !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery video,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery img {
        object-fit: contain !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row:not(.multiple-cols-2) {
        position: absolute !important;
        inset: 0;
        width: 100% !important;
        margin: 0 !important;
        pointer-events: none;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row:not(.multiple-cols-2) > .qform-field {
        position: static !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-field__quiz-btn {
        position: absolute;
        bottom: 54px;
        left: 42px;
        margin: 0 !important;
        pointer-events: auto;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform__form-label {
        position: absolute;
        bottom: 24px;
        left: 42px;
        margin: 0 !important;
        pointer-events: auto;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .product-selection-popup__dialog {
        top: 8px;
        left: 8px;
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        overflow: hidden;
        transform: translateY(-8px);
    }

    .product-selection-popup.is-open .product-selection-popup__dialog {
        transform: translateY(0);
    }

    .product-selection-popup.is-first-step .product-selection-popup__dialog {
        left: 50%;
        width: min(25.875vh, 219px);
        max-width: calc(100vw - 16px);
        transform: translate(-50%, -8px);
    }

    .product-selection-popup.is-first-step.is-open .product-selection-popup__dialog {
        transform: translate(-50%, 0);
    }

    .product-selection-popup__body {
        max-height: calc(100vh - 16px);
        overflow-x: hidden;
        padding: 42px 16px 14px;
    }

    .product-selection-popup__close {
        top: 10px;
        right: 10px;
    }

    .product-selection-popup__qform .is_qform,
    .product-selection-popup__qform .qform__quiz-wrapper,
    .product-selection-popup__qform form.qform,
    .product-selection-popup__qform .qform-row,
    .product-selection-popup__qform .qform-field,
    .product-selection-popup__qform .qform-field_wrap,
    .product-selection-popup__qform .qform-field__block,
    .product-selection-popup__qform .qform-field__block_box,
    .product-selection-popup__qform .qform-field__block_box__field,
    .product-selection-popup__qform .qform-field__block_box__field-box {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    .product-selection-popup__qform form.qform {
        display: block !important;
        padding: 0 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform form.qform > .qform-row {
        width: 100% !important;
        margin: 0 0 7px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform form.qform > .qform-row > .qform-field {
        width: 100% !important;
        margin: 0 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform_icon-user .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform_icon-email .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform_icon-phone .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--project-budget .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-row--project-description .qform-field_att-in_left,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field_icon {
        display: none !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button::before {
        display: none !important;
        content: none !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box_label,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field-outside-label-box_label {
        margin-bottom: 3px !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box_input,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button,
    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__quiz-btn-box input {
        min-height: 39px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box_input {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        font-size: 13px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform textarea.qform-field__block_box__field-box_input {
        min-height: 56px !important;
        padding-top: 9px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__block_box__field-box__dropzone.button {
        padding: 0 14px !important;
        font-size: 10px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__submit_agree-box label {
        margin-top: 0 !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__submit_agree-box label ~ label {
        margin-top: 5px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__quiz-btn {
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 2px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__quiz-btn-box {
        flex: 1 1 0;
        min-width: 0;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform-field__quiz-btn-box input {
        width: 100% !important;
        padding: 0 10px !important;
        font-size: 10px !important;
    }

    .product-selection-popup:not(.is-first-step) .product-selection-popup__qform .qform__form-label {
        margin-top: 4px !important;
        font-size: 8px !important;
        line-height: 1.15 !important;
        text-align: center;
    }

    .product-selection-popup.is-first-step .product-selection-popup__body {
        padding: 0 0 16px;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform form.qform {
        padding: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row.multiple-cols-2 {
        width: 100% !important;
        align-items: stretch;
        flex-direction: column-reverse;
        gap: 0;
        margin: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row.multiple-cols-2 > .qform-field {
        flex: none;
        width: 100% !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row.multiple-cols-2 > .qform-field:first-child {
        padding: 18px 18px 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row.multiple-cols-2 > .qform-video-widgets-gallery {
        height: auto;
        min-height: 0;
        aspect-ratio: 9 / 16;
        background: var(--product-selection-bg);
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .video-widgets-gallery-wrapper,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .gallery-block,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .gallery-item,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .video-js,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-fluid,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-tech,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-poster,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery picture,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        padding-top: 0 !important;
        border-radius: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .video-widgets-gallery-wrapper {
        margin: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .gallery-item {
        position: relative !important;
        overflow: hidden !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__mobile-video-layer {
        top: 0;
        right: auto;
        left: 0;
        width: 100% !important;
        height: auto !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-fluid,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-tech,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery .vjs-poster {
        position: absolute !important;
        inset: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery video,
    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-video-widgets-gallery img {
        object-fit: contain !important;
    }

    .product-selection-popup__qform .qform-field__textblock_text h2 {
        margin-bottom: 12px !important;
        font-size: 30px !important;
        line-height: 1.05 !important;
    }

    .product-selection-popup__qform .qform-field__textblock_text p {
        font-size: 14px !important;
        line-height: 1.38 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-field__quiz-btn {
        gap: 8px;
        margin: 16px 18px 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-field__quiz-btn-box {
        flex: 1 1 130px;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-field__quiz-btn-box input {
        display: block !important;
        box-sizing: border-box !important;
        width: 100% !important;
        padding: 0 4px !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        font-size: 10px !important;
        letter-spacing: .02em !important;
        text-align: center !important;
        text-indent: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform-row:not(.multiple-cols-2) {
        margin: 0 !important;
    }

    .product-selection-popup.is-first-step .product-selection-popup__qform .qform__form-label {
        margin: 8px 18px 0 !important;
        font-size: 9px !important;
        text-align: center;
    }

    .product-selection-badge {
        right: 12px;
        bottom: 12px;
        padding: 9px 14px;
        font-size: 12px;
    }

    .product-selection-badge--home {
        right: 100px;
    }
}

@media (max-width: 380px) {
    .product-selection-popup__qform .qform-field__textblock_text h2,
    .product-selection-popup__qform .qform-field__textblock_text p {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-selection-popup__backdrop,
    .product-selection-popup__dialog,
    .product-selection-badge {
        transition: none;
    }
}
