* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #0f0f0f;
  color: #fff;
  line-height: 1.4;
}

.hero {
  position: relative;
  height: 140px;
  background: #111;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #1f1f1f;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #000, rgba(77, 0, 100, 0.35), transparent);
}

.hero-conteudo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  gap: 12px;
  z-index: 1;
}

.logo {
  width: 120px;
  height: auto;
  border-radius: 14px;
}

.hero-conteudo p {
  margin: 0;
  font-size: 14px;
  color: #d0d0d0;
}

.container {
  padding: 15px;
  max-width: 1100px;
  margin: 0 auto;
}

.categorias {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.categorias::-webkit-scrollbar {
  display: none;
}

.botao-categoria {
  background: #1b1b1b;
  border: 1px solid #2a2a2a;
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  transition: 0.2s ease;
}

.botao-categoria.ativo {
  background: #7b1fa2;
  border-color: #7b1fa2;
}

.botao-categoria:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* BANNER */
.banner-categoria {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 4px;
  border: 1px solid #252525;
  background: #151515;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.banner-categoria img {
  width: 100%;
  height: auto;
  display: block;
}

/* CARD */
.card {
  
  background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid #252525;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.card-sem-imagem {
  min-height: auto;
}

.card-conteudo {
  padding: 12px;
}

.card-categoria {
  display: inline-block;
  font-size: 11px;
  color: #b5b5b5;
  margin-bottom: 6px;
}

.card h3 {
  font-size: 16px;
  margin: 4px 0 6px;
  color: #fff;
}

.card p {
  font-size: 13px;
  color: #bcbcbc;
  line-height: 1.45;
  margin-bottom: 6px;
}

.card-rodape {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 8px;
}

.preco {
  font-weight: bold;
  font-size: 15px;
  color: #fff;
}

.botao,
#finalizar {
  background: #7b1fa2;
  border: none;
  padding: 8px 11px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
  transition: 0.2s ease;
}

.botao:hover,
#finalizar:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.badge.mais {
  background: #00c853;
  color: #fff;
}

.badge.promo {
  background: #7b1fa2;
  color: #fff;
}

/* CARRINHO */
.carrinho-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #7b1fa2;
  border: none;
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  z-index: 1001;
}

.painel-carrinho {
  position: fixed;
  right: -100%;
  top: 0;
  width: 100%;
  max-width: 350px;
  height: 100%;
  background: #111;
  transition: 0.3s;
  z-index: 999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
}

.painel-carrinho.aberto {
  right: 0;
}

.topo-carrinho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #2c2c2c;
}

.topo-carrinho button {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}

.item-carrinho {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 1px solid #1d1d1d;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.item-info span {
  color: #bbb;
  font-size: 12px;
}

.item-acoes button {
  margin: 0 3px;
  padding: 4px 8px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  background: #222;
  color: #fff;
}

.btn-remover {
  color: #fff;
  background: #7b1fa2 !important;
}

.rodape-carrinho {
  padding: 15px;
  border-top: 1px solid #2c2c2c;
}

.rodape-carrinho p {
  font-weight: bold;
  margin-bottom: 10px;
}

.rodape-carrinho input,
.rodape-carrinho textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: none;
  background: #1d1d1d;
  color: #fff;
}

.rodape-carrinho textarea {
  min-height: 80px;
  resize: vertical;
}

#finalizar {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
}

.toast {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  opacity: 0;
  transition: 0.3s;
  border-left: 4px solid #00c853;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 1002;
}

.toast.ativo {
  opacity: 1;
}

