

/* Start:/local/components/impulsit/certificates.buy/templates/.default/style.css?17666521169738*/
.maxwidth-theme{
    overflow: visible !important;
}

/* скрыл крошки */
.top-block-wrapper {
    display: none;
}

.top_block_switch {
    display: none;
}

.certificate-wrapper {
    padding-top: 40px;
    max-width: 608px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;

    @media screen and (max-width: 875px) {
        margin: unset;
        max-width: 100%;
    }

    @media screen and (max-width: 767px) {
        padding-top: 12px;
    }
}

/* стили для звездочек */
.certificate-star__top-left {
    position: absolute;
    top: 22px;
    right: -17px;
    width: 67px;
    height: 86px;

    @media screen and (max-width: 875px) {
        right: 80px;
    }

    @media screen and (max-width: 767px) {
        display: none;
    }
}
.certificate-star__top-right {
    position: absolute;
    top: 57px;
    right: -105px;
    width: 95px;
    height: 117px;

    @media screen and (max-width: 875px) {
        right: 0;
    }

    @media screen and (max-width: 767px) {
        display: none;
    }
}
.certificate-star__top-bottom {
    position: absolute;
    bottom: 279px;
    left: -89px;
    width: 65px;
    height: 80px;

    @media screen and (max-width: 875px) {
        display: none;
    }
}

.certificate-star__mobile-left {
    position: absolute;
    top: 59px;
    right: 43px;
    width: 33px;
    height: 43px;
    display: none;

    @media screen and (max-width: 767px) {
        display: flex;
    }
}

.certificate-star__mobile-right {
    position: absolute;
    top: 18px;
    right: 0;
    width: 47px;
    height: 58px;
    display: none;

    @media screen and (max-width: 767px) {
        display: flex;
    }
}

/* стили для заголовка */
.title-certificate {
    font-weight: 600;
    font-size: 48px;
    line-height: 48px;
    color: #333333;
    margin: 0 0 20px 0;

    @media screen and (max-width: 768px) {
        margin: 0 0 16px 0;
    }
}

.title-certificate br {
    display: none;

    @media screen and (max-width: 768px) {
        display: flex;
    }
}

/* стили для формы */
.certificate-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* стили для формы top */
.certificate-form__top {
    flex-direction: column;
    display: flex;
    gap: 24px;

    @media screen and (max-width: 767px) {
        gap: 20px;
    }
}

/* стили для суммы */
.certificate-summ {
    display: flex;
    flex-direction: column;
    gap: 8px;

    @media screen and (max-width: 767px) {
        width: 100%;
    }
}

.certificate-summ__title {
    font-family: "Jost";
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
}

.certificate-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    box-sizing: border-box;

    @media screen and (max-width: 767px) {
        width: 100%;
    }

    @media screen and (max-width: 540px) {
        gap: 8px;
    }

    @media screen and (max-width: 501px) {
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;

        scrollbar-width: none;
        -ms-overflow-style: none;

        &::-webkit-scrollbar {
            display: none;
        }
    }
}

.certificate-buttons__button {
    width: 100%;
    max-width: 112px;
    height: 42px;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;

    @media screen and (max-width: 767px) {
        max-width: unset;
    }

    @media screen and (max-width: 767px) {
        padding: 10px;
    }

    @media screen and (max-width: 501px) {
        max-width: 88px;
    }
}

.certificate-buttons__button.picked {
    border-color: transparent;
    background-color: #ffd600;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.certificate-buttons__button:hover {
    border-color: transparent;
    background-color: #ffd600;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.certificate-buttons__text {
    font-family: "Jost";
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
}

/* стили для инпутов */
.certificate-input {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.certificate-input__title {
    font-family: "Jost";
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
}

.certificate-input__error {
    font-family: "Jost";
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #ff7070;

    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, height 0.3s ease;
}

.certificate-input__error.visible {
    height: 16px;
    opacity: 1;
}

.certificate-input__input {
    background-color: #fafafa !important;
    height: 44px !important;
    padding: 12px;
    font-family: "Jost" !important;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 22px !important;
    color: #333333 !important;
    border: 1px solid transparent !important;
    border-radius: unset !important;
    transition: border-color 0.3s ease;
}

.certificate-input__input.error {
    border-color: #ff7070 !important;
    transition: border-color 0.3s ease;
}

/* стили для чекбокса */
.certificate-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    gap: 6px;
    width: fit-content;
}

.certificate-checkbox__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.certificate-checkbox__line {
    width: 16px;
    height: 16px;
    border: 1px solid #bdbdbd;
    border-radius: 2px;
    display: inline-block;
    box-sizing: border-box;
    transition: background-color 0.3s, border-color 0.3s;
    position: relative;
}

.certificate-checkbox__line::after {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity 0.2s;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9px 8px;
    width: 9px;
    height: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='8' viewBox='0 0 9 8' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M8.2403 0.0815725C8.47142 0.232691 8.53627 0.542559 8.38516 0.773682L3.85182 7.70702C3.7717 7.82956 3.64188 7.91083 3.49664 7.92937C3.35141 7.94791 3.20534 7.90185 3.097 7.80336L0.163667 5.13669C-0.0406617 4.95094 -0.05572 4.63472 0.130033 4.43039C0.315787 4.22606 0.632011 4.211 0.83634 4.39675L3.33576 6.66896L7.54819 0.226433C7.6993 -0.00469017 8.00917 -0.0695463 8.2403 0.0815725Z' fill='%23333333'/></svg>");
}

.certificate-checkbox__input:checked + .certificate-checkbox__line {
    background-color: #ffd600;
    border-color: transparent;
}

.certificate-checkbox__input:checked + .certificate-checkbox__line::after {
    opacity: 1;
}

.certificate-checkbox__title {
    font-family: "Jost";
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
}

/* стили для формы bottom */
.certificate-form__bootom {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.certificate-form__button {
    border: none;
    background-color: #ffd600;
    padding: 13px;
    transition: background-color 0.3s ease-in-out;
}

.certificate-form__button.disabled {
    background-color: #f1f1f1;
    pointer-events: none;
    transition: background-color 0.3s ease-in-out;
}

.certificate-form__button.disabled .certificate-form__button-text {
    color: #bdbdbd;
    transition: color 0.3s ease-in-out;
}

.certificate-form__button-text {
    font-family: "Jost";
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
    transition: color 0.3s ease-in-out;
}

.certificate-form__bootom-title {
    font-family: "Jost";
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
}

.certificate-form__bootom-title a {
    text-decoration: underline;
    text-decoration-style: solid;
    color: #333333;
}

/* стили для текста снизу */
.certificate-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;

    @media screen and (max-width: 540px) {
        margin-top: 32px;
        gap: 0;
    }
}

.certificate-info__text {
    font-family: "Jost";
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #707070;
}

.certificate .loader_container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.certificate .loader {
    width: 48px;
    height: 48px;
    border: 5px solid rgba(0, 0, 0, 0.5);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.certificate .error {
    color: #e62222 !important;
    font-size: 14px;
    font-weight: 400;
    border: none;
}

.certificate-form__labels {
    flex-direction: column;
    display: flex;
    gap: 15px;

    @media screen and (max-width: 767px) {
        gap: 10px;
    }
}
.certificate-form__bootom .errors {
    margin-top: -40px
}
/* End */
/* /local/components/impulsit/certificates.buy/templates/.default/style.css?17666521169738 */
