.cookie-consent-bar {
    position: fixed;
    z-index: 12000;
    inset: auto 0 0;
    box-sizing: border-box;
    width: 100%;
    min-height: 78px;
    padding: 13px max(24px, calc((100vw - 1160px) / 2));
    display: grid;
    grid-template-columns: minmax(195px, .8fr) minmax(270px, 1.5fr) minmax(260px, 1fr);
    align-items: center;
    gap: 8px 25px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-radius: 0;
    background: rgba(41, 35, 50, .98);
    color: #fff;
    box-shadow: 0 -10px 32px rgba(29, 20, 36, .18);
    backdrop-filter: blur(14px);
    font-family: inherit;
    line-height: 1.45;
}

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

.cookie-consent-title {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -.01em;
}

.cookie-consent-copy {
    margin: 0;
    padding-right: 18px;
    color: #e1d9e5;
    font-size: 11px;
    line-height: 1.5;
}

.cookie-consent-copy a {
    color: #f5bdd1;
    font-weight: 700;
    text-underline-offset: 3px;
}

.cookie-consent-close {
    position: absolute;
    top: 50%;
    right: 12px;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #eee5f0;
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.cookie-consent-close:hover { background: #ffffff18; }

.cookie-consent-close:focus-visible,
.cookie-consent-button:focus-visible,
.site-cookie-settings:focus-visible,
.cookie-policy-settings:focus-visible {
    outline: 3px solid #f5bdd1;
    outline-offset: 3px;
}

.cookie-consent-actions {
    display: flex;
    gap: 9px;
    margin: 0;
    padding-right: 27px;
}

.cookie-consent-actions form { flex: 1; min-width: 0; }

.cookie-consent-button {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.cookie-consent-button:hover { transform: translateY(-1px); }
.cookie-consent-button.secondary { background: #eee8f0; color: #45384b; }
.cookie-consent-button.secondary:hover { background: #fff; }
.cookie-consent-button.primary { background: #e6bb3d; color: #292334; }
.cookie-consent-button.primary:hover { background: #f0ce68; }

.site-cookie-settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #e4d7df;
    border-radius: 999px;
    background: #fff;
    color: #75425d;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.site-cookie-settings:hover { border-color: #d7bdca; background: #f8f1f5; color: #63324d; }

.site-footer .site-cookie-settings { min-height: 30px; font-size: 11px; }
.landing-footer-bottom .site-cookie-settings { font-size: 10px; }

.cookie-policy-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rose);
    font: inherit;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

body:has(.cookie-consent-bar:not([hidden])) { padding-bottom: 84px; }

@media (max-width: 900px) {
    .cookie-consent-bar {
        min-height: 92px;
        padding: 12px 24px;
        grid-template-columns: minmax(0, 1fr) minmax(240px, .85fr);
        gap: 6px 20px;
    }

    .cookie-consent-title { grid-column: 1; grid-row: 1; }
    .cookie-consent-copy { grid-column: 1; grid-row: 2; }
    .cookie-consent-actions { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 600px) {
    body:has(.cookie-consent-bar:not([hidden])) { padding-bottom: 145px; }

    .cookie-consent-bar {
        min-height: 0;
        padding: 13px 16px 12px;
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .cookie-consent-title { grid-column: 1; grid-row: 1; padding-right: 28px; font-size: 12px; }
    .cookie-consent-copy { grid-column: 1; grid-row: 2; padding-right: 0; font-size: 10px; }
    .cookie-consent-actions { grid-column: 1; grid-row: 3; gap: 8px; margin-top: 4px; padding-right: 28px; }
    .cookie-consent-button { min-height: 36px; padding: 7px 10px; font-size: 11px; }
    .cookie-consent-close { top: 11px; right: 10px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent-button, .site-cookie-settings { transition: none; }
}
