.products__container {
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.products__box {
  /* height: 400px; */
  padding: 1rem;
  color: var(--main-white);
  position: relative;
  background-color: var(--main-dark-color);
  border: 1px solid var(--main-light-color);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.products__box:nth-child(even) {
  flex-direction: row-reverse;
}

/* .products__box::before {
  content: "";
  width: 180px;
  height: 180px;
  background-color: green;
  display: block;
  border-radius: 40px;
  position: absolute;
  right: 0;
  top: -40px;
  transform: rotate(45deg);
} */

.products__text {
  max-width: 50%;
  margin: 4rem 2rem;
}

.products__text::after {
  content: "";
  width: 70%;
  height: 4px;
  background-color: var(--main-light-color);
  display: block;
  margin-top: 50px;
}

.products__header {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.25rem;
  line-height: 2.625rem;
}

.products__description {
  font-size: 1rem;
  line-height: 1.75rem;
  text-align: center;
}

.products__box--img {
  padding: 2rem;
  position: relative;
  max-height: 400px;
  /* max-width: 300px; */
  aspect-ratio: 4/3;
  overflow: hidden;
}

@media (max-width: 992px) {
  .products__box--img {
    padding: 0;
    padding-right: 1rem;
  }
}

@media (max-width: 768px) {
  .products__container {
    padding: 0 1rem;
    gap: 2rem;
  }
  .products__box {
    display: block;
    height: auto;
  }

  .products__text {
    margin: 2rem 1rem;
    max-width: 100%;
  }

  .products__box--img {
    display: none;
  }

  .products__header {
    font-size: 1.75rem;
    line-height: 1.75rem;
  }

  .products__description {
    font-size: 1rem;
    font-weight: 300;
  }
}

.products__box--img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.toggle_more {
  color: var(--main-light-color);
}

.toggle_more:hover {
  cursor: pointer;
  text-decoration: underline;
  color: var(--main-white);
}
