.wrapper {
    width: 80%;
    margin: 0 auto;
}

* {
    box-sizing: border-box;
}

.quiz {
    font-family: "CeraPro", Arial, sans-serif;
}

.quiz__title {
    font-size: 3.3vw;
    font-weight: 700;
    line-height: 3.5vw;
    margin-bottom: 2.5vw;
}

.quiz.js-animated {
    pointer-events: none;
}
#quiz-scroll {
    position: relative;
    top: 1vw;
}
.quiz-content {
    position: relative;
}

.quiz-row {
    display: flex;
    justify-content: space-between;
}

.quiz-column {
    display: flex;
    flex-direction: column;
    background-color: #f2f7fa;
    border-radius: 1.8vw;
/*    overflow: hidden;*/
    position: relative;
}

.quiz-column:nth-child(1) {
    width: 70%;
    padding: 2vw;
}

.quiz-column:nth-child(2) {
    width: calc(30% - 50px);
}

.quiz-processing {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(0.5vw);
    backdrop-filter: blur(0.5vw);
    position: absolute;
    z-index: 3;
    display: none;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

.quiz-processing__text {
    display: block;
    width: 100%;
    background-color: #9da5ee;
    border-radius: 1.8vw;
    font-size: 3vw;
    font-weight: 700;
    line-height: 3vw;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.quiz-progress {
    width: 100%;
    height: 2vw;
    background-color: #fff;
    border-radius: 2.5vw;
    position: relative;
    overflow: hidden;
    padding: 0.25vw;
}

.quiz-progress__road {
    width: 0%;
    height: 100%;
    background: #ee9dab url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyMiAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBvcGFjaXR5PSIuMjIiIGQ9Ik0xMC45NTYyIDI0Ljk5ODNIMC45NTcwMzFMMTAuOTU2MiAtMC4wMDAzMDUxNzZIMjEuMTMzOUwxMC45NTYyIDI0Ljk5ODNaIiBmaWxsPSIjZmZmIi8+PC9zdmc+) center left repeat-x;
    background-size: contain;
    border-radius: 2.5vw;
    transition: 0.5s;
    animation: progress_bar 100s linear infinite;
}
.quiz-progress__road.js-road-end {
    background-color: #72d888;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODIiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgODIgMTAwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik01MiAwSDgyTDMwIDEwMEgwTDUyIDBaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXJfNTgyXzE2MjQpIi8+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzU4Ml8xNjI0IiB4MT0iNjEuNSIgeTE9IjExMS41IiB4Mj0iMiIgeTI9Ijc5LjUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=);
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: left center;
    animation: road_blick 10s linear infinite;
}
@keyframes road_blick {
    0% {
        background-position: -50% center;
    }
    100% {
        background-position: 150%; center;
    }
}

.quiz-progress__text {
    font-size: 1vw;
    font-weight: 700;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.quiz-slides {
    width: 100%;
    margin-bottom: auto;
}

.quiz-slide {
    transition: 0.5s;
}

.quiz-slide__title {
    font-size: 1.8vw;
    line-height: 2.3vw;
    font-weight: 700;
    margin: 1.8vw 0;
}

.quiz-slide__content {
    padding-left: 1.75vw;
}
.quiz-slide__content.result {
    display: flex;
    flex-direction: column;
}
.quiz-slide:last-child .quiz-slide__content {
    padding-left: 0;
}

.quiz-slide__input {
    display: none;
}

.quiz-slide__input:checked + .quiz-slide__label:after {
    opacity: 1;
}

.quiz-slide__label {
    display: block;
    width: 100%;
    font-size: 1.25vw;
    position: relative;
    cursor: pointer;
}
.quiz-slide__label:not(:last-child) {
    border-bottom: 1px solid #e0edf1;
    padding-bottom: 0.75vw;
}

.quiz-slide__label:not(:nth-child(1)) {
    margin-top: 0.75vw;
}

.quiz-slide__label-text {
    line-height: 1.5vw;
    font-weight: 700;
    position: relative;
}

.quiz-slide__label-text:before {
    content: "";
    display: block;
    width: 1vw;
    height: 1vw;
    background-color: #fff;
    border: 1px solid #99dbf1;
    border-radius: 50%;
    position: absolute;
    left: -1.75vw;
    top: 50%;
    transform: translateY(-50%);
}

.quiz-slide__label-text:after {
    content: "";
    display: block;
    width: 0.5vw;
    height: 0.5vw;
    background-color: #99dbf1;
    border: 1px solid #99dbf1;
    border-radius: 50%;
    position: absolute;
    left: -1.75vw;
    top: 50%;
    transform: translate(0.25vw, -50%);
    opacity: 0;
    transition: opacity 0.2s;
}

.quiz-slide__label-text:hover:after {
    opacity: 0.5;
}

.quiz-slide__label-desc {
    font-size: 0.9em;
    line-height: 1.25vw;
    color: #829196;
    margin-top: 10px;

    display: none;
}
.quiz-side-container {
    height: 100%;
}
.quiz-side {
    position: sticky;
    bottom: 0;
    border-radius: inherit;
}

.quiz-side__img {
    width: 100%;
    border-radius: inherit;
}

.quiz-side__text {
    font-size: 1.1vw;

    position: absolute;
    left: 2.8vw;
    top: 45%;
    transform: translateY(-50%);
}

.quiz-bottom {
    display: flex;
    justify-content: space-between;
}

.quiz-bottom__item {
    display: flex;
}

.quiz-bottom__text {
    font-size: 0.9vw;
    line-height: 1.25vw;
}

.quiz-bottom__btn {
    position: relative;
    transition: 0.25s;
}

.quiz-bottom__btn:nth-child(1) {
    margin-right: 0.75vw;
}

.quiz-bottom__btn:nth-child(1) button {
    color: #829196;
    background-color: transparent;
}

.quiz-bottom__btn:nth-child(1) button:hover {
    color: #fff;
    background-color: #829196;
}

.quiz-bottom__btn:nth-child(2) .quiz-bottom__btn-wrap {
    position: relative;
    overflow: hidden;
}

.quiz-bottom__btn:nth-child(2) .quiz-bottom__btn-wrap:after {
    content: "";
    width: 5.9895833333vw;
    height: 7.2916666667vw;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODIiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgODIgMTAwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik01MiAwSDgyTDMwIDEwMEgwTDUyIDBaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXJfNTgyXzE2MjQpIi8+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzU4Ml8xNjI0IiB4MT0iNjEuNSIgeTE9IjExMS41IiB4Mj0iMiIgeTI9Ijc5LjUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;
    transition: 0.5s;
    animation: btn_blick 5s linear infinite;
}

.quiz-bottom__btn.js-disabled:nth-child(1) button {
    opacity: 0;
    pointer-events: none;
}

.quiz-bottom__btn.js-disabled:nth-child(2) {
    cursor: not-allowed;
}

.quiz-bottom__btn.js-disabled:nth-child(2) button {
    opacity: 0.5;
    pointer-events: none;
}

.quiz-bottom__btn.js-disabled:nth-child(2):hover .quiz-bottom__hint {
    opacity: 1;
}

.quiz-bottom__btn.js-disabled:nth-child(2) .quiz-bottom__btn-wrap:after {
    display: none;
}

.quiz-bottom__btn.js-hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.quiz-bottom button {
    width: 7.5vw;
    height: 3.5vw;
    background-color: #e57d8e;
    font-size: 0.9375vw;
    font-weight: 700;
    color: #fff;
    border: none;
    border-radius: 5.2vw;
    padding: 0.5vw 1.5vw;
    cursor: pointer;
    transition: 0.3s;
}

.quiz-bottom__hint {
    font-size: 0.75vw;
    line-height: 1vw;
    text-align: center;
    background-color: #fff;
    border: 1px solid #e0edf1;
    border-radius: 0.5vw;
    position: absolute;
    top: -10px;
    left: -2vw;
    right: -2vw;
    transform: translateY(-100%);
    padding: 0.5vw;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}

.quiz-result {
    display: flex;
}

.quiz-result .products-card .card-bottom {
    opacity: 1;
}

.quiz-result .products-card .card-bottom .bottom-btn {
    width: 80%;
}

#quiz-result {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 25px;
}
#quiz-result > div {
    width: calc(100% / 3 - 50px / 3);
    height: auto;
    margin: 0;
}

#quiz-result .products-card .card-slider .slider-container .swiper-slide,
#quiz-result .products-card .card-slider .slider-container {
    width: 100%;
}

