/* Carousel item background override */
#productGalleryCarousel .carousel-inner {
	background-color: #161616 !important;
}
#productGalleryCarousel .carousel-item {
	background-color: #161616 !important;
	min-height: 320px;
	padding: 8px;
	box-sizing: border-box;
}

/* Ensure link wrapper doesn't override background */
#productGalleryCarousel .carousel-item > a {
	background-color: #161616 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 100% !important;
	width: 100% !important;
}

/* Keep inner layout centered as well */
#productGalleryCarousel .carousel-item > a > * {
	display: block;
	margin: 0 auto;
}

/* Optional: show grey around images that don't fill the slide */
#productGalleryCarousel .carousel-item img {
	max-width: 100% !important;
	max-height: 100% !important;
	width: auto !important;
	height: auto !important;
	background-color: #161616 !important;
}

.bg-light {
  --bs-bg-opacity: 0;
}

.toast-header {
  color: red;
}

@media (max-width: 768px) {
  /* Убираем задержку touch */
  select[data-radicalmart-field],
  .dropdown-menu-size,
  .size-selector {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Галерея не перехватывает клики */
  #productGalleryCarousel .carousel-indicators {
    pointer-events: none;
  }
}

