.nbc-cookie {
    position: fixed;
    box-sizing: border-box;
    z-index: 99990;
    right: 24px;
    bottom: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #fff;
    color: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, .16);
    padding: 22px 22px 20px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
}

.nbc-cookie.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.nbc-cookie__text {
    margin: 0 0 16px;
    padding-right: 14px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.nbc-cookie__link {
    color: #1B2356;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.nbc-cookie__link:hover,
.nbc-cookie__link:focus {
    color: #C49953;
}

.nbc-cookie__btn {
    display: block;
    width: 100%;
    background: #C49953;
    color: #1a1a1a;
    border: 0;
    border-radius: 8px;
    padding: 13px 18px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s ease;
}

.nbc-cookie__btn:hover {
    background: #D5B480;
}

.nbc-cookie__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #9a9a9a;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    transition: color .2s ease;
}

.nbc-cookie__close:hover {
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .nbc-cookie {
        left: 16px;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: auto;
        max-width: 400px;
        margin-inline: auto;
        padding: 18px 16px 16px;
    }
}
