.cpx-cookie-banner {
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 604px;
    max-width: calc(100vw - 32px);
    min-height: 91px;
    max-height: calc(100dvh - 32px);
    padding: 10px 18px 10px 20px;
    overflow-y: auto;
    border-radius: 15px;
    background: var(--cpx-white-1);
    box-shadow: 0 0 6.5px rgb(0 0 0 / 40%);
}

.cpx-cookie-banner__text {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.cpx-cookie-banner__highlight {
    color: var(--cpx-green-1);
}

.cpx-cookie-banner__link,
.cpx-cookie-banner__link:visited {
    color: var(--cpx-info-blue);
    text-decoration: underline;
}

.cpx-cookie-banner__link:hover {
    text-decoration: none;
}

.cpx-cookie-banner__accept {
    flex: 0 0 188px;
}

@media (max-width: 768px) {
    .cpx-cookie-banner {
        bottom: max(10px, env(safe-area-inset-bottom));
        width: 370px;
        max-width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        padding-block: 6px;
    }

    .cpx-cookie-banner__accept {
        flex-basis: 114px;
        min-width: 0;
        min-height: 39px;
        padding: 10px 8px;
    }
}
