/* ==========================================
Simple slider
========================================== */

.simple-slider {
  position: relative;
  z-index: 100;
  overflow: hidden;
}

.simple-slider .simple-slider-inner {
  position: absolute;
  left: 0;
  z-index: 150;
  display: flex;
  gap: 4rem;
  width: max-content;
  height: 100%;
}

.simple-slider .simple-slider-inner[data-mode="swipe"],
.simple-slider .simple-slider-inner[data-mode="single"] {
  cursor: grab;
}

.simple-slider .simple-slider-inner img {
  width: auto;
  z-index: 175;
}

.simple-slider .simple-slider-button {
  position: absolute;
  z-index: 200;
  width: 4rem;
  height: 100%;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
}

.simple-slider .simple-slider-button.simple-slider-prev {
  background-image: url("../images/slider-left-arrow.svg");
}

.simple-slider .simple-slider-button.simple-slider-next {
  right: 0;
  background-image: url("../images/slider-right-arrow.svg");
}

.simple-slider .simple-slider-button[disabled] {
  display: none;
}

.simple-slider .simple-slider-full-back,
.simple-slider .simple-slider-full-cont {
  display: none;
}

.simple-slider .simple-slider-full-back.active {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.5;
}

.simple-slider .simple-slider-full-cont.active {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: block;
  width: 100%;
  height: 100%;
}

.simple-slider .simple-slider-full-cont img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 80%;
  max-height: 100%;
  background-color: #fff;
  transform: translate(-50%, -50%);
}

.simple-slider [data-full] {
  cursor: pointer;
}

.simple-slider .simple-slider-full-cont .simple-slider-button {
  width: 10%;
}
