.cookie-panel {
    position: fixed;
    inset: auto 24px 24px auto;
    width: min(540px, calc(100% - 48px));
    max-height: calc(100dvh - 48px);
    margin: 0;
    padding: 28px;
    overflow: auto;
    border: 1px solid #78623f;
    border-radius: 16px;
    background: #18191b;
    color: #f7f4ee;
    box-shadow: 0 16px 60px #0006;
    font: 400 .9rem/1.6 'Inter', sans-serif;
}
.cookie-panel::backdrop { background: #0003; }
.cookie-panel h2 { margin: 8px 0 12px; color: #f7f4ee; font: 600 1.65rem/1.2 'Cormorant Garamond', serif; }
.cookie-panel p { margin: 10px 0; }
.cookie-panel .cookie-eyebrow { font-size: .7rem; letter-spacing: .14em; color: #dbc392; }
.cookie-policy-link { color: #dbc392; text-decoration: underline; }
.cookie-panel details { margin: 18px 0; }
.cookie-panel summary { cursor: pointer; padding: 8px 0; font-weight: 600; }
.cookie-panel label { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.cookie-panel input { width: 20px; height: 20px; accent-color: #b7955d; flex-shrink: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-button { padding: 11px 14px; border: 1px solid #dbc392; border-radius: 6px; background: transparent; color: #f7f4ee; font: inherit; cursor: pointer; min-height: 44px; }
.cookie-actions .cookie-button { flex: 1 1 180px; }
.cookie-button:hover { background: #b7955d26; }
.cookie-panel :focus-visible, .cookie-footer-button:focus-visible { outline: 2px solid #dbc392; outline-offset: 4px; }
.cookie-footer-button { padding: 0; border: 0; color: inherit; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-panel [hidden], .cookie-footer-button[hidden] { display: none; }
@media (max-width: 600px) {
    .cookie-panel { inset: auto 12px 12px; width: calc(100% - 24px); padding: 20px; max-height: calc(100dvh - 24px); }
    .cookie-panel h2 { font-size: 1.5rem; }
}
