:root {
  --bg: #101720;
  --bg-2: #151f2b;
  --surface: #182331;
  --surface-2: #1f2c3b;
  --surface-3: #263648;
  --line: rgba(222, 231, 240, 0.11);
  --line-strong: rgba(218, 92, 54, 0.34);
  --text: #f4f7fa;
  --muted: #a9b5c2;
  --muted-2: #7f8d9c;
  --cyan: #d95f35;
  --blue: #4f8fd8;
  --violet: #a87658;
  --green: #d95f35;
  --orange: #d95f35;
  --red: #df5f45;
  --rose: #d987b4;
  --amber: #d8a957;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  --soft-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  --radius: 22px;
  --radius-sm: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
  --display-font: "Segoe UI Variable Display", "Aptos Display", "Trebuchet MS", system-ui, sans-serif;
  --body-font: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--body-font);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0, rgba(217, 95, 53, 0.1), transparent 28rem),
    radial-gradient(circle at 88% 6%, rgba(216, 169, 87, 0.07), transparent 26rem),
    linear-gradient(180deg, #0e141c 0, var(--bg) 42%, #121b25 100%);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { display: block; }

:focus-visible {
  outline: 3px solid rgba(240, 139, 84, 0.64);
  outline-offset: 3px;
}

.ui-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.app {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 12px calc(112px + var(--safe-bottom));
}

.shell {
  display: grid;
  gap: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(217, 95, 53, 0.1), rgba(79, 143, 216, 0.035) 42%, rgba(216, 169, 87, 0.055)),
    linear-gradient(145deg, #1a2634, #101720);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(217, 95, 53, 0.15);
  border-radius: 48px;
  transform: rotate(24deg);
  background: linear-gradient(135deg, rgba(217, 95, 53, 0.08), rgba(216, 169, 87, 0.06));
  opacity: .55;
}

.brand-row,
.topbar,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-row,
.hero-content {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark,
.topbar-brand-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 15px;
  overflow: hidden;
  background: #020712;
  box-shadow: 0 0 0 1px rgba(217, 95, 53, 0.22), 0 12px 24px rgba(0, 0, 0, 0.18);
}

.brand-mark img,
.topbar-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar-brand-logo {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.brand-title,
.topbar-title {
  font-family: var(--display-font);
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

.brand-title { font-size: 23px; font-weight: 950; }
.topbar-title { font-size: 17px; }

.brand-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  font-weight: 750;
}

.powered,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.powered {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.055);
  font-size: 11px;
  white-space: nowrap;
}

.hero-content {
  margin-top: 28px;
}

.eyebrow {
  color: #f0a06f;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero h2 {
  font-family: var(--display-font);
  max-width: 760px;
  margin: 12px 0 0;
  font-size: 32px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.55;
}

.status-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 20px;
}

.status-card {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.status-card strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.status-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 750;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(56, 217, 120, .14);
}

.pulse.closed {
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(244, 95, 74, .16);
}

.panel,
.cat-card,
.cat-tile,
.product-card,
.product-row,
.cart-item,
.ticket,
.form-card,
.choice-card,
.pay-option,
.pix-card,
.pickup-box {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 39, 53, 0.98), rgba(20, 31, 43, 0.98));
  box-shadow: var(--soft-shadow);
}

.panel {
  border-radius: var(--radius);
}

.search-panel {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: -22px;
  padding: 10px;
  backdrop-filter: blur(16px);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #151f2b;
}

.search-box svg { color: #e58756; }

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 15px;
  font-weight: 750;
}

.search-box input::placeholder,
input::placeholder,
textarea::placeholder {
  color: #72839a;
}

.section {
  margin-top: 22px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.02);
}

.section:nth-of-type(even) {
  background: rgba(255,255,255,.035);
}

.section:nth-of-type(odd) {
  background: rgba(15, 24, 35, .36);
}

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

.section-head h2,
.section-head h3 {
  font-family: var(--display-font);
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.1;
}

