.zp-cookie {
    box-sizing: border-box;
    width: min(42rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    overflow: auto;
    padding: 1.25rem;
    background: #fff;
    color: #24271e;
    border: 1px solid #777c6d;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 2rem #0003;
    font: 1rem/1.5 system-ui, sans-serif;
}

#zp-cookie-banner {
    position: fixed;
    inset: auto 1rem 1rem auto;
    z-index: 2147483646;
}

.zp-cookie::backdrop { background: #0006; }
.zp-cookie h2 { margin: 0 0 0.5rem; font: bold 1.25rem/1.3 system-ui, sans-serif; }
.zp-cookie fieldset { margin: 0 0 1rem; padding: 0.75rem; }
.zp-cookie label { display: block; margin-block: 0.5rem; cursor: pointer; }
.zp-cookie input[type="checkbox"] { appearance: auto; width: 1rem; height: 1rem; }
.zp-cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.zp-cookie-actions button, .zp-widget-placeholder button {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    color: #28321e;
    background: #fff;
    border: 1px solid #4c5e35;
    border-radius: 0.375rem;
    font: inherit;
    cursor: pointer;
}
.zp-cookie-actions button { flex: 1 1 10rem; }
.zp-cookie-actions button:first-child { color: #fff; background: #4c5e35; }
.zp-cookie button:focus-visible, .zp-cookie input:focus-visible,
.zp-cookie-link:focus-visible, .zp-widget-placeholder button:focus-visible {
    outline: 3px solid #2472ba;
    outline-offset: 3px;
}
.zp-widget-placeholder { padding: 1rem; background: #f5f5ef; color: #24271e; }

.zp-data-consent { margin: 0.75rem 0; }
.zp-data-consent .wpcf7-list-item { margin: 0; }
.zp-data-consent input[type="checkbox"] { appearance: auto; margin: 0 0.4em 0 0; }
.zp-data-consent a { color: inherit; text-decoration: underline; }
