/* =========================================================
   Cookie Banner — template (notification style)
   Прижат к правому нижнему углу без отступов.
   ========================================================= */

.mb-cookie-banner,
.mb-cookie-banner * {
    box-sizing: border-box;
}

.mb-cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: auto;
    width: 100%;
    max-width: 380px;
    z-index: 2147483000;
    background: #ffffff;
    color: #1f2329;
    border: 1px solid #e6e7ea;
    border-radius: 12px 0 0 0;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12.5px;
    line-height: 1.4;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.32s ease, opacity 0.28s ease;
}

.mb-cookie-banner[hidden] {
    display: none;
}

.mb-cookie-banner.mb-cookie-banner--hiding {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.mb-cookie-banner__inner {
    padding: 10px 14px;
    display: block;
}

.mb-cookie-banner__inner::after {
    content: "";
    display: block;
    clear: both;
}

.mb-cookie-banner__text {
    margin: 0;
    color: #2c3138;
}

.mb-cookie-banner__link {
    color: #2c3138;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mb-cookie-banner__link:hover {
    color: #000;
}

.mb-cookie-banner__actions {
    float: right;
    margin: 0 0 2px 12px;
}

.mb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 28px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    border-radius: 5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.mb-btn:focus-visible {
    outline: 2px solid #4f7cff;
    outline-offset: 2px;
}

.mb-btn--primary {
    background: #1f2329;
    color: #fff;
    border-color: #1f2329;
}

.mb-btn--primary:hover {
    background: #000;
    border-color: #000;
}

@media (max-width: 480px) {
    .mb-cookie-banner {
        max-width: none;
        border-radius: 12px 12px 0 0;
    }
    .mb-cookie-banner__inner {
        padding: 10px 12px;
    }
    .mb-cookie-banner__text {
        font-size: 12px;
    }
    .mb-cookie-banner__actions {
        margin: 0 0 2px 10px;
    }
    .mb-cookie-banner__actions .mb-btn {
        min-width: 76px;
        height: 28px;
    }
}
