@charset "UTF-8";


*{
  padding: 0;
  margin: 0;
  box-sizing: border-box; /* evita bug de tamanho */
}

html, body{
  height: 100%;
}

body{
  display: flex;
  flex-direction: column;
  margin: auto;
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== HEADER ===== */

header{
 /* position: sticky;      /* deixa o header fixo ao rolar */
 /* top: 0; */               /* cola no topo */
 /* z-index: 1000;         /* fica acima do conteúdo */


  text-align: center;
  padding: 35px;
  background-image: url("../estilo/fotos/fundo-ft.jpeg");
  background-position: center;
  background-size: cover;
  box-shadow: 3px 2px 4px rgba(0, 0, 0, 0.479);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

header h1{
  text-shadow: 2px 2px 0px black;
  color: white;
  font-size: 2.4em;
}

header p{
  color: white;
}

/* ===== botao carrinho ===== */

.carro-bt{
align-items: right;
width: 30px;
border-radius: 3px;
}

.carrinho-bt{
 position: fixed;
 right: 3px;
  top: 15px;
  font-size: 19px;
  color: #ffffff00;               /* 👈 COR DO ÍCONE ☰ */
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

.carrinho-bt a{
  text-decoration: none;
  cursor:pointer ;
}



/* ===== NAV ===== */

nav a{
  text-decoration: none;
  color: white;
  font-size: 0.8em;
  padding: 6px;
}

/* botão hamburguer */
#abrir-menu{
  position: fixed;
  top: 15px;
  left: 3px;
  font-size: 19px;
  background-color: #e600c063; /* 👈 COR DO BOTÃO */
  color: #fff;               /* 👈 COR DO ÍCONE ☰ */
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1001;
}

/* menu lateral */
#menu-lateral{
  position: fixed;
  top: 0;
  left: -220px;              /* ESCONDIDO */
  width: 100px;
  height: 100vh;
  background: #dcbee352;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: left 0.3s ease; /* animação */
  z-index: 1000;
}

/* quando ativo */
#menu-lateral.ativo{
  left: 0; /* APARECE */
}

#menu-lateral a{
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.9em;
  text-shadow: 1px 2px 0px black;
}

section#emoji{
  font-size: 0.7em;
  text-align: center;
  padding-bottom: -20px;
  margin-bottom: -1px;
}

/* ===== MAIN ===== */

main{
  background-color: white;
  background-size: cover;
  flex: 1;
  max-width: 800px;
  margin: auto;
}

main h2{
  color: rgb(255, 255, 255);
  text-align: center;
  margin: 10px 0;
}

/* ===== PRODUTOS ===== */

.produtos{
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    cursor: pointer;}

.produto{
  background: #cb34df2f;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.produto img{
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

div :hover{
  background-color: rgba(128, 0, 128, 0.329);
  border-radius: 8px;
  padding: 2px;
  transition: 0.2s;
}

.titulo{
  margin-top: 6px;
}

.preco{
  font-size: 14px;
  font-weight: 700;
  color: #e60073;
}

/* ===== BOTÃO ADICIONAR AO CARRINHO ===== */

.botao{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.carrinho{
  background-color: #6b00e649; /* roxo sólido (antes estava transparente demais) */
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.carrinho:hover{
  background-color: #4900a88c; /* hover mais escuro e visível */
}

.info-carro{
  font-size: 12px;
  color: #555;
}

/* ===== SMALL COLORS ===== */

small#rosa{
  color: #e60073;
}

small#roxo{
  color: #6b00e65d;
}

small#azul{
  color: #0066e6;
}

/* ===== FOOTER ===== */

footer{
  font-size: 0.8em;
  text-align: center;
  padding: 10px;
}

footer a{
  text-decoration: none;
  color: rgb(235, 47, 103);
}

footer a:hover{
  text-decoration: underline;
}