/**
 * Action Area - Estilos del área de acción
 * El contenido se renderiza directamente en el wrapper sin contenedor intermedio
 */

/* Wrapper del Action Area - REGLA BASE */
.agent-v2-action-area-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: auto;
  transition: min-height 0.3s ease;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Aumentar altura del wrapper cuando tiene design-response */
.agent-v2-action-area-wrapper:has(.action-area-design-response) {
  min-height: 60vh;
  max-height: 80vh;
}

/* Ocultar wrapper SOLO si está completamente vacío (sin hijos) */
.agent-v2-action-area-wrapper:empty {
  display: none !important;
  min-height: 0;
  margin: 0;
  padding: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image wrapper - Imagen única */
.action-area-image-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.action-area-image-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
  box-sizing: border-box;
  min-height: 200px;
  max-height: 70vh;
  overflow: hidden;
}

.action-area-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  transition: transform 0.2s ease;
}

.action-area-image:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.action-area-image-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.action-area-image-container:hover .action-area-image-actions {
  opacity: 1;
}

.action-area-image-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(29, 32, 40, 0.9);
  color: var(--neon-purple);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  backdrop-filter: blur(10px);
}

.action-area-image-action-btn:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  transform: scale(1.1);
}

.action-area-caption {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  padding: 0 16px;
  max-width: 100%;
  word-wrap: break-word;
}

/* Table wrapper */
.action-area-table-wrapper {
  overflow-x: auto;
  width: 100%;
  display: block;
  visibility: visible;
  opacity: 1;
}

.action-area-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-primary);
  display: table;
  visibility: visible;
  opacity: 1;
  background: rgba(29, 32, 40, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.action-area-table thead {
  background: rgba(139, 92, 246, 0.2);
}

.action-area-table th {
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid rgba(139, 92, 246, 0.4);
  color: var(--neon-purple);
  font-weight: 600;
}

.action-area-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  color: var(--text-primary);
}

.action-area-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.1);
}

.action-area-table tbody tr:last-child td {
  border-bottom: none;
}

.action-area-table th {
  background: rgba(139, 92, 246, 0.1);
  color: var(--neon-purple);
  padding: 8px 12px;
  text-align: left;
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
  font-weight: 600;
  font-size: 13px;
}

.action-area-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.action-area-table tr:hover {
  background: rgba(139, 92, 246, 0.05);
}

/* Buttons wrapper */
.action-area-buttons-wrapper {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.action-area-button {
  padding: 10px 20px;
  border: 2px solid;
  border-radius: 12px;
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-area-button-primary {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  background: rgba(139, 92, 246, 0.1);
  padding: 12px 24px;
  font-size: 14px;
}

.action-area-button-primary:hover {
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.action-area-button-default {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
}

.action-area-button-default:hover {
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

/* Preview wrapper */
.action-area-preview-wrapper {
  text-align: center;
  width: 100%;
}

.action-area-preview-content {
  margin-bottom: 20px;
}

/* Separador "Accion area" - REMOVIDO (era nombre interno) */

.preview-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--neon-cyan);
  margin-bottom: 8px;
  margin-top: 12px;
}

.preview-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.action-area-preview-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 12px;
  border: 2px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
  margin-bottom: 12px;
  object-fit: contain;
}

/* Modo simple inline */
.action-area-inline-upload {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.action-area-inline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.action-area-inline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--neon-cyan);
  text-transform: none; /* Removido uppercase */
  letter-spacing: 0.5px;
}

.action-area-gear-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
  color: var(--neon-purple);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.action-area-gear-button:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
  transform: rotate(90deg);
}

.action-area-inline-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.action-area-inline-slot {
  margin-bottom: 20px;
}

.action-area-slot-button {
  width: 100%;
  max-width: 100%;
  min-height: 120px;
  padding: 24px;
  border: 2px dashed rgba(139, 92, 246, 0.4);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.05);
  color: var(--neon-purple);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.action-area-slot-button:hover {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.action-area-slot-button svg {
  width: 32px;
  height: 32px;
  stroke: var(--neon-purple);
}

.action-area-inline-preview {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-area-preview-item {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(139, 92, 246, 0.3);
}

.action-area-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-area-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.action-area-preview-remove:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.1);
}

.action-area-send-button {
  width: 100%;
  margin-top: 16px;
}

.action-area-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.action-area-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}

.action-area-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-magenta));
  transition: width 0.3s ease;
  width: var(--progress-width, 0%);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.action-area-error-message {
  margin-top: 12px;
  padding: 12px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 8px;
  color: #ff4444;
  font-size: 13px;
  text-align: center;
  display: none; /* Oculto por defecto, solo se muestra cuando hay error */
  min-height: 0; /* No ocupar espacio cuando está oculto */
  margin-bottom: 0; /* Sin margen inferior para no desplazar botones */
}

/* Design Response Viewer */
.action-area-design-response {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 60vh;
  max-height: 80vh;
}

.action-area-design-response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  flex-shrink: 0;
}

.action-area-design-response-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.action-area-design-response-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
  color: var(--neon-purple);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.action-area-design-response-action-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
  transform: scale(1.1);
}

.action-area-design-response-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--neon-cyan);
  text-transform: none;
  letter-spacing: 0.5px;
}

