/* Contenedor principal de la galería */
.gallery-container-react {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

/* Imagen principal */
.main-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Controles inferiores */
.gallery-controls-bottom {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

.control-btn-react {
  background-color: #0f9e7f;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
}

.control-btn-react.active {
  background-color: #555;
}

.control-btn-react.right-align {
  margin-left: auto;
}

/* Navegación (flechas) */
.nav-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.nav {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Puntos indicadores */
.dots {
  margin-top: 10px;
}

.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dots span.active {
  background-color: #333;
}

/* Miniaturas en 3 columnas tipo mosaico */
.thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.thumbnails img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border 0.3s;
}

.thumbnails img.active,
.thumbnails img:hover {
  border: 2px solid #333;
}

/* Pantalla completa */
.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 9999;
  padding: 40px 20px;
  overflow-y: auto;
}
