.cookie-notice {
    position: fixed;
    left: var(--content-padding, 4rem);
    right: var(--content-padding, 4rem);
    bottom: 2.4rem;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 3.2rem;
    max-width: 60rem;
    padding: 2.4rem 3.2rem;
    color: #ffffff;
    background: rgba(41, 41, 51, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.4rem;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(1.2rem);
}

.cookie-notice.is-visible {
    display: flex;
}

.cookie-notice__text {
    flex: 1 1 auto;
    max-width: 60rem;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 130%;
    color: rgba(255, 255, 255, 0.72);
}

.cookie-notice__button {
    flex: 0 0 auto;
    min-width: 13.6rem;
    min-height: 4.6rem;
    padding: 1.2rem 2.4rem;
    font: inherit;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 130%;
    color: #ffffff;
    text-transform: lowercase;
    background: var(--primary-color, #e63327);
    border: 1px solid var(--primary-color, #e63327);
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus-visible {
    background: #c9281f;
    border-color: #c9281f;
}

.cookie-notice__button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .cookie-notice {
        left: var(--content-padding, 2rem);
        right: var(--content-padding, 2rem);
        bottom: 1.6rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1.6rem;
        padding: 2rem;
    }

    .cookie-notice__text {
        max-width: none;
    }

    .cookie-notice__button {
        width: 100%;
    }
}
