.home_products {
  overflow: hidden;
  --bw: 0.5rem;
  --color: var(--primary);
  --color-dark: color-mix(in srgb, var(--color), black 25%);
}
.home_products .flex {
  position: relative;
}
html[lang="ar"] .home_products .flex{
  flex-direction: row-reverse;
}
.home_products .image {
  position: relative;
  width: 59.88023952%;
  margin-left: 2.99401198%;
  overflow: hidden;
}
.home_products .image::before {
  position: absolute;
  width: 115.90909091%;
  padding-bottom: 115.90909091%;
  border-radius: 50%;
  border: var(--bw) solid var(--color);
  content: '';
  right: 2.63636%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
  transition: all 0.3s;
}
.home_products .text {
  position: absolute;
  left: 58.5%;
  top: 0;
  bottom: 0;
  width: 28.47033206%;
  z-index: 3;
}
.home_products .home_products_image_swiper {
  overflow: hidden;
  width: 62%;
  margin: 0 auto;
}
.home_products .home_products_image_swiper .img {
  display: block;
  padding-bottom: 100%;
}
.home_products .home_products_image_swiper .img:hover img {
  transform: scale(1.02);
}
.home_products .home_products_swiper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.home_products .home_products_swiper .swiper-slide {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 3;
  will-change: transform;
  --opacity: 0;
  transition: left 0.4s;
  min-width: max-content;
}
.home_products .home_products_swiper .swiper-slide .line {
  display: inline-block;
  width: 100%;
  height: var(--bw);
  content: '';
  background-color: var(--color);
  opacity: var(--opacity);
  transition: all 0.3s, width 0.5s;
}
.home_products .home_products_swiper .swiper-slide i {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 6.6rem;
  height: 6.6rem;
  border: 0.4rem solid var(--color-dark);
  border-radius: 50%;
  transition: all 0.3s;
  order: -1;
  background-color: var(--color-dark);
  transform: scale(0.42424242);
  transform-origin: right;
}
.home_products .home_products_swiper .swiper-slide i::after {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58.6%;
  padding-bottom: 58.6%;
  border-radius: 50%;
  background-color: var(--color);
  transition: all 0.3s;
  content: '';
  opacity: 0;
}
.home_products .home_products_swiper .swiper-slide .title {
  font-size: 3rem;
  line-height: 8.6rem;
  font-weight: 700;
  text-align: center;
  border-radius: 100px;
  background-color: var(--color);
  padding: 0 4.8rem;
  transform-origin: left center;
  transition: transform 0.4s, opacity 0.3s, background 0.3s;
  transform: scale(0.8372093);
  opacity: var(--opacity);
  flex-shrink: 0;
  cursor: pointer;
  text-transform: uppercase;
}
.home_products .home_products_swiper .swiper-slide.active {
  --opacity: 1;
}
.home_products .home_products_swiper .swiper-slide.active span {
  transform: scale(1);
  opacity: 1;
}
.home_products .home_products_swiper .swiper-slide.active .line {
  opacity: 1;
}
.home_products .home_products_swiper .swiper-slide.active i {
  transform: scale(1);
  background-color: #000000;
  border-color: var(--color);
}
.home_products .home_products_swiper .swiper-slide.active i::after {
  opacity: 1;
}
.home_products .home_products_swiper .swiper-slide-active {
  left: -0.5%;
  --opacity: 0.5;
}
.home_products .home_products_swiper .swiper-slide-active ~ .swiper-slide {
  --opacity: 0.5;
}
@media screen and (min-width: 769px) and (max-width: 1220px) {
  .home_products .home_products_swiper .swiper-slide .title {
    font-size: 2.3rem;
    line-height: 6rem;
    padding: 0 2rem;
  }
  .home_products .home_products_swiper .swiper-slide i {
    width: 5rem;
    height: 5rem;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .home_products .home_products_swiper .swiper-slide .title {
    font-size: 2rem;
    line-height: 5rem;
  }
  .home_products .home_products_swiper .swiper-slide i {
    width: 4rem;
    height: 4rem;
  }
}
@media screen and (max-width: 768px) {
  .home_products {
    --bw: 3px;
  }
  .home_products .image {
    margin-left: 0;
  }
  .home_products .text {
    width: 33%;
    left: 56%;
  }
  .home_products .home_products_swiper .swiper-slide i {
    width: 22px;
    height: 22px;
    border-width: 2px;
  }
  .home_products .home_products_swiper .swiper-slide .title {
    font-size: 16px;
    line-height: 30px;
    padding: 0 14px;
  }
}
@media screen and (max-width: 576px) {
  .home_products .flex {
    display: block;
  }
  .home_products .image {
    width: 100%;
    overflow: unset;
  }
  .home_products .image::before {
    right: unset;
    left: 50%;
    top: unset;
    bottom: -4%;
    transform: translateX(-50%);
  }
  .home_products .home_products_image_swiper {
    width: 100%;
  }
  .home_products .text {
    position: static;
    width: 100%;
  }
  .home_products .home_products_swiper {
    position: static;
  }
  .home_products .home_products_swiper .swiper-slide {
    --opacity: 1;
    min-width: unset;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .home_products .home_products_swiper .swiper-slide i {
    transform-origin: center bottom;
    transform: scale(1);
    background-color: transparent;
    border-color: var(--primary);
  }
  .home_products .home_products_swiper .swiper-slide i::after {
    opacity: 1;
  }
  .home_products .home_products_swiper .swiper-slide .line {
    width: var(--bw);
    height: 50px;
  }
  .home_products .home_products_swiper .swiper-slide .title {
    width: 100%;
    white-space: nowrap;
    transform: scale(1);
  }
}
