/* ============================================================================
   OLIVOTRONIC · Demo del producto · Editor visual de riego
   Réplica del look del editor real (tecnica/edit_pro.php)
   ============================================================================ */

/* ── Reset ───────────────────────────────────────────────────────── */
.demo-editor, .demo-editor * { box-sizing: border-box; }
.demo-editor {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  overflow: hidden;
}

/* Modo embebido: el editor vive dentro de una sección de página */
.demo-editor--embedded {
  position: relative;
  height: 780px;
  max-height: 80vh;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 90, 0.30);
  box-shadow:
    0 1px 0 rgba(240, 221, 164, 0.18) inset,
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(212, 175, 90, 0.18);
  margin-top: 32px;
}
.demo-editor--embedded .demo-main {
  height: calc(100% - 56px);
}

/* Paneles laterales más estrechos en embebido para dar más sitio al editor */
.demo-editor--embedded .demo-sidebar-module    { width: 150px; }
.demo-editor--embedded .demo-sidebar-components { width: 200px; }
.demo-editor--embedded .demo-inspector          { width: 240px; }

/* Compactar el catálogo de componentes para que se vea bien en 200px */
.demo-editor--embedded .demo-component-item {
  padding: 8px 9px;
  gap: 8px;
}
.demo-editor--embedded .demo-component-icon {
  width: 36px;
  height: 36px;
  padding: 3px;
}
.demo-editor--embedded .demo-component-name {
  font-size: 12px;
}
.demo-editor--embedded .demo-component-meta {
  font-size: 9px;
}
.demo-editor--embedded .demo-component-price {
  font-size: 10px;
  padding: 3px 6px;
}
.demo-editor--embedded .demo-components-list {
  padding: 8px;
}
.demo-editor--embedded .demo-component-category {
  margin-bottom: 14px;
}

/* Compactar el inspector */
.demo-editor--embedded .demo-tab-content {
  padding: 10px;
}
.demo-editor--embedded .demo-checklist,
.demo-editor--embedded .demo-inspector-body,
.demo-editor--embedded .demo-metric-card {
  padding: 10px 12px;
}
.demo-editor--embedded .demo-metric-card__value {
  font-size: 18px;
}
.demo-editor--embedded .demo-checklist__item {
  font-size: 11px;
}

/* Compactar el sidebar de módulo (queda muy fino, pero útil) */
.demo-editor--embedded .demo-module-header {
  padding: 14px 12px;
}
.demo-editor--embedded .demo-module-header h3 {
  font-size: 12px;
}
.demo-editor--embedded .demo-module-header p {
  font-size: 11px;
}
.demo-editor--embedded .demo-module-nav a {
  font-size: 12px;
  padding: 8px 10px;
}
.demo-editor--embedded .demo-module-footer {
  padding: 12px;
  font-size: 10px;
}

/* Si no es embebido (uso directo a pantalla completa, fallback) */
.demo-editor:not(.demo-editor--embedded) {
  position: fixed;
  inset: 0;
  z-index: 100;
}

/* ── Cabecera superior (azul gradiente) ──────────────────────────── */
.demo-top-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  height: 56px;
}
.demo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.demo-breadcrumb__brand {
  font-weight: 700;
  letter-spacing: 0.04em;
}
.demo-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.55);
}
.demo-breadcrumb__current {
  color: white;
  font-weight: 600;
}
.demo-breadcrumb__exit {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  transition: background 0.2s;
}
.demo-breadcrumb__exit:hover {
  background: rgba(255, 255, 255, 0.10);
}

.demo-top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.demo-btn-action {
  background: white;
  color: #0284c7;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.demo-btn-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
}
.demo-btn-action--primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

/* ── Layout principal: 4 columnas ───────────────────────────────── */
.demo-main {
  display: flex;
  height: calc(100vh - 56px);
}

