modal-added.scss 5.97 KB
@import "../../vars";
@import "../../mixins";


.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.24);
  border-radius: 10px;
  position: absolute;
  top: 15%;
  left: 20%;
  margin: 0 auto;
  z-index: 101;

    &__close {
      position: relative;
      cursor: pointer;
      
      &:after {
        position: absolute;
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_314_26000)'%3E%3Cpath d='M4 40L0 36L16 20L0 4L4 0L20 16L36 0L40 4L24 20L40 36L36 40L20 24L4 40Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_314_26000'%3E%3Crect width='40' height='40' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: cover;
        width: 40px;
        height: 40px;
      }
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 59, 73, 0.8);
    z-index: 100;
    overflow: hidden;
}



.modal-added {
  max-width: 1030px;
  width: 100%;
  padding: 40px 40px 74px 40px;
  display: flex;
  flex-direction: column;

  &--hidden {
      display: none;
    }

  &__close {
        top: -82px;
        right: -518px;
  }

   &__title {
       font-weight: 700;
       font-size: 48px;
       line-height: 100%;
       color: $vmainGrey;
   }

    &__button {
        @include btn-orange-hover;
        padding: 16px 60px;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;

        &:hover {
            @include btn-orange;
        }
    }
}

.modal-added-top {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.modal-top-slider {
    display: flex;
}

.modal-added-swiper {
    background: #F7F7F9;
    border-radius: 9.13041px;
    max-width: 384px;
    width: 100%;
    max-height: 302px;
    height: 100%;
    margin-top: 6px;
}

.modal-added-img {
    padding-left: 40px;
}

.swiper-pagination-bullet {
    width: 93px !important;
    height: 4px !important;
    border-radius: 26.6039px !important;
    background-color: #E0E0E0;
}
    
.swiper-pagination-bullet-active {
    background-color: #F5851A !important;
}

.content-text {
    display: flex;
    flex-direction: column;

    &__title {
        font-weight: 600;
        font-size: 14.6087px;
        line-height: 20px;
        letter-spacing: -0.01em;
        color: #000000;
    }  
}

.modal-added-info-two {
    margin-left: 0;
}

  .content-text-down {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 40px;
      position: relative;

      &__before {
          position: absolute;
          top: -12px;
          left: 0;
          font-size: 14px;
          line-height: 17px;
          display: flex;
          align-items: center;
          letter-spacing: -0.01em;
          text-decoration-line: line-through;
          color: $vMain3;
          display: none;

          &--active {
              display: inline-block;
          }
      }

      &__price {
          font-weight: 600;
          font-size: 21.913px;
          line-height: 26px;
          letter-spacing: -0.01em;
          color: $vactiveOrange;
      }

      &__button {
          @include btn-orange;
          font-family: 'Muller';
          font-style: normal;
          font-weight: 500;
          font-size: 12.3973px;
          line-height: 12px;
          padding: 12px 25px 10px 24px;

          &:hover {
              @include btn-orange-hover;
              padding: 12px 25px 10px 24px;
              font-family: 'Muller';
              font-style: normal;
              font-weight: 500;
              font-size: 12.3973px;
              line-height: 12px;
          }
      }
  }


.modal-top-slider-content {
    margin-right: 26px;
    margin-left: 20px;
    max-width: 250px;
    width: 100%;

    &__title {
        margin-top: 10px;
    }
}

.modal-top-slider-info {
    margin-top: 43px;
    display: flex;
    flex-direction: column;

}

.modal-top-info-one {
    margin-bottom: 20px;
}

.modal-top-slider-down {

    &__price {
      margin-top: 8px;  
    }
}

.modal-top-cart {
  background-color: #636B78;
  max-width: 271px;
  width: 100%;
  padding: 40px 20px 30px;
  color: #FFFFFF;
  text-align: center;
  border-radius: 4px;
  align-self: flex-end;

  &__par {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;

    &--large {
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
    }
  }

    >:nth-child(2) {
      margin-bottom: 30px;
    }

    &__line {
      width: 100%;
      border: none;
      border-top: 1px solid #ABB2BF;
      margin-bottom: 30px;
    }

    &__btn {
      @include btn-orange;
      padding: 16px 15px;
      margin-top: 29px;
      border: none;
 
      &:hover {
        @include btn-orange-hover;
        border: none;
      }
    }
}

.modal-added-bottom {
    margin-top: 70px;
    position: relative;

   &__btn-next {
    position: absolute !important;
    top: 40px !important;
    right: 6px !important;
    width: 18.91px !important;
    height: 18px !important;
   }

   &__btn-prev {
    position: absolute !important;
    top: 40px !important;
    left: 865px!important;
    width: 18.91px !important;
    height: 18px !important;
   }
}

.modal-added-scrollbar {
    position: absolute !important;
    bottom: -34px !important;
    left: 0 !important;
    height: 8px !important;
    margin-left: 15px !important;
    background-color: #DFE1E7 !important;
    border-radius: 10px !important;
    cursor: pointer;
}

.swiper-scrollbar-drag {
    background-color: #ABB2BF !important;
}

.modal-added-overlay {

  &--hidden {
    display: none;
  }
}