.quiz-select-row {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 10px;
}
.quiz-select-row__title {
    width: calc(100% / 3 - 50px / 3);
    font-size: 1.30vw;
}
.quiz-select-row .variations {
    width: calc(100% / 1.5);
}


@media screen and (max-width: 768px) {
    #quiz-scroll {
        top: -10vw;
    }
    .quiz-column:nth-child(1) {
        width: 100%;
        padding-top: 5vw;
        border-radius: 4vw;
    }
    .quiz-column:nth-child(2) {
        display: none   ;
    }
    .quiz-slide__label:not(:nth-child(1)) {
        margin-top: 3.75vw;
    }
    #quiz-result {
        justify-content: space-between;
        gap: 0;
        row-gap: 10px;
    }
    #quiz-result > div {
        width: calc(50% - 5px);
    }
    .quiz-bottom {
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
    }

    .quiz__title {
        font-size: 8vw;
        line-height: 9vw;
        text-align: center;
        margin-bottom: 7vw;
    }
    .quiz-slide__title {
        font-size: 5vw;
        line-height: 5vw;
        text-align: center;
    }
    .quiz-slide__label-text {
        font-size: 4vw;
        line-height: 4vw;
    }
    .quiz-slide__label-desc {
        font-size: 3vw;
        line-height: 3vw;
        padding-left: 5vw;
    }
    .quiz-bottom__text {
        font-size: 3.5vw;
        line-height: 3.5vw;
        text-align: center;
    }
    .quiz-bottom__item {
        width: 100%;
        flex-direction: column-reverse;
    }
    .quiz-bottom__btn {
        width: 100%;
        margin-top: 20px;
    }
    .quiz-bottom button {
        width: 100%;
        height: 18.75vw;
        padding: 3.125vw 6.25vw;
        border-radius: 31.25vw;
        font-size: 3.75vw;
        line-height: 5vw;
    }

    .quiz-progress {
        height: 8vw;
        padding: 1.5vw;
        border-radius: 15vw;
        margin-bottom: 3vw;
    }
    .quiz-progress__text {
        font-size: 3.75vw;
    }

    .quiz-slide__label-text:before {
        width: 4.75vw;
        height: 4.75vw;
    }
    .quiz-slide__label-text:after {
        width: 2.5vw;
        height: 2.5vw;
    }
    .quiz-slide__label-text {
        padding-left: 5vw;
    }

    .quiz-bottom__btn.js-disabled:nth-child(1) button {
        display: none;
    }

    .quiz-result .products-card .card-bottom .bottom-btn {
        width: 70%;
    }

    .quiz-select-row {
        margin-bottom: 25px 0;
    }
    .quiz-select-row__title {
        width: calc(50% - 5px);
        font-size: 3.3vw;
        font-weight: 500;
    }
    .quiz-select-row .variations {
        width: calc(50% - 5px);
    }
    .quiz-select-row .nice-select.common-sizes-select {
        height: 8vw;
    }
    .quiz-select-row .nice-select.common-sizes-select .current {
        line-height: 8vw;
    }
    .yith-wcwl-add-button {
        width: 10vw;
        height: 10vw;
    }
}

@media screen and (max-width: 480px) {
    #quiz-scroll {
        top: -10vw;
    }
    .yith-wcwl-add-button {
        width: 8vw;
        height: 8vw;
    }
    .quiz-select-row {
        margin-bottom: 15px 0;
    }
}

@keyframes progress_bar {
    0% {
        background-position: -52.0833333333vw center;
    }

    50% {
        background-position: 0 center;
    }

    100% {
        background-position: 52.0833333333vw center;
    }
}

@keyframes btn_blick {
    0% {
        left: -7.8125vw;
    }

    100% {
        left: calc(100% + 7.8125vw);
    }
}