/* ── Sidebar 1 · Navegación del módulo ──────────────────────────── */
.demo-sidebar-module {
  width: 240px;
  background: white;
  border-right: 2px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex-shrink: 0;
}
.demo-module-header {
  padding: 18px 16px;
  border-bottom: 2px solid #e5e7eb;
}
.demo-module-header h3 {
  font-size: 14px;
  color: #0ea5e9;
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.demo-module-header p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}
.demo-module-nav {
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-module-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.demo-module-nav a:hover {
  background: #f9fafb;
  color: #111827;
  border-color: #e5e7eb;
}
.demo-module-nav a.active {
  background: #d1fae5;
  color: #065f46;
  border-color: #10b981;
  font-weight: 700;
}
.demo-module-nav a span:first-child {
  font-size: 16px;
  flex-shrink: 0;
}
.demo-module-footer {
  margin-top: auto;
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
}
.demo-module-footer strong {
  color: #0284c7;
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

/* ── Sidebar 2 · Componentes ────────────────────────────────────── */
.demo-sidebar-components {
  width: 280px;
  background: white;
  border-right: 2px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.demo-components-header {
  padding: 14px 16px;
  border-bottom: 2px solid #e5e7eb;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
.demo-components-header h4 {
  font-size: 14px;
  color: #0369a1;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.demo-components-header p {
  font-size: 11px;
  color: #64748b;
  margin: 0;
}
.demo-components-search {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.demo-components-search input {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.demo-components-search input:focus {
  outline: none;
  border-color: #0ea5e9;
}
.demo-components-list {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
}
.demo-component-category {
  margin-bottom: 18px;
}
.demo-category-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 6px 4px 4px;
  letter-spacing: 0.05em;
}
.demo-component-item {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  cursor: grab;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.demo-component-item:hover {
  border-color: #0ea5e9;
  transform: translateX(3px);
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.12);
}
.demo-component-item:active { cursor: grabbing; }
.demo-component-item.is-selected {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #0ea5e9;
}
.demo-component-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 8px;
  padding: 4px;
}
.demo-component-icon img {
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.10));
}
.demo-component-info { flex: 1; min-width: 0; }
.demo-component-name {
  font-weight: 600;
  font-size: 13px;
  color: #1e293b;
  line-height: 1.2;
}
.demo-component-meta {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
}
.demo-component-price {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 8px;
  border-radius: 6px;
  font-feature-settings: 'tnum';
  white-space: nowrap;
  align-self: center;
}

/* ── Canvas central (mapa) ──────────────────────────────────────── */
.demo-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f1f5f9;
  position: relative;
  min-width: 0;
}
.demo-toolbar {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  border-bottom: 2px solid #e5e7eb;
  flex-wrap: wrap;
  align-items: center;
}
.demo-toolbar-group {
  display: flex;
  gap: 4px;
  padding: 4px 8px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.demo-tool-btn {
  background: transparent;
  border: 1px solid transparent;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: all 0.15s;
  font-family: inherit;
}
.demo-tool-btn:hover {
  background: white;
  border-color: #0ea5e9;
  transform: scale(1.05);
}
.demo-tool-btn.is-active {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  border-color: #0284c7;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.30);
}
#demo-map {
  flex: 1;
  width: 100%;
  background: #e2e8f0;
}

/* ── Inspector derecho ─────────────────────────────────────────── */
.demo-inspector {
  width: 320px;
  background: white;
  border-left: 2px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
}
.demo-inspector-tabs {
  display: flex;
  border-bottom: 2px solid #e5e7eb;
  background: #f8fafc;
}
.demo-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 10px;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.15s;
  font-family: inherit;
  font-weight: 600;
}
.demo-tab-btn:hover {
  color: #0284c7;
  background: white;
}
.demo-tab-btn.is-active {
  color: #0284c7;
  border-bottom-color: #0ea5e9;
  background: white;
}
.demo-tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: none;
}
.demo-tab-content.is-active {
  display: block;
}

/* Checklist de validación */
.demo-checklist {
  background: white;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  margin-bottom: 12px;
}
.demo-checklist__title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-checklist__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.demo-checklist__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12px;
  color: #475569;
  border-bottom: 1px dashed #f1f5f9;
}
.demo-checklist__item:last-child { border: none; }
.demo-checklist__item .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  background: #e2e8f0;
  color: #94a3b8;
}
.demo-checklist__item.is-done .icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}
.demo-checklist__item.is-done {
  color: #065f46;
  font-weight: 600;
}

/* Inspector body (cuando se selecciona elemento) */
.demo-inspector-body {
  background: white;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
}
.demo-inspector-empty {
  text-align: center;
  padding: 32px 16px;
  color: #94a3b8;
}
.demo-inspector-empty .icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.demo-inspector-empty p {
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

/* Métricas */
.demo-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.demo-metric-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
}
.demo-metric-card__head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.demo-metric-card__value {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}
.demo-metric-card__sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}
.demo-metric-card--cost {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: #10b981;
}
.demo-metric-card--cost .demo-metric-card__head {
  color: #047857;
}
.demo-metric-card--cost .demo-metric-card__value {
  color: #047857;
}

/* ── Capa de la parcela en el mapa ─────────────────────────────── */
.parcela-tooltip {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #0ea5e9;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.parcela-tooltip strong {
  color: #0284c7;
  display: block;
  margin-bottom: 2px;
}

/* ── Leaflet overrides ─────────────────────────────────────────── */
.demo-canvas .leaflet-control-layers {
  border: 2px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: white !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10) !important;
  font-family: inherit !important;
}
.demo-canvas .leaflet-control-layers-expanded {
  padding: 12px !important;
}
.demo-canvas .leaflet-control-layers label {
  font-size: 13px !important;
  margin-bottom: 4px !important;
}
.demo-canvas .leaflet-control-zoom a {
  background: white !important;
  color: #0284c7 !important;
  border: 1px solid #e5e7eb !important;
  font-weight: 700 !important;
}
.demo-canvas .leaflet-control-zoom a:hover {
  background: #f0f9ff !important;
}