.section-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.see-all,
.edit,
.remove {
  border: 0;
  padding: 0;
  color: #f0a06f;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}

.remove { color: var(--red); }

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

.quick-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.quick-nav::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe5ee;
  background: rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  scroll-snap-align: start;
}

.chip.active,
.chip:hover {
  color: #0f1720;
  border-color: transparent;
  background: #e58756;
}

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

.cat-card,
.cat-tile {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 15px;
  border-radius: var(--radius-sm);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.cat-card:hover,
.cat-tile:hover,
.product-card:hover,
.product-row:hover,
.choice-card:hover,
.pay-option:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.cat-card strong,
.cat-tile strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 15px;
}

.cat-card > span:last-child,
.cat-tile > span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.cat-emoji {
  display: inline-flex;
}

.category-symbol,
.product-symbol {
  display: grid;
  place-items: center;
  color: var(--accent, var(--cyan));
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent, var(--cyan)) 16%, transparent), transparent 62%),
    color-mix(in srgb, var(--accent, var(--cyan)) 8%, transparent);
}

.category-symbol,
.product-symbol {
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--cyan)) 34%, transparent);
  border-radius: 15px;
}

.category-symbol .ui-icon,
.product-symbol .ui-icon {
  width: 24px;
  height: 24px;
}

.product-symbol {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 17px;
}

.product-symbol .ui-icon {
  width: 26px;
  height: 26px;
}

