.wh-legal-footer {
    position: relative;
    z-index: 20;
    width: 100%;
    background: #17191d;
    color: #e8eaed;
    font-family: inherit;
}

.wh-legal-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px;
}

.wh-legal-footer a,
.wh-legal-footer button {
    color: #e8eaed;
    background: none;
    border: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.wh-legal-footer a:hover,
.wh-legal-footer button:hover {
    color: #fff;
    text-decoration: underline;
}

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

.wh-cookie-banner {
    position: fixed;
    z-index: 999999;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 980px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
    background: #fff;
    color: #202327;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
    font-family: inherit;
}

.wh-cookie-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.wh-cookie-text {
    flex: 1 1 auto;
}

.wh-cookie-text strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.wh-cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.wh-cookie-text a {
    color: #176fae;
    text-decoration: underline;
}

.wh-cookie-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.wh-cookie-actions button,
.wh-third-party-placeholder button {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    white-space: normal;
}

.wh-cookie-primary {
    border: 1px solid #2292ed;
    background: #2292ed;
    color: #fff;
}

.wh-cookie-secondary,
.wh-third-party-placeholder button {
    border: 1px solid #7a828c;
    background: transparent;
    color: #25292e;
}

.elementor-field-group-wh-pd-consent,
.comment-form-wh-pd-consent,
.comment-form-wh-distribution-consent {
    width: 100% !important;
    flex: 0 0 100% !important;
    margin: 12px 0 !important;
    text-align: left;
}

.wh-pd-consent-label,
.comment-form-wh-pd-consent label,
.comment-form-wh-distribution-consent label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.wh-pd-consent-label input,
.comment-form-wh-pd-consent input,
.comment-form-wh-distribution-consent input {
    flex: 0 0 auto;
    width: 17px !important;
    height: 17px !important;
    min-height: 0 !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
}

.wh-pd-consent-label a,
.comment-form-wh-pd-consent a,
.comment-form-wh-distribution-consent a,
.wh-pd-consent-label a:hover,
.comment-form-wh-pd-consent a:hover,
.comment-form-wh-distribution-consent a:hover {
    color: inherit !important;
    text-decoration: underline;
}

.wh-third-party-placeholder {
    margin: 12px 0;
    padding: 20px;
    border: 1px solid #dce0e5;
    border-radius: 8px;
    background: #f7f8fa;
    color: #34383e;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.wh-third-party-placeholder p {
    margin: 0 0 12px;
}

.wh-legal-document {
    max-width: 920px;
    margin: 0 auto;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.65;
}

.wh-legal-document h2 {
    margin: 1.6em 0 .6em;
    font-family: inherit;
    font-size: 24px;
    line-height: 1.3;
}

.wh-legal-document p,
.wh-legal-document li {
    font-family: inherit;
}

.wh-legal-document a {
    color: #176fae !important;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.wh-requisites-table {
    overflow-x: auto;
    margin: 24px 0;
}

.wh-requisites-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
    font-size: 15px;
}

.wh-requisites-table th,
.wh-requisites-table td {
    padding: 13px 15px;
    border: 1px solid #dfe3e7;
    vertical-align: top;
    text-align: left;
    font-family: inherit;
    overflow-wrap: anywhere;
}

.wh-requisites-table th {
    width: 32%;
    background: #f6f7f8;
    font-weight: 600;
}

@media (max-width: 760px) {
    .wh-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        padding: 18px;
    }

    .wh-cookie-content {
        display: block;
    }

    .wh-cookie-actions {
        margin-top: 16px;
    }

    .wh-cookie-actions button {
        flex: 1 1 180px;
    }

    .wh-legal-footer-inner {
        gap: 10px 18px;
        padding: 18px;
    }

    .wh-legal-document {
        font-size: 15px;
    }

    .wh-legal-document h2 {
        font-size: 21px;
    }

    .wh-requisites-table th,
    .wh-requisites-table td {
        display: block;
        width: auto;
    }

    .wh-requisites-table th {
        border-bottom: 0;
    }
}
