.home_categories {
  padding: 14.2rem 0 6.6rem;
}
.home_categories p {
  margin-top: 2.5rem;
}
.home_categories .home_categories_swiper {
  overflow: hidden;
  margin-top: 6.6rem;
  border-radius: 4.7rem 4.7rem 0 0;
}
.home_categories .home_categories_swiper .swiper-slide {
  position: relative;
  cursor: pointer;
  text-align: center;
}
.home_categories .home_categories_swiper .swiper-slide:hover .img img {
  transform: scale(1.03);
}
.home_categories .home_categories_swiper .swiper-slide:hover .title {
  background-size: 100% 2px;
}
.home_categories .home_categories_swiper .swiper-slide-thumb-active .title {
  background-size: 100% 2px;
  font-weight: 600;
}
.home_categories .home_categories_swiper .img {
  border-radius: 4.7rem;
  padding-bottom: 101.333%;
}
.home_categories .home_categories_swiper .md {
  position: absolute;
  width: 32.889%;
  height: auto;
  top: 0;
  right: 0;
  margin: 5.7777778% 4.8888889%;
}
.home_categories .home_categories_swiper .md img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.home_categories .home_categories_swiper .title {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text);
  background: linear-gradient(to right, var(--primary) 0 100%) no-repeat center bottom / 0 2px;
  transition: all 0.3s;
  margin-top: 2.2rem;
  padding: 0.8rem 0;
  letter-spacing: 0.03em;
}
.home_categories p.center:has(.btn) {
  margin-top: 6.6rem;
}
.home_category {
  padding: 6.6rem 0 10.9rem;
}
.home_category .home_category_swiper {
  overflow: hidden;
  border-radius: 3.6rem 0 0 3.6rem;
}
.home_category .home_category_swiper .flex {
  height: 100%;
}
.home_category .img {
  border-radius: 3.6rem;
  width: 49.0277778%;
  --h: 77.47875354%;
}
.home_category .img + .info {
  max-width: 61.5rem;
}
.home_category .img.img_ab img {
  width: 124.7875%;
  height: 106.947%;
  left: -12.1813%;
  top: -7.3126%;
}
.home_category .info {
  flex: 1;
  width: 100%;
  padding-top: 2%;
}
.home_category .info p {
  max-width: 50.8rem;
  margin-top: 2.5rem;
}
.home_category .info ul {
  font-size: 1.8rem;
  color: var(--text);
  margin-top: 3.4rem;
}
.home_category .info ul li {
  position: relative;
  border-bottom: 1px solid #e8eaee;
  padding: 0.6667em 1.5556em;
}
.home_category .info ul li::before {
  position: absolute;
  width: 0.4445em;
  height: 0.4445em;
  left: 0;
  top: 0.9445em;
  content: "";
  border-radius: 50%;
  border: 0.112em solid var(--primary);
}
.home_category .info .btn {
  margin-top: 4rem;
}
@media screen and (max-width: 768px) {
  .home_categories {
    padding: 50px 0;
    overflow: hidden;
  }
  .home_categories .home_categories_swiper {
    margin-top: 30px;
    overflow: unset;
  }
  .home_categories .home_categories_swiper .img {
    border-radius: 10px;
  }
  .home_categories .home_categories_swiper .title {
    font-size: 18px;
    padding: 5px 0;
    margin-top: 10px;
  }
  .home_categories p.center:has(.btn) {
    margin-top: 40px;
  }
  .home_category {
    padding: 50px 0;
  }
  .home_category .home_category_swiper {
    border-radius: 10px 0 0 10px;
  }
  .home_category .img {
    border-radius: 10px;
  }
  .home_category .info {
    padding: 0;
  }
  .home_category .info p {
    margin-top: 10px;
  }
  .home_category .info ul {
    font-size: 14px;
    margin-top: 10px;
  }
  .home_category .info .btn {
    margin-top: 20px;
  }
}
@media screen and (max-width: 576px) {
  .home_category .img {
    width: 100%;
  }
}
