.pm-footer-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "identity notice docs";
    justify-content: space-between;
    gap: 24px clamp(32px, 3vw, 56px);
    padding: 12px 0 4px;
}

.pm-footer-bottom__identity {
    grid-area: identity;
    display: grid;
    gap: 5px;
}

.pm-footer-bottom__copy,
.pm-footer-bottom__details {
    align-self: auto;
    line-height: 1.6;
    color: var(--basic_text_black, #555);
}

.pm-footer-bottom__copy,
.pm-footer-bottom__heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--white_text_black, #28282d);
}

.pm-footer-bottom__details {
    display: grid;
    gap: 2px;
}

.pm-footer-bottom__city {
    margin-top: 4px;
}

.pm-footer-bottom__notice {
    grid-area: notice;
    max-width: 520px;
    font-size: 12px;
    line-height: 1.6;
    align-self: start;
}

.pm-footer-bottom__docs {
    grid-area: docs;
    align-self: start;
    display: grid;
    gap: 10px;
}

.pm-footer-bottom__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 26px;
}

.pm-footer-bottom__links a,
.pm-footer-bottom__cookie-settings {
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.pm-footer-bottom__cookie-settings {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    width: fit-content;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pm-footer-bottom__links a:focus-visible,
.pm-footer-bottom__cookie-settings:focus-visible {
    outline: 2px solid var(--theme-base-color, #e86822);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (max-width: 1279px) {
    .pm-footer-bottom {
        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
        grid-template-areas:
            "identity docs"
            "notice notice";
        gap: 24px 36px;
    }

    .pm-footer-bottom__notice {
        max-width: 900px;
        padding-top: 14px;
        border-top: 1px solid var(--stroke_black, #e5e5e5);
    }
}

@media (max-width: 767px) {
    .pm-footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "identity"
            "docs"
            "notice";
        justify-content: stretch;
        gap: 20px;
    }

    .pm-footer-bottom__identity,
    .pm-footer-bottom__docs {
        align-self: stretch;
    }

    .pm-footer-bottom__links {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .pm-footer-bottom__links a,
    .pm-footer-bottom__cookie-settings {
        display: block;
        width: 100%;
        padding: 5px 0;
    }

    .pm-footer-bottom__cookie-settings {
        display: flex;
    }

    .pm-footer-bottom__notice {
        margin-top: 0;
        padding-top: 14px;
    }
}
