.yandex-share__btn svg {
    width: 1.4rem;
    height: 1.4rem;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
    flex: 0 0 auto;
    margin: 0 0 0 0.7rem;
}

.default-btn.yandex-share__btn {
    padding: 0.5rem 1.5rem;
    height: 4rem;
    font-size: 1.4rem;
    border-radius: 4px;
}

.yandex-share__popup-shadow {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(25, 25, 25, 0.9);
    z-index: 9999998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s; 
}

.yandex-share__popup-shadow.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.yandex-share__popup {
    width: 100%;
    max-width: 46rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 10px;
    background: #fff;
    padding: 3rem;
}

.yandex-share__popup-title {
    display: block;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 500;
    margin: 0 0 2rem;
}

.yandex-share__popup-close {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: none;
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    transition: color 0.25s;
    z-index: 99999;
    position: absolute;
    top: 0;
    right: 0;
    color: #343434;
}

.yandex-share__popup-close svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}
