/* ============================================
   Esencia de Semilla - Fix responsive móvil
   Evita desbordamiento horizontal en pantallas pequeñas
   ============================================ */

/* Base: evitar scroll horizontal */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* Media: limitar ancho */
img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

/* Flex/Grid: permitir que se encojan en móvil */
@media (max-width: 767px) {
  .elementor-section,
  .elementor-container,
  .elementor-column,
  .e-con,
  .elementor-widget-wrap {
    min-width: 0;
    max-width: 100%;
  }

  .elementor-element-populated {
    overflow-x: hidden;
  }
}

/* Tablas: scroll horizontal si hace falta */
table {
  max-width: 100%;
}

@media (max-width: 767px) {
  .elementor-widget-table table,
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Texto largo (URLs, emails) */
a, p, span, td, th, label, .elementor-heading-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Pre y código */
pre, code {
  max-width: 100%;
  overflow-x: auto;
}

/* Formularios */
input, textarea, select, .elementor-field-textual {
  max-width: 100%;
  box-sizing: border-box;
}
