.cookie-notice {
    width: min(900px, calc(100% - 32px));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1080;
    padding: 14px;
    border: 1px solid rgba(20, 91, 59, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 55px rgba(11, 51, 35, .2), 0 3px 12px rgba(11, 51, 35, .08);
    color: #16231c;
    opacity: 0;
    transform: translate(-50%, calc(100% + 32px));
    transition: opacity .24s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
    backdrop-filter: blur(16px);
}

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

.cookie-notice.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-notice__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #e7f6ed, #d8f0e2);
    color: #238a55;
    font-size: 1.2rem;
    box-shadow: inset 0 0 0 1px rgba(35, 138, 85, .08);
}

.cookie-notice__content { min-width: 0; }

.cookie-notice__content h2 {
    margin: 0 0 3px;
    color: #163c29;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.25;
}

.cookie-notice__content p {
    margin: 0;
    color: #67766e;
    font-size: .72rem;
    line-height: 1.45;
}

.cookie-notice__accept {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid #238a55;
    border-radius: 11px;
    background: #238a55;
    color: #fff;
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(35, 138, 85, .2);
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.cookie-notice__accept:hover {
    border-color: #145b3b;
    background: #145b3b;
    transform: translateY(-1px);
}

.cookie-notice__accept:focus-visible {
    outline: 3px solid rgba(35, 138, 85, .22);
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .cookie-notice {
        width: calc(100% - 24px);
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px 12px;
        bottom: 12px;
        padding: 12px;
        border-radius: 16px;
    }

    .cookie-notice__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.05rem;
    }

    .cookie-notice__content h2 { font-size: .82rem; }
    .cookie-notice__content p { font-size: .68rem; }

    .cookie-notice__accept {
        width: 100%;
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-notice,
    .cookie-notice__accept { transition: none; }
}
