.mb-rich-editor .mb-rich-popup-button,.mb-product-popup-trigger,.mb-popup-options button {
    border: 1px solid #315cf5;
    background: #fff;
    color: #284acc;
    border-radius: 8px;
    font: inherit;
    cursor: pointer;
}
.mb-product-popup-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-top: 7px;
    line-height: 1.35;
    font-weight: 650;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.mb-product-popup-trigger svg {
    width: 19px;
    height: 19px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mb-product-popup-trigger:hover,.mb-rich-editor .mb-rich-popup-button:hover { background: #eef3ff; }
.mb-product-popup-trigger[hidden],.mb-popup-editor-dialog [hidden] { display: none !important; }
.mb-popup-editor-dialog { width: min(600px,93vw); }
.mb-popup-editor-fields { display: grid; gap: 10px; }
.mb-popup-editor-fields fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.mb-popup-options,.mb-popup-config-actions,.mb-popup-library-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mb-popup-options button { padding: 7px 10px; }
.mb-popup-options button[aria-pressed=true] { background: #edf2ff; font-weight: 650; }
.mb-popup-editor-fields .mb-menu-icon-field { margin-top: 4px; }
.mb-popup-library-row { padding: 7px 10px; background: #f4f7fc; border-radius: 8px; justify-content: space-between; overflow-wrap: anywhere; }
.mb-popup-library-row > span { min-width: 0; }
.mb-popup-config-actions { margin-top: 12px; }
.mb-popup-editor-fields p { margin: 0; }
.mb-popup-error:not(:empty) { color: #ae213f; }
.mb-product-popup-dialog {
    box-sizing: border-box;
    width: min(900px,94vw);
    max-width: 94vw;
    max-height: min(92vh,92dvh);
    padding: 16px;
    border: 1px solid #d4def4;
    border-radius: 14px;
    background: #fff;
    color: #101d35;
    overflow: auto;
    margin: auto;
}
.mb-product-popup-dialog::backdrop { background: #101d35ad; }
.mb-product-popup-dialog header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
}
.mb-product-popup-dialog h2 { margin: 0; font: 700 1.2rem/1.3 system-ui,sans-serif; overflow-wrap: anywhere; }
.mb-product-popup-close {
    border: 0;
    border-radius: 8px;
    background: #eef3ff;
    color: #101d35;
    font: 1.3rem/1 system-ui,sans-serif;
    width: 36px;
    height: 36px;
    cursor: pointer;
    flex: none;
}
.mb-product-popup-body { text-align: center; }
.mb-product-popup-body img { display: block; max-width: 100%; max-height: min(76vh,76dvh); margin-inline: auto; object-fit: contain; }
.mb-product-popup-video { width: min(450px,94vw); }
.mb-product-popup-video iframe {
    display: block;
    border: 0;
    width: min(100%,330px);
    aspect-ratio: 9/16;
    max-height: min(70vh,70dvh);
    margin: 0 auto;
    border-radius: 10px;
    background: #101d35;
}
