.productContacts {
  display: flex;
  gap: 5px;
}

.productContacts > a {
  width: 50%;
  margin: 0;
}

.productContacts .ModalChat.btn {
  display: flex;
  justify-content: center;
  color: black;
}

.productContacts .ModalChat.btn svg {
  display: none;
}

body .glyphicon-remove:before {
  color: red;
}
body.dark .glyphicon-remove:before {
  color: #fff;
}
body.dark .productContacts .ModalChat.btn {
  color: #fff;
}


.gallery_container {
  position: relative;
  width: 100%;
  height: 300px;
  background: #f5f5f5;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

/* Стили для слайдера */
.slick-slider {
  width: 100%;
  max-height: 350px;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.slick-slider .slick-prev{
  left: 0px;
  z-index: 10;
}
.slick-slider .slick-next{
  right: 0px;
  z-index: 10;
}

.slick-slider .slick-next, .slick-slider .slick-prev{
  width: 30px;
  height: 30px;
}
.slick-slider .slick-next::before, .slick-slider .slick-prev::before{
  font-size: 30px;
}

/* Стили для LightGallery */
.lg-backdrop {
  background-color: #000 !important;
}

.lg-outer .lg-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-outer .lg-img-wrap img {
  min-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Стили для Swiper */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.swiper-slide a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.swiper-pagination-bullet {
  display: none !important;
}

.custom-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 10;
}

.custom-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-pagination-bullet.active {
  background: #fff;
}

.slide-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  z-index: 10;
}

