.cookie-consent[hidden], .cookie-settings[hidden] { display: none !important; }
.cookie-consent, .cookie-settings { box-sizing: border-box; font: 400 14px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #262126; }
.cookie-consent {
    position: fixed; inset: auto 20px 20px; z-index: 10000;
    max-width: 1120px; margin: 0 auto; padding: 26px 30px;
    font-size: 15px;
    display: flex; align-items: center; gap: 24px;
    background: #fff; border: 1px solid #eadce2; border-radius: 12px;
    box-shadow: 0 8px 32px rgb(55 20 35 / 12%);
    -webkit-font-smoothing: antialiased;
    animation: cookie-consent-appear 600ms ease-out 500ms both;
}
.cookie-consent .cookie-consent__copy { min-width: 0; }
.cookie-consent h2 { margin: 0 0 6px; padding: 0; border: 0; font: 600 18px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #262126; }
.cookie-consent p { margin: 0; font: inherit; color: #514951; }
.cookie-consent a {
    font: inherit; letter-spacing: inherit; color: inherit;
    text-decoration: underline; text-decoration-color: #a59ba1;
    text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.cookie-consent a:hover { color: #a9134b; text-decoration-color: currentColor; }
.cookie-consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-consent button, .cookie-settings {
    cursor: pointer; padding: 10px 16px; border: 1px solid #bb1553;
    border-radius: 6px; background: #fff; color: #a9134b; font: inherit;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.cookie-consent button { min-height: 48px; padding: 12px 20px; }
@media (hover: hover) {
    .cookie-consent button:hover, .cookie-settings:hover {
        background-color: #fce5ee; border-color: #d4145a; color: #9f1044;
    }
    .cookie-consent button[data-consent-choice="granted"]:hover {
        background-color: #e4f5e8; border-color: #78ad87; color: #285c36;
    }
}
.cookie-consent button:focus-visible, .cookie-settings:focus-visible { outline: 3px solid #272127; outline-offset: 3px; }
.cookie-settings {
    position: static; margin: 0; padding: 6px 12px;
    background: #f0e1e8; border-color: #ddc5d0;
    color: #705360; font-size: 12px; white-space: nowrap;
}
.cookie-settings--floating { position: fixed; bottom: 8px; left: 12px; z-index: 9999; }
@media (max-width: 700px) {
    .cookie-consent { inset: auto 10px 10px; padding: 22px; flex-direction: column; align-items: stretch; gap: 16px; }
    .cookie-consent__actions button { flex: 1; }
}

@keyframes cookie-consent-appear {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .cookie-consent { animation: none; }
    .cookie-consent button, .cookie-settings { transition: none; }
}
