/* ----- bloco principal ----- */
main .products-detail {
  width: clamp(320px, 71vw, 100%);
  max-width: 1280px;
  
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 8% 0 6%;
}

main .products-detail-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: clamp(300px, 32vw, 600px);
}

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

.image {
  width: clamp(300px, 32vw, 600px);
}

.image img {
  display: block;
  width: 100%;
}

/* ----- bloco dos produtos ----- */
main .all-products {
  width: clamp(320px, 71vw, 100%);
  max-width: 1280px;
  margin-bottom: 200px;

  display: flex;
  flex-direction: column;
}

.all-products .buttons {
  border-bottom: 1px dashed var(--WHITE);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: 0 0 3rem;
}

.buttons .select,
.buttons .select-2,
.buttons .select-3 {
  font-family: 'Gobold', sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  width: clamp(160px, 22vw, 300px);
}

#options {
  width: clamp(160px, 22vw, 300px);
}

/* ----- bloco de detalhes dos produtos ----- */
main .show-products {
  margin-top: 2rem;
}

.show-products .main-title {
  margin-bottom: 2rem;
}

.show-products .main-title img {
  max-height: 120px;
  max-width: clamp(280px, 18vw, 320px);
  height: auto;
  width: auto
}

.products {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: clamp(4rem, 7vw, 8rem);
}

.product {
  display: flex;
  gap: 2rem;
  width: clamp(300px, 34vw, 622px);
}

.product figure {
  display: grid;
  place-content: center;
  width: clamp(500px, 60vw, 1200px);
}

.product img {
  display: block;
  width: clamp(95px, 13vw, 100%);
  height: auto;
}

.product-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.product-text .title {
  color: var(--YELLOW);
  font-family: 'Gobold', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.8rem);
  text-transform: uppercase;
}

.product-text .description {
  color: var(--WHITE);
  font-family: 'Axiforma', sans-serif;
  font-size: clamp(.75rem, 1.2vw, 1.4rem);
}

.product-text .info a {
  background-color: var(--LIGHT-PURPLE);
  color: var(--RED);
  font-family: 'Gobold', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.4rem);
  text-transform: uppercase;
  border-radius: 30px;
  padding: .3rem .7rem;
}

/* ----- media queries ----- */
@media screen and (max-width: 890px) {
  main .products-detail {
    justify-content: center;
  }

  .all-products .buttons {
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }

  .buttons .select,
  .buttons .select-2,
  .buttons .select-3 {
    width: 300px;
  }

  #options {
    width: 300px;
  }

  .show-products .main-title {
    text-align: center;
  }
  
  .products {
    justify-content: center;
  }
}

@media screen and (min-width: 476px) and (max-width: 576px) {
  main .products-detail {
    width: 100%;
    padding: 2rem 2rem;
    justify-content: center;
  }

  main .products-detail-text {
    width: 301px;
  }

  .all-products .buttons {
    justify-content: center;
    gap: 1rem;
  }

  .buttons .select,
  .buttons .select-2,
  .buttons .select-3 {
    width: 300px;
  }

  #options {
    width: 300px;
  }

  .show-products .main-title {
    text-align: center;
  }
  
  .products {
    justify-content: center;
  }
}

@media screen and (min-width: 376px) and (max-width: 475px) {
  main .products-detail {
    width: 100%;
    padding: 2rem 2rem;
    justify-content: center;
  }

  main .products-detail-text {
    width: 301px;
  }

  .all-products .buttons {
    justify-content: center;
    gap: 1rem;
  }

  .buttons .select,
  .buttons .select-2,
  .buttons .select-3 {
    width: 300px;
  }

  #options {
    width: 300px;
  }

  .show-products .main-title {
    text-align: center;
  }
  
  .products {
    justify-content: center;
  }
}

@media screen and (min-width: 320px) and (max-width: 375px) {
  main .products-detail {
    width: 100%;
    padding: 2rem 0rem;
    justify-content: center;
  }

  main .products-detail-text {
    width: 250px;
  }

  main .all-products {
    width: 100%;
  }

  .all-products .buttons {
    justify-content: center;
    gap: 1rem;
  }

  .buttons .select,
  .buttons .select-2,
  .buttons .select-3 {
    width: 250px;
  }

  #options {
    width: 250px;
  }

  .show-products .main-title {
    text-align: center;
  }
  
  .products {
    justify-content: center;
  }
}