.produtos-home {
  background-color: #f7f7f7;
  position: relative;
}

.produtos-home::before {
  content: "";
  display: block;
  width: 70.6rem;
  height: 33.2rem;
  background: url("../../img/linhas-produtos-top.svg") bottom right;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.produtos-home::after {
  content: "";
  display: block;
  width: 53.2rem;
  height: 38.8rem;
  background: url("../../img/linhas-produtos-bottom.svg") top left;
  background-size: cover;
  position: absolute;
  bottom: 0;
  right: 0;
}

.produtos-home .container-produtoshome {
  max-width: 192rem;
  margin: 0 auto;
  padding-top: 14rem;
  padding-bottom: 10rem;
}

.produtos-home .container-produtoshome > a {
  position: relative;
  z-index: 200;
  margin: 8rem auto 0 auto;
}

.produtos-home .tex {
  margin: 0 auto 12rem auto;
  text-align: center;
}

.produtos-home .tex h2 {
  margin-bottom: 1.5rem;
}

.produtos-home .container-produtos {
  display: flex;
  position: relative;
  z-index: 200;
  gap: 1.5rem;
}

.produtos-home .swiper {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.produtos-home .swiper-button-next,
.produtos-home .swiper-button-prev {
  position: initial;
  height: initial;
  width: initial;
  margin: initial;
}

.produtos-home .swiper-button-next:after,
.produtos-home .swiper-button-prev:after {
  display: none;
}

.produtos-home svg circle {
  color: #fbfbfb;
  transition: color ease-in-out 300ms;
}

.produtos-home svg path {
  color: var(--azul);
  transition: color ease-in-out 300ms;
}

.produtos-home svg:hover circle {
  color: #ececec;
}

.produtos-home svg:hover path {
  color: var(--azul);
}

.produtos-home .swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.produtos-home .swiper-slide {
  position: relative;
}

.produtos-home .swiper-slide .tex-slide span {
  transition: all 0.3s ease-in-out;
}

.produtos-home .swiper-slide:hover .tex-slide span {
  color: var(--azul);
}

.produtos-home .swiper-slide .img img {
  width: 100%;
  height: 32rem;
  object-fit: cover;
}

.produtos-home .swiper-slide img {
  margin: 0 auto;
}

/* Categorias: ao passar o mouse a foto sobe um pouco, igual aos produtos */
.produtos-home .categoria-item > div:first-child:not(.foto-produto) img {
  transition: transform 0.3s ease-in-out;
}

.produtos-home .swiper-slide:hover .categoria-item > div:first-child:not(.foto-produto) img {
  transform: translateY(-0.6rem);
}

/* Foto de produto (vitrine): aparece inteira, sem corte, na mesma altura dos outros itens */
.produtos-home .swiper-slide .img.foto-produto img {
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

/* Ao passar o mouse a foto sobe um pouco, (sem zoom, sem sombra) */
.produtos-home .swiper-slide:hover .img.foto-produto img {
  transform: translateY(-0.6rem);
}

.produtos-home .tex-slide h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.produtos-home > a {
  margin: 9rem auto 0 auto;
}

@media (max-width: 2120px) {
  .produtos-home .container-produtoshome {
    max-width: 90%;
  }

  .produtos-home .swiper-slide .img img {
    height: 16.3vw;
  }
}

@media (max-width: 991px) {
  .produtos-home::before {
    width: 22.8rem;
    height: 14.2rem;
  }

  .produtos-home::after {
    width: 21.9rem;
    height: 13.2rem;
  }

  .produtos-home .container-produtoshome {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .produtos-home .tex {
    margin: 0 auto 8rem auto;
  }

  .produtos-home .swiper-slide .img img {
    height: 19vw;
  }

  .produtos-home .swiper-button-prev {
    scale: 0.8;
  }

  .produtos-home .swiper-button-next {
    scale: 0.8;
  }
}

@media (max-width: 768px) {
  .produtos-home .swiper-slide .img img {
    height: 25vw;
  }
}

@media (max-width: 600px) {
  .produtos-home .container-produtoshome {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .produtos-home .tex {
    margin: 0 auto 4rem auto;
  }

  .produtos-home .container-produtos {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .produtos-home .swiper {
    grid-column: -1/1;
  }

  .produtos-home .swiper-button-prev {
    order: 2;
    margin: auto 0 auto auto;
  }

  .produtos-home .swiper-button-next {
    order: 2;
    margin: auto auto auto 0;
  }

  .produtos-home .swiper-slide .img img {
    height: 67vw;
  }

  .produtos-home .container-produtoshome > a {
    margin: 4rem auto 0 auto;
  }
}
