/* ================== RESET ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial Narrow", sans-serif;
}

body {
  background: #000;
  color: #fff;
}

/* ================== TOPO ================== */
.topo {
  background: #000;
  padding: 15px;
  display: flex;
  justify-content: center;
}

.logo {
  width: 350px;
}

/* ================== MENU ================== */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.menu button {
  background: #1f1f1f;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.menu button:hover {
  background: #444;
}

/* ================== CARRINHO TOPO ================== */
.cart-icon {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1000;
}

/* ================== PRODUTOS ================== */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  padding: 20px;
}

.card {
  background: #616161;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .3s;
}

.card img:hover {
  transform: scale(1.1);
}

.card h3 {
  font-size: 15px;
  margin: 10px 0;
}

.price {
  font-weight: bold;
}

.card button {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 6px;
  margin-top: 6px;
  cursor: pointer;
}

.btn-cart {
  background: #000;
  color: #fff;
}

.btn-wpp {
  background: #25d366;
  color: #fff;
}

/* ================== MODAL PADRÃO ================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn .2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ================== MODAL PRODUTO ================== */
.modal-conteudo {
  background: #333;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

#imgPrincipalModal {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  border-radius: 10px;
}

#thumbsModal {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#thumbsModal img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 2px solid #fff;
  border-radius: 8px;
  cursor: pointer;
}

#thumbsModal img:hover {
  border-color: #00ee00;
}

#CoresModal {
  text-align: center;
}

.modal-buttons {
  display: flex;
  gap: 10px;
}

.btn-cart-modal {
  background: #000;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  flex: 1;
}

.btn-wpp-modal {
  background: #25d366;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  flex: 1;
}

/* ================== MODAL CARRINHO ================== */
.modal-box {
  background: #424242;
  padding: 20px;
  border-radius: 10px;
  width: 320px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-box ul {
  list-style: none;
  margin: 15px 0;
}

.modal-box li {
  margin-bottom: 8px;
  font-size: 14px;
}

.cart-buttons {
  display: flex;
  gap: 10px;
}

.cart-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ================== AVISO ================== */
.aviso {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.aviso-conteudo {
  background: #00994d;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
}

.aviso-img {
  width: 300px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.aviso-conteudo button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: red;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #000;
  color: #fff;
}

/* BOTÕES DE ORDENAR */
.botoes-ordenar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.botoes-ordenar button {
  background: #00ee00;
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.botoes-ordenar button:hover {
  background: #00b300;
}

/* LISTA DE PRODUTOS */
#produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* CARD DO PRODUTO */
.produto {
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.produto:hover {
  transform: scale(1.03);
  border-color: #00ee00;
}

/* NOME DO PRODUTO */
.produto h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

/* PREÇO */
.produto p {
  color: #00ee00;
  font-size: 18px;
  font-weight: bold;
}


/* ================== RESPONSIVO ================== */
@media (max-width: 768px) {

  /* BOTÕES DOS PRODUTOS */
  .card button {
    min-height: 48px;        /* tamanho ideal para o dedo */
    font-size: 16px;         /* texto maior */
    font-weight: bold;
    border-radius: 10px;
  }

  /* BOTÃO CARRINHO */
  .btn-cart {
    margin-top: 8px;
  }

  /* BOTÃO WHATSAPP */
  .btn-wpp {
    margin-top: 6px;
  }

  /* BOTÕES DO MODAL */
  .btn-cart-modal,
  .btn-wpp-modal {
    min-height: 52px;
    font-size: 16px;
    font-weight: bold;
  }

  /* BOTÕES DE ORDENAR (MENOR / MAIOR PREÇO) */
  .botoes-ordenar button {
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 12px;
  }

}