.new-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50000;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.5s all ease-out;
  -o-transition: 0.5s all ease-out;
  transition: 0.5s all ease-out;
  pointer-events: none;
}

.new-modal.visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.new-modal.visible .new-modal__container {
  -webkit-transition-delay: 0.5s;
       -o-transition-delay: 0.5s;
          transition-delay: 0.5s;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  opacity: 1;
  visibility: visible;
}

.new-modal__container {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-40%);
      -ms-transform: translateY(-40%);
          transform: translateY(-40%);
  opacity: 0;
  visibility: hidden;
  display: inline-block;
  max-width: 1290px;
  margin: 0 auto;
  vertical-align: middle;
  -webkit-transition: 0.8s all ease-out;
  -o-transition: 0.8s all ease-out;
  transition: 0.8s all ease-out;
}

.new-modal__close {
  position: absolute;
  z-index: 6;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  margin: 0 auto;
  width: 1060px;
}

.new-modal__btn {
  margin-left: auto;
  cursor: pointer;
  -webkit-transform: translate(50%, -50%);
      -ms-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background: #5d4743;
  border: none;
  outline: none;
  -webkit-transition: 0.5s all ease-out;
  -o-transition: 0.5s all ease-out;
  transition: 0.5s all ease-out;
}

.new-swiper {
  z-index: 5;
  max-width: 100%;
}

.new-swiper__btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 41px;
  height: 41px;
  border-radius: 100%;
  background: transparent;
  outline: none;
  cursor: pointer;
  border: 1px solid #ffffff;
  -webkit-transition: 0.3s all ease-out;
  -o-transition: 0.3s all ease-out;
  transition: 0.3s all ease-out;
}

.new-swiper__btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

.new-swiper__btn svg path {
  -webkit-transition: 0.3s all ease-out;
  -o-transition: 0.3s all ease-out;
  transition: 0.3s all ease-out;
}

.new-swiper__prev {
  left: 0;
}

.new-swiper__next {
  right: 0;
}

