@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#image-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms linear;
}
#image-popup.-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#image-popup.-visible .image img.-zoom-available:not(.-zoomed) {
  visibility: visible;
}
#image-popup .image {
  width: 99%;
  max-width: 90%;
  max-height: 95vh;
}
@media (min-width: 992px) {
  #image-popup .image {
    max-width: 60rem;
  }
}
#image-popup .image.-custom::after {
  padding-bottom: var(--product-image-height);
}
#image-popup .image.-loading::before {
  content: "";
  width: 4rem;
  height: 4rem;
  border: 0.4rem solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#image-popup .image img {
  transition: transform 0.3s ease-in-out;
}
@media (min-width: 992px) {
  #image-popup .image img {
    object-fit: contain;
  }
}
#image-popup .image img.-visible-image {
  cursor: default;
}
#image-popup .image img.-zoom-available:not(.-zoomed) {
  cursor: zoom-in;
  visibility: hidden;
}
#image-popup .image img.-zoomed {
  cursor: zoom-out;
}
#image-popup .close-button {
  position: absolute;
  right: 1rem;
  top: 6rem;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--gray-3);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.6rem;
  height: 3.6rem;
}
@media (min-width: 992px) {
  #image-popup .close-button {
    right: 6rem;
  }
}
#image-popup .close-button::after, #image-popup .close-button::before {
  content: " ";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1.6rem;
  width: 0.2rem;
  background-color: var(--gray-4);
  transition: var(--transition);
}
#image-popup .close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#image-popup .close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
#image-popup .close-button:hover::before {
  transform: translate(-50%, -50%) rotate(90deg);
}
#image-popup .close-button:hover::after {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.carousel {
  position: relative;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 768px) {
  .carousel {
    padding-left: 5%;
    padding-right: 5%;
  }
}
.carousel > .header,
.carousel > .content .swiper {
  position: relative;
  padding-left: 5%;
  padding-right: 5%;
}
@media (min-width: 768px) {
  .carousel > .header,
  .carousel > .content .swiper {
    padding-left: 0;
    padding-right: 0;
  }
}
.carousel > .header {
  text-align: center;
  margin-bottom: 3.2rem;
}
.carousel > .title,
.carousel > .header .title {
  font-size: var(--font-size-title, var(--font-size-title-small));
  color: var(--title-color, var(--font-color-title));
  text-align: center;
}
.carousel > .title {
  margin-bottom: 3.2rem;
}
.carousel > .content {
  position: relative;
}
.carousel > .content .swiper:not(.swiper-initialized) ~ button[class^=swiper-button-] {
  display: none;
}
.carousel > .content .swiper-slide {
  height: auto;
}
.carousel > .content .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) .product-block:not(.sold-out) {
  transition: var(--transition);
  opacity: 0.4;
}
@media (min-width: 768px) {
  .carousel > .content .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) .product-block:not(.sold-out) {
    opacity: 1;
  }
}
.carousel > .content .product-block {
  height: 100%;
}
.carousel > .content .description {
  margin-bottom: auto;
}
.carousel > .content .swiper-button-prev,
.carousel > .content .swiper-button-next {
  top: 36%;
  display: none;
}
@media (min-width: 768px) {
  .carousel > .content .swiper-button-prev,
  .carousel > .content .swiper-button-next {
    display: flex;
  }
}
.carousel > .content .swiper-button-prev {
  left: -0.5vw;
  transform: translate(-100%, -50%);
}
.carousel > .content .swiper-button-next {
  right: -0.5vw;
  transform: translate(100%, -50%);
}
.carousel > .content .swiper-pagination {
  position: static !important;
  width: 90% !important;
  margin: 3.2rem auto 0;
}
@media (min-width: 768px) {
  .carousel > .content .swiper-pagination {
    width: 100% !important;
  }
}