.product-slider-wrapper {
  height: 400vh;
  position: relative;
  direction: rtl;
  transition: all 0.4s ease;
  width: 100%;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgb(224 213 175) 25%,
    rgb(254 222 185) 50%,
    rgba(249, 121, 29, 1) 75%,
    rgba(255, 255, 255, 1) 100%
  );
}

.product-slider-wrapper > div {
  position: sticky;
  top: 60px;
  overflow: hidden;
  height: 100vh;
  padding: 40px;
}

.product-slider-group {
  display: flex;
  height: 80vh;
  gap: 240px;
  padding-right: calc((100vw - 80vw) / 2);
}

.product-img-box {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.product-img-box .product-pattern {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}

.product-img-box::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  height: 100%;
  border-radius: 32px;
  z-index: 1;
  box-shadow: rgba(17, 12, 46, 0.9) 0px 48px 100px 0px;
  pointer-events: none;
}

.product-img-box.left-rotate .product-main-img {
  max-width: 930px;
  max-height: 1000px;
  object-fit: contain;
  width: 70%;
  height: auto;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translate(-43%, 15%) rotate(17deg);
}

.product-img-box.right-rotate .product-main-img {
  max-width: 930px;
  max-height: 1000px;
  object-fit: contain;
  width: 70%;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-40%, 10%) rotate(17deg);
}

.product-img-box .product-object {
  z-index: 2;
  transition: transform 0.3s;
}

.product-img-box .product-main-img {
  z-index: 3;
  transition: transform 0.3s;
}

.product-img-box.left-rotate .product-object {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -40%);
  max-width: 810px;
  width: 100%;
  height: auto;
}

.product-img-box.right-rotate .product-object {
  max-width: 810px;
  width: 100%;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -10%);
}

.product-img-box .product-logo {
  max-width: 200px;
  width: 24%;
  height: auto;
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.left-rotate {
  transform: rotate(-10deg);
}

.right-rotate {
  transform: rotate(10deg);
}

@media (min-width: 768.1px) and (max-width: 1199.98px) {
  .product-slider-wrapper {
    height: 80vh;
    position: relative;
    direction: rtl;
    transition: all 0.4s ease;
    width: 100%;
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 1) 0%,
      rgb(224 213 175) 25%,
      rgb(254 222 185) 50%,
      rgba(249, 121, 29, 1) 75%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  .product-slider-group {
    display: flex;
    height: 60vh;
    gap: 240px;
    padding-right: calc((100vw - 80vw) / 2);
  }

  .product-img-box {
    display: flex;
    flex: 0 0 80%;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .product-slider-wrapper {
    height: auto;
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 1) 0%,
      rgb(224 213 175) 25%,
      rgb(254 222 185) 30%,
      rgba(249, 121, 29, 1) 75%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  .product-slider-group {
    gap: 16px;
    padding: 0;
    flex-wrap: wrap;
    height: 145vh;
    padding-bottom: 32px;
  }

  .product-slider-wrapper > div {
    position: relative;
    overflow: hidden;
    padding: 16px;
    height: 150vh;
  }

  .product-img-box {
    width: 100%;
  }

  .left-rotate {
    transform: rotate(0deg);
  }

  .right-rotate {
    transform: rotate(0deg);
  }
}

@media (max-width: 575.98px) {
  .product-slider-wrapper {
    height: auto;
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 1) 0%,
      rgb(224 213 175) 25%,
      rgb(254 222 185) 30%,
      rgba(249, 121, 29, 1) 75%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  .product-slider-group {
    gap: unset;
    padding: 0;
    flex-wrap: wrap;
    height: 100vh;
  }

  .product-slider-wrapper > div {
    position: relative;
    overflow: hidden;
    padding: 16px;
    height: 120vh;
  }

  .product-img-box {
    width: 100%;
  }

  .left-rotate {
    transform: rotate(0deg);
  }

  .right-rotate {
    transform: rotate(0deg);
  }
}