.new-swiper__next svg {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.new-item {
  z-index: 3;
  margin: 0 auto;
  max-width: 1060px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 26px;
  background: #ffffff;
  padding: 46px;
  padding-left: 25px;
  padding-bottom: 48px;
}

.new-item__arrows {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 3;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.new-item__btn {
  z-index: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 41px;
  height: 41px;
  border-radius: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  background: #ee7d21;
  -webkit-transition: 0.5s all ease-out;
  -o-transition: 0.5s all ease-out;
  transition: 0.5s all ease-out;
}

.new-item__btn svg path {
  -webkit-transition: 0.5s all ease-out;
  -o-transition: 0.5s all ease-out;
  transition: 0.5s all ease-out;
}

.new-item__next svg {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.new-item__pagination.swiper-pagination-bullets {
  position: static;
  margin: 0 auto;
  margin-top: 15px;
}

.new-item__pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background: #e37e37;
}

.new-item__slider {
  overflow: unset;
  padding: 0 21px;
}

.new-item__box {
  overflow: hidden;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 52%;
      flex: 0 1 52%;
}

.new-item__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
    object-fit: cover;
}

.new-item__content {
  text-align: left;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 50%;
          flex: 0 1 50%;
  max-width: 418px;
  max-height: 475px;
  overflow-y: auto;
  padding-right: 35px;
}

.new-item__content::-webkit-scrollbar {
  display: block;
  width: 14px;
}

.new-item__content::-webkit-scrollbar-thumb {
  background: #ee7d21;
  border-radius: 10px;
}

.new-item__content::-webkit-scrollbar-track {
  margin: 5px 0;
  border: 1px solid rgba(93, 71, 67, 0.2);
  border-radius: 10px;
}

.new-item__content::-webkit-scrollbar-button:single-button {
  background-color: #ee7d21;
  display: block;
  border-style: solid;
  border-radius: 100%;
  height: 14px;
  width: 14px;
}

.new-item__content::-webkit-scrollbar-button:single-button:vertical:decrement {
  border-width: 0px 0px 0px 0px;
  border-color: transparent transparent #ffffff transparent;
  background: url(../img/new-modal/scrool-up.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.new-item__content::-webkit-scrollbar-button:single-button:vertical:increment {
  border-width: 0px 0px 0 0px;
  background: url(../img/new-modal/scrol-down.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 100%;
  border-color: #ffffff transparent transparent transparent;
}

.new-item__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-family: "Circe";
  font-weight: 400;
  font-size: 20px;
  line-height: 29px;
  color: #7f4e39;
  -webkit-transition: 0.3s all ease-out;
  -o-transition: 0.3s all ease-out;
  transition: 0.3s all ease-out;
}

.new-item__descr {
  display: inline-block;
  font-family: "Circe";
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #000000;
}

.new-item__descr:not(:last-child) {
  margin-bottom: 17px;
}

@media (max-width: 1366px) {
  .new-item {
    padding-bottom: 30px;
  }

  .new-modal__container {
    max-width: 100%;
  }

  .new-swiper__prev {
    left: 20px;
  }

  .new-swiper__next {
    right: 20px;
  }


  .new-item__link {
    margin-bottom: 20px;
  }
}

@media (max-width: 1250px) {
  .new-modal__close {
    width: 80%;
  }

  .new-item {
    max-width: 80%;
    gap: 10px;
    padding: 20px;
  }

  .new-item__content {
    padding-right: 20px;
  }

  .new-item__content::-webkit-scrollbar {
    width: 10px;
  }

  .new-item__content::-webkit-scrollbar-button:single-button {
    width: 10px;
    height: 10px;
  }

  .new-item__link {
    gap: 10px;
    font-size: 19px;
  }

  .new-item__descr:not(:last-child) {
    margin-bottom: 15px;
  }
}

@media (max-width: 1200px) {
  .new-item__content {
    max-height: 407px;
  }
}

@media (max-width: 1050px) {
  .new-item__pagination.swiper-pagination-bullets {
    margin-top: 10px;
  }

  .new-item__slider {
    padding: 0;
  }

  .new-item__arrows {
    padding: 0 15px;
  }
}

@media (max-width: 950px) {
  .new-modal__btn {
    width: 25px;
    height: 25px;
  }

  .new-modal__btn svg {
    max-width: 70%;
  }

  .new-swiper__btn {
    width: 35px;
    height: 35px;
  }

  .new-swiper__btn svg {
    max-width: 55%;
  }

  .new-item__arrows {
    padding: 0 10px;
  }

  .new-item__btn {
    width: 35px;
    height: 35px;
  }

  .new-item__btn svg {
    max-width: 50%;
  }

  .new-item__content {
    padding-right: 10px;
    max-height: 361px;
  }

  .new-item__content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  .new-item__content::-webkit-scrollbar-button:single-button {
    width: 8px;
    height: 8px;
  }

  .new-item__descr:not(:last-child) {
    margin-bottom: 10px;
  }
}

@media (max-width: 750px) {
  .new-swiper {
    padding-bottom: 45px;
  }

  .new-item__slider {
    height: 100%;
    width: 100%;
  }

  .new-swiper__btn {
    top: unset;
    bottom: 0px;
    transform: unset;
  }

  .new-swiper__prev {
    left: unset;
    right: 12%;
  }

  .new-swiper__next {
    right: 4%;
  }

  .new-item {
    max-width: 92%;
  }

  .new-item__pagination.swiper-pagination-bullets {
    position: relative;
    z-index: 1;
    bottom: 20px;
    margin-top: 0;
  }

  .new-item__content {
    max-height: 327px;
  }

  .new-item__link {
    font-size: 17px;
    margin-bottom: 10px;
  }
}

@media (max-width: 550px) {
  .swiper-pagination-bullet {
    opacity: 0.4;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
  }

  .new-item {
    max-width: 80%;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .new-item__box {
    position: relative;
    min-height: 320px;
    width: 100%;
    overflow: unset;
  }

  .new-item__arrows {
    padding: 0;
    margin: 0 -15px;
}

  .new-item__slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .new-item__pagination.swiper-pagination-bullets {
    position: absolute;
    bottom: 5px;
  }

  .new-swiper__prev {
    right: 25%;
  }

  .new-swiper__next {
    right: 10%;
  }

  .new-item__content {
    max-height: 233px;
    background: #ffffff;
    max-width: 100%;
    padding: 20px;
    padding-top: 10px;
    padding-right: 10px;
  }

  .new-item__descr {
    margin-top: 0;
  }
}

@media (max-width:490px) {
  .new-item__content {
    max-height: 229px;
  }
}

@media (max-width: 376px) {
  .new-modal__container {
    margin-top: -35px;
  }

  .new-item__box {
  min-height: unset;
  }

  .new-item__slider {
    position: static;
  }

  .new-item__content {
    margin-top: 0;
  }
}

@media (any-hover: hover) {
  .new-modal__btn:hover {
    background: #ee7d21;
    -webkit-transform: translate(50%, -50%) scale(1.3);
        -ms-transform: translate(50%, -50%) scale(1.3);
            transform: translate(50%, -50%) scale(1.3);
  }

  .new-swiper__btn:hover {
    background: #ee7d21;
    border: 1px solid #ee7d21;
  }

  .new-swiper__btn:hover svg path {
    stroke: #ffffff;
  }

  .new-item__btn:hover {
    background: #ffffff;
  }

  .new-item__btn:hover svg path {
    stroke: #ee7d21;
  }

  .new-item__link:hover {
    color: #f07d00;
  }
}