.cookie-notice {
    position: fixed;
    z-index: 1090;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(34rem, calc(100vw - 2.5rem));
    padding: 1.25rem;
    border: 1px solid #d5c9c1;
    border-radius: 0.75rem;
    background: #fffaf6;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.2);
    color: #3f302a;
}

.cookie-notice__content p {
    margin: 0;
    line-height: 1.5;
}

.cookie-notice__content a {
    color: #5d3527;
    font-weight: 700;
}

.cookie-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.cookie-notice__button {
    min-width: 6rem;
    padding: 0.55rem 1rem;
    border: 1px solid #4b4644;
    border-radius: 0.35rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cookie-notice__button--accept {
    background: #4b4644;
    color: #fff;
}

.cookie-notice__button--reject {
    background: transparent;
    color: #3f302a;
}

.cookie-notice__button:focus-visible,
.cookie-notice__content a:focus-visible {
    outline: 3px solid #a34a24;
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .cookie-notice {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
        padding: 1rem;
    }

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