/* ── Banner aviso "demo" ──────────────────────────────────────── */
.demo-notice {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 2px solid #fbbf24;
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 12px;
  color: #92400e;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Markers de componentes en el mapa ─────────────────────────── */
.demo-marker {
  background: transparent !important;
  border: none !important;
}
.demo-marker__inner {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.30));
  transition: filter 0.15s;
  /* width / height / transform vienen como inline desde el JS */
}
.demo-marker__inner img {
  width: 100%;
  height: 100%;
  display: block;
}
.demo-marker:hover .demo-marker__inner {
  filter: drop-shadow(0 3px 6px rgba(14, 165, 233, 0.55));
}

/* ── Modal ──────────────────────────────────────────────────────── */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: demoFadeIn 0.18s ease-out;
}
@keyframes demoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.demo-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.40);
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: demoSlideUp 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.demo-modal--wide {
  max-width: 640px;
}
@keyframes demoSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.demo-modal__head {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.demo-modal__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.demo-modal__close {
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.15s;
}
.demo-modal__close:hover {
  background: rgba(255, 255, 255, 0.20);
}
.demo-modal__body {
  padding: 20px;
  overflow-y: auto;
}

/* ── Toast ──────────────────────────────────────────────────────── */
.demo-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.20s, transform 0.20s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}
.demo-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.demo-toast--warn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ── Inspector body con tablas ────────────────────────────────── */
.demo-inspector-body table tr td:first-child {
  color: #94a3b8;
  padding: 4px 0;
}
.demo-inspector-body table tr td:last-child {
  text-align: right;
  font-weight: 600;
  padding: 4px 0;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .demo-sidebar-module { display: none; }
}
@media (max-width: 900px) {
  .demo-sidebar-components { width: 240px; }
  .demo-inspector { width: 280px; }
}

/* =====================================================================
   Página · secciones explicativas con texto + placeholder de imagen
   ===================================================================== */
.page-demo-producto .demo-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: 40px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(212, 175, 90, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(20, 36, 30, 0.55), rgba(10, 20, 16, 0.45));
  backdrop-filter: blur(12px) saturate(1.10);
  -webkit-backdrop-filter: blur(12px) saturate(1.10);
  box-shadow:
    0 1px 0 rgba(240, 221, 164, 0.10) inset,
    0 24px 64px rgba(0, 0, 0, 0.40);
}
.page-demo-producto .demo-feature--reverse {
  grid-template-columns: 1fr 1.1fr;
}
.page-demo-producto .demo-feature--reverse .demo-feature__media {
  order: 2;
}
.page-demo-producto .demo-feature--reverse .demo-feature__text {
  order: 1;
}
.page-demo-producto .demo-feature__text h3 {
  margin: 0 0 14px;
  color: var(--ot-gold-soft);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
}
.page-demo-producto .demo-feature__text p {
  margin: 0;
  color: var(--fg-primary);
  font-size: 1.05rem;
  line-height: 1.65;
}
.page-demo-producto .demo-feature__text p strong {
  color: var(--ot-gold-soft);
  font-weight: 600;
}
.page-demo-producto .demo-feature__media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 90, 0.22);
  background: rgba(0, 0, 0, 0.32);
}
.page-demo-producto .demo-feature__media img {
  width: 100%;
  height: auto;
  display: block;
}
.page-demo-producto .demo-feature__placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  aspect-ratio: 16 / 10;
  color: rgba(168, 175, 166, 0.55);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-align: center;
  padding: 24px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 10px,
    rgba(255, 255, 255, 0.04) 10px,
    rgba(255, 255, 255, 0.04) 20px
  );
}
.page-demo-producto .demo-feature__icon {
  font-size: 48px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.40));
  opacity: 0.5;
}

/* ── Hint debajo del editor ─────────────────────────────────────── */
.page-demo-producto .demo-editor__hint {
  margin: 24px auto 0;
  max-width: 680px;
  text-align: center;
  color: var(--ot-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.page-demo-producto .demo-editor__hint strong {
  color: var(--ot-gold-soft);
  font-weight: 600;
}

/* ── Modo embebido: arreglos para que se integre con la web ──── */
.page-demo-producto .demo-editor--embedded .demo-top-header {
  border-radius: 16px 16px 0 0;
}
.page-demo-producto .demo-editor--embedded {
  /* Asegura que la pildora amarilla del editor no aparezca */
}
.page-demo-producto .section--demo-editor {
  /* Un poco más estrecho para que el editor respire */
  padding-bottom: 40px;
}

@media (max-width: 900px) {
  .page-demo-producto .demo-feature,
  .page-demo-producto .demo-feature--reverse {
    grid-template-columns: 1fr;
  }
  .page-demo-producto .demo-feature--reverse .demo-feature__media {
    order: 0;
  }
  .demo-editor--embedded {
    height: 90vh;
    max-height: 90vh;
  }
}
