/* Products Section */
.products {
  position: relative;
  display: flex;
  align-items: center;
}

.products__item {
  display: grid;
}
.products__item.active {
  z-index: 2;
}
.products__img {
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
}

.products__img img {
  width: 100%;
  height: auto;
  display: block;
}

.products__content {
  flex: 1;
}

.products__logo {
  width: 10rem;
  height: 6rem;
  margin-bottom: 2rem;
}

.products__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.products__title {
  font-size: 2rem;
  font-variation-settings: "wght" 500;
  margin-bottom: 0.5rem;
  position: relative;
}
.product__title::before,
.products__title::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  display: inline-block;
  background: var(--c-primary);
  border-radius: 50%;
  margin-left: 0.8rem;
  pointer-events: none;
}
.products__entitle {
  font-size: 1.2rem;
  color: var(--c-primary-text);
  text-transform: uppercase;
  font-family: var(--ff-en);
}

.products__desc {
  font-size: 1.4rem;
  line-height: 2;
  text-align: justify;
  margin-top: 1.2rem;
}
.products__btn {
  margin-top: 3rem;
}
.products__features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.products__feature {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.products__feature .icon__products {
  width: 5.5rem;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.products__feature .font-icon__products {
  font-size: 2.6rem;
  border-radius: 50%;
  color: var(--c-white);
}
.products__feature:nth-child(3n + 1) .font-icon__products {
  background-color: var(--c-primary);
}
.products__feature:nth-child(3n + 2) .font-icon__products {
  background-color: var(--c-accent);
}
.products__feature:nth-child(3n + 3) .font-icon__products {
  background-color: var(--c-secondary);
}
.products__feature--box .products__feature-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--c-primary-light-1);
  border-radius: 7rem;
  height: 100%;
  padding: 1.4rem;
}
.products__feature--box .products__feature-title {
  margin-bottom: 0;
}
.products__feature-icon {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--c-white);
  background: var(--c-primary-light-6);
}

.products__feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.products__feature-text {
  flex: 1;
}

.products__feature-title {
  font-size: 1.4rem;
  font-variation-settings: "wght" 550;
  margin-bottom: 0.7rem;
}

.products__feature-desc {
  font-size: 1.4rem;
  color: var(--c-primary-light-6);
}

.products__link {
}

