.footer {
    max-width: 1440px;
    padding-bottom: 85px;
}
.footer .container {
    padding-top: 0;
}
footer {
    background-color: #F1F1F1;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* ───────── Footer ───────── */


/* подписка */

.footer-subscribe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 32px 0;
    font-family: "Manrope", sans-serif;
}
.footer-subscribe-form .input-full {
    flex-grow: 1;
}
.footer-subscribe-form {
    display: flex;
    -ms-align-items: center;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    max-width: 915px;
}
.footer-subscribe-text {
    font-size: 20px;
    font-weight: 500;
}
.btn-footer {
    font-weight: 600;
    background-color: #E2E2E2;
}
@media (max-width: 968px) {
    .footer-subscribe {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .footer-subscribe-text {
        font-size: 18px;
        text-align: left;
    }
    .footer-subscribe-form {
        width: 100%;
        flex-wrap: wrap;
    }
    .footer-subscribe-form input {
        flex: 1 1 auto;
        min-width: 0;
        /* КРИТИЧНО чтобы не ломало */
    }
    .footer-subscribe-form button {
        flex-shrink: 0;
        white-space: nowrap;
        margin: 0 auto;
    }
}

/* разделители */

.footer-divider {
    height: 1px;
    background: #E2E2E2;
}

/* доставка */

.footer-delivery {
    /* margin-top: 80px; */
    /* background-color: #F1F1F1; */
    padding: 39px 0;
    font-family: "Manrope", sans-serif;
}
.footer-delivery-title {
    font-size: 20px;
    font-weight: 500;
    color: #353535;
    font-family: 'Cera Pro';
}
.footer-delivery-text {
    padding-top: 16px;
    font-size: 16px;
    font-weight: 400;
    color: #353535;
    margin-bottom: 36px;
}
.footer-link {
    text-decoration: underline !important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    color: #353535;
    font-family: "Inter", sans-serif;
    transition: .3s;
}
.footer-link:hover {
    color: #FF5449;
    text-decoration: none !important;
}

/* основная сетка */

.footer-main {
    /* background-color: #F1F1F1; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 48px 0;
    font-family: "Manrope", sans-serif;
}
.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #353535;
}
.footer-col-title--mt {
    margin-top: 24px;
}
.footer-col a {
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
    color: #353535;
    text-decoration: none;
    transition: .3s;
}
.footer-text {
    font-size: 16px;
    color: #353535;
    font-family: "Manrope", sans-serif;
}

/* нижняя часть */

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-areas: "brand legal payments";
    gap: 40px;
}
.footer-brand {
    grid-area: brand;
}
.footer-legal {
    grid-area: legal;
}
.footer-payments {
    grid-area: payments;
}
.footer-logo {
    font-size: 32px;
    font-weight: 500;
    line-height: 120%;
    color: #353535;
}
.footer-logo-icons {
    align-items: center;
    display: flex;
    gap: 24px;
    padding-top: 32px;
}
.footer-socials {
    display: flex;
    gap: 12px;
}
.footer-legal a {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #353535;
    text-decoration: none;
}
.footer-legal a:hover {
    color: #FF5449;
}
.footer-col a:hover {
    color: #FF5449;
}
.footer-payments {
    gap: 12px;
    color: #353535;
    font-size: 16px;
    font-weight: 500;
}
.footer-payments-icons {
    padding-top: 10px;
    gap: 5px;
}
.footer-payments-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
}
@media(max-width: 768px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        grid-template-columns: 1fr;
        grid-template-areas: "payments" "brand" "legal";
        gap: 24px;
    }
    .footer {
        padding-bottom: 45px;
    }
    .footer-logo {
        margin-top: 26px;
        font-weight: 500;
        font-size: 32px;
    }
}
