/* configurator */

.configurator .container {
    padding-left: 0;
}

.configurator__window {
    margin: 0 auto;
    width: 845px;
}

@media only screen and (max-width: 1023px) {
    .configurator__window {
        width: 668px;
    }
}

@media only screen and (max-width: 767px) {
    .configurator .container {
        width: 100%;
    }
    .configurator__window {
        width: calc(100% - 60px);
    }
}

@media only screen and (max-width: 479px) {
    .configurator__window {
        width: calc(100% - 40px);
    }
}

.configurator__steps {
    display: flex;
    justify-content: space-between;
}

.configurator__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 14px;
    width: 110px;
    transition: .3s;
}

.configurator__step > div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: #E4E1E7;
    border-radius: 100%;
    font-weight: 500;
    font-size: 19px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #666666;
    transition: .3s;
    z-index: 1;
}

.configurator__step:not(:last-child) > div:before {
    content: '';
    position: absolute;
    left: 100%;
    top: 22px;
    width: 105px;
    height: 2px;
    background: #CCCCCC;
}

.configurator__step.done > div:before {
    background: #7231A3;
}

.configurator__step > span {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #666666;
}

.configurator__step.active > div,
.configurator__step.done > div {
    background: #7231A3;
    color: #FFFFFF;
}

.configurator__step.active > span,
.configurator__step.done > span {
    color: #191919;
}

@media only screen and (max-width: 1023px) {
    .configurator__steps {
        display: none;
    }
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.configurator__mob-steps {
    display: none;
}

.configurator__window-body {
    margin-top: 50px;
}

@media only screen and (max-width: 767px) {
    .configurator__window-body {
        margin-top: 40px;
    }
}

.step-title {
    display: flex;
    column-gap: 20px;
    font-weight: 700;
    font-size: 30px;
    line-height: 44px;
    letter-spacing: 0.02em;
    color: #191919;
}

.step-title-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.step-title-wrapper span {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 0.02em;
    color: #191919;
}

.step-subtitle {
    margin-top: 10px;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 0.02em;
    color: #191919;
}

.step-text {
    margin-top: 40px;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 0.02em;
    color: #191919;
}

@media only screen and (max-width: 1023px) {
    .step-title {
        font-size: 26px;
        line-height: 38px;
    }

    .configurator__mob-steps {
        display: flex;
    }

    .configurator__mob-step {
        display: none;
        justify-content: center;
        align-items: center;
        column-gap: 25px;
    }

    .configurator__mob-step.active {
        display: flex;
    }

    .configurator__step-img {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .configurator__step-img > span {
        position: absolute;
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0.02em;
        color: #191919;
    }

    .configurator__step-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 10px;
        font-size: 15px;
        line-height: 19px;
        letter-spacing: 0.02em;
        color: #666666;
    }

    .configurator__step-info > span {
        font-weight: 500;
        font-size: 18px;
        line-height: 23px;
        letter-spacing: 0.02em;
        color: #191919;
    }
}

@media only screen and (max-width: 767px) {
    .step-title {
        font-size: 26px;
        line-height: 38px;  
    }
    .step-text {
        margin-top: 30px;
    }
    .configurator__mob-step {
        column-gap: 15px;
    }
    .configurator__step-img > svg {
        width: 75px;
        height: 75px;
    }
    .configurator__step-img > span {
        font-size: 14px;
        line-height: 14px;
    }
    .configurator__step-info {
        font-size: 14px;
        line-height: 18px;
    }
    .configurator__step-info > span {
        font-size: 18px;
        line-height: 23px;
    }
}

@media only screen and (max-width: 479px) {
    .step-title {
        font-size: 20px;
        line-height: 30px;
    }
}

.configurator__items {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.configurator__item {
    display: flex;
    align-items: center;
    column-gap: 30px;
    height: 90px;
}

.configurator__item-btn {
    padding: 0 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 765px;
    height: 100%;
    background: #FAFAFC;
    border: 2px solid #CCCCCC;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #191919;
    transition: .3s;
    cursor: pointer;
}

.configurator__item-btn:hover {
    border-color: #191919;
}

.step--3_1 .configurator__item-btn {
    width: 100%;
}

.configurator__item > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border: 2px solid #CCCCCC;
    border-radius: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #666666;
    transition: .3s;
    cursor: pointer;
}

.configurator__item > span:hover {
    border-color: #7231A3;
    color: #7231A3;
}

.configurator__item.active .configurator__item-btn {
    border-color: #191919;
    color: #FFFFFF;
    background: #191919;
}

.configurator__item.active .configurator__item-btn:before {
    content: '';
    position: absolute;
    right: 10px;
    top: 10px;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDBDNC40ODYgMCAwIDQuNDg2IDAgMTBDMCAxNS41MTQgNC40ODYgMjAgMTAgMjBDMTUuNTE0IDIwIDIwIDE1LjUxNCAyMCAxMEMyMCA0LjQ4NiAxNS41MTQgMCAxMCAwWk04LjAwMSAxNC40MTNMNC4yODggMTAuNzA4TDUuNyA5LjI5Mkw3Ljk5OSAxMS41ODdMMTMuMjkzIDYuMjkzTDE0LjcwNyA3LjcwN0w4LjAwMSAxNC40MTNaIiBmaWxsPSIjOEFCQTRDIi8+Cjwvc3ZnPgo=);
    width: 20px;
    height: 20px;
    background-size: 100%;
}

