@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');

.efeito_h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  text-align: center;
  position: relative;
  color: #ffe600; /* Começa amarelo */
  text-shadow:
    0 0 5px #ffe600,
    0 0 10px #ffe600,
    0 0 20px #ff00ff,
    0 0 30px #00ffae;
  animation: neonColorCycle 6s infinite ease-in-out;
  overflow: hidden;
}

/* Linha de luz percorrendo */
.efeito_h1::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: lightSweep 3s infinite;
}

/* Ciclo de cores neon */
@keyframes neonColorCycle {
  0% {
    color: #ffe600;
    text-shadow: 0 0 5px #ffe600, 0 0 10px #ffee00, 0 0 20px #ffee00;
  }
  33% {
    color: #00ffae;
    text-shadow: 0 0 5px #00ffae, 0 0 10px #00ffae, 0 0 20px #00ffaa;
  }
  66% {
    color: #c300ff;
    text-shadow: 0 0 5px #c300ff, 0 0 10px #c300ff, 0 0 20px #ff00ff;
  }
  100% {
    color: #ffe600;
    text-shadow: 0 0 5px #ffe600, 0 0 10px #ffee00, 0 0 20px #ffee00;
  }
}

/* Animação da linha de luz */
@keyframes lightSweep {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.boxInfoVinc{
    max-width: 600px;

    /* Fibra de carbono */
    background:
        linear-gradient(135deg, rgba(255,255,255,0.04) 25%, transparent 25%) -8px 0,
        linear-gradient(225deg, rgba(255,255,255,0.04) 25%, transparent 25%) -8px 0,
        linear-gradient(315deg, rgba(255,255,255,0.04) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%);
    background-size: 16px 16px;
    background-color: #141414;

    margin: 20px auto;
    padding: 20px;
    border-radius: 14px;

    border: 1px solid rgba(255,159,26,0.45);

    box-shadow:
        0 0 0 1px rgba(255,159,26,0.20),
        0 0 18px rgba(255,159,26,0.35),
        0 12px 40px rgba(0,0,0,0.9);

    color: #ff9f1a;
}


.boxdosProdutos{
    max-width: 90%;

    /* Fibra de carbono */
    background:
        linear-gradient(135deg, rgba(255,255,255,0.035) 25%, transparent 25%) -10px 0,
        linear-gradient(225deg, rgba(255,255,255,0.035) 25%, transparent 25%) -10px 0,
        linear-gradient(315deg, rgba(255,255,255,0.035) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%);
    background-size: 18px 18px;
    background-color: #121212;

    margin: 20px auto;
    padding: 20px 0;
    border-radius: 16px;

    border: 1px solid rgba(255,159,26,0.35);

    box-shadow:
        0 0 0 1px rgba(255,159,26,0.18),
        0 0 22px rgba(255,159,26,0.45),
        0 18px 60px rgba(0,0,0,0.95);

    color: #ff9f1a;
}

.fotoProduto {
    width: 150px;        /* LARGURA FIXA */
    height: 150px;       /* ALTURA FIXA */
    object-fit: contain;
    display: block;
    margin: 0 auto;
}




.aumentaDiminui {
  /* Fibra de carbono */
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04) 25%, transparent 25%) -6px 0,
    linear-gradient(225deg, rgba(255,255,255,0.04) 25%, transparent 25%) -6px 0,
    linear-gradient(315deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%);
  background-size: 12px 12px;
  background-color: #141414;

  color: #ff9f1a;
  font-size: 1.5rem;
  font-weight: 900;

  padding: 10px 18px;
  margin: 6px;

  border: 2px solid rgba(255,159,26,0.55);
  border-radius: 10px;

  box-shadow:
    inset 0 -4px 10px rgba(0,0,0,0.6),
    0 8px 22px rgba(0,0,0,0.9),
    0 0 14px rgba(255,159,26,0.5);

  cursor: pointer;
  user-select: none;

  transition: 
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}

.aumentaDiminui:hover {
  filter: brightness(1.15);
  box-shadow:
    inset 0 -4px 10px rgba(0,0,0,0.5),
    0 10px 30px rgba(0,0,0,0.95),
    0 0 22px rgba(255,159,26,0.8);
}

.aumentaDiminui:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 4px 12px rgba(0,0,0,0.75),
    0 4px 14px rgba(0,0,0,0.6),
    0 0 10px rgba(255,159,26,0.45);
}


.boxQuantidade {
    width: 74px;
    height: 52px;

    font-size: 26px;
    font-weight: 900;
    text-align: center;

    color: #ffb347;
    background-color: #0f0f0f;

    border: 2px solid rgba(255,159,26,0.7);
    border-radius: 10px;

    box-shadow:
        inset 0 0 12px rgba(0,0,0,0.9),
        0 0 10px rgba(255,159,26,0.5),
        0 8px 20px rgba(0,0,0,0.9);

    font-family: 'Courier New', monospace;
}

