/* Демо-галерея товара: несколько фото, стрелки и точки (без зависимостей) */
.product-gallery {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.product-gallery__viewport {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #111;
}

.product-gallery__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-gallery__btn:hover {
  background: #fff;
}

.product-gallery__btn--prev {
  left: 10px;
}

.product-gallery__btn--next {
  right: 10px;
}

.product-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px 16px;
  background: #fff;
}

.product-gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #ccc;
  cursor: pointer;
}

.product-gallery__dot.is-active {
  background: #1a1a1a;
}

.product-card-demo {
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding: 0 16px 32px;
}

.product-card-demo__title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.product-card-demo__desc {
  text-align: center;
  color: #555;
  margin-bottom: 1.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
