.cookie-consent[hidden] { display: none !important; }
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
    width: min(540px, calc(100% - 40px));
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #d3e5dc;
    border-radius: 16px;
    background: #fff;
    color: #263d33;
    box-shadow: 0 8px 40px #01040330;
    font-size: 15px;
    line-height: 1.6;
}
.cookie-consent h2 { margin: 0 0 12px; font-size: 23px; color: #0e6749; }
.cookie-consent a { color: #0e6749; text-decoration: underline; }
.cookie-consent summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.cookie-consent details[open] { margin-bottom: 16px; }
.cookie-option { display: flex; gap: 10px; align-items: baseline; margin-bottom: 16px; }
.cookie-option input { accent-color: #0e6749; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-button {
    flex: 1;
    border: 1px solid #0e6749;
    border-radius: 8px;
    padding: 10px 16px;
    background: #0e6749;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.cookie-button:hover { background: #094b35; }
.cookie-button:focus-visible, .cookie-consent summary:focus-visible { outline: 3px solid #138b62; outline-offset: 3px; }
.cookie-consent .cookie-note { margin: 14px 0 0; font-size: 13px; }
@media (max-width: 480px) {
    .cookie-consent { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; }
    .cookie-actions { flex-direction: column; }
}
