.text-uppercase {
    text-transform: uppercase;
}

.b-title {
    font-size: 23px !important;
}

@media (min-width: 992px) {
    .b-title {
        font-size: 34px !important;
    }
}

.cert-details {
    color: #171717;
    font-size: 14px;
}

.b-certificate_design {
    position: relative;
}

.b-certificate_number {
    border-radius: 5px;
    padding: 2px 6px;
    position: absolute;
    right: 10px;
    bottom: 8px;
    font-size: 12px;
    background: #ffffff4f;
}

.secret_code {
    cursor: pointer;
    background: #fff;
    border-radius: 5px;
    padding: 1px 9px;
    display: inline-flex;
    margin-top: 6px;
    font-size: 14px;
}

.b-certificate {
    margin-top: 20px;
}

.b-certificate_how-title {
    font-size: 17px;
    margin-top: 35px;
    font-weight: 300;
}

.b-certificate_steps {
    padding-left: 10px;
    margin-bottom: 15px;
    margin-top: 14px;
}

.b-certificate_steps-step {
    counter-increment: index;
    font-size: 11px;
    display: flex;
    align-items: center;
}

.b-certificate_steps-step span {
    flex: 1;
}

.b-certificate_steps-step:before {
    content: counter(index);
    font-weight: bold;
    font-size: 40px;
    text-align: center;
    color: #D3ACAF;
    width: 45px;
    margin-right: 15px;
}

.b-certificate_info img {
    border-radius: 4px;
    height: auto;
    display: block;
}

.b-certificate_info {
    border-radius: 8px;
    max-width: 425px;
    position: sticky;
    top: 75px;
    width: 100%;
    padding: 20px;
    box-shadow: 0 1px 9px rgba(0, 0, 0, 0.12);
}

.b-certificate_info .certificate-number {
    font-size: 9px;
    margin-top: 5px;
}

.when-to-send-text {
    color: #555;
}

.b-certificate_info .column:last-child {
    margin-left: auto;
    font-size: 23px;
    font-weight: 300;
    color: #D3ACAF;
    letter-spacing: -1px;
}

.b-certificate_info-badge {
    display: flex;
    font-size: 11px;
    margin-top: 24px;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 18px;
    background: #F7F0F0;
    align-items: center;
    box-shadow: 0 5px 5px -2px rgba(0, 0, 0, 0.14);
}

.b-certificate_total {
    padding-bottom: 22px;
    font-size: 16px;
    font-weight: 600;
}

@media (min-width: 992px) {
    .b-certificate_total {
        font-size: 22px;
        padding-top: 12px;
        margin-top: 25px;
        padding-bottom: 48px;
        border-top: 1px solid #CEB09D;
    }
}

.b-certificate_total-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .b-certificate_total-wrapper {
        margin-left: auto;
        max-width: 230px;
    }
}

.b-certificate_overlay {
    transition: all 200ms ease;
    background: rgba(206, 176, 157, 0.6);
    position: fixed;
    left: 0;
    z-index: 10000;
    top: 0;
    bottom: 0;
    right: 0;
    display: grid;
    place-content: center;
    font-family: Acrom, sans-serif;
    opacity: 0;
    visibility: hidden;
}

.b-certificate_overlay-visible {
    opacity: 1;
    visibility: visible;
}

body.preloader .certificate-preloader {
    display: block !important;
}

body.sms-modal .b-certificate_overlay-sms {
    visibility: visible;
    opacity: 1;
}

.b-certificate_overlay-error .b-certificate_modal {
    box-sizing: content-box;
}

body.error-modal .b-certificate_overlay-error {
    visibility: visible;
    opacity: 1;
}

.b-certificate_error-title {
    margin-bottom: 15px;
    font-weight: bold;
}

.b-certificate_modal .b-certificate_button {
    width: 150px !important;
}

.b-sms-text {
    line-height: 150%;
}

.b-certificate_modal {
    box-shadow: 0 9px 17px -4px #00000024;
    position: relative;
    background: #fff;
    padding: 30px 22px;
    text-align: center;
    width: 340px;
}

.b-certificate_modal img {
    margin-bottom: 30px;
    pointer-events: none;
    user-select: none;
}

.b-certificate_modal .b-certificate_button {
    margin-top: 25px !important;
}

.b-certificate_modal .check-code::placeholder {
    letter-spacing: 5px;
}

[data-buy]:disabled:hover {
    background: #c3c3c3 !important;
}

[data-buy]:disabled:active {
    background: #c3c3c3 !important;
}

[data-buy]:disabled {
    background: #c3c3c3 !important;
}

.check-code-message:empty {
    display: none;
}

.b-certificate_modal .check-code {
    margin-top: 25px;
    border: none;
    font-family: Acrom, sans-serif;
    text-align: center;
    padding-bottom: 5px;
    max-width: 100px;
    border-bottom: 1px solid #000;
    font-size: 25px;
    font-weight: bold;
}

