/* -- (cpw -> co pilot wizard) -- */
/* .cpw__steps{
    display: block !important;
}
.cpw__start, .cpw__progress, .cpw-step--1, .cpw-step--2, .cpw-step--3, .cpw-step--4, .cpw-step--5{
    display: none !important;
} */

.cpw {
    font-family: "Inter";
    min-height: 456px;
    padding: 70px 53px 102px 53px;
    box-shadow: 0 4px 50px 0 rgba(217, 187, 221, 0.30);
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    overflow: hidden;
    scroll-margin-top: 106px;
    opacity: 1 !important;
    transition: opacity 0.6s ease-in-out;
}

.cpw[data-step="1"] .cpw__progress span:nth-child(1){
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
    color: #fff;
}

.cpw[data-step="2"] .cpw__progress span:nth-child(1){
    background: url(./images/step-finished.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}
.cpw[data-step="2"] .cpw__progress span:nth-child(1):after{
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
}
.cpw[data-step="2"] .cpw__progress span:nth-child(2){
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
    color: #fff;
}

.cpw[data-step="3"] .cpw__progress span:nth-child(1),
.cpw[data-step="3"] .cpw__progress span:nth-child(2){
    background: url(./images/step-finished.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}
.cpw[data-step="3"] .cpw__progress span:nth-child(1):after,
.cpw[data-step="3"] .cpw__progress span:nth-child(2):after{
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
}
.cpw[data-step="3"] .cpw__progress span:nth-child(3){
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
    color: #fff;
}

.cpw[data-step="4"] .cpw__progress span:nth-child(1),
.cpw[data-step="4"] .cpw__progress span:nth-child(2),
.cpw[data-step="4"] .cpw__progress span:nth-child(3){
    background: url(./images/step-finished.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}
.cpw[data-step="4"] .cpw__progress span:nth-child(1):after,
.cpw[data-step="4"] .cpw__progress span:nth-child(2):after,
.cpw[data-step="4"] .cpw__progress span:nth-child(3):after{
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
}
.cpw[data-step="4"] .cpw__progress span:nth-child(4){
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
    color: #fff;
}

.cpw-alert{
    color: #D63637;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 0;
    display: none;
}

/* -- buttons -- */

.cpw__btn{
    appearance: none;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.14;    
    padding: 17px 30px;
    border-radius: 50px;
    min-width: 151px;
    display: inline-block; 
    text-align: center;
    word-break: break-word !important;
    white-space: break-spaces !important;
}

.cpw__btn--next{
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #000 !important;
}

.cpw__btn--next:hover:before, .cpw__btn--next:focus:before{
    opacity: 0;
}

.cpw__btn--next:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cpw__btn--prev{
    color: #0C73BD;
    background-color: #EEFBFF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cpw__btn--prev:hover, .cpw__btn--prev:focus{
    background-color: #000;
    color: #fff;
}

.cpw-buttons{
    display: flex;
    width: calc(100% - 166px);
    justify-content: space-between;
    gap: 10px;
    position: absolute;
    left: 166px;
    top: 100%;
}

/* -- start step -- */

.cpw[data-step="0"] {
    position: relative;
    z-index: 1;
    background: linear-gradient(112deg, #D1E4F6 0%, #F2F8FC 100%);
}

.cpw[data-step="0"]:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 77%;
    background-image: url(./images/start-step-bg.png);
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    z-index: -1;
}

.cpw__start h2{
    font-size: 54px;
    line-height: 1.11;
    font-weight: 800;
    margin: 0;
    color: #333;
    max-width: 460px;
}

.cpw__start p{
    font-size: 22px;
    font-weight: 300;
    color: #333;
    line-height: 1.59;
    margin-top: 26px;
    margin-bottom: 31px;
    max-width: 413px;
}

/* -- steps progress bar -- */

.cpw__progress{
    display: flex;
    flex-direction: column;
    user-select: none;
    position: absolute;
    top: 0;
    left: 0;
}

.cpw__progress span{
    display: flex;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0C73BD;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    background-color: #EEFBFF;
    position: relative;
    margin-bottom: 40px;
}

.cpw__progress span.current{
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
    color: #fff;
}

.cpw__progress span.finished{
    background: url(./images/step-finished.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}

.cpw__progress span:after{
    content: "";
    width: 3px;
    height: 40px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #EEFBFF;
}

.cpw__progress span:last-of-type{
    margin-bottom: 0;
}

.cpw__progress span:last-of-type:after{
    display: none;
}

.cpw__progress span.finished:after{
    background: linear-gradient(112deg, #13266D 0%, #3955BC 100%);
}

/* -- steps container -- */

.cpw__steps{
    padding-left: 166px;
    position: relative;
    color: #000;
    flex-direction: column;
    min-height: inherit;
    display: none;
}

.cpw h3{
    font-size: 28px;
    font-weight: 600;
    line-height: 1.07;
    margin-bottom: 70px;
    margin-top: 0;
    padding-top: 8px;
}

/* -- steps global elements -- */

.cpw-step{
    padding-bottom: 40px;
}

.cpw-step>span{
    font-size: 18px;
    line-height: 1.66;
    font-weight: 400;
    display: block;
    color: #0C73BD;
    text-transform: uppercase;
}

.cpw-step h4{
    font-size: 24px;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 400;
}

/* -- step-1 elements -- */

.cpw-step--1 .cpw-buttons{
    justify-content: flex-end;
}

.cpw-marketplaces{
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.cpw-marketplaces li{
    font-size: 24px;
    font-weight: 400;
    line-height: 1.41;
    color: #0C73BD;
    text-align: center;
    display: block;
    max-width: 220px;
    padding: 23px 10px;
    border-radius: 10px;
    border: 3px solid #EEFBFF;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.cpw-marketplaces li:hover{
    color: #000;
    background-color: #EEFBFF;
}

.cpw-marketplaces li.active{
    border-color: transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, #13266D, #3955BC) border-box;
    color: #000;
}

/* -- step-2 elements -- */

.cpw-countries{
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    max-width: 740px;
}

.cpw-countries li{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #0C73BD;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.42;
    width: 131px;
    height: 80px;
    border: 3px solid #EEFBFF;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.cpw-countries li:before{
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.cpw-countries li.active{
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, #13266D, #3955BC) border-box;
    border-color: transparent;
    color: #000;
}

.cpw-countries li.active:before, .cpw-countries li.hover:before{
    opacity: 1;
}

.cpw-countries li:hover{
    color: #000;
    background-color: #EEFBFF;
}

li.us:before{
    background-image: url(./images/flag-us.svg);
}
li.ca:before{
    background-image: url(./images/flag-ca.svg);
}
li.mx:before{
    background-image: url(./images/flag-mx.svg);
}
li.fr:before{
    background-image: url(./images/flag-fr.svg);
}
li.it:before{
    background-image: url(./images/flag-it.svg);
}
li.de:before{
    background-image: url(./images/flag-de.svg);
}
li.uk:before{
    background-image: url(./images/flag-uk.svg);
}
li.es:before{
    background-image: url(./images/flag-es.svg);
}

/* -- step-3 elements -- */

/* .cpw-step--3 h4:last-of-type{
    margin-top: 37px;
} */

.cpw-step--3.amazon .cpw-step__amazon{
    display: block;
}

.cpw-step--3.ebay .cpw-step__ebay{
    display: block;
}

.cpw-step--3 .cpw-step__amazon,
.cpw-step--3 .cpw-step__ebay{
    display: none;
    margin-bottom: 37px;
}

.cpw-step--3 label{
    display: flex;
    max-width: 241px;
    border: 3px solid #EEFBFF;
    border-radius: 10px;
}

.cpw-step--3 label:before{
    content: "USD";
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    text-align: center;
    padding: 16px 14px 15px 14px;
    border-right: 3px solid #EEFBFF;
    color: #0C73BD;
    display: flex;
    align-items: center;
}

.cpw-step--3 label input{
    border: 0;
    font-size: 18px;
    color: #0C73BD;
    padding: 0 19px;
}

.cpw-step--3 label input::placeholder{
    color: #0C73BD;
}

.cpw-step--3 input::-webkit-outer-spin-button, .cpw-step input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cpw-step--3 input{
    -moz-appearance: textfield;
}

/* -- step-4 elements -- */

.cpw-categories{
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    max-width: 832px;
}

.cpw-categories li{
    font-size: 18px;
    line-height: 1.2;
    color: #0C73BD;
    border: 3px solid #EEFBFF;
    border-radius: 10px;
    padding: 14px 10px 13px 10px;
    text-align: center;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpw-categories li:hover{
    background-color: #EEFBFF;
    color: #000;
}

.cpw-categories li.active{
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, #13266D, #3955BC) border-box;
    border-color: transparent;
    color: #000;
}

/* -- step-5 elements (loader) -- */

.cpw[data-step="5"] .cpw__steps,
.cpw[data-step="6"] .cpw__steps{
    padding-left: 0;
}

.cpw[data-step="5"] .cpw__progress,
.cpw[data-step="6"] .cpw__progress{
    display: none;
}

.cpw[data-step="5"] h3{
    text-align: center;
}

.cpw-progress-circle{
    margin-top: 62px;
    width: 184px;
    height: 184px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.cpw-progress-circle:before{
    content: "";
    width: calc(100% - 0.46rem);
    height: calc(100% - 0.46rem);
    position: absolute;
    box-sizing: border-box;
    top: 0.23rem;
    left: 0.23rem;
    border: 9px solid #F2FAFC;
    z-index: 1;
    border-radius: 100%;
}

.cpw-progress-circle svg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.cpw-progress-circle p{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: #1976D2;
    line-height: 1;
    text-align: center;
    margin: 0;
}

/* -- step-6 elements (form) -- */
.cpw[data-step="6"]{
    max-width: 904px;
    padding-bottom: 30px;
}

.cpw[data-step="6"] h3{
    display: none;
}

.cpw-step--6{
    padding-bottom: 0;
}

.cpw-step--6 h3{
    display: block !important;
    text-align: center;
    margin-bottom: 42px;
}

.cpw__form{
    padding: 48px 55px 0 55px;
    background-image: url(./images/form-blurred-bg.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.cpw__form .wpforms-container{
    color: #fff !important;
    margin: 0 !important;
    border-radius: 25px !important;
    box-shadow: 0 0 4px 0 rgba(49, 75, 170, 0.20) !important;
    background: linear-gradient(112deg, rgba(19, 38, 109, 0.85) 0%, rgba(57, 85, 188, 0.85) 100%) !important;
    padding: 60px 60px 40px 60px !important;
}

.cpw__form .wpforms-field-container:before{
    content: "Download your PDF now";
    font-size: 28px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    display: block;
    margin-bottom: 15px;
}

.cpw__form label, .cpw__form legend{
    color: #fff !important;
}

.wpforms-field-label{
    font-weight: 400;
}

.wpforms-required-label{
    display: none;
}

.wpforms-field{
    padding-top: 0;
    padding-bottom: 20px;
}
.wpforms-field input, .wpforms-field select{
    border-radius: 4px !important;
    border: 1px solid #DCD9F0 !important;
    color: #000000 !important;
    background-color: #fff !important;
}
.wpforms-field input::placeholder, .wpforms-field select::placeholder{
    color: rgba(0, 0, 0, 0.5) !important;
}

.wpforms-field::placeholder{
    color: rgba(0, 0, 0, 0.5) !important;    
}

.wpforms-field.wpforms-error{
    border-color: #d63637 !important;
}

.wpforms-field-layout-rows{
    display: flex;
    flex-direction: column;
}

.wpforms-layout-row{
    row-gap: 20px;
}

.wpforms-layout-row .wpforms-field{
    padding-bottom: 0;
}

.small_text{
    padding-top: 0 !important;
    font-size: 14px !important;
    color: #fff !important;
}

.small_text a{
    color: inherit !important;
}

.wpforms-submit-container{
    margin-top: 0;
    position: relative;
}

.wpforms-form .wpforms-submit-container button[type=submit].wpforms-submit{
    font-size: 15px;
    border-radius: 50px !important;
    font-weight: 700;
    line-height: 1.17;
    background: transparent !important;
    padding: 17px !important;
    height: auto !important;
    transition: background 0.3s ease;
    border: 2px solid #fff !important;
}
.wpforms-form .wpforms-submit-container button[type=submit].wpforms-submit:hover{
    background: #fff !important;
    color: #000 !important;
}

.wpforms-submit-spinner{
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 30px !important;
    margin: 0 !important;
}

.wpforms-disabled{
    pointer-events: none;
}

.cpw__form .wpforms-confirmation-container-full{
    background: none !important;
    border: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.cpw__form .wpforms-confirmation-container-full:before{
    content: "";
    display: block;
    width: 180px;
    height: 180px;
    background: url(./images/thank-you-icon.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto 50px auto;
    filter: brightness(0) invert(1);
}

.cpw__form .wpforms-confirmation-container-full p{
    color: #fff !important;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.07;
    text-align: center;
    margin-bottom: 30px !important;
}

.cpw__form .wpforms-confirmation-container-full p:last-child{
    margin-bottom: 0 !important;
}

@media screen and (max-width: 600px) {
    .wpforms-container .small_text{
        font-size: 12px;
    }
    .wpforms-container .wpforms-submit-container .wpforms-submit{
        font-size: 18px;
        white-space: wrap !important;
    }
}

.cpw-step--6 h4{
    margin-top: 41px;
    margin-bottom: 0;
    color: #333;
    font-weight: 300;
}

.cpw-step--6 ul{
    list-style-position: inside;
    padding-left: 8px;
    margin-top: 14px;
    margin-bottom: 50px;
}

.cpw-step--6 ul li{
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 8px;
}

.cpw-step--6 .cpw__btn{
    color: #fff !important;
    display: block;
    max-width: 158px;
    margin: 0 auto;
}









@media screen and (max-width: 767px) {
    .cpw{
        padding: 60px 40px 80px 40px;
        min-height: auto;
    }

    .cpw[data-step="0"]:before {
        display: none;
    }

    .cpw__start h2{
        font-size: 36px;
    }

    .cpw__start p{
        font-size: 16px
    }


    .cpw__steps{
        padding-left: 0;
    }

    .cpw__progress{
        position: relative;
        flex-direction: row;
        margin-bottom: 20px;
    }

    .cpw__progress span{
        margin-bottom: 0;
        margin-right: 30px;
    }

    .cpw__progress span:last-child{
        margin-right: 0;
    }

    .cpw__progress span:after{
        width: 30px;
        height: 3px;
        top: 50%;
        left: 100%;
        transform: translateY(-50%);
    }

    .cpw h3{
        margin-bottom: 40px;
    }

    .cpw-buttons{
        left: 0;
        width: 100%;
    }

    .cpw__btn{
        font-size: 13px;
        padding: 15px 14px;
        min-width: 104px;
    }

    .cpw[data-step="6"]{
        padding: 30px 0;
    }

    .cpw[data-step="6"] h3{
        padding: 0 30px;
    }

    .cpw[data-step="6"] .cpw__form{
        padding: 30px;
    }

    .cpw__form .wpforms-container{
        padding: 30px !important;
    }

    .cpw__form .wpforms-confirmation-container-full:before{
        width: 100px;
        height: 100px;
        margin-bottom: 30px;
    }

    .cpw__form .wpforms-confirmation-container-full p{
        font-size: 24px;
    }
}

@media screen and (max-width: 600px) {
    .cpw-categories{
        grid-template-columns: 1fr 1fr;
    }

    .cpw__form .wpforms-confirmation-container-full{
        min-height: 390px;
    }
}

@media screen and (max-width: 500px) {
    .cpw-marketplaces li{
        font-size: 20px;
    }

    .cpw[data-step="6"] .cpw__form{
        padding: 20px;
    }

    .cpw__form .wpforms-container{
        padding: 20px !important;
    }

    .cpw__form .wpforms-field-container:before{
        font-size: 24px;
    }

    .wpforms-layout-row{
        row-gap: 0;
    }

    .small_text{
        font-size: 12px !important;
    }

    div.wpforms-container .wpforms-form .wpforms-field{
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .cpw__form .wpforms-confirmation-container-full{
        min-height: 315px;
    }
}

@media screen and (max-width: 400px) {
    .cpw__progress span{
        margin-right: 20px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .cpw__progress span:after{
        width: 20px;
    }

    .cpw-marketplaces{
        flex-direction: column;
    }

    .cpw-marketplaces li{
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .cpw-step h4{
        font-size: 22px;
    }

    .cpw-countries{
        gap: 10px;
        justify-content: center;
    }

    .cpw-countries li{
        font-size: 18px;
        width: 94px;
        height: 60px;
        gap: 8px;
    }

    .cpw-countries li:before{
        width: 20px;
        height: 20px;
    }

    .cpw-categories li{
        font-size: 14px;
    }

    .cpw__form .wpforms-confirmation-container-full:before{
        width: 80px;
        height: 80px;
    }

    .cpw__form .wpforms-confirmation-container-full{
        min-height: auto;
    }

    .cpw__form .wpforms-confirmation-container-full p{
        font-size: 20px;
        margin-bottom: 20px !important;
    }
}

@media screen and (max-width: 370px) {
    .cpw__start h2{
        font-size: 30px;
    }

    .cpw h3{
        font-size: 26px;
    }

    .cpw-buttons{
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% + 20px);
    }

    .cpw[data-step="4"] .cpw-buttons{
        width: calc(100% + 45px);
    }
}