/* Ei Sales Builder - frontend layout helpers (legacy stylesheet lineage 0.3.18)
 * These rules are intentionally NOT loaded in Gutenberg.
 * The editor only persists class tokens; frontend owns the actual layout.
 */

/* Row: distribute direct saved-block children equally. */
.ei-sales-equal-width.is-layout-flex > * {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}

/* Mobile: stack the same Row into one column. */
@media (max-width: 781px) {
  .ei-sales-mobile-stack.is-layout-flex {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .ei-sales-mobile-stack.is-layout-flex > * {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}