.products__link:hover {
}
.products-carousel {
  /* width: 51rem;
  height: 51rem; */
  width: 100%;
  height: 100%;
  /* border-radius: 50%; */
  position: relative;
  /* border: 1px solid; */
}
.products-carousel .item {
  position: absolute;
  cursor: pointer;
  height: 17rem;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.products-carousel .item > img {
  object-fit: contain;
  margin: 0 auto;
  width: 17rem;
  max-height: 27rem;
  /* width: 100%; */
  /* aspect-ratio: 1 / 1;
  transition: 0.5s; */
}
/* .products-carousel .item.active img {
  transform: scale(1.5);
} */
.products-carousel__circle {
  fill: transparent;
  pointer-events: none;
  visibility: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.carousel__circle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  fill: transparent;
}
.products-wrapper {
  display: grid;
  gap: 2rem;
  padding-left: var(--px);
}
.products-wrapper .carousel {
  margin: 13rem auto;
  position: relative;
  width: 510px;
  height: 510px;

  /* transition: 1s var(--e8); */
}
/* .swiper-slide-active .products-wrapper .carousel {
  transform: translateX(15rem);
} */
.products-carousel .logo {
  position: absolute;
  width: 10.5rem;
  height: 10.5rem;
  background: #ffffff61;
  z-index: 2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--c-primary-light-2);
  backdrop-filter: blur(20px);
  bottom: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, 50%) scale(1);
  box-shadow:
    0 0 14px 23px rgb(59 63 75 / 3%),
    inset 0 29px 25px #ffffff91;
  opacity: 0;
}
.products-carousel .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.products-carousel .active .logo {
  transition: 0.5s;
  opacity: 1;
  /* transform: translate(-50%, 50%) scale(1);
  bottom: 0; */
}
.products-carousel .active > img {
  transition: 0.6s var(--e1);
  transform: scale(1.1);
}
.en-carousel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16rem 13rem;
  margin-right: 17rem;
  z-index: 3;
  text-transform: uppercase;
  pointer-events: none;
}
/* .products-carousel-arrows {
  position: absolute;
  right: 23rem;
  bottom: 18rem;
  display: flex;
  align-items: center;
  gap: 1rem;
} */
/* .products-carousel-arrows button {
  background: linear-gradient(125deg, #f6f7f959, #d9dee769);
  border-radius: var(--radius-xs);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 5px #0000000a;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--c-primary);
  font-size: 1.4rem;
}
.products-carousel-arrows button:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-primary);
  border-radius: 50%;
  transform: scale(0);
  transition: 0.4s ease-out;
  z-index: -1;
}
.products-carousel-arrows button:hover {
  color: #fff;
} */
/* .products-carousel-arrows button:hover::before {
  transform: scale(1.3);
} */
#nextProduct {
  position: absolute;
  left: 4rem;
  top: -1rem;
  width: 8.3rem;
  height: 5.7rem;
  z-index: 16;
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="83" height="57" fill="none" viewBox="0 0 83 57"><g clip-path="url(%23a)"><path stroke="%23CCC" stroke-linecap="round" stroke-width="2" d="M64.939 11.822S42.982 17.02 28.144 27.63C13.306 38.24 5.588 54.264 5.588 54.264"/><path stroke="%23CCC" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m60.141 20.594 6.411-9.187-9.493-6.106"/></g><defs><clipPath id="a"><path fill="%23fff" d="M0 6.71 78.714 0l4.248 49.82-78.715 6.71z"/></clipPath></defs></svg>');
}
#prevProduct {
  position: absolute;
  left: 4rem;
  bottom: -1rem;
  width: 8.3rem;
  cursor: pointer;
  z-index: 16;
  height: 5.7rem;
  background-position: center;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="83" height="57" fill="none" viewBox="0 0 83 57"><g clip-path="url(%23a)"><path stroke="%23CCC" stroke-linecap="round" stroke-width="2" d="M64.939 44.709s-21.957-5.199-36.795-15.81C13.306 18.29 5.588 2.268 5.588 2.268"/><path stroke="%23CCC" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m60.141 35.936 6.411 9.188-9.493 6.105"/></g><defs><clipPath id="a"><path fill="%23fff" d="m0 49.816 78.715 6.711 4.247-49.819L4.248-.002z"/></clipPath></defs></svg>');
}
.en-carousel .entitle {
  position: absolute;
  left: 0;
  right: 0;
}
.en-carousel .entitle .word {
  text-align: center;
  display: block;
  background: -webkit-linear-gradient(#e3e3e3, #33333300);
  background: linear-gradient(#e3e3e3, #33333300);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--ff-hero-en);
  line-height: 1;
  transition: 0.7s var(--e1);
  opacity: 0;
  transform-origin: top left;
  transform: rotate(20deg);
}
.en-carousel .entitle .word:nth-child(2) {
  transition-delay: 0.05s;
}
.en-carousel .entitle .word:nth-child(3) {
  transition-delay: 0.1s;
}
.en-carousel .entitle.active .word {
  opacity: 1;
  transform: rotate(0deg);
}
.products__feature,
.products__btn,
.products__desc,
.products__entitle,
.products__title {
  opacity: 0;
  transform-origin: top right;
  transform: translateY(2rem);
  /* transform: rotate(-10deg); */
  transition:
    opacity 0.3s ease,
    transform 0.6s ease;
}

.active .products__feature:nth-child(11) {
  transition-delay: 1s;
}
.active .products__feature:nth-child(10) {
  transition-delay: 0.9s;
}
.active .products__feature:nth-child(9) {
  transition-delay: 0.8s;
}
.active .products__feature:nth-child(8) {
  transition-delay: 0.7s;
}
.active .products__feature:nth-child(7) {
  transition-delay: 0.6s;
}
.active .products__feature:nth-child(6) {
  transition-delay: 0.5s;
}
.active .products__feature:nth-child(5) {
  transition-delay: 0.4s;
}
.active .products__feature:nth-child(4) {
  transition-delay: 0.3s;
}
.active .products__feature:nth-child(3) {
  transition-delay: 0.2s;
}
.active .products__feature:nth-child(2) {
  transition-delay: 0.1s;
}

.active .products__btn {
  transition-delay: 0.3s;
}
.active .products__desc {
  transition-delay: 0.2s;
}
.active .products__entitle {
  transition-delay: 0.1s;
}

.active .products__feature,
.active .products__btn,
.active .products__desc,
.active .products__entitle,
.active .products__title {
  opacity: 1;
  transform: rotate(0deg);
}
.products__item {
  display: grid;
  gap: 2rem;
}
.sw--products {
  overflow: visible;
}
.sw--products .swiper-slide {
  width: 100%;
}
.product__head {
  text-align: center;
  margin-bottom: 2rem;
}
.sw--products .products__btn {
  display: flex;
  justify-content: center;
}
.product__entitle {
  font-family: var(--ff-en);
  text-transform: uppercase;
}
.product_img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}
.product_img .img-wrap {
  position: relative;
  max-height: 25rem;
  max-width: 80%;
}
.product_img .img {
  object-fit: contain;
  max-height: 25rem;
  max-width: 80%;
  margin: 0 auto;
}
.product-bg__entitle {
  font-family: var(--ff-hero-en);
  text-transform: uppercase;
  background: -webkit-linear-gradient(#e3e3e3, #33333300);
  background: linear-gradient(#e3e3e3, #33333300);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  width: 100%;
  z-index: -1;
  line-height: 1;
}
.product__logo {
  position: absolute;
  width: 8.5rem;
  height: 8.5rem;
  background: #ffffff69;
  z-index: 2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--c-primary-light-2);
  backdrop-filter: blur(10px);
  bottom: 1rem;
  right: 5rem;
  transform: translate(50%, 0%);
}
.product__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prev__product,
.next__product {
  top: 28% !important;
}

.section--products .adrian-circles {
  transform: scale(0.45);
}
.section--products .adrian-circles.left .circle {
  --c: rgb(254, 248, 231);
}
.section--products .adrian-circles.right .circle {
  --c2: rgb(233, 241, 237);
}
.section--products .adrian-circles.right {
  bottom: -9rem;
  transform: scale(0.56);
}
.swiper-initialized .section--products .circle-w {
  /* transform: rotate(0deg); */
  transition: 1s;
  opacity: 0;
}
.swiper-slide-active .section--products .circle-w {
  /* transform: rotate(360deg); */
  opacity: 1;
  transition: 2s ease-in-out;
}
.mobile .section--products::before {
  content: "";
  background-image: url(../assets/imgs/circle-mobile-yellow.webp);
  position: absolute;
  width: 53%;
  height: 25rem;
  top: -11rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
  pointer-events: none;
  z-index: -1;
  left: 0;
}

@media (width >= 1200px) {
  .products__item {
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6rem;
  }
  .products__features {
    gap: 4rem;
  }
}
@media (width< 1024px) {
  .products-wrapper {
    padding-right: var(--px);
  }
  .products__item {
    display: none;
  }
  .products__item.active {
    display: grid;
  }
}
@media (width >= 1024px) {
  .products-wrapper .carousel {
    transform: translateX(15rem);
  }
  .products__item {
    position: absolute;
    left: 0;
    right: 0;
  }
  .products-wrapper {
    grid-template-columns: 50rem minmax(0, 1fr);
  }
}
