/*ESTILO PARA PÁGINA HTML comprar.html (comprar) */
@font-face {
  font-family: 'Avenue';
  src: url(FONTES/Avenue-de-Madison.ttf);
}

@font-face {
  font-family: 'Adobe Garamond';
  src: url(FONTES/adobe-garamond.otf);
}

/****** SUBMENU PARA LOCALIZAÇÃO DOS PRODUTOS -> aparece apenas ao clicar em comprar no menu *********/
.dropdown {
  position: relative;
  display: inline-block;
}

/* configurações do submenu (invisível por padrão) */
.submenu {
  display: none;
  position: absolute;
  top: 100%; 
  left: 0;
  z-index: 10;
  text-align: left;
  background-color: white;
  padding: 5px;
}

/* itens do submenu quando a pessoa clica em comprar */
.submenu a {
  display: block;
  padding: 5px;
  font-size: 10px;
  margin-bottom: 0px;
  text-decoration: none;
  color: black;
  position: relative;
}

/* mostrar submenu ao passar o mouse */
.dropdown:hover .submenu {
  display: block;
}

.submenu p{
    font-size: 15px;
    margin-bottom: 2px;
}

#bolinhos{
    margin-top: 4px;
}

.submenu a::after {
  display: none; 
}

.submenu a:hover {
  background-color: #f2f2f2;
}

/******** APRESENTAÇÃO DOS PRODUTOS ************/
.title{
  font-family: 'Avenue';
  font-size: 50px;
  text-align: center;
  color: #634647;
  margin-bottom: -15px;
}

.produto-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 20px;
  margin: 0 40px 0 40px;
}

.produto {
  flex: 1 1 250px; /* base mínima e crescimento proporcional */
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.produto img {
  width: 100%;   
  height: auto;     
  border-radius: 2%;
  margin-bottom: 10px;
  object-fit: contain;
}

.produto.dif{
  flex: 1 1 220px;
}

.produto.dif img{
  width: 220px;
}

/*textos */
.produto p{
  font-family: 'Adobe Garamond';
  text-align: center;
  line-height: 1.0;
  margin: 3px auto 5px auto;
}

.p1{
  font-size: 20px;
}

.p1.damasco{
  font-size: 16.5px;
}

.p2{
  font-size: 16px;
}

/*botão saiba mais*/
.saiba-mais{
  margin-top: 5px;
  margin-bottom: 20px;
  text-align: center;
  font-family: 'Adobe Garamond';
  font-size: 20px;
}

.produto button{
  background-color: #634647;
  color: white;
  width: 220px;
  cursor: pointer;
}

.produto.dif button{
  width: 180px;
}

/* ==============================
   📱 CELULARES (até 500px)
============================== */
@media (max-width: 500px) {
  .title {
    font-size: 30px;
    text-align: center;
    margin-top: 5px;
  }

  .dropdown{
    display: none;
  }

  .produto-container{
    gap: 5px;
  }

  .produto, .produto.dif {
    flex: 1 1 45%;   /* 2 produtos por linha */
    max-width: 48%;
  }

  .produto img, .produto.dif img {
    width: 100%;
    height: auto;
  }

  .p1 { font-size: 15px; }
  .p2 { font-size: 13px; }
  .saiba-mais { font-size: 14px; }
  .produto button {
    width: 90%;
    font-size: 14px;
  }

  .produto-container{
    display: flex;
    flex-wrap: wrap;
  }

  .p1.damasco{
    font-size: 13.5px;
  }

  .saiba-mais{
    font-size: 15px;
  }

  .produto button, .produto.dif button{
    width: 120px;
  }
}

/* ==============================
   💻 TABLETS (481px–760px)
============================== */
@media (min-width: 501px) and (max-width: 760px) {
  .title{
    margin-top: -20px;
  }
}