@charset "UTF-8";
.pet-slider {
  max-height: calc(100vh - 102px);
  height: 100%;
  width: 100%;
  padding: 40px 0;
  overflow: hidden;
}

.hidden {
  opacity: 0;
}

.slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Основной слайдер */
.swiper {
  height: 80vh;
  width: 100%;
}

/* Каждый слайд */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-position: center;
  background-size: cover;
}

/* Контейнер для изображения с сохранением пропорций */
.image-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.image-container img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Стрелки навигации */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  color: #333;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgb(255, 255, 255);
  transform: translateY(-50%) scale(1.1);
}

.swiper-button-prev {
  left: 20px;
}

.swiper-button-next {
  right: 20px;
}

/* Пагинация (индекс) */
.swiper-pagination {
  position: relative;
  margin-top: 25px;
  bottom: 0 !important;
}

.swiper-pagination-fraction {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 500;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .swiper {
    max-height: 70vh;
  }
}
@media (max-width: 768px) {
  .swiper {
    max-height: 60vh;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    display: none;
  }
  .swiper-button-prev {
    left: 10px;
  }
  .swiper-button-next {
    right: 10px;
  }
}
@media (width < 560px) {
  .pet-slider {
    padding: 0;
  }
  .swiper {
    height: 100%;
    max-height: 100vh;
  }
  .swiper-pagination {
    display: none;
  }
}
.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: unset;
}

/*# sourceMappingURL=pet_media.css-rClpCHC.map */