@media only screen and (max-width: 1023px) {
    .configurator__item-btn {
        width: 598px;
    }
    .configurator__item {
        column-gap: 20px;
        height: 70px;
    }
}

@media only screen and (max-width: 767px) {
    .configurator__items {
        margin-top: 30px;
    }
    .configurator__item-btn {
        padding: 0 30px;
        width: calc(100% - 50px - 20px);
    }
}

@media only screen and (max-width: 479px) {
    .configurator__items {
        row-gap: 15px;
    }
    .configurator__item {
        height: 60px;
        column-gap: 15px;
    }
    .configurator__item-btn {
        width: calc(100% - 15px - 44px);
        font-size: 12px;
        line-height: 18px;
    }
    .configurator__item.active .configurator__item-btn:before {
        right: 3px;
        top: 3px;
        width: 15px;
        height: 15px;
    }
    .configurator__item > span {
        width: 44px;
        height: 44px;
        font-size: 20px;
        line-height: 20px;
    }
}

.step-btns {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-btn-next.btn--purple {
    position: relative;
    padding: 0 30px;
    column-gap: 15px;
    width: auto;
    min-width: 142px;
    height: 50px;
    background: rgba(96, 41, 138, .6);
}

.step-btn-next.btn--purple:hover {
    background: rgba(96, 41, 138, .6);
}

.step-btn-next.btn--purple.active {
    background: rgba(96, 41, 138, 1);
}

.step-btn-next.btn--purple.active:hover {
    background: #8639BF;
}

.step-btn-prev {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 15px;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #666666;
    transition: .3s;
    cursor: pointer;
}

.step-btn-prev:before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
}

.step-btn-prev:hover {
    color: #7231A3;
}

.step-btn-prev:hover svg path {
    fill: #7231A3;
}

.step--1 .step-btn-prev {
    opacity: 0;
    visibility: hidden;
}

.step-btn-tooltip {
    padding: 18px 13px;
    position: absolute;
    right: calc(100% + 19px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    column-gap: 10px;
    width: 285px;
    min-height: 74px;
    background: #191919;
    outline: 2px solid #F2F2F2;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: left;
    color: #F3F2F5;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 8;
}

.step-btn-tooltip:after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 10px;
    height: 10px;
    box-shadow: 2px 2px 0 #F2F2F2;
    background: #181A1C;
}

.step-btn-next:not(.step-btn-next.active):hover .step-btn-tooltip {
    opacity: 1;
    visibility: visible;
}

@media only screen and (max-width: 767px) {
    .step-btns {
        margin-top: 50px;
    }
    .step-btn-tooltip {
        padding: 12px 13px;
        right: -20px;
        top: calc(100% + 13px);
        transform: none;
        width: 460px;
        min-height: 48px;
    }
    .step-btn-tooltip:after {
        display: none;
    }
}

@media only screen and (max-width: 479px) {
    .step-btns {
        margin-top: 40px;
    }
    .step-btn-next.btn.orange {
        width: 152px;
        height: 60px;
        font-size: 14px;
        line-height: 14px;
    }
    .step-btn-tooltip {
        padding: 13px;
        right: -10px;
        width: 300px;
    }
    .step-btn-next.btn--purple {
        padding: 0 20px;
        min-width: 82px;
        font-size: 16px;
        line-height: 16px;
    }
    .step-btn-next.btn--purple > svg,
    .step-btn-prev svg {
        display: none;
    }
}

