footer.custom.footer {
    width: 100%;
    display: grid;
    background-color: var(--color-bg-alt);
}

.footer-main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 90px;
    border-top: 1px solid var(--color-border);
}

.footer img.footer-logo {
    width: 159px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col.brand,
.footer-col.social,
.footer-col.payment,
.footer-col.center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col.social,
.footer-col.payment,
.footer-col.center {
    align-items: center;
}

.footer-social-icons {
    margin-bottom: 30px;
}

.footer-social-icons a {
    display: inline-block;
    margin-right: 18px;
    color: var(--color-pri);
    font-size: 22px;
    border: 1px solid var(--color-pri);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    text-align: center;
    line-height: 38px;
    transition: background 0.2s, color 0.2s;
}

.footer-social-icons a:last-child {
    margin-right: 0;
}

.footer-social-icons a:hover {
    background: var(--color-pri);
    color: var(--color-white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer li {
    margin-bottom: 12px;
}

.footer-links a,
.footer li {
    color: var(--color-pri);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-title,
.footer-main h1,
.footer-main h2,
.footer-main h3 {
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--color-pri);
    font-size: 18px;
    font-style: normal;
    line-height: normal;
}


.footer-main h1,
.footer-main h2,
.footer-main h3 {
    margin-top: 0px;
    margin-bottom: 60px;
}



.footer-payments img {
    display: block;
    margin-top: 10px;
    width: 237px;
}

.footer-copyright {
    text-align: center;
    color: var(--color-pri);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    padding: 20px;
}

.footer-bottom .links {
    color: var(--color-pri);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 40px;
}

.footer-bottom .links a {
    color: var(--color-pri);
}

.footer-top-link a {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 30px 0 20px 0;
    display: block;
    color: var(--color-pri);
    text-decoration: none;
}

@media (max-width: 872px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 25px;
    }

    .footer-col {
        min-width: 0;
        width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-col,
    .footer-col.center,
    .footer-col.social,
    .footer-col.payment {
        align-items: center;
    }

    .footer-col .brand {
        align-items: flex-start;
        text-align: start;
    }

    .footer-links {
        align-items: center;
        text-align: start;
    }

    .footer-social-icons {
        margin-bottom: 15px;
    }

    .footer-title {
        margin-top: 20px;
        margin-bottom: 25px;
    }
}