:root {
  --bg: #070a12;
  --panel: rgba(255,255,255,.075);
  --panel2: rgba(255,255,255,.11);
  --line: rgba(255,255,255,.13);
  --text: #f6f7fb;
  --muted: #aeb6c7;
  --brand: #ff6b00;
  --brand2: #ffb000;
  --danger: #ff4d4d;
  --ok: #28d17c;
  --warn: #ffd166;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --radius: 22px;
  --radius2: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,107,0,.25), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(255,176,0,.16), transparent 35%),
    linear-gradient(180deg, #070a12 0%, #0b1020 55%, #060812 100%);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
}

textarea { min-height: 86px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: rgba(255,107,0,.75);
  box-shadow: 0 0 0 3px rgba(255,107,0,.15);
}

select option { color: #111827; }

label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 7px;
  font-weight: 700;
  letter-spacing: .02em;
}

.container {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7,10,18,.72);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 950;
  letter-spacing: -.04em;
  font-size: 24px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #1b0b00;
  box-shadow: 0 12px 34px rgba(255,107,0,.32);
}

.nav {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.nav a, .nav button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 14px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #190900;
  border-color: transparent;
}

.btn.danger {
  background: rgba(255,77,77,.16);
  color: #ffd6d6;
  border-color: rgba(255,77,77,.38);
}

.btn.ok {
  background: rgba(40,209,124,.14);
  color: #d5ffe8;
  border-color: rgba(40,209,124,.35);
}

.btn.block { width: 100%; }

.hero {
  padding: 72px 0 44px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 34px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,107,0,.13);
  color: #ffd7bd;
  border: 1px solid rgba(255,107,0,.32);
  font-size: 13px;
  font-weight: 850;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(38px, 6vw, 74px);
  line-height: .93;
  letter-spacing: -.07em;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.05em;
}

h3 {
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.56;
  max-width: 670px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.06));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card.pad { padding: 22px; }

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stat {
  padding: 19px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: 28px;
  letter-spacing: -.05em;
}

.stat span { color: var(--muted); font-size: 13px; }

.page {
  padding: 28px 0 60px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

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

.form-grid .full { grid-column: 1 / -1; }

.list {
  display: grid;
  gap: 12px;
}

.item {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 15px;
}

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  font-weight: 850;
  font-size: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: var(--muted);
}

.badge.ok { color: #d5ffe8; border-color: rgba(40,209,124,.35); background: rgba(40,209,124,.13); }
.badge.warn { color: #fff1c7; border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.12); }
.badge.danger { color: #ffd6d6; border-color: rgba(255,77,77,.35); background: rgba(255,77,77,.12); }

.store-card, .product-card {
  overflow: hidden;
}

.store-cover {
  height: 132px;
  background:
    linear-gradient(135deg, rgba(255,107,0,.28), rgba(255,176,0,.14)),
    rgba(255,255,255,.06);
  border-bottom: 1px solid var(--line);
}

.store-body, .product-body { padding: 16px; }

.product-img {
  height: 150px;
  background:
    linear-gradient(135deg, rgba(255,107,0,.18), rgba(255,176,0,.09)),
    rgba(255,255,255,.06);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.price {
  font-weight: 950;
  font-size: 20px;
  letter-spacing: -.04em;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
}

.tab {
  white-space: nowrap;
  border-radius: 999px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: var(--text);
  font-weight: 850;
}

.tab.active {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #190900;
  border-color: transparent;
}

.cart {
  position: sticky;
  top: 92px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty button {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 950;
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.notice {
  padding: 13px 14px;
  border: 1px solid rgba(255,209,102,.32);
  background: rgba(255,209,102,.12);
  color: #fff0c2;
  border-radius: 16px;
}

.success {
  padding: 13px 14px;
  border: 1px solid rgba(40,209,124,.32);
  background: rgba(40,209,124,.12);
  color: #d5ffe8;
  border-radius: 16px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 0;
  margin-top: 50px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 38px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .topbar-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav { width: 100%; }
  .nav a, .nav button { flex: 1; }
}


/* TÔPERTO 15T18 - adicionais em pedidos, central e comanda */
.localfy-adicionais-pedido {
  margin-top: 5px;
  padding: 6px 8px;
  border-left: 3px solid #ff6b00;
  border-radius: 8px;
  background: #fff7ed;
  color: #7c2d12;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.localfy-adicionais-pedido div + div {
  margin-top: 2px;
}

@media print {
  .localfy-adicionais-pedido {
    margin-top: 3px;
    padding: 0 0 0 6px;
    border-left: 2px solid #000;
    border-radius: 0;
    background: transparent;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    page-break-inside: avoid;
  }
}

