body {
  .iosevka-charon-light {
  font-family: "Iosevka Charon", monospace;
  font-weight: 300;
  font-style: normal;
}
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #ff69b4; /* Rosa lindo */
  color: white;
  text-align: center;
  padding: 20px;
}

h1 {
  margin: 0;
  font-size: 2.5em;
}

#banner-ad {
  background: #000000; /* inicial #eee */
  margin: 10px auto;
  max-width: 728px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ccc;
}

#auth-form {
  max-width: 400px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

input {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}

button {
  width: 48%;
  padding: 12px;
  margin: 5px 1%;
  background: #fa4fa4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #ff1493;
}

main {
  padding: 20px;
  text-align: center;
}

.produtos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

.produto { border: 1px solid #ddd; padding: 10px; text-align: center; }

.admin-actions button {
  background: #ff4444;
  color: white;
  padding: 6px 12px;
  margin: 5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.admin-actions button:first-child {
  background: #4caf50;
}

.admin-only {
  display: none; /* começa escondido */
}

#desc-prod {
  width: 90%;
  height: 45px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  resize: vertical; /* Permite redimensionar apenas na vertical */
}

#desc-prod:focus {
  border-color: #000000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  outline: none;
}   

.produto img {
  width: 100%;          /* ou o tamanho que você quiser, ex: 250px, 100% */
  height: 45%;         /* altura fixa para uniformidade */
  object-fit: cover;     /* corta as bordas se necessário, mantém proporção */
  object-position: center; /* centraliza a imagem no quadrado */
  border-radius: 8px;    /* opcional: cantos arredondados */
  display: block;        /* evita espaços em branco indesejados */
  margin: 0 auto;        /* centraliza horizontalmente */
}

/* Se quiser que a imagem se ajuste melhor em telas pequenas */
@media (max-width: 600px) {
  .produto img {
    width: 100%;
    height: 45%;       /* altura menor no mobile */
  }
}

.produto p strong {
  color: #ff69b4;  /* rosa da loja */
}

.btn-comprar {
  background: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
}

.btn-comprar:hover {
  background: #218838;
}

#carrinho-header {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgb(10, 100, 0);
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

#carrinho-header:hover{
  animation: cHH 5s ease alternate ;
  background-color: #4b0088;
}

@keyframes cHH {
  0% {
    background-color:rgb(10, 100, 0);
  }
  50% {
    background-color: #4b0088;
  }
  100% {
    background-color: rgb(10, 100, 0);
  }
}

#carrinho-header::before {
  background-color: black;
}

/*
footer {
  .grape-nuts-regular {
  font-family: "Grape Nuts", cursive;
  font-weight: 400;
  font-style: normal;
  }
  position:relative;
  width: 20%;
  height: auto;
  text-align: center;
  nav-down: 20%;
  left:39%;
  right:calc(39%);
  color: white;
  background: rgb(60, 0, 128);
  border-color: #ff0000;
  padding: 8px 15px;
  border-radius: 15px;
  cursor:default;
  font-weight:bolder;
} */

footer {
  position: relative;
  width: 20%;
  height: auto;
  text-align: center;
  left: 39%;
  right: calc(39%);
  color: white;
  background: linear-gradient(70deg, #000000, #4b0088, #8d0000, #000000);
  background-size: 400% 400%;
  padding: 8px 15px;
  border-radius: 15px;
  cursor: default;
  font-weight: bolder;
  animation: mudarFundo 5s ease infinite;
}

@keyframes mudarFundo {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.grape-nuts-regular {
  font-family: "Grape Nuts", cursive;
  font-weight: 400;
  font-style: normal;
}   