.b-certificate_close-button:hover svg path {
    stroke: #D3B19C;
}

.b-certificate_close-button path {
    transition: stroke 200ms ease;
}

.b-certificate_close-button svg {
    display: block;
}

.b-certificate_close-button {
    background: transparent;
    border: none;
    padding: 5px;
    position: absolute;
    right: 0;
    top: 2px;
}

.b-certificate_form {
    position: relative;
}

.b-certificate_form-amount {
    font-size: 20px !important;
    font-weight: 600 !important;
    max-width: 280px !important;
    height: 47px !important;
    border: 1px solid #D3B19C;
}

.b-certificate_warning-text a {
    color: inherit;
    text-decoration: underline;
}

.certificate-preloader {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 10002;
}

body.waiting .certificate-preloader {
    display: block !important;
}

.sms-code-check {
    position: relative;
}

.sms-code-check.waiting:after {
    opacity: 0.75 !important;
    visibility: visible !important;
}

.sms-code-check:after,
body:after {
    transition: all 150ms ease;
    opacity: 0;
    content: '';
    position: absolute;
    visibility: hidden;
    background: #fff;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 10001;
}

body.waiting {
    position: relative;
}

body.waiting:after {
    opacity: 0.75 !important;
    visibility: visible !important;
}

.b-certificate_warning-text {
    font-size: 11px;
    color: #525252;
}

.b-certificate_form-input {
    border: 1px solid #D3B19C;
    font-size: 14px;
    height: 34px;
}

.b-certificate-radio {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #525252;
}

@media (min-width: 992px) {
    .b-certificate-radio {
        font-size: 17px;
    }
}

.b-certificate-radio span {
    border: 1px solid #CEB09D;
    border-radius: 50px;
    display: block;
    min-width: 17px;
    width: 17px;
    height: 17px;
    position: relative;
    margin-right: 10px;
}

.b-certificate-radio input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.b-certificate-radio input:checked + span:after {
    content: '';
    position: absolute;
    width: 11px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 11px;
    margin: auto;
    border-radius: 50%;
    background: #CEB09D;
}

.b-certificate-toggle {
    width: 112px;
    border: 1px solid #D3B19C;
    cursor: pointer;
}

.b-certificate-toggle span {
    display: grid;
    user-select: none;
    min-height: 34px;
    place-content: center;
    font-size: 14px;
}

.b-certificate-toggle input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.b-certificate-toggle input:checked + span {
    background: #CEB09D;
}

.b-certificate .column-gap {
    gap: 12px;
}

[name="send-time"] {
    max-width: 170px;
}

@media (max-width: 992px) {
    .b-certificate_steps-step::before {
        width: 24px !important;
        margin-right: 25px !important;
    }

    .b-certificate_info .column:last-child {
        margin-left: inherit !important;
        margin-top: 10px;
    }

    .b-certificate_info-badge {
        flex-direction: column !important;
        text-align: center;
    }
}

@media (min-width: 320px) and (max-width: 992px) {
    .b-certificate .column-gap {
        flex-direction: column !important;
    }
}

.b-certificate_form {
    max-width: 475px;
    display: flex;
    position: relative;
    flex-direction: column;
    padding-bottom: 30px;
}

.b-certificate_button {
    width: 100%;
    height: 34px;
    background: #CEB09D;
    color: #fff !important;
    border: none;
    transition: all 200ms ease;
    margin-top: 36px;
    margin-left: auto;
}

@media (min-width: 992px) {
    .b-certificate_button {
        width: 225px;
        color: #000;
    }
}

.b-certificate_button:hover {
    background: #50DFA9;
    color: #fff;
}

.b-certificate_button:active {
    background: #49d39f !important;
}

.b-certificate_form-short {
    margin-top: -10px;
    margin-bottom: 20px;
}

.b-certificate_form-margin {
    margin-bottom: 24px !important;
}

@media (min-width: 992px) {
    .b-certificate_form-margin {
        margin-bottom: 29px !important;
    }
}

.b-certificate_form-base_input {
    max-width: 112px;
    height: 34px;
}

.b-certificate_form input {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width: 992px) {
    .b-certificate_form input {
        width: 249px;
    }
}

.b-certificate_form-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #D3B19C;
    height: 34px;
}

.b-certificate_form-quantity input {
    border: none;
    width: 100%;
    flex: 1;
    text-align: center;
}

.b-certificate_form-quantity button {
    border: none;
    width: 18px;
    flex: auto;
    font-size: 17px;
    text-align: center;
    background: transparent;
}

.b-certificate_form #send-date {
    width: 100%;
}

@media (min-width: 992px) {
    .b-certificate_form #send-date {
        width: 165px;
    }
}

.b-certificate_form #when-send {
    width: 100%;
}

@media (min-width: 992px) {
    .b-certificate_form #when-send {
        width: 145px;
    }
}

