/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body,
button,
a,
input {
  font-family: 'Poppins', sans-serif;
}

/* ================= GLOBAL ================= */
body {
  color: white;
  background: #0d0d0d;
}

/* ================= BOTÃƒO PADRÃƒO (BASE PARA TODOS) ================= */
.btn-base {
  height: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.8);
  transition: 0.25s ease;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* brilho animado ðŸ”¥ para todos os botÃµes base */
.btn-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.btn-base:hover::before {
  left: 100%;
}

.btn-base:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #3a3a3a, #2a2a2a);
}

.btn-base:active {
  transform: scale(0.96);
}

/* ================= BOTÃƒO ADICIONAR E ADICIONAIS (MESMO ESTILO) ================= */
.btn-add,
.btn-extras {
  height: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.8);
  transition: 0.25s ease;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 0 12px;
}

/* brilho animado para ambos */
.btn-add::before,
.btn-extras::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.btn-add:hover::before,
.btn-extras:hover::before {
  left: 100%;
}

.btn-add:hover,
.btn-extras:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #3a3a3a, #2a2a2a);
}

.btn-add:active,
.btn-extras:active {
  transform: scale(0.96);
}

/* ================= FUNDO ANIMADO ================= */
.page-index::before,
.page-cardapio::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 80, 0, 0.12), transparent 60%),
    radial-gradient(circle, rgba(255, 140, 0, 0.08), transparent 70%);
  animation: fogo 10s linear infinite;
  z-index: 0;
}

