.cookie-notice {
    position: fixed;
    right: auto;
    bottom: 24px;
    left: 24px;
    z-index: 10000;
    width: calc(100% - 48px);
    max-width: 440px;
    padding: 0;
    background: transparent;
}

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

.cookie-notice__inner {
    position: relative;
    display: block;
    padding: 22px 24px 16px;
    color: #354c75;
    background: #fff;
    border: 1px solid rgba(53, 76, 117, 0.08);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(53, 76, 117, 0.22);
}

.cookie-notice__close {
    position: absolute;
    top: 17px;
    right: 18px;
    width: 26px;
    height: 26px;
    padding: 0;
    color: #7d8592;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cookie-notice__close:hover,
.cookie-notice__close:focus {
    color: #ff7b38;
    outline: none;
}

.cookie-notice__title {
    margin: 0 34px 12px 0;
    color: #343a40;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.cookie-notice__text {
    font-size: 15px;
    line-height: 1.48;
    color: #4b5563;
}

.cookie-notice__text a {
    color: #2e72e8;
    font-weight: 700;
    text-decoration: none;
}

.cookie-notice__text a:hover,
.cookie-notice__text a:focus {
    color: #ff7b38;
    text-decoration: underline;
}

.cookie-notice__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.cookie-notice__button {
    flex: 0 0 auto;
    min-width: 156px;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    border: 1px solid #2e72e8;
    border-radius: 4px;
    background: #2e72e8;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus,
.cookie-notice__button:active {
    border-color: #2e72e8;
    background: #2e72e8;
    outline: none;
}

@media (max-width: 767px) {
    .cookie-notice {
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
    }

    .cookie-notice__inner {
        padding: 16px;
    }

    .cookie-notice__close {
        top: 11px;
        right: 12px;
    }

    .cookie-notice__title {
        margin-right: 32px;
        font-size: 17px;
    }

    .cookie-notice__text {
        font-size: 14px;
    }

    .cookie-notice__actions {
        display: block;
    }

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