.step__info {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.step__info.active {
    display: flex;
}

.step__info-bg {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #0C0D17;
    opacity: 0.5;
}

.step__info-wrapper {
    position: relative;
    padding: 60px;
    width: 800px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    text-align: left;
    z-index: 2;
}

.step__info__close {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #E8E5EB;
    transition: .3s;
    cursor: pointer;
}

.step__info__close:hover {
    background: #D6D3D9;
}

.step__info-title {
    margin-bottom: 20px;
    padding-right: 20px;
    font-weight: 700;
    font-size: 26px;
    line-height: 40px;
    letter-spacing: 0.02em;
    color: #191919;
}

.step__info-wrapper > p {
    font-size: 22px;
    line-height: 34px;
    letter-spacing: 0.02em;
    color: #191919;
}

.step__info-wrapper > .btn {
    margin-top: 40px;
    width: 100px;
    height: 60px;
}

@media only screen and (max-width: 1919px) {
    .step__info-wrapper > p {
        font-size: 18px;
        line-height: 30px;
    }
}

@media only screen and (max-width: 1023px) {
    .step__info-wrapper {
        padding: 50px;
        width: 668px;
    }
}

@media only screen and (max-width: 767px) {
    .step__info-wrapper {
        padding: 40px 30px;
        width: 420px;
    }
}

@media only screen and (max-width: 479px) {
    .step__info-wrapper {
        padding: 40px 20px;
        width: calc(100% - 40px);
    }
    .step__info-title {
        font-size: 20px;
        line-height: 30px;
    }
    .step__info-wrapper > p {
        font-size: 16px;
        line-height: 28px;
    }
    .step__info-wrapper > .btn {
        margin-top: 30px;
        width: 100%;
        height: 50px;
    }
    .step__info__close {
        width: 44px;
        height: 44px;
    }
}

.configurator__providers {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 28px;
    width: 100%;
}

.configurator__provider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 100px;
    background: #FAFAFC;
    border: 2px solid #E6E6E6;
    cursor: pointer;
    transition: .3s;
}

.configurator__provider:hover {
    border-color: #191919;
}

.configurator__provider.active {
    border-color: #191919;
}

.configurator__provider > img {
    filter: grayscale(1);
    width: 120px;
    height: 50px;
    object-fit: cover;
}

.configurator__provider:hover > img,
.configurator__provider.active > img {
    filter: grayscale(0);
}

.configurator__provider.active:before {
    content: '';
    position: absolute;
    right: 8px;
    top: 8px;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggb3BhY2l0eT0iMC44IiBkPSJNMTAgMEM0LjQ4NiAwIDAgNC40ODYgMCAxMEMwIDE1LjUxNCA0LjQ4NiAyMCAxMCAyMEMxNS41MTQgMjAgMjAgMTUuNTE0IDIwIDEwQzIwIDQuNDg2IDE1LjUxNCAwIDEwIDBaTTguMDAxIDE0LjQxM0w0LjI4OCAxMC43MDhMNS43IDkuMjkyTDcuOTk5IDExLjU4N0wxMy4yOTMgNi4yOTNMMTQuNzA3IDcuNzA3TDguMDAxIDE0LjQxM1oiIGZpbGw9IiM4QUJBNEMiLz4KPC9zdmc+Cg==);
    width: 20px;
    height: 20px; 
    background-size: 100%;
}

@media only screen and (max-width: 1023px) {
    .configurator__providers {
        gap: 20px 19px;
    }
    .configurator__provider {
        width: 210px;
        height: 100px;
    }
}

@media only screen and (max-width: 767px) {
    .configurator__providers {
        margin-top: 30px;
        gap: 20px;
        width: 100%;
    }
    .configurator__provider {
        width: calc((100% - 20px) / 2);
    }
    .configurator__provider > img {
        filter: grayscale(0);
    }
}

@media only screen and (max-width: 479px) {
    .configurator__providers {
        gap: 8px;
    }
    .configurator__provider.active:before {
        right: 3px;
        top: 3px;
        width: 15px;
        height: 15px;
    }
    .configurator__provider {
        height: 80px;
        width: calc((100% - 8px) / 2);
    }
    .configurator__provider > img {
        width: 96px;
        height: 40px;
    }
}

.configurator__licenses {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 28px;
    width: 100%;
}

.configurator__license {
    padding: 0 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 10px;
    width: 190px;
    height: 142px;
    background: #FAFAFC;
    border: 2px solid #E6E6E6;
    cursor: pointer;
    transition: .3s;
}

.configurator__license > img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    object-fit: cover;
}

.configurator__license > span {
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #191919;
}

.configurator__license.active,
.configurator__license:hover  {
    border-color: #191919;
}

