.cookie-consent[hidden] { display: none; }

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.42);
}

.cookie-consent__content {
    width: min(760px, 100%);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    color: #243447;
}

.cookie-consent h2 { margin: 0 0 .65rem; color: #243447; font-size: 1.35rem; }
.cookie-consent p { margin: 0 0 .75rem; line-height: 1.55; }
.cookie-consent__links a { color: #ef6c00; font-weight: 600; }
.cookie-consent__settings { display: none; gap: .75rem; margin: 1rem 0; }
.cookie-consent.is-settings .cookie-consent__settings { display: grid; }
.cookie-consent__settings label { display: flex; align-items: center; gap: .5rem; }
.cookie-consent__settings small { color: #64748b; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.cookie-btn { padding: .75rem 1rem; border: 1px solid #ef6c00; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; }
.cookie-btn--primary { background: #ef6c00; color: #fff; }
.cookie-btn--secondary { background: #fff; color: #d65a10; }
.cookie-save { display: none; }
.cookie-consent.is-settings .cookie-save { display: inline-flex; }
.cookie-consent.is-settings [data-consent="accept"],
.cookie-consent.is-settings .cookie-settings-toggle { display: none; }

.cookie-manage {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 9998;
    padding: .55rem .8rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .14);
    cursor: pointer;
    font: 600 .75rem Montserrat, sans-serif;
}

.footer-legal-links { margin-top: .75rem; color: #aaa; font-size: .8rem; line-height: 1.7; }
.footer-legal-links a { color: #ccc; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
    .cookie-consent { padding: .6rem; }
    .cookie-consent__content { padding: 1.1rem; border-radius: 14px; }
    .cookie-consent__actions { display: grid; grid-template-columns: 1fr; }
    .cookie-btn { justify-content: center; width: 100%; }
    .cookie-manage { right: .6rem; bottom: .6rem; }
}
