.site-footer {
    position: relative;
    margin-top: 120px;
    background: #171914;
    color: #c7c9c2;
}

.site-footer .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-newsletter-shell {
    position: relative;
    z-index: 2;
    transform: translateY(-50%);
    margin-bottom: -54px;
}

.footer-newsletter {
    min-height: 108px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
    align-items: center;
    gap: 44px;
    padding: 22px 34px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f0f1f1;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
    color: #20231e;
}

.footer-newsletter-copy {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-newsletter-icon {
    display: grid;
    place-items: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 17px;
    background: #fff;
    color: var(--primary, #ee0000);
    box-shadow: 0 9px 24px rgba(15, 23, 42, .09);
    transform: rotate(-8deg);
}

.footer-newsletter-icon .store-icon {
    width: 31px;
    height: 31px;
}

.footer-newsletter h2 {
    margin: 0 0 2px;
    color: #181b17;
    font-size: 20px;
    font-weight: 800;
}

.footer-newsletter p {
    margin: 0;
    color: #6d7169;
    font-size: 14px;
}

.footer-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 106px;
    gap: 0;
    padding: 5px;
    border: 1px solid #d4d6d2;
    border-radius: 12px;
    background: #fff;
}

.site-footer .footer-newsletter-form input[type="email"] {
    height: 44px;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    box-shadow: none;
    background: transparent;
    color: #20231e;
}

.site-footer .footer-newsletter-form input[type="email"]:focus {
    box-shadow: none;
}

.site-footer .footer-newsletter-form button {
    min-height: 44px;
    padding: 8px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--primary, #ee0000);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--primary, #ee0000) 25%, transparent);
    color: #fff;
    font-weight: 800;
}

.site-footer .footer-newsletter-form button:hover {
    transform: none;
}

.site-footer .footer-main {
    display: grid;
    grid-template-columns: minmax(270px, 1.5fr) minmax(180px, .95fr) minmax(170px, .85fr) minmax(205px, .9fr);
    gap: clamp(30px, 4vw, 72px);
    padding: 50px 0 62px;
}

.site-footer .footer-column h2 {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.site-footer .footer-column h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary, #ee0000);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    margin-bottom: 18px;
    color: #fff !important;
}

.footer-brand img {
    display: block;
    max-width: 145px;
    max-height: 58px;
    object-fit: contain;
}

.footer-wordmark {
    display: flex;
    align-items: baseline;
    gap: 7px;
    letter-spacing: .02em;
}

.footer-wordmark b {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.footer-wordmark small {
    color: var(--primary, #ee0000);
    font-size: 14px;
    font-weight: 800;
}

.site-footer .footer-about > p {
    margin: 0;
    color: #b8bab5;
    font-size: 14px;
    line-height: 2.05;
    text-align: justify;
}

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

.site-footer .footer-links li {
    margin: 0 0 11px;
}

.site-footer .footer-links a,
.site-footer .footer-menu .site-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1px 15px 1px 0;
    border-radius: 0;
    background: transparent;
    color: #c7c9c2;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

.site-footer .footer-links a::before,
.site-footer .footer-menu .site-menu a::before {
    content: "";
    position: absolute;
    right: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #686b64;
    transition: .2s;
}

.site-footer .footer-links a:hover,
.site-footer .footer-menu .site-menu a:hover {
    padding-right: 19px;
    background: transparent;
    color: #fff;
}

.site-footer .footer-links a:hover::before,
.site-footer .footer-menu .site-menu a:hover::before {
    background: var(--primary, #ee0000);
}

.site-footer .footer-menu .site-menu,
.site-footer .footer-menu .site-menu ul {
    display: block;
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-footer .footer-menu .site-menu ul {
    padding: 8px 14px 0 0;
}

.footer-contact-list {
    display: grid;
    gap: 10px;
    margin-top: 19px !important;
}

.site-footer .footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #c7c9c2;
    font-size: 14px;
}

.footer-contact-list .store-icon {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: var(--primary, #ee0000);
}

.site-footer .footer-contact-list a {
    color: #c7c9c2;
}

.site-footer .footer-social h2 {
    line-height: 1.7;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer .footer-social-links a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #41443e;
    border-radius: 10px;
    background: #22251f;
    color: #fff;
}

.site-footer .footer-social-links a:hover {
    border-color: var(--primary, #ee0000);
    background: var(--primary, #ee0000);
    transform: translateY(-2px);
}

.footer-social-links .store-icon {
    width: 21px;
    height: 21px;
}

.site-footer .footer-trust {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 12px 14px;
    border: 1px solid #363933;
    border-radius: 14px;
    background: #20231e;
    color: #fff;
}

.site-footer .footer-trust:hover {
    border-color: #565a51;
    background: #252922;
}

.site-footer .footer-enamad {
    min-width: 118px;
    min-height: 118px;
    justify-content: center;
    background: #fff;
}

.site-footer .footer-enamad img {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.footer-trust .store-icon {
    width: 37px;
    height: 37px;
    color: var(--primary, #ee0000);
}

.footer-trust span,
.footer-trust b,
.footer-trust small {
    display: block;
}

.footer-trust b {
    font-size: 14px;
}

.footer-trust small {
    margin-top: 2px;
    color: #a8aaa4;
    font-size: 14px;
}

.footer-back-to-top {
    position: absolute;
    left: max(20px, calc((100% - 1500px) / 2));
    bottom: 44px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #3a3d36;
    border-radius: 11px 11px 0 0;
    background: #242720;
    color: #fff !important;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .25);
}

.footer-back-to-top:hover {
    border-color: var(--primary, #ee0000);
    background: var(--primary, #ee0000);
    transform: translateY(-3px);
}

.footer-back-to-top .store-icon {
    width: 20px;
    height: 20px;
}

.site-footer .footer-bottom {
    padding: 20px 70px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: #0f110d;
    color: #94978f;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 1050px) {
    .site-footer .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .site-footer .footer-social {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 780px) {
    .site-footer {
        margin-top: 150px;
    }

    .footer-newsletter-shell {
        transform: translateY(-88px);
        margin-bottom: -88px;
    }

    .footer-newsletter {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 23px;
    }

    .site-footer .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 42px 28px;
        padding-top: 48px;
    }

    .site-footer .footer-about {
        grid-column: 1 / -1;
    }

    .site-footer .footer-social {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .site-footer {
        margin-top: 178px;
    }

    .footer-newsletter-copy {
        align-items: flex-start;
    }

    .footer-newsletter-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }

    .footer-newsletter h2 {
        font-size: 17px;
    }

    .footer-newsletter-form {
        grid-template-columns: 1fr 86px;
    }

    .site-footer .footer-newsletter-form button {
        padding-inline: 10px;
    }

    .site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .site-footer .footer-about,
    .site-footer .footer-social {
        grid-column: auto;
    }

    .site-footer .footer-bottom {
        padding: 18px 48px;
        line-height: 1.9;
    }

    .footer-back-to-top {
        left: 12px;
    }
}