.b-certificate_form-column {
    display: flex;
    flex-direction: column;
}

.b-certificate_form-column select {
    cursor: pointer;
    max-width: 460px;
    border: 1px solid #D3B19C;
    height: 34px;
    padding-left: 10px;
    appearance: none;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 17 11'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23D3B19C' d='M17 .8a.8.8 0 0 0-.31-.63.85.85 0 0 0-1.17.13L8.5 8.9 1.48.3A.85.85 0 0 0 .3.18.79.79 0 0 0 .18 1.3l7.67 9.4a.84.84 0 0 0 1.3 0l7.67-9.4A.8.8 0 0 0 17 .8Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0v11h17V0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E") no-repeat center right 12px;
    background-size: 17px !important;
}

.b-certificate_form-column textarea {
    resize: none;
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 116px;
    padding-top: 6px;
}

@media (min-width: 992px) {
    .b-certificate_form-column textarea {
        width: 249px;
    }
}

.b-certificate_form-column label {
    margin-bottom: 0 !important;
}

.b-certificate_form-column label[for] {
    color: #525252;
    font-size: 11px;
    margin-bottom: 5px !important;
}

.b-certificate_form .inline-row {
    display: flex;
    gap: 25px;
}

@media (min-width: 992px) {
    .b-certificate_column {
        width: 50%;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

.b-certificate_column-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    .b-certificate_column-title {
        font-size: 22px;
        margin-bottom: 27px;
    }
}

.b-certificate_columns {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 992px) {
    .b-certificate_columns {
        flex-direction: row;
        gap: 30px;
    }
}

.b-certificate_badge {
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 22px 25px;
    border: 1px solid #CEB09D;
    border-radius: 7px;
    letter-spacing: -1.5px;
    text-align: center;
}

@media (min-width: 992px) {
    .b-certificate_badge {
        box-shadow: 0 1px 9px rgba(0, 0, 0, 0.12);
        margin-top: 35px;
        margin-bottom: 65px;
        padding: 22px 50px;
    }
}

.b-certificate_badge-top {
    font-size: 20px;
}

@media (min-width: 992px) {
    .b-certificate_badge-top {
        font-size: 2svw;
        line-height: 160%;
    }
}

.b-certificate_badge-bottom {
    font-size: 20px;
}

@media (min-width: 992px) {
    .b-certificate_badge-bottom {
        font-size: 1.85svw;
        line-height: 160%;
    }
}

@media (min-width: 992px) {
    .b-certificate_advantages-slider {
        margin-bottom: 90px;
    }
}

@media (min-width: 320px) and (max-width: 992px) {
    .b-certificate_advantages-slider {
        margin-bottom: 35px;
    }
}

.b-certificate_advantages-slider .swiper-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 992px) {
    .b-certificate_advantages-slider .swiper-pagination {
        margin-top: 50px;
    }
}

@media (min-width: 992px) {
    .b-certificate_advantages-slider .swiper-pagination {
        gap: 19px;
    }
}

.b-certificate_advantages-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d9d9;
    display: inline-block;
}

@media (min-width: 992px) {
    .b-certificate_advantages-slider .swiper-pagination-bullet {
        width: 18px;
        height: 18px;
    }
}

.b-certificate_advantages-slider .swiper-pagination-bullet-active {
    background: #ceb09d;
}

.b-certificate_advantages-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 992px) {
    .b-certificate_advantages-slider .swiper-slide {
        gap: 30px;
    }
}

.b-certificate_advantages-slider .swiper-slide img {
    max-width: 55px;
    max-height: 38px;
    height: auto;
    display: inline-block;
}

@media (min-width: 992px) {
    .b-certificate_advantages-slider .swiper-slide img {
        max-width: 84px;
        max-height: 68px;
    }
}

.b-certificate_advantages-slider .swiper-title, .b-certificate_advantages-slider .swiper-icon {
    text-align: center;
}

.b-certificate_advantages-slider .swiper-title {
    font-size: 14px;
}

@media (min-width: 992px) {
    .b-certificate_advantages-slider .swiper-title {
        font-size: 22px;
    }
}

@media (min-width: 320px) and (max-width: 992px) {
    .b-certificate_advantages-slider .swiper-title {
        max-width: 261px;
        margin: auto;
    }
}

@media (min-width: 992px) {
    .b-certificate_advantages-slider .swiper-icon {
        height: 68px;
    }
}

.cert-not-found img {
    margin-bottom: 20px;
    filter: grayscale(1);
    border-radius: 5px;
}

.cert-not-found {
    margin-top: 50px;
    text-align: center;
    font-size: 30px;
}

.b-certificate .has-errors {
    border: 1px solid red;
    padding: 8px 15px;
    border-radius: 8px;
}

.b-certificate .error {
    color: red;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.b-certificate_wrapper .b-title {
    margin-bottom: 25px;
}

.b-certificate_wrapper {
    margin-top: 30px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    flex-direction: column;
}