@keyframes fogo {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(40px, -50px) rotate(2deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* ================= CONTAINER ================= */
.page-index .container,
.page-cardapio .container {
  position: relative;
  z-index: 1;
}

/* ================= INDEX ================= */
.page-index {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index .container {
  max-width: 400px;
  text-align: center;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LOGO */
.page-index .logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.6), 0 0 40px rgba(255, 0, 0, 0.3);
}

/* TEXTOS */
.page-index .desc {
  color: #aaa;
  margin-bottom: 25px;
}

/* LINKS */
.page-index .links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ================= BOTÃ•ES INDEX (UPGRADE ðŸ”¥) ================= */
.page-index .btn {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  color: #fffaf2;
  background: linear-gradient(180deg, #2d3138, #23272e, #1c2026);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.45), 0 8px 18px rgba(0, 0, 0, 0.5);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: 0.25s ease;
}

/* brilho animado */
.page-index .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.55;
  transform: skewX(-20deg);
  transition: 0.6s;
  z-index: 0;
  pointer-events: none;
}

.page-index .btn:hover::before {
  left: 100%;
}

/* hover mais claro */
.page-index .btn:hover {
  background: linear-gradient(180deg, #ff5a00, #ff5a03, #ff5a06);
  color: #fffdf8;
  transform: translateY(-2px);
}

/* click */
.page-index .btn:active {
  transform: scale(0.96);
}

/* ================= CARDÃPIO ================= */
.page-cardapio .container {
  padding: 20px;
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cardapio h2 {
  margin: 20px 0 10px;
}

.lanches-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ================= ITEM ================= */
.page-cardapio .item {
  width: 100%;
  max-width: 400px;
  padding: 18px;
  border-radius: 18px;
  margin-bottom: 20px;
  text-align: center;
  background: #141414;
  border: 2px solid rgba(255, 122, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 120, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* garante alinhamento do conteÃºdo */
.page-cardapio .item h3,
.page-cardapio .item p,
.page-cardapio .item .price {
  text-align: center;
}

/* PREÃ‡O */
.price {
  color: #ff9d3f;
  font-weight: bold;
}

/* ================= AÃ‡Ã•ES DOS ITENS (BOTÃ•ES ALINHADOS) ================= */
.actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
}

.actions button {
  flex: 1;
  min-width: 0; /* Permite que os botÃµes encolham se necessÃ¡rio */
}

/* BotÃ£o de pedido (laranja) mantÃ©m estilo prÃ³prio */
.btn-order {
  background: linear-gradient(180deg, #ff9d3f, #ff5a00);
  box-shadow: 0 0 10px rgba(255, 120, 0, 0.6);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  flex: 1;
  padding: 0 12px;
}

.btn-order:hover {
  transform: scale(1.05);
  background: linear-gradient(180deg, #ffad5f, #ff6a20);
}

.btn-order:active {
  transform: scale(0.98);
}

/* ================= EXTRAS ================= */
.extras {
  margin-top: 10px;
  background: #111;
  padding: 10px;
  border-radius: 10px;
  text-align: left;
}

.hidden {
  display: none;
}

/* ================= OBSERVAÃ‡ÃƒO - ESTILO MELHORADO COM DESTAQUE ðŸ”¥ ================= */
.cart-item textarea,
.cart-item input[type="text"],
.observacao-input {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ff7a00;
  background: #0a0a0a;
  color: white !important;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  resize: vertical;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(255, 122, 0, 0.3);
}

.cart-item textarea:focus,
.cart-item input[type="text"]:focus,
.observacao-input:focus {
  border-color: #ff9d3f;
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.6);
  background: #0f0f0f;
}

/* Placeholder mais visÃ­vel */
.cart-item textarea::placeholder,
.cart-item input[type="text"]::placeholder,
.observacao-input::placeholder {
  color: #aaa;
  font-weight: 400;
  opacity: 0.8;
}

/* Label da observaÃ§Ã£o com destaque */
.cart-item label,
.observacao-label {
  display: block;
  color: #ff9d3f;
  font-weight: 600;
  font-size: 13px;
  margin-top: 8px;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
}

/* Estilo especÃ­fico para o campo de observaÃ§Ã£o no carrinho */
.cart-item .observacao-field {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 122, 0, 0.3);
}

/* ================= RADIO CUSTOM (SEM BOLINHA ðŸ”¥) ================= */
.delivery-card input[type="radio"] {
  display: none;
}

/* ================= ENTREGA ================= */
.delivery-options {
  display: flex;
  gap: 10px;
}

.delivery-card {
  flex: 1;
  background: #1f1f1f;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid rgba(255, 122, 0, 0.4);
}

.delivery-card:hover {
  background: #2a2a2a;
}

.delivery-card:has(input:checked) {
  border: 2px solid #ff7a00;
  background: #2a1400;
}

/* ================= INPUTS ================= */
.delivery input {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: white;
  outline: none;
}

.delivery input:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 6px rgba(255, 120, 0, 0.4);
}

/* ================= CARRINHO ================= */
.cart-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(180deg, #ff9d3f, #ff5a00);
  color: white;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 120, 0, 0.7);
  z-index: 1000;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 999;
}

.overlay.active {
  display: block;
}

.cart-drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 75%;
  background: #111;
  border-radius: 20px 20px 0 0;
  transition: 0.4s;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  bottom: 0;
}

/* HEADER */
.cart-header {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #333;
}

/* BOTÃƒO X PADRONIZADO ðŸ”¥ */
.cart-header button {
  background: #2a2a2a;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.cart-header button:hover {
  background: #3a3a3a;
  transform: scale(1.1);
}

/* LISTA */
.cart-items {
  flex: 1;
  overflow: auto;
  padding: 15px;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

.remove-btn {
  background: linear-gradient(180deg, #ff9d3f, #ff5a00);
  border: 1px solid rgba(255, 122, 0, 0.55);
  color: #fff;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
  box-shadow: 0 10px 24px rgba(255, 90, 0, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.remove-item-btn {
  background: linear-gradient(180deg, #ff4b2b, #ff1f00);
  border-color: rgba(255, 60, 0, 0.7);
  box-shadow: 0 10px 24px rgba(255, 40, 0, 0.25);
}

.remove-btn.remove-item-btn:hover {
  filter: brightness(1.04);
}

.remove-extra-btn {
  background: rgba(15, 17, 23, 0.88);
  border-color: rgba(255, 157, 63, 0.55);
  box-shadow: none;
}

.remove-btn.remove-extra-btn:hover {
  filter: brightness(1.08);
}

.remove-btn:hover {
  filter: brightness(1.03);
  transform: scale(1.06);
}

.remove-btn:active {
  transform: scale(0.98);
}

/* OBS - ESTILO MELHORADO NO CARRINHO */
.cart-item input {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ff7a00;
  background: #0a0a0a;
  color: white !important;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
}

.cart-item input:focus {
  border-color: #ff9d3f;
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.6);
  background: #0f0f0f;
}

.cart-item input::placeholder {
  color: #aaa;
  font-weight: 400;
}

/* FOOTER */
.cart-footer {
  padding: 15px;
  border-top: 1px solid #333;
}

.cart-footer button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(180deg, #ff9d3f, #ff5a00);
  border: none;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.cart-footer button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffad5f, #ff6a20);
}

/* ================= TOAST ================= */
.toast {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: linear-gradient(180deg, #ff9d3f, #ff5a00);
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= BOTÃƒO VOLTAR ================= */
.btn-voltar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 122, 0, 0.4);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 120, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.6);
  transition: 0.2s;
}

/* hover bonito */
.btn-voltar:hover {
  background: linear-gradient(180deg, #ff9d3f, #ff5a00);
  transform: translateY(-2px);
}

/* clique */
.btn-voltar:active {
  transform: scale(0.95);
}

/* ================= RESPONSIVIDADE ðŸ”¥ ================= */

/* tablets e celulares */
@media (max-width: 768px) {
  /* INDEX */
  .page-index {
    height: auto;
    padding: 40px 20px;
  }

  .page-index .container {
    max-width: 100%;
  }

  .page-index .logo {
    width: 80px;
    height: 80px;
  }

  /* TEXTOS */
  h1 {
    font-size: 22px;
  }

  .page-index .desc {
    font-size: 14px;
  }

  /* CARDÃPIO */
  .page-cardapio .container {
    padding: 15px;
  }

  .page-cardapio h2 {
    font-size: 20px;
    text-align: center;
  }

  .page-cardapio .item p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* BOTÃ•ES DOS ITENS - RESPONSIVIDADE */
  .actions {
    flex-direction: column;
    gap: 10px;
  }

  .actions button,
  .btn-add,
  .btn-extras,
  .btn-order {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    font-size: 15px;
    border-radius: 12px;
  }

  /* ENTREGA */
  .delivery-options {
    flex-direction: column;
  }

  /* INPUT */
  .delivery input {
    font-size: 14px;
  }

  /* CARRINHO */
  .cart-drawer {
    height: 85%;
  }

  .cart-button {
    bottom: 15px;
    right: 15px;
    padding: 12px 14px;
  }

  /* TOAST */
  .toast {
    right: 10px;
    left: 10px;
    text-align: center;
  }

  /* OBSERVAÃ‡ÃƒO RESPONSIVO */
  .cart-item textarea,
  .cart-item input[type="text"],
  .observacao-input {
    font-size: 13px;
    padding: 10px;
  }
}

/* celulares pequenos */
@media (max-width: 480px) {
  h1 {
    font-size: 20px;
  }

  .page-index .btn {
    padding: 14px;
    font-size: 14px;
  }

  .page-cardapio .item {
    border-radius: 14px;
  }

  .cart-drawer {
    height: 90%;
  }

  .actions button,
  .btn-add,
  .btn-extras,
  .btn-order {
    height: 44px;
    font-size: 14px;
  }

  /* OBSERVAÃ‡ÃƒO RESPONSIVO */
  .cart-item textarea,
  .cart-item input[type="text"],
  .observacao-input {
    font-size: 12px;
    padding: 8px;
  }
}

/* ================= SEÃ‡ÃƒO DE SUCOS ================= */
.section {
  width: 100%;
  max-width: 550px;
  margin-bottom: 40px;
  padding: 0 15px;
}

.section h3 {
  color: white;
  text-align: center;
  margin: 20px 0 10px;
  font-size: 20px;
  font-weight: 600;
  white-space: normal;
  word-wrap: break-word;
}

.section-desc {
  text-align: center;
  font-size: 12px;
  color: #ff9d3f;
  margin-bottom: 20px;
  font-weight: 500;
  background: rgba(255, 122, 0, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
  width: auto;
}

/* ================= ITENS - GARANTIR QUE NÃƒO TENHA LINHA DE CORTE ================= */
.page-cardapio .item {
  width: 100%;
  max-width: 100%;
  padding: 18px;
  border-radius: 18px;
  margin-bottom: 20px;
  text-align: center;
  background: #141414;
  border: 2px solid rgba(255, 122, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 120, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* REMOVER QUALQUER LINHA DE CORTE */
  text-decoration: none;
  position: relative;
  overflow: visible;
}

/* GARANTIR QUE NENHUM TEXTO SEJA RISCADO */
.page-cardapio .item h3,
.page-cardapio .item p,
.page-cardapio .item .price,
.page-cardapio .item span,
.section h3,
.section-desc {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* REMOVER QUALQUER PSEUDO-ELEMENTO QUE POSSA ESTAR CRIANDO A LINHA */
.page-cardapio .item::before,
.page-cardapio .item::after,
.section::before,
.section::after {
  display: none !important;
}

/* PREÃ‡O */
.price {
  color: #ff9d3f;
  font-weight: bold;
  text-decoration: none !important;
}

/* ================= OPÃ‡Ã•ES DE AÃ‡ÃšCAR E ALHO ================= */
.sugar-options,
.garlic-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 12px 0;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  width: 100%;
}

.sugar-option,
.garlic-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  background: #1f1f1f;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 122, 0, 0.3);
}

.sugar-option:hover,
.garlic-option:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.sugar-option input[type="radio"],
.garlic-option input[type="radio"] {
  display: none;
}

.sugar-option span,
.garlic-option span {
  color: white;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

/* OpÃ§Ã£o selecionada */
.sugar-option:has(input:checked),
.garlic-option:has(input:checked) {
  background: linear-gradient(135deg, #ff9d3f, #ff5a00);
  border-color: #ff9d3f;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.5);
}

.sugar-option:has(input:checked) span,
.garlic-option:has(input:checked) span {
  color: white;
  font-weight: 600;
}

/* Fallback (Firefox/compat): JS adiciona `.is-selected` */
.sugar-option.is-selected,
.garlic-option.is-selected {
  background: linear-gradient(135deg, #ff9d3f, #ff5a00);
  border-color: #ff9d3f;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.5);
}

.sugar-option.is-selected span,
.garlic-option.is-selected span {
  color: white;
  font-weight: 600;
}

/* Mensagem de erro */
.sugar-error,
.garlic-error {
  color: #ff5a00;
  font-size: 12px;
  margin-top: 5px;
  display: none;
  text-align: center;
  font-weight: 500;
  background: rgba(255, 90, 0, 0.1);
  padding: 5px;
  border-radius: 8px;
}

.sugar-error.show,
.garlic-error.show {
  display: block;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* ================= BOTÃ•ES ================= */
.actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
}

.actions button {
  flex: 1;
  min-width: 0;
}

.btn-add,
.btn-extras {
  height: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.8);
  transition: 0.25s ease;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 0 12px;
}

.btn-add::before,
.btn-extras::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.btn-add:hover::before,
.btn-extras:hover::before {
  left: 100%;
}

.btn-add:hover,
.btn-extras:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #3a3a3a, #2a2a2a);
}

.btn-add:active,
.btn-extras:active {
  transform: scale(0.96);
}

.btn-order {
  background: linear-gradient(180deg, #ff9d3f, #ff5a00);
  box-shadow: 0 0 10px rgba(255, 120, 0, 0.6);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  flex: 1;
  padding: 0 12px;
}

.btn-order:hover {
  transform: scale(1.05);
  background: linear-gradient(180deg, #ffad5f, #ff6a20);
}

.btn-order:active {
  transform: scale(0.98);
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 768px) {
  .page-cardapio .container {
    padding: 15px;
  }
  
  .section {
    padding: 0 10px;
  }
  
  .sugar-options,
  .garlic-options {
    gap: 10px;
  }
  
  .sugar-option,
  .garlic-option {
    padding: 6px 10px;
  }
  
  .sugar-option span,
  .garlic-option span {
    font-size: 12px;
  }
  
  .actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .actions button,
  .btn-add,
  .btn-extras,
  .btn-order {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    font-size: 15px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .sugar-options,
  .garlic-options {
    flex-direction: column;
    gap: 8px;
  }
  
  .sugar-option,
  .garlic-option {
    justify-content: center;
  }
  
  .section h3 {
    font-size: 18px;
  }
  
  .page-cardapio .item {
    padding: 15px;
  }
  
  .actions button,
  .btn-add,
  .btn-extras,
  .btn-order {
    height: 44px;
    font-size: 14px;
  }
}

/* ================= UPGRADE 2026: BUSCA, RESUMO, VALIDAÃ‡ÃƒO E TEMA ================= */
:root {
  --brand-orange: #ff7a00;
  --brand-orange-2: #ff4d00;
  --brand-gold: #ffb347;
  --bg-base: #090b0f;
  --bg-soft: #12151d;
  --text-main: #fff8ef;
  --text-muted: #c9c5bc;
  --success: #34d399;
  --danger: #ff6b6b;
}

.page-cardapio {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 122, 0, 0.2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 77, 0, 0.16), transparent 30%),
    linear-gradient(180deg, #08090d, #12141b 45%, #090b10);
  color: var(--text-main);
}

.page-cardapio h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: transparent;
  background: linear-gradient(90deg, #ffd9a0, #ff9b3d 45%, #ff5f1f);
  -webkit-background-clip: text;
  background-clip: text;
}

.page-cardapio h2 {
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.store-status {
  width: 100%;
  max-width: 460px;
  text-align: center;
  border-radius: 999px;
  padding: 9px 14px;
  margin: 4px auto 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.store-status.open {
  color: #c9ffe3;
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.1);
}

.store-status.closed {
  color: #ffd4d4;
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.1);
}

/* Navegação de categorias estilo app (iFood-like) */
.top-categorias {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 58px);
  z-index: 2400;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px 8px;
  margin-bottom: 8px;
  scrollbar-width: none;
}

.top-categorias::-webkit-scrollbar {
  display: none;
}

.top-cat-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 17, 23, 0.88);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Centraliza quando cabe; quando excede, permite scroll sem cortar itens */
.top-categorias .top-cat-btn:first-child {
  margin-left: auto;
}

.top-categorias .top-cat-btn:last-child {
  margin-right: auto;
}

.top-cat-btn.active {
  background: linear-gradient(180deg, #ff9d3f, #ff5a00);
  border-color: rgba(255, 157, 63, 0.9);
  color: #fff;
}

.cliente-campos input,
.cliente-campos select {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 6, 10, 0.65);
  color: var(--text-main);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cliente-campos input:focus,
.cliente-campos select:focus {
  border-color: rgba(255, 122, 0, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18);
}

.page-cardapio .item {
  background: linear-gradient(170deg, rgba(20, 22, 30, 0.96), rgba(9, 10, 15, 0.98));
  border: 1px solid rgba(255, 122, 0, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-cardapio .item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 122, 0, 0.25) inset;
}

/* ================= BEBIDAS: LAYOUT REESTRUTURADO ================= */
.bebidas-layout {
  width: 100%;
  max-width: 640px;
  margin-top: 6px;
}

.bebidas-layout > h2 {
  margin-bottom: 14px;
  text-align: center;
}

.bebida-categoria {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bebida-categoria > h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #ffd8ae;
  text-align: center;
}

.bebidas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bebida-item {
  margin-bottom: 0;
  max-width: 100%;
  padding: 12px;
  border-radius: 12px;
  text-align: left;
  align-items: flex-start;
  background: linear-gradient(170deg, rgba(13, 16, 22, 0.98), rgba(8, 10, 14, 0.98));
  border: 1px solid rgba(255, 157, 63, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.bebida-item h3 {
  font-size: 14px;
  font-weight: 600;
  text-align: left !important;
  line-height: 1.3;
  min-height: 36px;
}

.bebida-item .price {
  margin: 6px 0 10px;
  font-size: 15px;
}

.bebida-item .btn-order {
  width: 100%;
  min-height: 40px;
  flex: 0 0 auto;
}

.bebida-ver-mais {
  display: none;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255, 157, 63, 0.45);
  background: rgba(255, 157, 63, 0.12);
  color: #ffd8ae;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ================= SUCOS: MESMO PADRÃO DAS BEBIDAS ================= */
.sucos-layout {
  width: 100%;
  max-width: 640px;
  margin-top: 8px;
}

.sucos-layout .section.suco-categoria {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sucos-layout .section.suco-categoria > h3,
.sucos-layout .section.suco-categoria > .section-desc {
  grid-column: 1 / -1;
  text-align: center;
}

.sucos-layout .section.suco-categoria > h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #ffd8ae;
}

.sucos-layout .section.suco-categoria > .section-desc {
  margin: 0 0 6px 0;
}

.sucos-layout .section.suco-categoria > .item {
  margin-bottom: 0;
  max-width: 100%;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  align-items: center;
  background: linear-gradient(170deg, rgba(13, 16, 22, 0.98), rgba(8, 10, 14, 0.98));
  border: 1px solid rgba(255, 157, 63, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.sucos-layout .section.suco-categoria > .item h3 {
  text-align: center !important;
  font-size: 14px;
  min-height: 36px;
  margin-bottom: 4px;
}

.sucos-layout .section.suco-categoria > .item .price {
  margin: 4px 0 8px;
}

.sucos-layout .section.suco-categoria > .item .sugar-options {
  margin: 8px 0;
}

.sucos-layout .section.suco-categoria > .item .btn-order {
  width: 100%;
  min-height: 40px;
  flex: 0 0 auto;
}

.suco-ver-mais {
  display: none;
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255, 157, 63, 0.45);
  background: rgba(255, 157, 63, 0.12);
  color: #ffd8ae;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 640px) {
  .bebidas-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bebida-categoria {
    padding: 10px;
  }

  .bebida-item {
    padding: 10px;
  }

  .bebida-item h3 {
    min-height: 0;
    font-size: 15px;
  }

  .bebida-ver-mais {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .bebida-categoria.is-collapsed .bebidas-grid > .bebida-item:nth-child(n + 5) {
    display: none;
  }

  .sucos-layout .section.suco-categoria {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .sucos-layout .section.suco-categoria > .item {
    padding: 10px;
  }

  .sucos-layout .section.suco-categoria > .item h3 {
    min-height: 0;
    font-size: 15px;
  }

  .suco-ver-mais {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sucos-layout .section.suco-categoria > .item.suco-hide-mobile {
    display: none;
  }

  .sucos-layout .section.suco-categoria.is-expanded > .item.suco-hide-mobile {
    display: flex;
  }
}

.sugar-options.is-invalid,
.garlic-options.is-invalid {
  border: 1px solid rgba(255, 107, 107, 0.7);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.field-error {
  border-color: rgba(255, 107, 107, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18) !important;
}

.cart-button {
  background: linear-gradient(140deg, var(--brand-orange), var(--brand-orange-2));
}

.order-summary {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
}

.order-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}

.order-summary > div strong {
  color: var(--text-main);
}

.order-summary .summary-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 700;
}

.cliente-campos {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.empty-cart {
  text-align: center;
  color: var(--text-muted);
  padding: 24px 8px;
}

.cart-meta {
  margin: 6px 0;
  color: #ffcf99;
  font-size: 12px;
}

/* Linha de adicionais no carrinho com espaçamento melhor */
.extras-list {
  margin-top: 6px;
}

.extras-list > div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 3px 0;
}

.extras-list > div span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.extras-list .remove-btn {
  margin-left: 0;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#finalizarBtn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  filter: grayscale(0.2);
}

/* Mais leve no mobile/desktop: sem fundo animado no cardápio */
.page-cardapio::before {
  animation: none !important;
}

/* Melhor leitura do pedido no drawer */
.page-cardapio .cart-drawer {
  height: auto !important;
  min-height: 36vh;
  max-height: calc(100vh - 18px);
}

.page-cardapio .cart-items {
  min-height: 18vh;
  max-height: 52vh;
  overflow-y: auto;
  padding-bottom: 12px;
}

.page-cardapio .cart-footer {
  max-height: 30vh;
  overflow-y: auto;
}

@media (max-width: 680px) {
  .page-cardapio .cart-drawer {
    min-height: 42vh;
    max-height: calc(100vh - 8px);
  }

  .page-cardapio .cart-items {
    min-height: 20vh;
    max-height: 48vh;
  }
}

/* ================= HOTFIX RESPONSIVIDADE CARDÁPIO ================= */
.page-cardapio {
  overflow-x: hidden;
}

.page-cardapio .container {
  width: min(100%, 760px);
  margin: 0 auto;
}

/* Botões sempre na primeira camada visual no cardápio */
.page-cardapio .btn-voltar,
.page-cardapio .cart-button {
  position: fixed;
  z-index: 2500;
  backdrop-filter: blur(4px);
}

.page-cardapio .btn-voltar {
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  left: 14px;
  bottom: auto;
}

.page-cardapio .cart-button {
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 14px;
  bottom: auto;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
}

/* Drawer/overlay ficam abaixo dos botões flutuantes */
.page-cardapio .overlay {
  z-index: 2100;
}

.page-cardapio .cart-drawer {
  z-index: 2200;
}

@media (max-width: 768px) {
  .page-cardapio .container {
    max-width: 100%;
    padding:
      calc(env(safe-area-inset-top, 0px) + 72px)
      12px
      calc(env(safe-area-inset-bottom, 0px) + 90px);
  }

  .top-categorias {
    top: calc(env(safe-area-inset-top, 0px) + 56px);
    padding-top: 4px;
  }

  .page-cardapio h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
  }

  .page-cardapio h2 {
    font-size: 18px;
    text-align: center;
  }

  .page-cardapio .section {
    max-width: 100%;
    padding: 0;
  }

  .page-cardapio .item {
    max-width: 100%;
    padding: 14px;
    border-radius: 14px;
  }

  .page-cardapio .cart-drawer {
    min-height: 56vh;
    max-height: calc(100vh - 78px);
    border-radius: 16px 16px 0 0;
  }
}

@media (max-width: 480px) {
  .page-cardapio .btn-voltar {
    left: 10px;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    padding: 10px 12px;
    font-size: 13px;
  }

  .page-cardapio .cart-button {
    right: 10px;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    padding: 10px 12px;
    font-size: 13px;
  }

  .page-cardapio .container {
    padding:
      calc(env(safe-area-inset-top, 0px) + 68px)
      10px
      calc(env(safe-area-inset-bottom, 0px) + 86px);
  }

  .top-cat-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* ================= HOTFIX PERFORMANCE + ESCALA MOBILE ================= */
.page-cardapio {
  background: linear-gradient(180deg, #0b0d12 0%, #10131a 45%, #0b0d12 100%) !important;
}

/* Remove a camada de fundo que gerava corte visual de degradê */
.page-cardapio::before {
  content: none !important;
  display: none !important;
}

/* Botões escalonam melhor conforme a largura da tela */
.page-cardapio .btn-order,
.page-cardapio .btn-extras {
  font-size: clamp(12px, 3.4vw, 15px);
  padding: 0 clamp(10px, 2.6vw, 14px);
}

.page-cardapio .btn-voltar,
.page-cardapio .cart-button {
  font-size: clamp(12px, 3.3vw, 14px);
}

/* Menos peso visual e menos custo de renderização no cardápio */
.page-cardapio .item {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 768px) {
  .page-cardapio .item,
  .page-cardapio .btn-order,
  .page-cardapio .btn-extras,
  .page-cardapio .btn-voltar,
  .page-cardapio .cart-button {
    transition: none !important;
  }

  .page-cardapio .btn-order,
  .page-cardapio .btn-extras {
    min-height: 42px;
    height: 42px;
  }
}

/* Assinatura do dev no rodapé */
.site-credit {
  width: 100%;
  margin: 16px auto 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}

/* ================= FOTOS DOS LANCHES ================= */
.lanche-item .lanche-foto {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin: 10px 0 12px;
  border: 1px solid rgba(255, 157, 63, 0.35);
  background: #11161f;
}

.lanche-item .lanche-foto.zoomable {
  cursor: zoom-in;
}

.lanche-item h3 {
  margin-bottom: 4px;
}

.lanche-item p {
  margin-top: 0;
}

@media (max-width: 640px) {
  .lanche-item .lanche-foto {
    max-width: 100%;
  }
}

/* ================= ITEM ESGOTADO ================= */
.page-cardapio .item.is-unavailable {
  filter: none;
  opacity: 1;
  padding-top: 52px;
}

.page-cardapio .item.is-unavailable::after {
  content: "Esgotado";
  display: block !important;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 80%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95), rgba(0, 0, 0, 0.85));
  color: #ffad5f;
  padding: 7px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 157, 63, 0.95);
  box-shadow:
    0 0 8px rgba(255, 122, 0, 0.55),
    0 0 18px rgba(255, 90, 0, 0.4),
    0 6px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 0 6px rgba(255, 122, 0, 0.65);
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.page-cardapio .item.is-unavailable h3,
.page-cardapio .item.is-unavailable p,
.page-cardapio .item.is-unavailable .price {
  opacity: 0.95;
}

.page-cardapio .item.is-unavailable .lanche-foto {
  filter: grayscale(1);
  opacity: 0.5;
}

.page-cardapio .item.is-unavailable .btn-order,
.page-cardapio .item.is-unavailable .btn-extras {
  opacity: 0.6;
  pointer-events: none;
}

/* ================= ZOOM DA FOTO ================= */
.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.85);
  z-index: 4000;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  width: auto;
  max-width: min(92vw, 760px);
  max-height: 86vh;
  border-radius: 16px;
  border: 1px solid rgba(255, 157, 63, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  background: #0f0f0f;
}

body.no-scroll {
  overflow: hidden;
}