.adicionar-pedido {
    background: linear-gradient(145deg, #1f7a4d, #2ecc71);
    color: #071a10;

    font-weight: 900;
    font-size: 1.15rem;

    padding: 14px 28px;
    margin-left: 12px;

    border: 1px solid rgba(46,204,113,0.6);
    border-radius: 14px;

    cursor: pointer;
    user-select: none;

    letter-spacing: 1px;
    text-transform: uppercase;

    box-shadow:
        inset 0 -4px 12px rgba(0,0,0,0.45),
        0 10px 28px rgba(0,0,0,0.9),
        0 0 22px rgba(46,204,113,0.6);

    transition: 
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

.adicionar-pedido:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.adicionar-pedido:active {
    transform: translateY(2px);
    box-shadow:
        inset 0 4px 14px rgba(0,0,0,0.65),
        0 4px 14px rgba(0,0,0,0.6),
        0 0 12px rgba(46,204,113,0.45);
}



.btn-remover {
    background-color: #ff4d4d; /* Vermelho clássico */
    border: none;
    color: white;
    padding: 10px;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    transition: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* === Inputs e botões empilhados verticalmente === */
.quantidade-container {
  display: flex;
  flex-direction: row; /* empilha verticalmente */
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Ordem dos elementos */
.quantidade-container .aumentar {
  order: 2; /* topo */
}

.quantidade-container .boxQuantidade {
  order: 1; /* meio */
}

.quantidade-container .diminuir {
  order: 0; /* depois do input */
}

.quantidade-container .adicionar-pedido {
  order: 3; /* sempre por último */
}


.selectCategoria {
    width: 100%;
    max-width: 320px;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: black;
    background-color: rgba(245, 242, 242, 0.909);
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    appearance: none; /* remove padrão feio */
    cursor: pointer;
    transition: 0.25s ease;
}

/* Hover gostoso */
.selectCategoria:hover {
    background: rgba(248, 240, 137, 0.852);
    border-color: rgba(0,0,0,0.2);
}

/* Foco sexy */
.selectCategoria:focus {
    outline: none;
    border-color: #ff6a00;
    box-shadow: 0 0 8px rgba(255, 120, 0, 0.4);
}

/* Setinha personalizada */
.selectCategoria {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23000' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,12'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

.resumo_lista_produtos {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 25px; /* 🔥 exatamente a altura do footer */
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  color: #eece01;
  padding: 4px 14px;
  font-size: 0.9rem;
  z-index: 20; /* acima do footer */
  border-top: 2px solid yellow;
  transition: transform 0.25s ease; 
}



.resumo_linha_1,
.resumo_linha_2 {
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.resumo_linha_1 {
  font-weight: 700;
}

.resumo_linha_2 {
  margin-top: 4px;
  font-size: 1rem;
}


#lista_produtos {
  padding-bottom: 110px;
}




/* =========================
   MOBILE — CARD MODE
   ========================= */
@media (max-width: 768px) {

  .boxdosProdutos {
    width: 100%;
    margin: 0px auto 30px auto;
    padding: 0px 20px;
    overflow: visible; /* IMPORTANTÍSSIMO */
  }

  /* Tabela vira card */
  .tabela-produto {
    display: block;
    width: 94%;
    margin: 16px auto;
    border-radius: 16px;
    overflow: hidden;
    /* O antídoto contra o "sumiço" */
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .tabela-produto,
  .tabela-produto tbody,
  .tabela-produto tr,
  .tabela-produto td,
  .tabela-produto th {
    display: block;
    width: 100%;
    border: none;
    padding: 2px 0px;
  }

  /* Nome do produto */
  .tabela-produto tr:first-child td {
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    color: #ff9800;
    padding: 12px;
  }

  /* Foto */
  .foto-produto {
    text-align: center;
    padding: 10px;
  }

  .foto-produto img {
    max-width: 140px;
  }

  /* Informações */
  .tabela-produto tr:not(:first-child):not(:last-child) td {
    padding: 2px 16px;
    font-size: 0.95rem;
  }

  /* Oculta Categoria e Descrição no mobile */
  .tabela-produto tr.mobile_off {
    display: none;
  }

  /* Área de ação */
  .tabela-produto tr:last-child td {
    padding: 16px;
    background: rgba(0,0,0,0.25);
  }

  /* Quantidade + botão */
  .quantidade-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .quantidade-container .aumentar {
    order: 1;
  }

  .quantidade-container .boxQuantidade {
    order: 2;
  }

  .quantidade-container .diminuir {
    order: 3;
  }

  .quantidade-container .adicionar-pedido {
    order: 4;
  }

  .aumentaDiminui,
  .boxQuantidade,
  .adicionar-pedido {
    width: 100%;
  }

}
