#cookie-consent {
    position: fixed;
    inset: auto 1rem 1rem;
    z-index: 60;
    max-width: 46rem;
    margin-inline: auto;
    padding: 1rem 1.25rem;
    border: 1px solid #647463;
    border-radius: 0.75rem;
    background: #fff;
    color: #203622;
    box-shadow: 0 0.4rem 1.5rem #0003;
    max-height: 80vh;
    overflow: auto;
}

#cookie-consent h2 {
    font-size: 1.15rem;
    font-weight: 700;
}

#cookie-consent p {
    margin-block: 0.5rem 0.75rem;
}

#cookie-consent a {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-consent-actions button {
    flex: 1 1 14rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid currentColor;
    border-radius: 0.35rem;
    font-weight: 600;
}

.cookie-consent-actions button:hover {
    background: #eef2ed;
}

#cookie-consent :focus-visible,
[data-cookie-settings]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

[data-cookie-settings][hidden] {
    display: none;
}
