.mb-fb-cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: var(--mbfb-popup-width, 350px);
    height: var(--mbfb-popup-height, 280px);
    background: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: none;
    overflow: hidden;
}

.mb-fb-popup-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.mb-fb-popup-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 2;
}

.mb-fb-custom-html {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.mb-fb-close-popup {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: none;
    z-index: 3;
    align-items: center;
    justify-content: center;
}

@media (max-width: 420px) {
    .mb-fb-cookie-popup {
        width: min(350px, calc(100vw - 20px));
        height: auto;
        aspect-ratio: 350 / 280;
    }
}
