.cookie-consent {
    position: fixed;
    inset: auto 0 0;
    z-index: 10000;
    padding: 16px;
    color: #fff;
    background: #14130f;
    border-top: 1px solid rgba(229, 228, 226, 0.35);
    box-shadow: 0 -12px 32px rgba(20, 19, 15, 0.2);
}

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

.cookie-consent__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100%, 1280px);
    margin: 0 auto;
}

.cookie-consent__copy { max-width: 780px; }

.cookie-consent__copy h2 {
    margin: 0 0 4px;
    color: #e5e4e2;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 20px;
    line-height: 1.2;
}

.cookie-consent__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-family: var(--font-sans, Arial, sans-serif);
    font-size: 13px;
    line-height: 1.55;
}

.cookie-consent__copy a {
    color: #e5e4e2;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.cookie-consent__button {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #e5e4e2;
    border-radius: 0;
    font-family: var(--font-sans, Arial, sans-serif);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.cookie-consent__button--secondary {
    color: #fff;
    background: transparent;
}

.cookie-consent__button--primary {
    color: #14130f;
    background: #e5e4e2;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    color: #14130f;
    background: #fff;
    border-color: #fff;
}

.cookie-consent__button:focus-visible,
.cookie-consent__copy a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .cookie-consent { padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }

    .cookie-consent__content {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-consent__button {
        width: 100%;
        padding-inline: 10px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .cookie-consent:not([hidden]) { animation: cookie-consent-enter 220ms ease-out both; }

    @keyframes cookie-consent-enter {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
