:root{
    --blackop: rgba(0, 0, 0, 0.3);
}
#custom-multistep-form {
    margin: auto;
    font-family: sans-serif;
}
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    max-width: 450px;
    width: 95%;
    margin: 40px auto;
}
.progress-bar #prevStep{
    background-color: transparent;
    height: 36px;
    width: 36px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    transition: .4s;
    border: none;
}
.progress-bar #prevStep svg{
    fill: #000;
    transition: .4s;
}
.progress-bar #prevStep:hover{
    background-color: #000;
}
.progress-bar #prevStep:hover svg{
    fill: #fff;
}
.progress-bar .bar {
    flex-grow: 1;
    margin: 0 1em;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 30%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4033262963388481) 70%, rgba(255,255,255,1) 70%, rgba(255,255,255,1) 100%);
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
}
#stepCounter{
    color: rgba(0,0,0,0.4);
}
.progress-bar #progress {
    display: block;
    background: #003DA5;
    border-radius: 4px;
    height: 100%;
    width: 0%;
    transition: width 0.3s;
}
.form-step {
    display: none;
}
.form-step.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.form-step[data-step="1"].active .box-wrapper{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-column-gap: 10px;
    width: 100%;
}
.form-step[data-step="1"] .box{
    border: 2px solid var(--blackop);
    border-radius: 4px;
    padding: 15px 30px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .6s;
}
.form-step[data-step="1"] .box:hover{
    border: 2px solid #000;
}
.box:hover button{
    text-decoration: underline;
}
.form-step h2{
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}
.box > svg{
    width: 24px;
    height: 25px;
}
.box p{
    margin: 20px 0 35px 0;
    line-height: 1.25;
}
.box button{
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: .6s;
}
.box button svg{
    width: 15px;
    height: 14px;
}
.icon {
    font-size: 24px;
    margin-bottom: 0.5em;
}
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: stretch;
    justify-content: center;
}
#product-list-section{
    margin-top: 60px;
}
.grid > div {
    border: 2px solid var(--blackop);
    border-radius: 4px;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
    cursor: pointer;
    transition: .6s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 155px;
}
.grid > div.product{
    paddinG: 15px 5px;
}
.grid > div.selected{
    border: 2px solid #000;
}
.grid > div:hover, .box:hover{
    border: 2px solid #000;
}
.grid > div span {
    padding: 10px;
    text-align: center;
}
.grid > div img{
    max-height: 145px;
    height: 145px;
    object-fit: cover;
    width: 100%;
}
.catname{
    height: calc(100% - 145px);
    padding: 10px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-subtitle{
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}
.next-btn:disabled, .submit-btn:disabled{
    opacity: .5;
    cursor: not-allowed;
}
.next-btn,.submit-btn {
    border-width: 0.5px !important;
    border-color: #000000;
    border-radius: 64px;
    font-size: 20px;
    padding: 10px 20px;
    background-color: #FFFFFF;
    margin-top: 40px;
    display: inline-block;
    cursor: pointer;
}
.form-step textarea {
    width: 90%;
    margin: 0 auto;
    max-width: 350px;
    height: 120px;
    padding: 10px;
    font-size: 1em;
    box-sizing: border-box;
    border-radius: 4px;
    border: 2px solid var(--blackop);
}
.form-group-row {
    max-width: 450px;
    margin: 0 auto;
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.form-group-row label{
    width: 100%;
    display: block;
    margin-bottom: 5px;
}
#region-wrapper, #province-wrapper{
    width: 100%;
}
.form-step input[type="text"], .form-step input[type="email"], .form-step input[type="tel"], .form-step select, .form-step input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 1em;
    box-sizing: border-box;
    border-radius: 4px;
    border: 2px solid var(--blackop);
    min-height: 44px;
}
#confirmation{
    padding: 6% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#confirmation h2{
    font-size: 48px;
    text-align: center;
    margin: 30px 0;
}
#confirmation p{
    font-size: 1.45rem;
    text-align: center;
    color: rgba(0, 0, 0, 0.7);
}
#custom-registration-form .form-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#custom-registration-form .form-step.active {
    display: block;
    opacity: 1;
}
#custom-registration-form h2{
    font-size: 36px;
    text-align: center;
    margin-bottom: 25px;
}
#custom-registration-form h3{
    font-size: 18px;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
}
#region-province-wrapper, .password-wrapper{
    width: 100%;
}
.password-wrapper {
    position: relative;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: calc(50% + .5em);
    transform: translateY(calc(-50% - 1em));
    cursor: pointer;
    font-size: 16px;
}
