.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-rating {
    margin: 0 0 48px;
    font-family: "Manrope", sans-serif;
}
.footer-rating-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px 176px;
    grid-template-areas: "copy badge action";
    align-items: center;
    gap: 28px;
    min-height: 148px;
    padding: 24px 28px;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(31, 31, 31, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.footer-rating-card::before {
    content: "";
    position: absolute;
    top: -110px;
    right: 210px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(255, 213, 0, .12);
    pointer-events: none;
}
.footer-rating-card:hover {
    transform: translateY(-2px);
    border-color: #D6D6D6;
    box-shadow: 0 18px 44px rgba(31, 31, 31, .09);
}
.footer-rating-copy {
    grid-area: copy;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.footer-rating-kicker {
    margin-bottom: 8px;
    color: #FF5449;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.footer-rating-title {
    color: #353535;
    font-family: "Cera Pro", "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}
.footer-rating-text {
    max-width: 650px;
    margin-top: 8px;
    color: #777777;
    font-size: 14px;
    line-height: 1.45;
}
.footer-rating-badge {
    grid-area: badge;
    position: relative;
    z-index: 2;
    width: 160px;
    height: 100px;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(31, 31, 31, .09);
}
.footer-rating-badge iframe {
    display: block;
    width: 160px;
    height: 100px;
    border: 0;
    pointer-events: none;
}
.footer-rating-action {
    grid-area: action;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 10px 12px 10px 20px;
    box-sizing: border-box;
    color: #FFFFFF;
    background: #353535;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color .25s ease;
}
.footer-rating-card:hover .footer-rating-action {
    background: #FF5449;
}
.footer-rating-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    color: #353535;
    background: #FFFFFF;
    border-radius: 50%;
    font-size: 21px;
    line-height: 1;
}
.footer-rating-hit {
    position: absolute;
    z-index: 5;
    inset: 0;
    border-radius: 24px;
}
.footer-rating-hit:focus-visible {
    outline: 2px solid #FF5449;
    outline-offset: -4px;
}

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

.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-rating {
        margin-bottom: 36px;
    }
    .footer-rating-card {
        grid-template-columns: 160px minmax(0, 1fr);
        grid-template-areas: "copy copy" "badge action";
        gap: 18px 14px;
        min-height: 0;
        padding: 20px;
        border-radius: 20px;
    }
    .footer-rating-card::before {
        top: -130px;
        right: -80px;
    }
    .footer-rating-title {
        font-size: 21px;
    }
    .footer-rating-text {
        font-size: 13px;
    }
    .footer-rating-action {
        min-width: 0;
        padding-left: 16px;
    }
    .footer-rating-hit {
        border-radius: 20px;
    }
    .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;
    }
}

@media(max-width: 380px) {
    .footer-rating-card {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "badge" "action";
    }
    .footer-rating-badge {
        justify-self: center;
    }
    .footer-rating-action {
        width: 100%;
    }
}


/* ───────── Уведомление о cookie ───────── */
.cookie-note {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    font-family: "Manrope", sans-serif;
    transform: translateY(140%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-note.is-visible {
    transform: translateY(0);
}
.cookie-note__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #4a4a4a;
}
.cookie-note__text a {
    color: #000;
    text-decoration: underline;
}
.cookie-note__btn {
    flex: 0 0 auto;
    padding: 10px 26px;
    border: none;
    border-radius: 600px;
    background: #000;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}
.cookie-note__btn:hover {
    opacity: 0.8;
}
.cookie-note__btn:active {
    opacity: 0.6;
}
@media (max-width: 575px) {
    .cookie-note {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
        text-align: left;
    }
    .cookie-note__btn {
        width: 100%;
    }
}
