/**
 * h4s-editor.css
 * Custom overrides for the Lumise designer editor.
 * Loaded via editor-footer hook in php_connector.php.
 */

/* ── Add to Cart button — fix text hidden on iPhone ──────────────
   Lumise renders the button as a flex row; on iOS the <span> text
   can collapse to zero-width when the browser treats its flex-basis
   as 'content' and clips overflow. Force it visible at all sizes.   */
#lumise-cart-action {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#lumise-cart-action span {
    display: inline !important;
    -webkit-flex: 0 1 auto;
    flex: 0 1 auto;
    overflow: visible;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    clip: auto !important;
}

#lumise-cart-action i {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    line-height: 1;
}