.cat-pizza { --accent: #d95f35; }
.cat-burger { --accent: #d49345; }
.cat-hotdog { --accent: #cf653b; }
.cat-portion { --accent: #c8793f; }
.cat-drink { --accent: #70a8c8; }
.cat-juice { --accent: #84b86f; }
.cat-dessert { --accent: #c87898; }
.cat-calzone { --accent: #c46d42; }
.cat-plate { --accent: #d2b46d; }
.cat-martini { --accent: #9abf9d; }
.cat-pasta { --accent: #d49345; }
.cat-coffee { --accent: #bd8761; }
.cat-default { --accent: #d95f35; }

.product-grid,
.product-list-grid {
  grid-template-columns: 1fr;
}

.product-card,
.product-row,
.cart-item {
  border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.product-card,
.product-row {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 140px;
  padding: 16px;
}

.product-card::before,
.product-row::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 3px;
  border-radius: 999px;
  background: var(--accent, var(--cyan));
  opacity: .72;
}

.thumb {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 74px;
  border-radius: 16px;
  background: #131d29;
}

.product-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-title-row {
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.product-card h4,
.product-row h4 {
  font-family: var(--display-font);
  margin: 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.22;
}

.product-card p,
.product-row p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  margin: 9px 0 14px;
  color: #aeb9c5;
  font-size: 12.5px;
  line-height: 1.38;
}

.product-action-row {
  margin-top: auto;
  align-items: end;
}

.category-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 22px;
  margin-bottom: 9px;
  padding: 0 9px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent, var(--cyan)) 82%, #ffffff);
  background: color-mix(in srgb, var(--accent, var(--cyan)) 10%, transparent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-stack {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.price-stack small {
  flex-basis: 100%;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.price {
  color: #f08b54;
  font-size: 17px;
  font-weight: 950;
}

.old-price {
  color: #7e8fa6;
  font-size: 12px;
  font-weight: 800;
  text-decoration: line-through;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #ffd8c4;
  background: rgba(217, 95, 53, .12);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.tag .ui-icon {
  width: 13px;
  height: 13px;
}

.tag-hot {
  color: #211006;
  background: #f0a06f;
}

.tag-disabled {
  color: #fee2e2;
  background: rgba(244, 95, 74, .18);
}

.add-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #0f1720;
  background: #f08b54;
  font-size: 11.5px;
  font-weight: 950;
}

.is-unavailable {
  opacity: .62;
}

.is-unavailable .add-chip {
  color: #fee2e2;
  background: rgba(244, 95, 74, .18);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 66px;
  margin: -14px -12px 14px;
  padding: 12px;
  background: rgba(16, 23, 32, .9);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.icon-btn {
  display: grid;
  place-items: center;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,.07);
}

.badge-count,
.count-badge {
  display: none;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.cart-btn .badge-count {
  position: absolute;
  top: -5px;
  right: -5px;
}

.cart-bar {
  position: fixed;
  z-index: 70;
  right: max(12px, calc((100vw - 1440px) / 2 + 12px));
  bottom: calc(12px + var(--safe-bottom));
  left: max(12px, calc((100vw - 1440px) / 2 + 12px));
}

.cart-fab {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 20px;
  color: #0f1720;
  background: #f08b54;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
}

.cart-fab .count-badge {
  display: grid;
  background: rgba(3, 17, 31, .16);
}

.cart-fab .label,
.cart-fab .total {
  font-size: 14px;
  font-weight: 950;
}

.screen {
  max-width: 920px;
  margin: 0 auto;
}

.product-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(27, 39, 53, .98), rgba(18, 28, 40, .98));
  box-shadow: var(--shadow);
}

.detail-hero {
  display: grid;
  align-items: end;
  min-height: 156px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(217, 95, 53, .09), rgba(216, 169, 87, .055)),
    linear-gradient(135deg, #1a2736, #111923);
}

.detail-intro {
  max-width: 520px;
}

.detail-intro span {
  display: inline-flex;
  min-height: 24px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  color: #ffd8c4;
  background: rgba(217, 95, 53, .12);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.detail-intro strong {
  display: block;
  margin-top: 13px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.08;
}

.detail-intro small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.detail-body {
  padding: 18px;
}

.detail-body h2 {
  margin: 0;
  color: var(--text);
  font-size: 25px;
  line-height: 1.08;
}

.detail-body > p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-price-row {
  margin-top: 16px;
}

.option-block {
  margin-top: 22px;
}

.option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.option-head h3 {
  margin: 0;
  font-size: 15px;
}

.option-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.option-list {
  display: grid;
  gap: 10px;
}

.flavor-grid {
  grid-template-columns: 1fr;
}

.opt-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255,255,255,.032);
}

.opt-item.selected {
  border-color: var(--line-strong);
  background: rgba(217, 95, 53, .075);
}

.opt-item.disabled {
  opacity: .44;
  cursor: not-allowed;
}

.opt-radio,
.opt-check {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(214,231,255,.25);
  border-radius: 50%;
}

.opt-check {
  border-radius: 7px;
}

.opt-item.selected .opt-radio,
.opt-item.selected .opt-check {
  border-color: #f08b54;
  background: radial-gradient(circle, #f08b54 42%, transparent 45%);
}

.opt-name {
  font-weight: 850;
}

.opt-extra {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.flavor-count {
  color: #f0a06f;
  font-weight: 950;
}

.flavor-warning {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #1d1003;
  background: linear-gradient(135deg, var(--amber), #ffd166);
  font-size: 12px;
  font-weight: 900;
}

.flavor-warning.show {
  display: block;
}

.notes-input,
.input,
textarea,
input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  outline: 0;
  color: var(--text);
  background: #151f2b;
}

textarea.notes-input,
textarea {
  min-height: 94px;
  resize: vertical;
}

.bottom-bar {
  position: sticky;
  bottom: 0;
  z-index: 50;
  margin: 20px -12px calc(-112px - var(--safe-bottom));
  padding: 12px 12px calc(12px + var(--safe-bottom));
  background: linear-gradient(180deg, transparent, rgba(16, 23, 32, .96) 20%);
}

.action-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.stepper,
.mini-stepper {
  display: inline-grid;
  grid-template-columns: 40px 40px 40px;
  align-items: center;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0b1627;
}

.stepper button,
.mini-stepper button {
  height: 100%;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font-size: 20px;
  font-weight: 950;
}

.stepper span,
.mini-stepper span {
  text-align: center;
  font-weight: 950;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  font-weight: 950;
  text-align: center;
}

.btn-primary {
  color: #0f1720;
  background: #f08b54;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
}

.btn-dark {
  color: white;
  background: var(--surface-3);
}

.btn-outline {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-block { width: 100%; }
.btn-lg { min-height: 58px; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

.cart-item {
  display: block;
  padding: 15px;
}

.cart-item h4 {
  margin: 0;
  font-size: 15px;
}

.cart-item .opts {
  margin: 7px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.row-bottom,
.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-actions {
  justify-content: flex-start;
  margin-top: 10px;
}

.ticket {
  overflow: hidden;
  border-radius: var(--radius);
}

.ticket-head {
  padding: 16px;
  color: white;
  background: linear-gradient(135deg, #243448, #172332);
}

.ticket-head h3 {
  margin: 0;
  font-size: 17px;
}

.ticket-head p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

.ticket-body,
.summary-card {
  padding: 14px 16px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.summary-row + .summary-row {
  border-top: 1px dashed var(--line);
}

.summary-row b,
.summary-row.total {
  color: var(--text);
}

.summary-row.total {
  font-size: 18px;
}

.item-detail,
.flavors-line,
.free {
  color: #f0a06f;
  font-weight: 900;
}

.empty-state,
.no-results {
  padding: 30px 18px;
  border: 1px dashed rgba(214,231,255,.18);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: rgba(255,255,255,.035);
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.empty-state p {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 16px;
}

.step {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 850;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

.step.done,
.step.active {
  color: white;
}

.step.done .dot,
.step.active .dot {
  background: var(--cyan);
}

.form-card,
.pickup-box {
  padding: 16px;
  border-radius: var(--radius);
}

.form-field {
  margin-top: 12px;
}

.form-field:first-child { margin-top: 0; }

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #c8d6e8;
  font-size: 12px;
  font-weight: 900;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.error {
  display: none;
  margin-top: 10px;
  color: #fecaca;
  font-size: 13px;
  font-weight: 850;
}

.delivery-options,
.pay-list {
  display: grid;
  gap: 12px;
}

.choice-card,
.pay-option {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  color: var(--text);
  text-align: left;
}

.choice-card.active,
.pay-option.selected {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(217, 95, 53, .1), rgba(16, 28, 46, .96));
}

.choice-icon,
.pay-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: #f0a06f;
  background: rgba(217, 95, 53, .1);
}

.powered-footer {
  margin: 28px auto 0;
  padding: 18px 12px 6px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.choice-card h4,
.pay-option h4 {
  margin: 0;
  font-size: 15px;
}

.choice-card p,
.pay-option p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pickup-box {
  margin-top: 14px;
}

.pickup-box h4,
.pickup-box p {
  margin: 0;
}

.pickup-box p {
  margin-top: 6px;
  color: var(--muted);
}

.pix-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.pix-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.pix-qr {
  display: grid;
  place-items: center;
  min-height: 244px;
  border-radius: 18px;
  background: #fff;
}

.pix-qr canvas {
  width: 220px;
  height: 220px;
}

#pixCode {
  min-height: 104px;
  font-size: 11px;
  line-height: 1.45;
  word-break: break-all;
}

.pix-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%) translateY(18px);
  min-width: min(92vw, 360px);
  padding: 13px 14px;
  border-radius: 16px;
  color: white;
  background: rgba(7, 17, 31, .96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  font-weight: 850;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 360px) {
  .app {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .product-card,
  .product-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .thumb {
    height: 64px;
  }

  .tag {
    display: none;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 520px) {
  .status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .app {
    padding: 24px 28px 124px;
  }

  .topbar {
    margin: -24px -28px 20px;
    padding: 14px 28px;
  }

  .hero {
    min-height: 270px;
    padding: 28px;
  }

  .hero h2 {
    font-size: 46px;
  }

  .status-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .product-grid,
  .product-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 18px;
  }

  .checkout-grid > .ticket {
    position: sticky;
    top: 86px;
  }

  .product-detail {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
  }

  .detail-hero {
    min-height: 100%;
  }

  .detail-body {
    padding: 28px;
  }

  .bottom-bar {
    width: min(100%, 920px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px 24px 0 0;
  }
}

@media (min-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }

  .product-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cart-bar {
    left: auto;
    width: 390px;
  }
}

@media (min-width: 1520px) {
  .app {
    width: min(100%, 1640px);
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(260px, 1fr));
  }

  .cart-bar {
    right: calc((100vw - 1640px) / 2 + 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Tropical acolhedor - visual leve sem fotos
   ========================================================================== */

:root {
  --bg: #eef2f4;
  --bg-2: #f7f8f7;
  --surface: #ffffff;
  --surface-2: #f4f6f6;
  --surface-3: #e8eef1;
  --line: rgba(31, 45, 58, 0.11);
  --line-strong: rgba(176, 91, 62, 0.26);
  --text: #1e2b37;
  --muted: #63717e;
  --muted-2: #8995a0;
  --cyan: #b85f3f;
  --blue: #536f83;
  --violet: #8c7064;
  --green: #b85f3f;
  --orange: #b85f3f;
  --red: #b85f3f;
  --rose: #ad6e78;
  --amber: #c89552;
  --shadow: 0 18px 44px rgba(26, 38, 49, 0.1);
  --soft-shadow: 0 10px 26px rgba(26, 38, 49, 0.07);
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  background:
    radial-gradient(circle at 12% 0, rgba(184, 95, 63, 0.08), transparent 26rem),
    radial-gradient(circle at 86% 8%, rgba(83, 111, 131, 0.08), transparent 24rem),
    linear-gradient(180deg, #f7f8f7 0, #eef2f4 46%, #e9eef1 100%);
  overflow-x: hidden;
}

.app {
  padding-top: 12px;
}

.shell,
.shell > * {
  max-width: 100%;
  min-width: 0;
}

.quick-nav {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.hero {
  min-height: 224px;
  border-color: rgba(31, 45, 58, 0.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(244,246,246,.94)),
    #ffffff;
  box-shadow: 0 18px 46px rgba(31, 45, 58, 0.1);
}

.hero::after {
  opacity: .35;
  border-color: rgba(184, 95, 63, 0.12);
  background: rgba(184, 95, 63, 0.045);
}

.brand-title {
  color: #172331;
  font-size: 25px;
}

.brand-subtitle {
  color: #7a8792;
  font-weight: 800;
}

.brand-mark,
.topbar-brand-logo {
  border-radius: 10px;
  background: #05070d;
  box-shadow: 0 0 0 1px rgba(31, 45, 58, 0.16), 0 8px 18px rgba(31, 45, 58, 0.12);
}

.brand-mark img,
.topbar-brand-logo {
  object-fit: cover;
}

.powered {
  color: #71808b;
  border-color: rgba(31, 45, 58, 0.1);
  background: rgba(31, 45, 58, 0.035);
}

.eyebrow {
  color: #9a573f;
}

.hero h2 {
  color: #172331;
}

.hero p {
  color: #64717d;
}

.status-card {
  color: var(--text);
  border-color: rgba(31, 45, 58, 0.08);
  background: rgba(255,255,255,.72);
}

.status-card strong {
  color: #263442;
}

.status-card span {
  color: #74818c;
}

.panel,
.cat-card,
.cat-tile,
.product-card,
.product-row,
.cart-item,
.ticket,
.form-card,
.choice-card,
.pay-option,
.pix-card,
.pickup-box {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.93);
  box-shadow: var(--soft-shadow);
}

.search-panel {
  background: rgba(247,248,247,.78);
}

.search-box,
.notes-input,
.input,
textarea,
input,
.stepper,
.mini-stepper {
  color: var(--text);
  border-color: var(--line);
  background: #ffffff;
}

.search-box svg {
  color: #b85f3f;
}

.section {
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(31,45,58,.06);
}

.section:nth-of-type(even) {
  background: rgba(232,238,241,.46);
}

.section:nth-of-type(odd) {
  background: rgba(255,255,255,.52);
}

.section-head h2,
.section-head h3,
.product-card h4,
.product-row h4,
.cart-item h4,
.choice-card h4,
.pay-option h4,
.detail-body h2 {
  color: #1f2d3a;
}

.section-head p,
.product-card p,
.product-row p,
.cart-item .opts,
.choice-card p,
.pay-option p,
.detail-body > p {
  color: #6a7782;
}

.chip {
  color: #354554;
  border-color: rgba(31,45,58,.1);
  background: rgba(255,255,255,.9);
}

.chip.active,
.chip:hover {
  color: #fff;
  background: #b85f3f;
}

.category-symbol,
.product-symbol {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent, var(--cyan)) 13%, transparent), transparent 62%),
    color-mix(in srgb, var(--accent, var(--cyan)) 8%, #ffffff);
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 22%, rgba(31,45,58,.08));
}

.cat-pizza { --accent: #b85f3f; }
.cat-burger { --accent: #b17942; }
.cat-hotdog { --accent: #ad6843; }
.cat-portion { --accent: #a97043; }
.cat-drink { --accent: #5d879b; }
.cat-juice { --accent: #6f9464; }
.cat-dessert { --accent: #a96a76; }
.cat-calzone { --accent: #b85f3f; }
.cat-plate { --accent: #a88a54; }
.cat-martini { --accent: #71906e; }
.cat-pasta { --accent: #b17942; }
.cat-coffee { --accent: #9a725a; }
.cat-default { --accent: #b85f3f; }

.product-card,
.product-row {
  background: #ffffff;
}

.product-card::before,
.product-row::before {
  opacity: .42;
}

.category-kicker {
  color: color-mix(in srgb, var(--accent, var(--cyan)) 72%, #283746);
  background: color-mix(in srgb, var(--accent, var(--cyan)) 9%, #ffffff);
}

.price {
  color: #a84f35;
}

.old-price {
  color: #9aa4ad;
}

.tag {
  color: #8e4d39;
  background: rgba(184,95,63,.1);
}

.tag-hot {
  color: #6d321f;
  background: rgba(184,95,63,.14);
}

.add-chip,
.cart-fab,
.btn-primary {
  color: #ffffff;
  background: #b85f3f;
}

.add-chip {
  box-shadow: none;
}

.topbar {
  color: var(--text);
  border-bottom-color: rgba(31,45,58,.08);
  background: rgba(247,248,247,.9);
}

.icon-btn {
  color: #2f4050;
  border-color: rgba(31,45,58,.1);
  background: rgba(255,255,255,.86);
}

.cart-fab {
  box-shadow: 0 16px 34px rgba(81, 48, 35, .18);
}

.product-detail {
  background: #ffffff;
}

.detail-hero {
  background:
    linear-gradient(135deg, rgba(184,95,63,.075), rgba(83,111,131,.06)),
    #f3f6f6;
}

.detail-intro span,
.flavor-count,
.item-detail,
.flavors-line,
.free {
  color: #a84f35;
}

.detail-intro span {
  background: rgba(184,95,63,.09);
}

.detail-intro strong {
  color: #1f2d3a;
}

.detail-intro small {
  color: #6a7782;
}

.opt-item {
  color: var(--text);
  border-color: var(--line);
  background: #ffffff;
}

.opt-item.selected,
.choice-card.active,
.pay-option.selected {
  border-color: rgba(184,95,63,.28);
  background: rgba(184,95,63,.055);
}

.opt-item.selected .opt-radio,
.opt-item.selected .opt-check {
  border-color: #b85f3f;
  background: radial-gradient(circle, #b85f3f 42%, transparent 45%);
}

.ticket-head {
  color: #ffffff;
  background: #263746;
}

.summary-row {
  color: #687684;
}

.summary-row b,
.summary-row.total {
  color: #1f2d3a;
}

.empty-state,
.no-results {
  color: #6a7782;
  border-color: rgba(31,45,58,.12);
  background: rgba(255,255,255,.72);
}

.empty-state h3 {
  color: #1f2d3a;
}

.choice-icon,
.pay-icon {
  color: #a84f35;
  background: rgba(184,95,63,.09);
}

.powered-footer {
  color: #7f8b95;
}

@media (min-width: 760px) {
  .hero {
    min-height: 246px;
  }
}

/* ==========================================================================
   Hero delivery - capa completa com foco no pedido
   ========================================================================== */

.hero {
  display: grid;
  gap: 24px;
  min-height: 420px;
  padding: 18px;
  border-color: rgba(255,255,255,.2);
  background:
    linear-gradient(90deg, rgba(12,18,24,.88) 0%, rgba(12,18,24,.72) 42%, rgba(12,18,24,.38) 72%, rgba(12,18,24,.62) 100%),
    linear-gradient(180deg, rgba(12,18,24,.1), rgba(12,18,24,.48)),
    url("/cardapio/assets/vitrine/tropical-fachada.jpeg") center 46% / cover no-repeat;
  box-shadow: 0 24px 54px rgba(31,45,58,.18);
}

.hero::after {
  display: block;
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(1.5px);
  background:
    radial-gradient(circle at 22% 30%, rgba(184,95,63,.22), transparent 21rem),
    linear-gradient(180deg, transparent 58%, rgba(8,12,16,.42));
}

.hero .brand-row,
.hero-content {
  position: relative;
  z-index: 1;
}

.hero .brand-row {
  align-self: start;
}

.hero .brand-title,
.hero .topbar-title,
.hero h2 {
  color: #ffffff;
}

.hero .brand-subtitle,
.hero p {
  color: rgba(255,255,255,.82);
}

.hero .icon-btn {
  color: #ffffff;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: end;
  max-width: 720px;
  min-height: 280px;
  margin-top: 0;
}

.hero h2 {
  max-width: 690px;
  margin-top: 10px;
  font-size: clamp(42px, 7.2vw, 76px);
  text-shadow: 0 14px 34px rgba(0,0,0,.34);
}

.hero p {
  max-width: 590px;
  margin-top: 12px;
  font-size: 17px;
  text-shadow: 0 10px 24px rgba(0,0,0,.26);
}

.hero .eyebrow {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #ffd4c4;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.hero .status-strip {
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 10px;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero .status-card {
  color: #ffffff;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.14);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.hero .status-card strong {
  color: #ffffff;
}

.hero .status-card span {
  color: rgba(255,255,255,.72);
}

.hero-search {
  width: min(100%, 620px);
  min-height: 58px;
  margin-top: 18px;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}

.hero-search svg {
  color: #b85f3f;
}

.hero-search input {
  font-size: 16px;
}

@media (min-width: 860px) {
  .hero {
    min-height: 480px;
    padding: 24px;
  }

  .hero-content {
    min-height: 360px;
  }
}

@media (min-width: 1280px) {
  .hero {
    min-height: 520px;
    padding: 28px;
    background-position: center 44%;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 560px;
    padding: 14px;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(12,18,24,.62) 0%, rgba(12,18,24,.78) 48%, rgba(12,18,24,.9) 100%),
      url("/cardapio/assets/vitrine/tropical-fachada.jpeg") 54% top / cover no-repeat;
  }

  .hero::after {
    inset: -10px;
    backdrop-filter: blur(1px);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-height: 430px;
    overflow: hidden;
  }

  .hero h2 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.42;
  }

  .hero .status-strip {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-search {
    width: 100%;
    min-height: 54px;
  }
}
