body .new-footer.sbm-store-footer {
    --footer-background: #333;
    --footer-line: #494949;
    background: var(--footer-background);
    color: #aaa;
    padding: 59px 0 64px;
    border: 0;
}

.sbm-store-footer .sbm-store-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr);
    gap: 30px;
    padding-bottom: 70px;
}

.sbm-store-footer h2 {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.sbm-store-footer a { color: inherit; text-decoration: none; }
.sbm-store-footer a:hover { color: #fff; text-decoration: underline; }
.sbm-store-footer a:focus-visible,
.sbm-store-footer summary:focus-visible,
.sbm-store-footer .sbma-nav-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.sbm-store-footer ul { list-style: none; margin: 0; padding: 0; }
.sbm-store-footer .sbm-store-footer-catalog { margin-top: 20px; }
.sbm-store-footer .sbm-store-footer-catalog li + li { margin-top: 20px; }
.sbm-store-footer .sbm-store-footer-catalog a {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.sbm-store-footer .sbma-footer-links { margin-top: 20px; padding: 0; }
.sbm-store-footer .sbma-footer-links li + li { margin-top: 8px; }
.sbm-store-footer .sbma-footer-links a { display: block; font-size: 13px; line-height: 20px; }
.sbm-store-footer .sbma-footer-links[hidden],
.sbm-store-footer .sbma-nav-toggle[hidden] { display: none !important; }
.sbm-store-footer .sbma-nav-toggle { display: none; }
.sbm-store-footer .sbma-nav-toggle::after,
.sbm-store-footer-phones summary::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    margin: auto;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
.sbm-store-footer .sbma-nav-toggle[aria-expanded="true"]::after,
.sbm-store-footer-phones[open] summary::after { transform: rotate(225deg); }

.sbm-store-footer-contacts { color: #fff; font-style: normal; }
.sbm-store-footer-contact {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    line-height: 20px;
}
.sbm-store-footer-contact::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 13px;
    height: 13px;
    background: #aaa;
    mask: var(--footer-icon) center / contain no-repeat;
}
.sbm-store-footer-phone { --footer-icon: url("footer/phone_footer.svg"); }
.sbm-store-footer-email { --footer-icon: url("footer/email_footer.svg"); overflow-wrap: anywhere; }
.sbm-store-footer-address { --footer-icon: url("footer/address.svg"); }
.sbm-store-footer-address a { color: #aaa; }
.sbm-store-footer-phone > a { font-weight: 700; white-space: nowrap; }
.sbm-store-footer-phones { display: inline-block; vertical-align: middle; }
.sbm-store-footer-phones summary {
    display: grid;
    place-items: center;
    list-style: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.sbm-store-footer-phones summary::-webkit-details-marker { display: none; }
.sbm-store-footer-phones ul {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0;
    min-width: max-content;
    padding: 8px 14px;
    border: 1px solid #555;
    background: #404040;
    border-radius: 3px;
}
.sbm-store-footer-phones li + li { margin-top: 5px; }

.sbm-store-footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 42px;
}
.sbm-store-footer-social::before,
.sbm-store-footer-social::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--footer-line);
    margin-inline: 24px;
}
.sbm-store-footer-social::before { margin-left: 0; }
.sbm-store-footer-social::after { margin-right: 0; }
.sbm-store-footer .sbm-store-footer-social a {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 43px;
    height: 43px;
    border: 1px solid #626262;
    border-radius: 3px;
    color: #aaa;
    font-size: 0;
}
.sbm-store-footer-social a::before {
    content: "";
    width: 21px;
    height: 21px;
    background: currentColor;
    mask: var(--footer-icon) center / contain no-repeat;
}
.sbm-store-footer-social a:hover { color: #fff; border-color: #aaa; }
.sbm-store-footer-vk { --footer-icon: url("footer/Vk.svg"); }
.sbm-store-footer-telegram { --footer-icon: url("footer/Telegram.svg"); }
.sbm-store-footer-zen { --footer-icon: url("footer/Zen.svg"); }
.sbm-store-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 13px;
}

@media (max-width: 991px) {
    .sbm-store-footer .sbm-store-footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sbm-store-footer-contacts { grid-column: 1 / -1; max-width: 380px; margin: auto; }
}

@media (max-width: 767px) {
    body .new-footer.sbm-store-footer { padding: 0 0 25px; }
    .sbm-store-footer .sbm-store-footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-bottom: 40px;
    }
    .sbm-store-footer .sbm-store-footer-top nav > h2,
    .sbm-store-footer .sbm-store-footer-catalog li,
    .sbm-store-footer .sbma-footer-heading {
        margin-inline: -16px;
        padding: 14px 16px;
        border-bottom: 1px solid var(--footer-line);
    }
    .sbm-store-footer .sbm-store-footer-catalog,
    .sbm-store-footer .sbm-store-footer-catalog li + li { margin-top: 0; }
    .sbm-store-footer .sbma-footer-heading { align-items: center; }
    .sbm-store-footer .sbma-nav-toggle:not([hidden]) {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin: -12px -10px -12px 0;
        padding: 0;
        background: transparent;
        border: 0;
        color: #fff;
        cursor: pointer;
    }
    .sbm-store-footer .sbma-footer-links { margin: 12px 0 16px; }
    .sbm-store-footer .sbma-footer-links a { padding: 5px 0; }
    .sbm-store-footer-contacts { margin: 40px auto 0; }
    .sbm-store-footer-social { margin-bottom: 24px; }
    .sbm-store-footer-bottom { justify-content: center; text-align: center; }
}

.sbm-store-footer-social a:not([class]) {
    width: auto;
    min-width: 43px;
    padding-inline: 8px;
    font-size: 13px;
}
.sbm-store-footer-social a:not([class])::before { display: none; }
.sbm-store-footer-social img { width: 21px; height: 21px; object-fit: contain; }
.sbm-store-footer .sbm-store-footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-inline-start: auto;
}
.sbm-store-footer-payments li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.sbm-store-footer-payments img { max-width: 60px; max-height: 22px; }
@media (max-width: 767px) {
    .sbm-store-footer .sbm-store-footer-payments {
        flex-basis: 100%;
        justify-content: center;
        margin-inline-start: 0;
    }
}
