/* Стили для страниц товаров */
.thumbnail-slider {
  margin-top: 15px;
  padding: 10px 0;
}

.thumbnail-slider .swiper-wrapper {
  align-items: center;
}

.thumbnail-image {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail-image:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.swiper-slide-thumb-active .thumbnail-image {
  opacity: 1;
  border-color: #007bff;
}

.main-product-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 400px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.portfolio-details-slider {
  border-radius: 8px;
  overflow: hidden;
}

.portfolio-details-slider .swiper-pagination {
  position: relative;
  margin-top: 15px;
}

.whatsapp-btn-container {
  text-align: center;
  padding: 15px 0;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.whatsapp-btn:hover {
  background: #128C7E;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .image-container {
    min-height: 300px;
    padding: 10px;
  }

  .main-product-image {
    max-height: 300px;
  }

  .thumbnail-image {
    width: 60px;
    height: 45px;
  }

  .thumbnail-slider .swiper-slide {
    width: auto !important;
  }
}

/* Галерея */
.portfolio-details-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumbnail-slider .swiper-slide {
  width: auto !important;
}
