.commerce-footer-shell {
    padding-top: 32px;
}

.commerce-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(var(--theme-footer-angle, 269.98deg), var(--theme-footer-from, #f6402d) 0%, var(--theme-footer-to, #fe6232) 100%);
    color: var(--theme-footer-text, #fff);
}

.commerce-footer::before,
.commerce-footer::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.commerce-footer::before {
    width: 320px;
    height: 320px;
    top: -140px;
    right: -90px;
}

.commerce-footer::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -60px;
}

.commerce-footer__topics-wrap,
.commerce-footer__bottom {
    position: relative;
    z-index: 1;
}

.commerce-footer__topics-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.commerce-footer__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 0 18px;
    align-items: center;
    justify-content: center;
}

.commerce-footer__topic {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.3;
}

.commerce-footer__main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 15px 28px;
}

.commerce-footer__brand,
.commerce-footer__links,
.commerce-footer__contact-card {
    min-width: 0;
}

.commerce-footer__brand-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.commerce-footer__logo-link,
.commerce-footer__logo {
    display: inline-block;
}

.commerce-footer__logo {
    width: auto;
    max-width: 120px;
    max-height: 78px;
    height: auto;
}

.commerce-footer__brand-copy {
    min-width: 0;
}

.commerce-footer__title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.commerce-footer__lead,
.commerce-footer__address,
.commerce-footer__info-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.65;
}

.commerce-footer__address {
    margin-top: 16px;
}

.commerce-footer__heading {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.commerce-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.commerce-footer__list li {
    margin: 0;
}

.commerce-footer__list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    display: inline-block;
}

.commerce-footer__list a:hover,
.commerce-footer__list a:focus {
    color: #fff;
    opacity: 1;
    transform: translateX(2px);
}

.commerce-footer__contact-card {
    padding: 18px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.commerce-footer__contact-actions {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.commerce-footer__contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.commerce-footer__contact-btn:hover,
.commerce-footer__contact-btn:focus {
    transform: translateY(-1px);
    text-decoration: none;
}

.commerce-footer__contact-btn--line {
    background: #ffffff;
    color: #f4502f;
}

.commerce-footer__contact-btn--line:hover,
.commerce-footer__contact-btn--line:focus {
    color: #df4225;
    background: #fff3ed;
}

.commerce-footer__contact-btn--phone {
    background: rgba(17, 24, 39, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.commerce-footer__contact-btn--phone:hover,
.commerce-footer__contact-btn--phone:focus {
    color: #fff;
    background: rgba(17, 24, 39, 0.24);
}

.commerce-footer__info {
    display: grid;
    gap: 16px;
}

.commerce-footer__info-block {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.commerce-footer__info-label {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.commerce-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.commerce-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 15px 18px;
}

.commerce-footer__copyright,
.commerce-footer__bottom-contact {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    line-height: 1.55;
}

.commerce-footer__bottom-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

@media (min-width: 768px) {
    .commerce-footer__main {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
        gap: 26px 30px;
        padding-top: 36px;
        padding-bottom: 32px;
    }

    .commerce-footer__contact-card {
        grid-column: 1 / -1;
    }

    .commerce-footer__contact-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .commerce-footer__bottom-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .commerce-footer__main {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(300px, 1fr);
        align-items: start;
    }

    .commerce-footer__contact-card {
        grid-column: auto;
    }
}
