.footer-legal-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
}

.footer-legal-docs a {
    color: inherit;
    opacity: .72;
    text-decoration: none;
}

.footer-legal-docs a:hover {
    opacity: 1;
    text-decoration: underline;
}

.legal-consents {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0;
}

.legal-consent {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #555;
    font-size: 12px;
    line-height: 1.42;
}

.legal-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #aeb4bb;
    border-radius: 2px;
    background: #fff;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    opacity: 1 !important;
    position: static !important;
}

.legal-consent input[type="checkbox"].error {
    outline: 1px solid #c9302c;
    outline-offset: 1px;
}

.legal-consent label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

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

.legal-consent .errorreports,
.legal-consent .errorreport {
    width: 100%;
    color: #c9302c;
    font-size: 11px;
    line-height: 1.3;
}

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

.legal-consents--subscribe {
    margin: 11px 0 0;
}

.subscribe-footer-form .subscribe__fieldset {
    flex-direction: column;
    align-items: stretch;
}

.subscribe-footer-form .legal-consents--subscribe {
    width: 100%;
    max-width: 640px;
}

.subscribe-footer-form .legal-consent {
    color: rgba(255,255,255,.82);
}

.legal-consents--popup {
    margin: 12px 0 14px;
}

.legal-consents--order {
    margin: 16px 0;
}

.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);
    padding: 24px 28px;
    transform: translateX(-50%);
    box-sizing: border-box;
    border: 1px solid #d9dde2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(0,0,0,.16);
    color: #34383d;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.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__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;
    box-sizing: border-box;
    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--secondary { background: #f7f8f9; }

.site-cookie-button--primary {
    border-color: #222;
    background: #222;
    color: #fff;
}

.site-cookie-button--primary:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

.legal-page {
    padding-top: 48px;
    padding-bottom: 72px;
    color: #262a2e;
}

.legal-page__head {
    max-width: 920px;
    margin-bottom: 42px;
}

.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;
    font-size: clamp(30px,4vw,48px);
    line-height: 1.08;
    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;
    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 {
    color: #4f555b;
    font-size: 15px;
    line-height: 1.7;
}

.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; }

@media (max-width: 767px) {
    .footer-legal-docs {
        flex-direction: column;
        gap: 8px;
        margin-top: 24px;
        padding-top: 18px;
    }
    .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: 30px; padding-bottom: 48px; }
    .legal-page__head { margin-bottom: 28px; }
    .legal-page__head > p:last-child { font-size: 15px; }
    .legal-page__content section { padding: 22px 0; }
    .legal-page__content h2 { font-size: 21px; }
    .legal-consents--subscribe { margin-top: 14px; }
}
