:root {
  --orange: #D9580D;
  --red: #D9100D;
}

/* Slider wrapper */
.fiord-slider-wrapper {
  width: 100%;  
  max-width: 900px;
  margin: 90px auto 20px auto;
}

/* MAIN slider */
.fiord-slider-main {
  position: relative;
  width: 100%;
  border-radius: 5px;
}

/* viewport для больших слайдов */
.fiord-slider-viewport {
  overflow: hidden;
  width: 100%;
}

/* inner, который двигаем */
.fiord-slides {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* каждый слайд занимает видимую ширину */
.fiord-slide {
  flex: 0 0 100%;
}

.fiord-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

/* стрелки */
.slider-btn {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--red), var(--orange));
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fiord-prev {
  left: -25px;
}

.fiord-next {
  right: -25px;
}

/* THUMBS */
.fiord-thumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.fiord-thumbs-viewport {
  overflow: hidden;
  flex: 1;
}

.fiord-thumbs-inner {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
  justify-content: center;
}

.fiord-thumb {
  flex: 0 0 auto;
  width: 90px;
  margin-right: 8px;
  cursor: pointer;
  opacity: 0.6;
  box-sizing: border-box;
}

.fiord-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

.fiord-thumb.active {
  opacity: 1;
  border-bottom: 4px solid var(--red);
}

.fiord-thumb.active img {
  border-radius: 3px 3px 0 0;
}

@media (max-width: 1024px) {
  .fiord-slider-wrapper {
  width: calc(100%-60px);
  max-width: 768px;
    margin: 50px auto 20px auto;
}
}

@media (max-width: 800px) {
#slider {
  display: none;
}
}