:root {
  --neon-green: #aaff00;
  --dark-bg: #0d0d0d;
  --card-bg: #1a1a1a;
  --text-white: #ffffff;
  --text-muted: #aaaaaa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  background-color: #0a0a0a;
  background-image:
    radial-gradient(ellipse 700px 420px at 50% 0%, rgba(170,255,0,0.16), transparent 62%),
    radial-gradient(ellipse 520px 360px at 100% 15%, rgba(170,255,0,0.06), transparent 60%),
    radial-gradient(ellipse 480px 340px at 0% 85%, rgba(170,255,0,0.05), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 14px),
    linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 40%, #0a0a0a 100%);
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  color: var(--text-white);
  padding-bottom: 90px;
  min-height: 100vh;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- HEADER ---- */
header.hero {
  text-align: center;
  padding: 28px 16px 18px;
}
.logo-img {
  max-width: 220px;
  width: 70%;
  filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.6));
}
.date-ribbon {
  background: var(--neon-green);
  color: black;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 12px;
  margin: 14px auto 0;
  max-width: 460px;
  clip-path: polygon(0% 0%, 100% 0%, 96% 50%, 100% 100%, 0% 100%, 4% 50%);
}
.date-ribbon small { display: block; font-size: 14px; font-weight: 400; margin-top: 2px; }

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.badge {
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.share-btn {
  display: block;
  margin: 16px auto 0;
  background: transparent;
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
}
.share-btn:active { background: rgba(170,255,0,0.12); }

.flyer-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.flyer-btn { margin: 0; font-size: 11px; padding: 8px 12px; }
.flyer-hint {
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
  margin: 6px auto 0;
  max-width: 320px;
  line-height: 1.4;
}

/* ---- SECTIONS ---- */
.section-title {
  color: var(--neon-green);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  margin: 26px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card {
  background: rgba(26,26,26,0.9);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.item-info { flex: 1; }
.item-name { font-weight: 700; font-size: 16px; }
.item-desc { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.item-price { color: var(--neon-green); font-weight: 700; font-size: 16px; white-space: nowrap; }

.add-btn {
  background: var(--neon-green);
  color: black;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.add-btn:active { filter: brightness(0.9); }
.add-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.special-card {
  border: 2px dashed var(--neon-green);
  text-align: center;
}
.special-dish {
  color: var(--neon-green);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 4px 0 10px;
  text-shadow: 1px 1px 2px black;
}

.special-card-secondary {
  border: 1px solid #444;
}
.special-dish-secondary {
  color: var(--text-white);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sides-text, .misturas-text {
  color: #ddd;
  font-size: 14px;
  line-height: 1.5;
}
.misturas-list { list-style: none; margin: 0; padding: 0; }
.misturas-list li {
  padding: 4px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
}
.misturas-list li:last-child { border-bottom: none; }
.misturas-list li.esgotado {
  color: #666;
  text-decoration: line-through;
  font-weight: 400;
}

.footer-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 30px;
  line-height: 1.6;
}
.footer-note .warning {
  display: block;
  color: var(--neon-green);
  font-weight: 700;
  margin-top: 6px;
}

/* ---- WHATSAPP DIRETO ---- */
.whatsapp-direct {
  display: block;
  text-align: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  margin: 16px 0;
}

/* ---- CARRINHO FLUTUANTE ---- */
.cart-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--neon-green);
  color: black;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.5);
}
.cart-bar.visible { display: flex; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card-bg);
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  padding: 20px;
  border-top: 2px solid var(--neon-green);
}
.modal h3 { color: var(--neon-green); margin-top: 0; text-transform: uppercase; }
.modal-close {
  float: right;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 22px;
  cursor: pointer;
}

.mistura-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 15px;
  text-transform: uppercase;
}
.mistura-option input { width: 18px; height: 18px; accent-color: var(--neon-green); }
.mistura-option.disabled { color: #555; }

.hint { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }

#modalAcompSection {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.modal-confirm-btn, .modal-send-btn {
  background: var(--neon-green);
  color: black;
  border: none;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  cursor: pointer;
  margin-top: 14px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #2a2a2a;
}
.cart-item-desc { font-size: 14px; }
.cart-item-desc .qty { color: var(--neon-green); font-weight: 700; margin-right: 6px; }
.cart-item-remove {
  background: none;
  border: 1px solid #555;
  color: #ccc;
  border-radius: 6px;
  padding: 3px 9px;
  cursor: pointer;
  font-size: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 17px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #444;
}
.cart-total span:last-child { color: var(--neon-green); }

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ccc;
  margin-top: 12px;
}
.field-input {
  width: 100%;
  padding: 9px;
  margin-top: 4px;
  background: #2a2a2a;
  border: 1px solid #444;
  color: white;
  border-radius: 6px;
  font-family: inherit;
}

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

