/* ----- bloco principal ----- */
main .products {
  background-image: url('../images/nossos-produtos/produtos-background.png');
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  height: clamp(200px, 68vw, 140vh);
  /* max-width: 1500px; */

  position: relative;
}

main .products-text {
  position: absolute;
  right: 50%;
  transform: translate(-5%);
  top: 25%;
  width: clamp(220px, 32vw, 600px);

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.products-text .titulo {
  color: var(--YELLOW);
  font-family: 'Gobold', sans-serif;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.products-text .paragrafo-1 {
  color: var(--WHITE);
  font-family: 'Axiforma', sans-serif;
  font-size: clamp(.75rem, 1.4vw, 1.6rem);
  font-weight: bold;
  line-height: 1.2;
}

.products-text .paragrafo-2 {
  color: var(--WHITE);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.75rem, 1.3vw, 1.5rem);
  line-height: 1.2;
}

.our-products {
  position: absolute;
  right: 50%;
  transform: translate(-5%);
  bottom: 0;
  width: clamp(220px, 32vw, 600px);

  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.button input {
  background-color: var(--LIGHT-PURPLE);
  color: var(--RED);
  font-family: 'Gobold', sans-serif;
  font-size: clamp(.75rem, 1.6vw, 1.5rem);
  text-transform: uppercase;
  padding: .5rem 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

.our-products .images {
  display: flex;
}

.our-products figure {
  width: clamp(100px, 19vw, 300px);
}

.our-products img {
  display: block;
  height: clamp(100px, 19vw, 280px);
}

/* ----- bloco das imagens ----- */
main .products-images {
  width: clamp(100px, 69vw, 1311px);
  flex-grow: 1;
  padding: 50px 0;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  gap: 2rem 4rem;
}

.products-images .box {
  width: clamp(100px, 62vw, 1000px);
  box-sizing: border-box;
  
  display: block;
}

.products-images .products-row {
  border-top: 1px dashed white;
  padding: 2rem 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 2rem;
}

.products-images .products-row-full {
  justify-content: flex-start;
}

.products-images.compartilhado .products-row:first-child {
  border-top: none;
}

.square {
  flex: 0 1 auto;
  min-width: 0;
}

.products-images .full-row {
  flex-basis: 100%;
  width: 100%;
}

.products-images .side-by-side {
  flex: 0 1 auto;
}

.products-images figure {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.products-images .full-row a {
  display: block;
  width: 100%;
}

.products-images .box img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(80px, 18vw, 280px);
  object-fit: contain;
}

.products-images .full-row img {
  width: 100%;
  max-height: none;
}

/* ----- media queries ----- */
@media screen and (max-width: 1440px) {
  main .products {
    background-size: 100%;
    height: clamp(200px, 74vw, 140vh);
  }
}

@media screen and (max-width: 890px) {
  main .products {
    background-size: 100%;
    height: clamp(200px, 680px, 140vh);
  }
}

@media screen and (max-width: 768px) {
  main .products {
    background-size: max(670px, 100%);
    height: clamp(250px, 640px, 140vh);
  }
  
  main .products-text {
    position: absolute;
    right: auto;
    transform: translate(0);
    left: 17%;
    top: 25%;
    width: clamp(220px, 32vw, 600px);
  
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

@media screen and (max-width: 690px) {
  .our-products {
    right: auto;
    transform: translate(0);
    left: 16.8%;
  }
}

@media screen and (max-width: 375px) {
  main .products {
    background-size: max(600px, 100%);
    height: clamp(250px, 580px, 140vh);
  }
}

@media screen and (max-width: 320px) {
  main .products-images {
    justify-content: center;
  }
}