.footer {
    position: relative;
    padding-bottom: 36px;
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
}

.footer-payments img {
    height: 40px;
    max-width: 100%;
}

.footer__container-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 30px 0;
    align-items: start;
    list-style: none;
}

.footer__container-row > li > a {
    font-weight: 700;
    font-size: 120%;
    display: block;
    margin-bottom: 12px;
}

.footer__container-row .sub-menu {
    list-style: none;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.footer-social button,
.footer-social a {
    width: 54px;
    height: 54px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
}

.footer-social button svg,
.footer-social img {
    width: 100%;
    height: 100%;
}

.footer-copy {
    text-align: center;
    margin: 24px 0;
}

.footer-copy div {
    margin-bottom: 12px;
}

.footer-copy div:last-child {
    margin: 0;
}

@media screen and (min-width: 769px) and (max-width: 1366px) {
    .footer-payments {
        justify-content: space-between;
        gap: 15px;
        flex-wrap: nowrap;
    }

    .footer-payments a {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-payments img {
        height: 35px;
        max-width: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 768px) {
    .footer-payments img {
        height: 25px;
        max-width: 100%;
    }

    .footer-social button,
    .footer-social a {
        width: 44px;
        height: 44px;
    }

    .footer__container-row {
        flex-direction: column;
    }
}
