.slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 16px;
  position: relative;
}
.main-image {
  flex: 3;
  aspect-ratio: 3 / 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#main-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;

  position: relative;
  z-index: 2;
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
}
.thumbnails {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  z-index: 1;
}
.thumbnails img {
  width: 150%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
  border-radius: 6px;
  transform: scale(1.5);
  transform-origin: center;
}
.thumbnails img:hover {
  opacity: 1;
}
.dots-container {
  text-align: center;
  margin-top: 16px;
}
.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.dot.active {
  background-color: #717171;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  user-select: none;
}
.arrow:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
.arrow-left {
  left: 12px;
}
.arrow-right {
  right: 12px;
}


/* Ukrywanie miniaturek i rozszerzanie zdjęcia głównego na mobile */
@media (max-width: 768px) {
  .hide-thumbs-mobile .thumbnails {
    display: none !important;
  }
  .hide-thumbs-mobile .main-image {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}


@media (max-width: 768px) {
  .hide-arrows-mobile .arrow {
    display: none !important;
  }
  .hide-dots-mobile .dots-container {
    display: none !important;
  }
}

.slider-container .main-image {
    position: relative;
}
.arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
