.stern-consent-panel[hidden],
.stern-consent-panel [hidden],
.stern-consent-access[hidden] {
    display: none !important;
}

.stern-consent-panel {
    position: fixed;
    z-index: 2147483000;
    inset: auto 1rem 1rem;
    max-width: 46rem;
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    margin-inline: auto;
    padding: clamp(0.9rem, 3vw, 1.5rem);
    border: 1px solid #592720;
    background: #f7efe4;
    color: #592720;
    box-shadow: 0 0.25rem 1.25rem #59272030;
    font: 1rem/1.45 'Strada', system-ui, sans-serif;
}

#stern-consent #stern-consent-title {
    color: #592720 !important;
    margin: 0 0 0.5rem;
    font: 700 1.375rem/1.2 'Strada Bolder', 'Strada', system-ui, sans-serif;
}

.stern-consent-panel p { margin: 0 0 0.75rem; }
.stern-consent-panel a { color: inherit; text-decoration: underline; }
.stern-consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stern-consent-panel fieldset { margin: 0.75rem 0 0; }
.stern-consent-panel label { display: block; margin-bottom: 0.5rem; cursor: pointer; }
.stern-consent-panel input { accent-color: #592720; }
.stern-consent-access {
    position: fixed;
    z-index: 2147482999;
    left: 1rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    background: #f7efe4;
}

@media (min-width: 992px) {
    .stern-consent-access { bottom: 1rem; }
}

.stern-consent-button {
    display: inline-block;
    min-height: 44px;
    padding: 0.45rem 0.8rem;
    background: #f7efe4;
    color: #592720;
    border: 1px solid #592720;
    border-radius: 0.3rem;
    font: 600 0.9375rem/1.25 'Strada', system-ui, sans-serif;
    cursor: pointer;
}

.stern-consent-button:hover { background: #592720; color: #fff; }
.stern-consent-button:focus-visible,
.stern-consent-panel a:focus-visible,
.stern-consent-panel input:focus-visible {
    outline: 2px solid #592720;
    outline-offset: 3px;
}
