/* Ürün detay galeri: küçük resimler açıklamayı itmesin */
.product-gallery-col {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.admin-gallery-slider {
  overflow: visible;
}

.admin-gallery-slider .carousel-inner {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.admin-gallery-slider .carousel-item img.main {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.admin-gallery-slider .gallery-arrow {
  border: 0;
  z-index: 5;
  transition: .2s ease;
}

.admin-gallery-slider .gallery-arrow:hover {
  background: #111;
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.admin-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.admin-gallery-thumbs button {
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 0;
  opacity: .68;
  transition: .2s ease;
  border-radius: 9px;
  flex: 0 0 auto;
}

.admin-gallery-thumbs button.active,
.admin-gallery-thumbs button:hover {
  opacity: 1;
}

.admin-gallery-thumbs button.active img {
  border-color: #244493;
  box-shadow: 0 8px 18px rgba(36, 68, 147, .18);
}

@media (max-width: 991px) {
  .admin-gallery-thumbs {
    margin-bottom: 8px;
  }
}

@media (max-width: 575px) {
  .admin-gallery-slider .carousel-item img.main {
    height: 300px;
  }
}
