section.furniture-example-slider {
  padding: 0;
  margin-top: 120px;
  margin-bottom: 186px;
}

.furniture-example-slider .mobile-block {
  display: none;
  margin-top: 22px;
}

.furniture-example-slider .tx-wrapper .tx {
  font-family: var(--text-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
}

.furniture-example-slider .h4 {
  font-family: var(--title-font);
  font-size: 30px;
  font-weight: 600;
  line-height: 39px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 41px;
}

.furniture-example-slider .tx {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
  margin-top: 41px;
  margin-bottom: 0;
}

.furniture-example-slider .img-wrap {
  position: relative;
  margin-top: 29px;
}

.furniture-example-slider .carousel-container .owl-item img {
  aspect-ratio: auto;
  max-height: 700px;
  object-fit: cover;
}

.furniture-example-slider .carousel-container .owl-dots {
  position: absolute;
  bottom: -72px;
  left: 0;
  right: 0;
  text-align: center;
}

.furniture-example-slider .carousel-container .owl-dots .owl-dot:not(:last-child) {
  margin-right: 6px;
}

.furniture-example-slider .carousel-container .owl-dots .owl-dot span {
  display: block;
  background: var(--background);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.furniture-example-slider .carousel-container .owl-dots .owl-dot span {
  background-color: #D9D9D9;
}

.furniture-example-slider .carousel-container .owl-dots .owl-dot.active span {
  background: var(--dark-grey-color);
}

@media screen and (max-width: 767px) {

  .furniture-example-slider .wrapper {
    width: 100%;
  }

  .furniture-example-slider .slider-wrapper .item > .tx,
  .furniture-example-slider .slider-wrapper > .tx,
  .furniture-example-slider .slider-wrapper .tx-wrapper,
  .furniture-example-slider .h4 {
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media screen and (max-width: 640px) {

  .furniture-example-slider .slider-wrapper .item > .tx,
  .furniture-example-slider .slider-wrapper > .tx,
  .furniture-example-slider .slider-wrapper .tx-wrapper,
  .furniture-example-slider .h4 {
    margin-left: 26px;
    margin-right: 26px;
  }
}

@media screen and (max-width: 500px) {

  .furniture-example-slider .slider-wrapper .item > .tx,
  .furniture-example-slider .slider-wrapper > .tx,
  .furniture-example-slider .slider-wrapper .tx-wrapper,
  .furniture-example-slider .h4 {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* @media screen and (max-width: 960px) { */
section.furniture-example-slider {
  margin-top: 80px;
  margin-bottom: 146px;
}

.furniture-example-slider .h4 {
  font-family: var(--title-font);
  font-size: 21px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 11px;
}

.furniture-example-slider .tx {
  font-family: var(--text-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0em;
  text-align: left;
  margin-top: 0;
}

.furniture-example-slider .mobile-block {
  display: flex;
  flex-direction: column;
}

.furniture-example-slider .item {
  display: flex;
  flex-direction: column;
}

.furniture-example-slider .slider-wrapper>.tx {
  order: -1;
}

.furniture-example-slider .mobile-block {
  margin-top: 25px;
}

.furniture-example-slider .tx-wrapper .tx {
  margin-top: 6px;
}

/* } */

@media screen and (max-width: 960px) {
  section.furniture-example-slider {
    margin-top: 80px;
    margin-bottom: 146px;
  }
}

@media screen and (max-width: 767px) {

  section.furniture-example-slider {
    margin-top: 60px;
    margin-bottom: 105px;
  }

  .furniture-example-slider .tx-wrapper .tx {
    font-size: 12px;
    line-height: 18px;
  }

  .furniture-example-slider .mobile-block {
    margin-top: 21px;
  }

  .furniture-example-slider .tx-wrapper .tx {
    margin-top: 0;
  }

  section.furniture-example-slider .img-wrap.wrapper {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .furniture-example-slider .carousel-container .owl-item img {
    min-height: 300px;
    object-fit: cover;
  }

  .furniture-example-slider .carousel-container .owl-dots {
    bottom: -51px;
  }
}

/* метки */

@-webkit-keyframes slide-back {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes slide-back {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
  }
}

.slide__item--checkbox:not(:checked)~.slide__item--text-container .slide__item--text {
  -webkit-animation: slide-back 1s ease forwards;
  animation: slide-back 1s ease forwards;
}

.slide__item {
  position: absolute;
  display: block;
  height: 40px;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(1) {
  top: 66%;
  left: 48.6%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(2) {
  top: 71.9%;
  left: 68.9%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(3) {
  top: 75.5%;
  left: 20.05%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(4) {
  top: 25.9%;
  left: 73.9%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(1) {
  top: 21%;
  left: 46.5%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(2) {
  top: 48.3%;
  left: 37.1%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(3) {
  top: 43.2%;
  left: 57.45%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(4) {
  top: 74.2%;
  left: 43.6%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(1) {
  top: 34.6%;
  left: 37.1%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(2) {
  top: 85.7%;
  left: 41.7%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(3) {
  top: 2.5%;
  left: 55.05%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(1) {
  top: 58.1%;
  left: 49.7%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(2) {
  top: 74.4%;
  left: 25.4%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(3) {
  top: 12.6%;
  left: 57.1%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(1) {
  top: 33.4%;
  left: 41.1%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(2) {
  top: 66.3%;
  left: 74.4%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(3) {
  top: 71.1%;
  left: 61.8%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(3) .slide__item--text-container {
  width: 78px;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(4) {
  top: 23.1%;
  left: 78.6%;
}


.slide__item--checkbox {
  display: none;
}

.slide__item--text-container {
  display: block;
  height: max-content;
  width: 193px;
  position: relative;
  left: -40px;
  top: 59px;
  overflow: hidden;
  min-height: 100px;
}

.slide__item--text {
  position: absolute;
  color: var(--background);
  display: block;
  background: var(--dark-grey-color);
  border-radius: 4px;
  opacity: 0;
  font: 400 14px/150% var(--text-font);
  color: var(--background);
  padding: 11px 16px;
  width: 100%;
  box-sizing: border-box;
}

.slide__item--checkbox {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
}

.slide__item--checkbox:checked~.slide__item--text-container .slide__item--text {
  -webkit-animation: slide-in 1s ease forwards;
  animation: slide-in 1s ease forwards;
}

@-webkit-keyframes slide-in {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
    display: none;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    display: block;
  }
}

@keyframes slide-in {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
    display: none;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    display: block;
  }
}

.slide__item--btn {
  content: "";
  cursor: pointer;
  position: absolute;
  top: 0;
  left: -40px;
  display: block;
  height: 50px;
  width: 50px;
  z-index: 50;
  background: center / contain url(/local/components/terem/slider.blocks/templates/mobile.slider.furniture/img/btn.png) no-repeat;
  -webkit-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.slide__item--checkbox:not(:checked)+.slide__item--btn {
  background: center / contain url(/local/components/terem/slider.blocks/templates/mobile.slider.furniture/img/btn.png) no-repeat;
  -webkit-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.slide__item--btn-number-mobile {
  display: none;
}

/* @media screen and (max-width: 960px) { */

.slide__item--checkbox:not(:checked)+.slide__item--btn, .slide__item--checkbox:checked+.slide__item--btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--background);
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: 0em;
  text-align: center;
  color: var(--dark-grey-color);
  position: relative;
  pointer-events: none;
}

.slide__item--btn-number-mobile {
  display: block;
  position: absolute;
  width: fit-content;
  height: fit-content;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.slide__item--text-container {
  display: none;
}

.slide__item--btn {
  transform: unset;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(1) {
  top: 69%;
  left: 51.8%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(2) {
  top: 71.9%;
  left: 70.9%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(3) {
  top: 78.3%;
  left: 24.7%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(4) {
  top: 24.6%;
  left: 77.2%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(1) {
  top: 25%;
  left: 50.5%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(2) {
  top: 48.3%;
  left: 42.6%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(3) {
  top: 45.2%;
  left: 60.9%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(4) {
  top: 78.2%;
  left: 45.1%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(1) {
  top: 34.7%;
  left: 39.2%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(3) {
  top: 2.7%;
  left: 59.4%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(2) {
  top: 87.2%;
  left: 45.2%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(1) {
  top: 59.8%;
  left: 52.2%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(2) {
  top: 79.8%;
  left: 29.7%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(3) {
  top: 14%;
  left: 61.5%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(1) {
  top: 36%;
  left: 43.6%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(2) {
  top: 67%;
  left: 77.6%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(3) {
  top: 72.3%;
  left: 65.4%;
}

.furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(4) {
  top: 25%;
  left: 81.4%;
}

/* } */

@media screen and (max-width: 640px) {

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(1) {
    top: 66%;
    left: 57.8%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(2) {
    top: 71.6%;
    left: 86.7%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(3) {
    top: 76.3%;
    left: 19.7%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(1) .slide__item:nth-of-type(4) {
    top: 30.6%;
    left: 94.2%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(1) {
    top: 19%;
    left: 48.5%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(2) {
    top: 45.3%;
    left: 44.6%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(3) {
    top: 41.2%;
    left: 67.9%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(2) .slide__item:nth-of-type(4) {
    top: 71.2%;
    left: 48.1%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(1) {
    top: 41.7%;
    left: 37.2%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(2) {
    top: 84.2%;
    left: 39.2%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(3) .slide__item:nth-of-type(3) {
    top: 4.7%;
    left: 65.4%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(1) {
    top: 64%;
    left: 60.2%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(2) {
    top: 80.8%;
    left: 25.7%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(4) .slide__item:nth-of-type(3) {
    top: 19.4%;
    left: 71.9%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(1) {
    top: 38%;
    left: 41.6%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(2) {
    top: 69%;
    left: 89%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(3) {
    top: 72.7%;
    left: 72.2%;
  }

  .furniture-example-slider .owl-stage>.owl-item:nth-of-type(5) .slide__item:nth-of-type(4) {
    top: 30%;
    left: 94.4%;
  }
}