.certificate-header__wrap {
    padding-top: 70px;
    padding-bottom: 70px;
}
.certificate-header__item {
    padding-left: 22px;
    position: relative;
}
.certificate-header__item::before {
    content: '';
    position: absolute;
    top: 8.5px;
    left: 10px;
    display: block;
    height: 3px;
    width: 3px;
    border-radius: 50%;
    background-color: var(--color-gunmetal);
}
.certificate-header__right {
    min-width: 540px;
}
.certificate-header__right-text {
    padding: 24px;
    width: 212px;
}
.certificate-header__right-icon__wrap {
    position: relative;
    width: 0;
    height: 186px;
}
.certificate-header__right-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    height: 68px;
    width: 68px;
    border-radius: 50%;
}
.certificate-header__right-icon img {
    height: 48px;
    width: 48px;
    object-fit: cover;
}
.certificate-header__right-img {
    position: relative;
    overflow: hidden;
    height: 186px;
}
.certificate-header__right-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.certificate-header__right-img img {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 186px;
    object-fit: cover;
}
.certificate-karta {
    max-width: 416px;
}
.certificate-modal__wrap {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(21, 21, 21, 0.5);
    z-index: 10;
}
.certificate-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: fit-content;
    width: fit-content;
    padding: 56px;
}
.close-modal {
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 30px;
}

@media (max-width: 992px) {
    .certificate-header {
        flex-direction: column;
    }
    .certificate-header__left, 
    .certificate-header__right {
        width: 100%;
    }
    .certificate-header__right {
        align-items: center;
    }
    .certificate-discount__info {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .certificate-header__right {
        min-width: auto;
        gap: 32px;
    }
    .certificate-header__right>div {
        flex-direction: column;
        align-items: center;
    }
    .certificate-header__right>div:nth-child(2n) {
        flex-direction: column-reverse;
    }
    .certificate-header__right-icon__wrap {
        height: fit-content;
    }
    .certificate-header__right-text {
        width: fit-content;
        max-width: 400px;
    }
    .certificate-header__right-icon {
        height: 48px;
        width: 48px;
    }
    .certificate-header__right-icon img {
        height: 32px;
        width: 32px;
    }
    .certificate-modal {
        padding: 30px;
        padding-top: 48px;
        min-width: 80vw;
    }
    .close-modal {
        top: 16px;
        right: 16px;
    }
}