/* ============================================================
   EDITOR GALLERY OVERLAY — Estilos del slider del paso 3
   ============================================================ */
.ed-gallery-host {
  /* Sin margin-top — el host se inserta dentro del flex column del panel
     (gap-5/md:gap-10) y hereda el ritmo vertical automáticamente.
     El padding-left lo hereda del panel padre (md:px-6 = 24px). */
}
.ed-gallery-title {
  /* Inter sans REGULAR (no bold como los headings de section) — diferenciar
     que es un texto descriptivo, no un control de section. */
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #1a1d24;
  margin: 0 0 16px;
  padding: 0;
  letter-spacing: 0;
}
.ed-gallery-track-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #EDE7DD;
}
.ed-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ed-gallery-track::-webkit-scrollbar { display: none; }
.ed-gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  background: #EDE7DD;
}
.ed-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ed-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #d9cfbe;
  color: #1a1d24;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(26,29,36,.12);
  transition: background-color .2s, border-color .2s, opacity .2s, transform .15s;
  padding: 0;
}
.ed-gallery-arrow:hover {
  background: #1a1d24;
  border-color: #1a1d24;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.ed-gallery-arrow-prev { left: 12px; }
.ed-gallery-arrow-next { right: 12px; }
.ed-gallery-arrow[aria-disabled="true"] {
  opacity: 0;
  pointer-events: none;
}
.ed-gallery-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}
.ed-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9cfbe;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.ed-gallery-dot.is-active {
  background: #1a1d24;
  transform: scale(1.2);
}
.ed-gallery-empty {
  padding: 32px 16px;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  color: #6b6359;
  font-size: 14px;
  background: #EDE7DD;
  border-radius: 8px;
}

/* Descripción del acabado movida después de la galería: limitar a 2 líneas
   en mobile para que no ocupe demasiado espacio. En desktop sigue completo. */
.ed-finish-desc-moved {
  margin-top: 0 !important;
}
/* Descripción completa en mobile — sin line-clamp (antes 2 líneas
   quedaba cortado para descripciones más largas). */
