/* Mini visual editor — every data-key must stay clickable after publish.
   Unique heroes may style the copy CARD, but they must not unbundle it
   with display:contents. This sheet is the safety net for all Mini skins. */

body.store-editor-on.sg-mini-store [data-key]:not(.se-is-img):not(img) {
  pointer-events: auto !important;
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  position: relative;
  z-index: 3;
}

body.store-editor-on.sg-mini-store a:has([data-key]) {
  cursor: text;
}

body.store-editor-on.sg-mini-store .ml-home-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 10px;
  pointer-events: auto !important;
  z-index: 80 !important;
  box-sizing: border-box;
}

body.store-editor-on.sg-mini-store .ml-home-hero-ctas {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 12px 16px;
  pointer-events: auto !important;
  position: relative !important;
}

body.store-editor-on.sg-mini-store .b2h-hero .ml-home-container,
body.store-editor-on.sg-mini-store .b2h-hero .ml-home-hero-grid {
  pointer-events: auto !important;
}

body.store-editor-on.sg-mini-store .b2h-hero .ml-home-hero-copy > .ml-home-hero-label,
body.store-editor-on.sg-mini-store .b2h-hero .ml-home-hero-copy > .ml-home-hero-title,
body.store-editor-on.sg-mini-store .b2h-hero .ml-home-hero-copy > .ml-home-hero-subtitle,
body.store-editor-on.sg-mini-store .b2h-hero .ml-home-hero-ctas,
body.store-editor-on.sg-mini-store .b2h-hero .ml-home-hero-ctas .ml-btn {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: 100%;
  display: revert;
  margin: 0;
}

body.store-editor-on.sg-mini-store .b2h-hero .ml-home-hero-label,
body.store-editor-on.sg-mini-store .b2h-hero .ml-home-hero-subtitle {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.store-editor-on.sg-mini-store .ml-btn [data-key],
body.store-editor-on.sg-mini-store .aq-text-link [data-key],
body.store-editor-on.sg-mini-store .ml-story [data-key],
body.store-editor-on.sg-mini-store .ml-home-story [data-key],
body.store-editor-on.sg-mini-store [data-section-id] [data-key] {
  pointer-events: auto !important;
}