.configurator__license.active:before {
    content: '';
    position: absolute;
    right: 9px;
    top: 9px;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggb3BhY2l0eT0iMC44IiBkPSJNMTAgMEM0LjQ4NiAwIDAgNC40ODYgMCAxMEMwIDE1LjUxNCA0LjQ4NiAyMCAxMCAyMEMxNS41MTQgMjAgMjAgMTUuNTE0IDIwIDEwQzIwIDQuNDg2IDE1LjUxNCAwIDEwIDBaTTguMDAxIDE0LjQxM0w0LjI4OCAxMC43MDhMNS43IDkuMjkyTDcuOTk5IDExLjU4N0wxMy4yOTMgNi4yOTNMMTQuNzA3IDcuNzA3TDguMDAxIDE0LjQxM1oiIGZpbGw9IiM4QUJBNEMiLz4KPC9zdmc+Cg==);
    width: 20px;
    height: 20px; 
    background-size: 100%;
}

@media only screen and (max-width: 1023px) {
    .configurator__licenses {
        gap: 20px 19px;
    }
    .configurator__license {
        width: 210px;
        height: 142px;
    }
}

@media only screen and (max-width: 767px) {
    .configurator__licenses {
        margin-top: 30px;
        gap: 20px;
    }
    .configurator__license {
        width: calc((100% - 20px) / 2);
        height: 112px;
    }
    .configurator__license > img {
        width: 40px;
        height: 40px;
    }
}

@media only screen and (max-width: 479px) {
    .configurator__licenses {
        gap: 10px 8px;
    }
    .configurator__license {
        width: calc((100% - 8px) / 2);
        height: 106px;
    }
    .configurator__license > img {
        width: 30px;
        height: 30px;
    }
    .configurator__license > span {
        font-size: 12px;
        line-height: 18px;
    }
    .configurator__license.active:before {
        right: 3px;
        top: 3px;
        width: 15px;
        height: 15px; 
    }
}

.steps-check {
    margin-top: 40px;
}

.steps-check-item {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    background: #FFFFFF;
}

.steps-check-item:nth-child(odd) {
    background: #F2F2F7;
}

.steps-check-name {
    display: flex;
}

.steps-check-name span {
    display: flex;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.02em;
}

.steps-check-name span:first-child {
    padding: 20px 30px 20px 20px;
    width: 300px;
    color: #666666;
    flex-shrink: 0;
}

.steps-check-name span:last-child {
    padding: 20px 20px 20px 10px;
    font-weight: 500;
}

.steps-check-edit {
    padding: 20px;
    display: flex;
    column-gap: 10px;
    cursor: pointer;
}

.steps-check-edit span {
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #666666;
    transition: .3s;
}

.steps-check-edit:hover span {
    color: #7231A3;
}

.steps-check-edit:hover svg path {
    fill: #7231A3;
}

@media only screen and (max-width: 1023px) {
    .steps-check-name span:first-child {
        padding: 20px;
        width: 240px;
    }
    .steps-check-name span:last-child {
        padding: 20px 20px 20px 10px;
    }
    .steps-check-edit {
        padding: 20px 20px 20px 10px;
    }    
    .steps-check-edit span {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .steps-check {
        margin-top: 30px;
    }
    .steps-check-name {
        padding: 15px 20px;
        flex-direction: column;
        row-gap: 15px;
    }
    .steps-check-edit {
        padding: 15px 20px 15px 10px;
    }
    .steps-check-name span:first-child,
    .steps-check-name span:last-child {
        padding: 0;
        width: auto;
    }
    .steps-check-name span:first-child {
        font-size: 14px;
    }
}

@media only screen and (max-width: 479px) {
    .steps-check-name {
        padding: 10px;
        row-gap: 10px;
    }
    .steps-check-edit {
        padding: 10px;
    }
}

/* step 6 */

.step--6 .step-title {
    margin-bottom: 40px;
}

.static-form__wrapper.conf-form__wrapper .popup__container {
    padding: 0;
    margin: -50px 0 0;
}

.step--6 .static-form__wrapper #preloader {
    margin-left: unset;
}

@media only screen and (max-width: 767px) {
    .step--6 .step-title {
        margin-bottom: 30px;
    }
    .static-form__wrapper.conf-form__wrapper {
        width: 100%;
    }
    .step-title {
        column-gap: 15px;
    }
    .step-title svg {
        width: 50px;
        height: 50px;
    }
    .step--6 .step-btn-prev svg {
        display: none;
    }
    .static-form__wrapper.conf-form__wrapper .popup__container {
        margin-top: -40px;
    }
}

@media only screen and (max-width: 479px) {
    .conf-form__wrapper .thks-msg .btn.reload {
        width: 100%;
    }
}