.paypo,
.paypo :not(svg, svg*) {
    all: initial;
    display: block;
}

.paypo dialog {
    position: static;
    display: none;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    margin: 0;
    background: 0 0;
    color: inherit;
}

.paypo dialog[open] {
    display: block;
}

.paypo iframe {
    display: block;
    border: none;
}

.paypo__open {
    display: block;
    width: 100%;
    cursor: pointer;
}

.paypo .paypo__dialog {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.paypo .paypo__close {
    position: absolute;
    top: 18px;
    right: 20px;
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

@media (min-width: 600px) {
    .paypo .paypo__close {
        right: calc(50% - 288px);
    }
}

.paypo .paypo__container {
    width: 616px;
    max-width: 100%;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
}

.site-footer {
    padding: 50px 0 30px;
}

.footer-methods {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 50px !important;
    padding-top: 0 !important;
}

.footer-methods-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    grid-gap: 10px;
    margin: 0;
}

.footer-methods-item__title {
    font-weight: bold;
    color: #7a7676;
    text-transform: uppercase;
}

.footer-methods-item {
    flex: 0 0 28%;
}

.footer-methods-list__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: #fff;
    padding: 10px;
}

.footer-methods-list__item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

}

@media (max-width: 768px) {
    .footer-methods {
        display: flex;
        flex-direction: column;
    }

    .footer-methods-item {
        margin-bottom: 40px;
    }

    .footer-methods-item:last-child {
        margin-bottom: 0;
    }
}
