
.custom-modal {
    display: none;
    width: 100%;
    background-color: #fff;
    border-radius: opx;
    padding: 29px 40px 42px 33px;
    margin: 0 auto;
}

.custom-modal h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
}

.custom-modal p {
    line-height: 1.65;
    margin-bottom: 25px;
}

.custom-modal-form {
    padding-left: 5px;
}

.custom-modal-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.custom-modal-items input, .custom-modal-items textarea {
    width: 360px;
    height: 60px;
    background-color: #f1f3f5;
    color: #6c6966;
    border-radius: 0px;
    border: none;
    padding: 0 18px;
}

.custom-modal-items input::-webkit-input-placeholder, .custom-modal-items textarea::-webkit-input-placeholder {
    color: #6c6966;
}

.custom-modal-items input::-ms-input-placeholder, .custom-modal-items textarea::-ms-input-placeholder {
    color: #6c6966;
}

.custom-modal-items input::placeholder, .custom-modal-items textarea::placeholder {
    color: #6c6966;
}

.custom-modal-items input::-moz-placeholder, .custom-modal-items textarea::-moz-placeholder {
    color: #6c6966;
}

.custom-modal-items input:focus ~ label, .custom-modal-items textarea:focus ~ label {
    display: none;

}

.custom-modal-items input:valid ~ label, .custom-modal-items textarea:valid ~ label {
    display: none;
}

.custom-modal-items label {
    margin: 0;
    color: #6c6966;
    font: 400 18px 'Roboto';
    -webkit-transition: 200ms;
    transition: 200ms;
    position: absolute;
    top: 22px;
    left: 25px;
    right: 25px;
    pointer-events: none;
}

.custom-modal-item {
    position: relative;
}

.custom-modal-item.textarea {
    width: 100%;
    margin-top: 29px;
}

.custom-modal-item.textarea textarea {
    width: 100%;
    height: 120px;
    resize: none;
    padding-top: 20px;
    padding-bottom: 10px;
}

.custom-modal-item.textarea label {
    top: 17px;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.custom-modal-item .error-text {
    color: #FF2222;
    font-size: 14px;
    position: absolute;
    bottom: -21px;
    left: 17px;
}

.custom-modal-item.error input {
    border: 1px solid #FF2222;
    background-color: #fff;
}

.custom-modal-item.error input:valid ~ label {
    top: 7px;
    left: 18px;
    font-size: 14px;
    color: #000;
}

.custom-modal-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 5px 0 27px;
}

.custom-modal-bottom button {
    cursor: pointer;
    border: none;
    -webkit-transition: 200ms;
    transition: 200ms;
    height: 50px;
    background-color: #ec7c00;
    border-radius: 0px;
    color: #fff;
    font: 900 16px 'Roboto';
    text-transform: uppercase;
    padding: 0 21px;
}

.custom-modal-bottom button:hover {
    background-color: #ec7c00;
}


@media (max-width: 991px) {
    .custom-modal {
        width: 700px;
        padding: 14px 14px 20px;
    }

    .custom-modal-items input {
        width: 326px;
    }
}

@media (max-width: 767px) {
    .custom-modal {
        width: 530px;
    }

    .custom-modal-items {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .custom-modal-item {
        width: 100%;
        margin-bottom: 26px;
    }

    .custom-modal-item:last-child {
        margin-bottom: 0;
    }

    .custom-modal-item input {
        width: 100%;
    }

    .custom-modal-bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-left: 0;
    }

    .custom-modal-bottom .check-wrap {
        margin: 12px 0 20px;
    }
}

@media (max-width: 575px) {
    .custom-modal {
        width: 100%;
        margin: 10px 0;
    }

    .custom-modal h2 {
        font-size: 24px;
        padding-right: 40px;
    }

    .custom-modal p {
        line-height: 1.3;
        font-size: 15px;
    }

    .custom-modal-bottom button {
        height: 42px;
        font-size: 15px;
    }
}


.check {
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #626262;
}

.check-wrap {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.check input {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 5;
    cursor: pointer;
}

.check input:checked + span:before {
    opacity: 1;
    color: #ec7c00;
}

.check span {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.check span:before {
    content: '\2714';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    -webkit-transition: 200ms;
    transition: 200ms;
    line-height: 1;
}

.check-text {
    padding-left: 36px;
    color: #6c6966;
    font-size: 14px;
    padding-top: 2px;
}

.check-text a {
    color: #ec7c00;
    text-decoration: underline;
    font-size: 14px;
}

.check-text a:hover {
    text-decoration: none;
}

.product-list li.row {
    display: flex;

}

.p0 {
    padding: 0;
}

.product-item {
    text-align: center;
}

.product-item .product-item-body {
    text-align: left;
}

.hidden {
    display: none;
}

.product-item__label {
    z-index: 2;
    width: 70px;
    left: 55px;
}

.product-vertical__thumbnail {
    position: relative;
}