.loading, .error-msg {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
}
.error-msg { color: #ff8080; }

/* ============================================================
   FLYER OCULTO — usado só para gerar a imagem de compartilhar
   (Status/Stories). Fica fora da tela, mas com layout normal,
   pra o html2canvas conseguir "fotografar" ele.
   ============================================================ */
.flyer-offscreen {
  position: fixed;
  top: 0;
  left: -99999px;
}

.share-flyer {
  width: 450px;
  height: 800px;
  background-color: #0d0d0d;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Roboto Condensed', sans-serif;
  color: #fff;
}
.share-flyer .corner-ribbon-top {
  position: absolute; top: 0; left: 0;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--neon-green) 50%, transparent 50%);
  z-index: 1;
}
.share-flyer .corner-ribbon-bottom {
  position: absolute; bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: linear-gradient(-45deg, var(--neon-green) 50%, transparent 50%);
  z-index: 1;
}
.share-flyer .flyer-header {
  margin-top: 100px; margin-bottom: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 150px; position: relative; z-index: 2; text-align: center;
}
.share-flyer .flyer-logo-img {
  max-width: 75%; max-height: 100%; object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}
.share-flyer .flyer-date-ribbon {
  background: var(--neon-green); width: 95%; padding: 5px 0;
  color: black; text-align: center; font-weight: bold; font-size: 20px;
  text-transform: uppercase; z-index: 2;
  clip-path: polygon(0% 0%, 100% 0%, 95% 50%, 100% 100%, 0% 100%, 5% 50%);
}
.share-flyer .flyer-date-ribbon small { display: block; font-size: 16px; margin-top: -2px; }
.share-flyer .flyer-box {
  width: 85%; border: 2px solid var(--neon-green); border-radius: 15px;
  padding: 15px; margin-top: 15px; background: rgba(0,0,0,0.6); text-align: left; z-index: 2;
}
.share-flyer .flyer-chef-intro {
  color: #ddd; font-size: 14px; border-bottom: 1px solid #444; padding-bottom: 6px; margin-bottom: 10px;
}
.share-flyer .flyer-price-row { display: flex; margin-bottom: 8px; align-items: flex-start; }
.share-flyer .flyer-price-letter { color: var(--neon-green); font-size: 30px; font-weight: bold; line-height: 0.8; margin-right: 8px; width: 25px; }
.share-flyer .flyer-price-details { flex: 1; font-size: 16px; line-height: 1.2; }
.share-flyer .flyer-price-value { color: var(--neon-green); font-weight: bold; margin-right: 5px; }
.share-flyer .flyer-special-box {
  border: 2px dashed var(--neon-green); border-radius: 15px; padding: 12px;
  width: 85%; text-align: center; background: rgba(0,0,0,0.6); margin-top: 12px; z-index: 2;
}
.share-flyer .flyer-special-header { color: white; font-weight: bold; font-size: 16px; }
.share-flyer .flyer-special-dish {
  color: var(--neon-green); font-size: 28px; font-weight: bold; margin: 6px 0;
  text-transform: uppercase; letter-spacing: 1px; text-shadow: 1px 1px 2px black;
}
.share-flyer .flyer-special-price {
  background: rgba(255,255,255,0.1); padding: 5px; border-radius: 5px;
  margin: 5px 0; font-size: 16px; font-weight: bold; color: white;
}
.share-flyer .flyer-special-sides { font-size: 12px; color: #ccc; margin-top: 4px; }
.share-flyer .flyer-outros-line { font-size: 12px; color: var(--neon-green); font-weight: bold; margin-top: 8px; width: 85%; text-align: center; }
.share-flyer .flyer-list-container { width: 90%; text-align: left; margin-top: 10px; z-index: 2; }
.share-flyer .flyer-list-item { font-size: 14px; margin-bottom: 5px; font-weight: bold; text-transform: uppercase; color: white; }
.share-flyer .flyer-sides-box {
  border: 1px solid var(--neon-green); border-radius: 10px; width: 90%; padding: 8px;
  text-align: center; z-index: 2; background: rgba(0,0,0,0.3); margin-top: 10px;
}
.share-flyer .flyer-sides-title { color: var(--neon-green); font-weight: bold; text-transform: uppercase; font-size: 14px; margin-bottom: 4px; }
.share-flyer .flyer-sides-text { font-size: 13px; line-height: 1.4; }
.share-flyer .flyer-footer { margin-top: auto; margin-bottom: 20px; text-align: center; width: 90%; font-size: 12px; color: #aaa; z-index: 2; }
.share-flyer .flyer-warning { color: var(--neon-green); font-weight: bold; text-transform: uppercase; display: block; margin-top: 5px; }