.action-area-design-response-reset {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
  color: var(--neon-purple);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.action-area-design-response-reset:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
  transform: scale(1.1);
}

.action-area-design-response-viewer {
  flex: 1;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.action-area-design-response-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
  border: 2px solid rgba(139, 92, 246, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
  /* Asegurar que la imagen no exceda el contenedor */
  min-width: 0;
  min-height: 0;
}

.action-area-design-response-image:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.action-area-design-response-error {
  color: #ff4444;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

/* Loading indicator for design response */
.action-area-design-response-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--neon-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: var(--neon-cyan);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Ajustar altura del Action Area cuando tiene design-response */
.action-area:has(.action-area-design-response) {
  min-height: 60vh;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

/* Fullscreen Modal */
.action-area-fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-area-fullscreen-modal.visible {
  opacity: 1;
}

.action-area-fullscreen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.action-area-fullscreen-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  z-index: 1;
}

.action-area-fullscreen-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.2);
  color: var(--neon-purple);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  padding: 0;
}

.action-area-fullscreen-close:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
  transform: scale(1.1);
}

.action-area-fullscreen-download {
  position: absolute;
  top: 20px;
  right: 80px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(0, 245, 255, 0.5);
  background: rgba(0, 245, 255, 0.2);
  color: var(--neon-cyan);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  padding: 0;
}

.action-area-fullscreen-download:hover {
  background: rgba(0, 245, 255, 0.3);
  border-color: rgba(0, 245, 255, 0.8);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
  transform: scale(1.1);
}

.action-area-fullscreen-image {
  max-width: 95%;
  max-height: 95%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
  border: 3px solid rgba(139, 92, 246, 0.6);
}

/* Desktop adjustments - Limitar tamaño máximo */
@media (min-width: 769px) {
  .action-area-design-response {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .action-area-design-response-viewer {
    max-height: 70vh;
  }
  
  .action-area-design-response-image {
    max-width: 800px;
    max-height: 70vh;
  }
}

/* Images Gallery */
.action-area-images-gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-area-gallery-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--neon-cyan);
  text-transform: none;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.action-area-images-container {
  display: grid;
  gap: 16px;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Grid adaptativo según cantidad de imágenes */
.action-area-images-container.single-image {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

.action-area-images-container.two-images {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.action-area-images-container.few-images {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.action-area-images-container.many-images {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.action-area-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(139, 92, 246, 0.3);
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

/* Para imágenes únicas o pocas, usar aspect ratio más flexible */
.action-area-images-container.single-image .action-area-gallery-item,
.action-area-images-container.two-images .action-area-gallery-item {
  aspect-ratio: auto;
  min-height: 300px;
  max-height: 60vh;
}

/* Para muchas imágenes, usar aspect ratio cuadrado */
.action-area-images-container.many-images .action-area-gallery-item {
  aspect-ratio: 1;
}

.action-area-gallery-item:hover {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
}

.action-area-gallery-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 200px;
}

.action-area-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
  max-width: 100%;
  max-height: 100%;
}

.action-area-gallery-image:hover {
  transform: scale(1.05);
}

.action-area-gallery-item-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.action-area-gallery-item:hover .action-area-gallery-item-actions {
  opacity: 1;
}

.action-area-gallery-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(29, 32, 40, 0.9);
  color: var(--neon-purple);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  backdrop-filter: blur(10px);
}

.action-area-gallery-action-btn:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  transform: scale(1.1);
}

.action-area-gallery-caption {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.action-area-gallery-caption-general {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 12px;
  padding: 12px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Ajustar altura del Action Area cuando tiene galería */
.agent-v2-action-area-wrapper:has(.action-area-images-gallery) {
  min-height: auto;
  max-height: none;
}

/* Desktop adjustments for gallery */
@media (min-width: 769px) {
  .action-area-images-container.few-images {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .action-area-images-container.many-images {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
  
  .action-area-images-gallery {
    max-width: 1200px;
    margin: 0 auto;
  }

  .action-area-image-container {
    max-height: 75vh;
    padding: 24px;
  }

  .action-area-images-container.single-image .action-area-gallery-item {
    max-height: 70vh;
  }

  .action-area-images-container.two-images .action-area-gallery-item {
    max-height: 65vh;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .action-area-slot-button {
    min-height: 100px;
    padding: 20px;
  }
  
  .action-area-preview-item {
    width: 80px;
    height: 80px;
  }
  
  .action-area-gear-button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .action-area-design-response {
    min-height: 50vh;
    max-height: 70vh;
  }

  .action-area-design-response-viewer {
    min-height: 300px;
    padding: 12px;
  }

  .action-area-images-container {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .action-area-images-container.single-image,
  .action-area-images-container.two-images {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .action-area-gallery-item-actions {
    opacity: 1; /* Siempre visible en móvil */
  }

  .action-area-image-container {
    min-height: 150px;
    max-height: 50vh;
    padding: 12px;
  }

  .action-area-images-container.single-image .action-area-gallery-item,
  .action-area-images-container.two-images .action-area-gallery-item {
    min-height: 200px;
    max-height: 50vh;
  }

  .action-area-image-actions {
    opacity: 1; /* Siempre visible en móvil */
  }
}
