/* Legal documents, consent controls and cookie notice */
.footer {
    height: auto;
    min-height: 40px;
}

.footer .footer-legal-docs {
    clear: both;
    width: calc(100% - 90px);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 22px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #4a4a4a;
    font-size: 12px;
    line-height: 1.45;
}

.footer .footer-legal-docs a,
.footer .site-cookie-settings-link {
    color: #bfc1c4 !important;
    opacity: 1;
    text-decoration: none;
    transition: color .2s ease;
}

.footer .footer-legal-docs a:hover,
.footer .site-cookie-settings-link:hover {
    color: #fff !important;
}

.footer .site-cookie-settings-link {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
}

.legal-consents {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    text-align: left;
}

.legal-consent {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #555b63;
}

.legal-consent input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #aeb5bd !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: none !important;
    opacity: 1 !important;
    float: none !important;
    position: static !important;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.legal-consent input[type="checkbox"]:checked {
    border-color: #4b5056 !important;
    background-color: #4b5056 !important;
    box-shadow: inset 0 0 0 4px #fff !important;
}

.legal-consent input[type="checkbox"]:focus {
    outline: 2px solid rgba(75, 80, 86, .18);
    outline-offset: 2px;
}

.legal-consent input[type="checkbox"].error {
    border-color: #b74040 !important;
}

.legal-consent label {
    display: block;
    margin: 0;
    color: inherit;
    cursor: pointer;
}

.legal-consent a {
    color: #444a50;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-consent .errorreport {
    display: block;
    grid-column: 1 / -1;
    margin: 2px 0 0 28px;
    color: #a33333;
    font-size: 12px;
    line-height: 1.35;
}

.legal-consents__error {
    margin: 0 0 10px;
    color: #a33333;
    font-size: 13px;
    line-height: 1.4;
}

.pop_up.callback .legal-consents,
.pop_up.feedback .legal-consents {
    width: 100%;
    box-sizing: border-box;
    margin: 24px 0;
}

.legal-consents--order {
    box-sizing: border-box;
    margin: 10px 0 12px;
    padding: 14px 0 4px;
    border-top: 1px solid #eceff2;
    gap: 12px;
}

.site-cookie-banner[hidden] {
    display: none !important;
}

.site-cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(calc(100% - 32px), 860px);
    box-sizing: border-box;
    padding: 24px 28px;
    transform: translateX(-50%);
    border: 1px solid #d9dde2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .16);
    color: #34383d;
    font: 15px/1.55 Arial, sans-serif;
}

.site-cookie-banner__content { min-width: 0; }
.site-cookie-banner__title {
    margin: 0 0 7px;
    color: #25292d;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}
.site-cookie-banner__text { max-width: 780px; }
.site-cookie-banner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
}
.site-cookie-banner__links a {
    color: #4b5157;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-cookie-banner__links a:hover { color: #25292d; }
.site-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.site-cookie-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #c8cdd3;
    border-radius: 6px;
    background: #fff;
    color: #34383d;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.site-cookie-button:hover { border-color: #969da5; background: #f4f5f6; }
.site-cookie-button--ghost { border-color: transparent; background: transparent; color: #666d75; }
.site-cookie-button--ghost:hover { border-color: transparent; background: #f4f5f6; color: #34383d; }
.site-cookie-button--secondary { background: #f7f8f9; }
.site-cookie-button--primary { border-color: #3f4449; background: #3f4449; color: #fff; }
.site-cookie-button--primary:hover { border-color: #2e3236; background: #2e3236; color: #fff; }

.legal-page {
    padding-top: 28px;
    padding-bottom: 72px;
    color: #262a2e;
}
.legal-page__head { max-width: 920px; margin-bottom: 36px; }
.legal-page__eyebrow {
    margin: 0 0 12px;
    color: #747a81;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.legal-page__head h1 {
    margin: 0 0 18px;
    color: #25292d;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 500;
}
.legal-page__head > p:last-child {
    max-width: 760px;
    margin: 0;
    color: #666d75;
    font-size: 17px;
    line-height: 1.6;
}
.legal-page__content { max-width: 920px; }
.legal-page__content section { padding: 28px 0; border-top: 1px solid #e0e3e6; }
.legal-page__content h2 { margin: 0 0 16px; color: #2f3337; font-size: 24px; line-height: 1.3; font-weight: 500; }
.legal-page__content h3 { margin: 20px 0 8px; font-size: 17px; line-height: 1.4; font-weight: 500; }
.legal-page__content p,
.legal-page__content li { font-size: 15px; line-height: 1.7; color: #4f555b; }
.legal-page__content p { margin: 0 0 12px; }
.legal-page__content ul { margin: 0 0 12px; padding-left: 22px; }
.legal-page__content a { color: #34383d; text-decoration: underline; text-underline-offset: 2px; }
.legal-page__updated { margin-top: 22px !important; color: #7b8187 !important; font-size: 13px !important; }
.legal-page__requisites { padding: 18px 20px; background: #f7f8f9; border-radius: 6px; }

@media (max-width: 767px) {
    .footer .footer-legal-docs {
        width: 100%;
        flex-direction: column;
        gap: 8px;
        margin-top: 20px;
        padding-top: 16px;
    }
    .site-cookie-banner {
        bottom: 12px;
        gap: 16px;
        padding: 20px 16px 16px;
        font-size: 14px;
    }
    .site-cookie-banner__actions { flex-direction: column; align-items: stretch; }
    .site-cookie-button { width: 100%; }
    .legal-page { padding-top: 18px; padding-bottom: 48px; }
    .legal-page__head { margin-bottom: 28px; }
    .legal-page__head h1 { font-size: 30px; }
    .legal-page__head > p:last-child { font-size: 15px; }
    .legal-page__content section { padding: 22px 0; }
    .legal-page__content h2 { font-size: 21px; }
}

.footer .footer-legal-docs {

    max-width: 752px;
}