.whatsapp-fixo {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #25d366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

/* AÇAÍ */
.info-acai {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 12px;
  background: #111;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid #222;
}

.info-acai h3 {
  margin-bottom: 6px;
  font-size: 15px;
  color: #fff;
}

.info-acai p {
  margin: 4px 0;
  color: #ccc;
  font-size: 12.5px;
}

.info-acai .obs {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

/* 🔥 AVISO AÇAÍ */
.aviso-complementos {
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #2a1435, #1a0f22);
  border: 1px solid #7b1fa2;
  border-left: 5px solid #ffd54f;
  border-radius: 12px;
  color: #ffd54f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* 🔥 AVISO CARRINHO */
.aviso-carrinho {
  margin: 10px 0;
  padding: 12px;
  background: linear-gradient(135deg, #2a1435, #1a0f22);
  border: 1px solid #7b1fa2;
  border-left: 5px solid #ffd54f;
  border-radius: 12px;
  color: #ffd54f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.grupo-produtos {
  display: contents;
}

.taxa-entrega {
  color: #ffd54f !important;
  font-weight: bold;
  font-size: 14px;
  background: rgba(255, 213, 79, 0.12);
  padding: 8px;
  border-radius: 8px;
  margin: 8px 0;
}
.modal-acai {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 15px;
}

.modal-acai.ativo {
  display: flex;
}

.modal-acai-conteudo {
  background: #111;
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #2a2a2a;
}

.modal-acai-conteudo h3 {
  margin-bottom: 6px;
}

#modal-acai-limite {
  color: #ffd54f;
  font-size: 13px;
  margin-bottom: 12px;
}

.lista-complementos {
  display: grid;
  gap: 8px;
}

.complemento-item {
  background: #1b1b1b;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.modal-acai-acoes {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.modal-acai-acoes button {
  flex: 1;
  padding: 11px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

#cancelar-acai {
  background: #222;
  color: #fff;
}

#confirmar-acai {
  background: #7b1fa2;
  color: #fff;
}
.lista-complementos {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}

.modal-acai-conteudo {
  max-height: 85vh;
  overflow: hidden;
}

.lista-complementos::-webkit-scrollbar {
  width: 6px;
}

.lista-complementos::-webkit-scrollbar-thumb {
  background: #7b2cff;
  border-radius: 10px;
}

.lista-complementos::-webkit-scrollbar-track {
  background: #222;
}

.card-taca {
  background: transparent;
  border: none;
  box-shadow: none;
}

.card-taca img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

grupo.-tacas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.grupo.-tacas .icone-carrinho {
  display: none;
}
.card-taca {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.card-taca img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}
.pagamento-opcoes button {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.pagamento-opcoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pagamento-opcoes button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
}

/* 👇 ESTADO SELECIONADO */
.pagamento-opcoes button.ativo {
  background: #25d366;
  border-color: #25d366;
  color: #000;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
}

/* FORÇA as taças ocuparem largura total */
.grupo-produtos.grupo-tacas {
  width: 100% !important;
  max-width: 100% !important;
  
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px;
}

/* Garante que nada fique travando */
.container .grupo-tacas {
  width: 100%;
}
/* ZERA qualquer estilo antigo que esteja atrapalhando */
.grupo-tacas {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px;
}

/* REMOVE qualquer layout interno do card */
.grupo-tacas .card {
  all: unset;
}

/* garante que a imagem ocupa o espaço certo */
.grupo-tacas img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
.grupo.-tacas img {
  display: none !important;
}

/* Títulos amarelos que separam Bebidas, Sucos, etc */
.titulo-subcategoria {
    grid-column: 1 / -1;
    color: #ffd54f;
    font-size: 16px;
    font-weight: bold;
    margin: 25px 0 10px 5px;
    padding-bottom: 5px;
    border-bottom: 2px solid #7b1fa2;
    text-transform: uppercase;
}

/* Botão de Editar dentro do carrinho */
.btn-editar {
    background: #222;
    color: #ffd54f;
    border: 1px solid #333;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 11px;
    cursor: pointer;
    margin-top: 5px;
    font-weight: bold;
}

/* Garante que cards sem imagem fiquem alinhados */
.card-sem-imagem {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-produtos {
    margin-bottom: 120px; /* Isso empurra o conteúdo para cima, liberando o botão */
}
.info-ofertas {
  font-size: 13px;
  color: #ffcc00;
  margin: -5px 0 15px;
  line-height: 1.4;
  text-align: center;
  font-weight: bold;
}

.politica-aviso {
  font-size: 12px;
  text-align: center;
  margin: 10px 0;
}

.politica-aviso a {
  color: inherit;
  text-decoration: underline;
}
