.cookie-notice {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-sizing: border-box;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px;
    border: 1px solid #dfe5e1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(32, 33, 36, 0.16);
    color: #202124;
    font-size: 15px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-notice.is-visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.cookie-notice.is-hidden {
    opacity: 0;
    transform: translateY(12px);
}

.cookie-notice-dark {
    border-color: #2d3f32;
    background: #202d23;
    color: #f7f8f6;
}

.cookie-notice-bottom_left,
.cookie-notice-bottom_right {
    right: auto;
    width: 520px;
    max-width: calc(100% - 48px);
    margin: 0;
    align-items: flex-start;
    flex-direction: column;
}

.cookie-notice-bottom_right {
    left: auto;
    right: 24px;
}

.cookie-notice-text {
    min-width: 0;
}

.cookie-notice-link {
    display: inline-block;
    margin-left: 8px;
    color: #3f6f45;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notice-dark .cookie-notice-link {
    color: #d7b56a;
}

.cookie-notice-button {
    flex: 0 0 auto;
    min-width: 92px;
    border: 0;
    border-radius: 6px;
    background: #3f6f45;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    padding: 12px 18px;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.cookie-notice-button:hover,
.cookie-notice-button:focus {
    background: #24452a;
    outline: none;
    transform: translateY(-1px);
}

.cookie-notice-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(63, 111, 69, 0.24);
}

@media (max-width: 680px) {
    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        width: auto;
        padding: 16px;
        font-size: 14px;
    }

    .cookie-notice-bottom_left,
    .cookie-notice-bottom_right {
        width: auto;
    }

    .cookie-notice-button {
        width: 100%;
    }
}
