@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: "The Seasons";
  src: url(../fontes/TheSeasons.ttf);
}

body,
html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
  padding: 0;
}

.product-class {
  padding: 0 100px;
}

.hidden {
  display: none;
  pointer-events: none;
}

.logo {
  margin: 20px 0;
  width: 120px;
  margin-left: 60px; 
}

.whatsapp-link{
  padding: 15px;
  margin-right: 80px;
}

.contactText{
  font-size: 1rem;
}

.fa-whatsapp{
  font-size: 0.8rem;
}

.decoration {
  width: 400px;
}

.text-conteiner {
  margin-top: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-family: "The Seasons", serif;
  font-size: 3rem;
  font-weight: normal;
  margin-bottom: 20px;
  text-align: center;
}

header {
  position: -webkit-sticky;
  position: fixed;
  /* left: 50%;
  transform: translateX(-50%); */
  width: 100vw;
  padding: 0 !important;
  margin: 0 !important;
  padding: 5px 100px;
  top: 0;
  background-color: #f9f9f9;
  opacity: 0.9;
  z-index: 10;
  height: 15vh;
  max-height: 150px;
}

.slideshow {
  overflow: hidden;
  width: 100%;
}

.wrapper {
  position: relative;
  margin-bottom: 100px;
}

.track {
  transition: transform 0.5s ease;
  display: flex;
  gap: var(--gap);
}
:root {
  --gap: 30px;
  --visible_elements: 3;
  --gap_space: calc((var(--visible_elements) - 1) * var(--gap));
}
.item {
  flex: 0 0 auto;
  cursor: pointer;
  overflow: hidden;
  /* para 2 elementos, muda o numero de gaps (n-1) e o numero da divisão (n) */
  width: round(down, calc((100% - var(--gap_space)) / var(--visible_elements)), 1px);
  border: 1px solid #be9a5e;
  box-sizing: border-box;
}

.product-img-conteiner {
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image {
  width: 100%;
  display: block;
}

@media (pointer: fine) {
  .item:hover .price-conteiner {
    opacity: 0.9;
  }

  .item:hover .product-name {
    color: #be9a5e;
  }
}

.priceConteinerVisible {
  opacity: 0.9 !important;
}

.productNameVisible {
  color: #be9a5e !important;
}

.price-conteiner {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #e8e8e8;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h3 {
  z-index: 3;
  font-family: "Bree Serif", sans-serif;
  width: 130px;
  color: black;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.price {
  width: 100%;
  display: flex;
  margin: 15px 0;
  justify-content: center;
}

.slide-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%) rotate(-45deg);
  z-index: 1;
  padding: 2px;
  background-color: #fff;
}
.left-button {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
  z-index: 1;
  padding: 2px;
  background-color: #fff;
}

.button-img {
  width: 45px;
  z-index: 1;
}

.product-name {
  font-size: 1.5rem;
  font-family: "The Seasons", serif;
  width: 80%;
  text-transform: uppercase;
  margin: 20px 10px;
  transition: color 0.3s ease;
}

:root {
  --section_bottom_margin: 80px;
}

.productClassButtonsConteiner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 20px;
  padding: 10px;
  margin-bottom: var(--section_bottom_margin);
  justify-content: safe center;
}

.productClassButtonsConteiner::-webkit-scrollbar {
  display: none; /* Esconde a barra de rolagem para um visual mais limpo */
}

.productSection {
  scroll-margin-top: 150px;
  margin-bottom: var(--section_bottom_margin);
}

@media (max-width: 600px) {
  :root {
    --section_bottom_margin: 60px;
  }
}

.productClassButtons {
  display: flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #be9a5e;
  background: -webkit-linear-gradient(45deg, #be9a5e, #876c35, #be9a5e);
  background: linear-gradient(45deg, #be9a5e, #876c35, #be9a5e);
  color: #f1f1f1;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-family: "poppins", sans-serif;
}
@media (max-width: 700px) {
  .product-name {
    font-size: 1.1rem;
  }
  .other-product-description{
    font-size: 0.9rem;
  }
}

.product-name-conteiner {
  width: 100%;
  height: 25%;
  display: flex;
  align-items: center;
}

.itemConteiner {
  display: grid;
  grid-template-columns: repeat(var(--visible_elements), 1fr);
  gap: var(--gap);
}

.itemConteiner > .item {
  width: 100%;
}

.infoConteiner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-template-rows: auto 1fr auto;
  margin-top: 25px;
  margin-left: 30px;
}

:root {
  --margin-bottom: 20px;
}

.other-product-name {
  margin: 0;
  margin-bottom: var(--margin-bottom);
  display: flex;
  align-items: center;
}

.mini-other-product-name{
  font-size: 1.3rem;

}

.other-product-description {
  font-family: "poppins", sans-serif;
  font-weight: normal;
  margin-bottom: var(--margin-bottom);
  width: 90%;
}

.other-product-price {
  font-family: "poppins", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0;
  margin-bottom: var(--margin-bottom);
}

p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #f1f1f1;
  width: 80%;
  text-align: center;
  font-family: sans-serif;
}

footer {
  background-color: #321c12;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


@media (max-width: 1200px) {
  :root {
    --visible_elements: 2;
  }
  .product-class {
    padding: 0 50px;
  }
  .productClassButtons {
    font-size: 1rem;
  }
  p {
    font-size: 0.8rem;
  }
  .logo{
    margin-left: 40px;
  }
  .whatsapp-link{
    margin-right: 40px;
  }
}

@media (max-width: 500px) {
  .product-name {
    font-size: 1.5rem;
  }
  .whatsapp-link {
    padding: 15px;
    margin-bottom: 0;
    margin-right: 30px;
  }
  .logo{
    margin-left: 30px;
  }
  .catalogo-link {
    padding: 30px 20px;
    margin-right: 0;
    margin-bottom: 40px;
    box-shadow: 3px 3px 20px 3px #e4d00a;
  }
  .product-class {
    padding: 0 50px;
  }
  .buttons {
    display: flex;
    flex-direction: column;
  }
  .logo {
    width: 130px;
  }
  .product-class {
    padding: 0 40px;
  }
  :root {
    --visible_elements: 1;
  }
  .decoration {
    width: 300px;
  }
  h1 {
    font-size: 2rem;
  }
  .button-img {
    width: 40px;
  }
  p {
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .product-class {
    padding: 0 30px;
    position: relative;
  }
  .whatsapp-link {
    padding: 12px;
  }
  .logo {
    width: 100px;
  }
  .whatsapp-link i {
    font-size: 1.3rem;
  }

  
  .product-name{
    font-size: 1.3rem;
  }
}
