#cookie-notice {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 10000;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    color: #263238;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.cookie-notice__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
}

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

.cookie-notice__title {
    display: block;
    margin: 0 0 6px;
    color: #1f2933;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.cookie-notice__text {
    max-width: 920px;
    margin: 0;
    color: #52606d;
    font-size: 14px;
    line-height: 1.55;
}

.cookie-notice__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #263238;
    border-radius: 4px;
    background: #263238;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cookie-notice__button:hover {
    background: #111820;
    border-color: #111820;
}

.cookie-notice__button:focus-visible {
    outline: 3px solid rgba(38, 50, 56, 0.24);
    outline-offset: 3px;
}

.cookie-notice__button:active {
    transform: translateY(1px);
}

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

@media (max-width: 760px) {
    #cookie-notice {
        right: 12px;
        bottom: 12px;
        left: 12px;
        border-radius: 6px;
    }

    .cookie-notice__inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 17px 18px 18px;
    }

    .cookie-notice__title {
        margin-bottom: 7px;
        font-size: 15px;
    }

    .cookie-notice__text {
        font-size: 13px;
        line-height: 1.5;
    }

    .cookie-notice__button {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 380px) {
    #cookie-notice {
        right: 8px;
        bottom: 8px;
        left: 8px;
    }

    .cookie-notice__inner {
        padding: 15px;
    }
}

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