/*
  */
#mmm-widget-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
    z-index: 9999;
}
#mmm-widget-backdrop {
    width: 100%;
    height: 100%;
    background-color: rgba(80,80,80,0.4);
}
#mmm-widget-frame {
    position: absolute;
    max-width: 550px;
    min-height: 85vh;
    max-height: 95vh;
    width: calc(80vw - 20%);
    overflow: hidden;
    display: none;
    border: none;
    background-color: white;
}
#mmm-widget-container.mmm-active,
#mmm-widget-container.mmm-active #mmm-widget-frame {
    display: flex;
    align-items: center;
    justify-content: center;
}
[data-mmm-action]:not([mmm-identified]),
[data-mmm-vto]:not([mmm-identified]),
[data-mmm-preview]:not([mmm-identified]) {
    display: none;
}

[data-mmm-preview] {
  display: flex;
  align-items: center;
}
[data-mmm-preview] button.mmm-preview-item {
    all: unset;
    cursor: pointer;
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    margin-inline-start: 0.4em;
    box-shadow: inset 0 0 0.35em rgba(240, 240, 240, 0.7);
}
[data-mmm-preview] button.mmm-preview-item, .mmm-preview-multi {
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 2px;
    justify-content: center;
    align-items: center;
}
[data-mmm-preview] span.mmm-dots {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: rgb(67, 67, 67);
}

.mmm-preview-wrap {
    position: relative !important;
    display: inline-block;
}

.mmm-bubble {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    z-index: 5;

    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px 14px;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}

.mmm-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}

.mmm-bubble.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}


[data-mmm-preview][data-mmm-preview-hidden] {
    display: none !important;/**/
}

@media (max-width: 700px) {
    #mmm-widget-frame {
        width: 80vw;
    }
}

@media (max-width: 480px) {
    #mmm-widget-frame {
        max-width: 100vw;
        width: 100vw;
        width: 100dvw;
        height: 100vh;
        height: 100dvh;
    }
}
