.cc-home-slider {
  --cc-slider-ratio: 1920 / 500;
  position: relative;
  width: 100vw;
  margin: 0 0 24px calc(50% - 50vw);
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: var(--cc-slider-ratio);
}

.cc-home-slider__track,
.cc-home-slider__slide,
.cc-home-slider__link,
.cc-home-slider picture,
.cc-home-slider img {
  width: 100%;
  height: 100%;
}

.cc-home-slider__track {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-home-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease;
}

.cc-home-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.cc-home-slider__link {
  display: block;
}

.cc-home-slider img {
  display: block;
  object-fit: cover;
}

.cc-home-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.cc-home-slider__nav:hover,
.cc-home-slider__nav:focus-visible {
  background: rgba(0, 0, 0, 0.56);
}

.cc-home-slider__nav--prev {
  left: 18px;
}

.cc-home-slider__nav--next {
  right: 18px;
}

.cc-home-slider__nav::before {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.cc-home-slider__nav--prev::before {
  content: "\2039";
}

.cc-home-slider__nav--next::before {
  content: "\203A";
}

.cc-home-slider__dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 2;
  display: flex;
  gap: 9px;
  justify-content: center;
}

.cc-home-slider__dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.cc-home-slider__dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.68);
  border: 2px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.cc-home-slider__dot.is-active::before {
  background: #fff;
}

body#index .btn-product-list {
  background-color: #087a95;
  border-color: #087a95;
  color: #fff;
}

body#index .product-flag.discount {
  background-color: #d00000;
  color: #fff;
}

body#index .swiper-pagination-bullet {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 2px;
  background: transparent;
  opacity: 1;
}

body#index .swiper-pagination-bullet::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #777;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

body#index .swiper-pagination-bullet-active::before {
  background: #087a95;
}

.cc-home-slider__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cc-home-slider {
    --cc-slider-ratio: 1920 / 500;
    margin-bottom: 16px;
  }

  .cc-home-slider img {
    object-fit: contain;
  }

  .cc-home-slider__nav {
    width: 34px;
    height: 34px;
  }

  .cc-home-slider__nav--prev {
    left: 8px;
  }

  .cc-home-slider__nav--next {
    right: 8px;
  }

  .cc-home-slider__dots {
    bottom: 10px;
  }
}
