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

.mv-cookie-banner {
    position: fixed;
    z-index: 100000;
    left: 20px;
    bottom: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 420px;
    padding: 20px;
    border: 1px solid #e8dfed;
    border-radius: 18px;
    background: #fff;
    color: #36283f;
    box-shadow: 0 8px 32px rgba(55, 26, 73, .12);
    font-family: inherit;
    text-align: left;
}

.mv-cookie-banner .mv-cookie-banner__copy h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font: inherit;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
    color: #4b1676;
}

.mv-cookie-banner .mv-cookie-banner__logo {
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin: 0;
    object-fit: contain;
}

.mv-cookie-banner__title-text {
    min-width: 0;
    overflow-wrap: break-word;
}

.mv-cookie-banner .mv-cookie-banner__copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #65596c;
}

.mv-cookie-banner .mv-cookie-banner__copy a {
    color: #4b1676;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.mv-cookie-banner__actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mv-cookie-banner .mv-cookie-banner__button {
    flex: 1;
    box-sizing: border-box;
    min-height: 42px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #e1d5e9;
    border-radius: 10px;
    background: #f7f3fa;
    color: #4b1676;
    box-shadow: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.mv-cookie-banner .mv-cookie-banner__button[data-mv-cookie-choice="rejected"] {
    border-color: #eef0f0;
    background: #eef0f0;
    color: #0078d6;
}

.mv-cookie-banner .mv-cookie-banner__button[data-mv-cookie-choice="rejected"]:hover {
    border-color: #e2e6e6;
    background: #e2e6e6;
}

.mv-cookie-banner .mv-cookie-banner__button[data-mv-cookie-choice="accepted"] {
    border-color: #0078d6;
    background: #0078d6;
    color: #fff;
}

.mv-cookie-banner .mv-cookie-banner__button[data-mv-cookie-choice="accepted"]:hover {
    border-color: #006abd;
    background: #006abd;
}

.mv-cookie-banner button:focus-visible,
.mv-cookie-banner a:focus-visible {
    outline: 2px solid #4b1676;
    outline-offset: 3px;
}

/* Replace only the old visible banner and tab. Complianz logic stays untouched. */
html.mv-cookie-banner-ui #cmplz-cookiebanner-container,
html.mv-cookie-banner-ui .cmplz-cookiebanner,
html.mv-cookie-banner-ui #cmplz-manage-consent,
html.mv-cookie-banner-ui .cmplz-manage-consent {
    display: none !important;
}

@media (max-width: 767px) {
    .mv-cookie-banner {
        left: 50%;
        transform: translateX(-50%);
        bottom: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        width: calc(100% - 24px);
        padding: 16px;
        border-radius: 15px;
    }
}
