.gallery-thumbnails {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  position: relative;
}
#thumbs-container {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  /* Oculta a barra de rolagem visualmente */
  scrollbar-width: none; /* Firefox */
}
#thumbs-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.gallery-thumbnail-figure {
  flex: 0 0 auto;
  cursor: pointer;
  width: 96px;   /* Aumenta o tamanho da miniatura */
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumbnail-figure img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border 0.2s;
}
.gallery-thumbnail-figure.active img {
  border-color: var(--secondary, #61CE70);
}
.gallery-thumb-btn {
  flex: 0 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 0.25rem;
  background: none;
  border: none;
  box-shadow: none;
}
/* Esconde as setas se não houver overflow */
.gallery-thumbnails.hide-arrows .gallery-thumb-btn {
  display: none !important;
}

/* Estilos para a navegação da imagem principal */
.gallery-image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.2s;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav-btn:hover {
  opacity: 1;
}

.gallery-nav-left {
  left: 10px;
}

.gallery-nav-right {
  right: 10px;
}