:root {
  --bg: #090807;
  --surface: #11100f;
  --surface-2: #171513;
  --surface-3: #1d1a17;
  --line: #2b2722;
  --gold: #d3a24c;
  --gold-2: #b9832f;
  --cream: #f4efe7;
  --muted: #a9a29a;
  --muted-2: #7f7973;
  --success: #8abf8a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 15% -10%, rgba(211, 162, 76, 0.09), transparent 33%),
    radial-gradient(circle at 95% 20%, rgba(211, 162, 76, 0.04), transparent 26%), var(--bg);
  font-family:
    'DM Sans',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 22px 80px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 640px;
  margin: 0 -22px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(211, 162, 76, 0.24);
  background: #0b0a09;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: brightness(0.34) saturate(0.82) contrast(1.04);
}
.hero-media:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.12), rgba(9, 8, 7, 0.28) 42%, rgba(9, 8, 7, 0.96) 100%),
    linear-gradient(90deg, rgba(9, 8, 7, 0.66), transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 640px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 22px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow:before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(74px, 12vw, 148px);
  line-height: 0.78;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.brand-sub {
  margin-top: 18px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.14em;
  font-size: clamp(24px, 3vw, 36px);
  color: #e7dfd4;
}
.hero-copy {
  max-width: 650px;
  margin-top: 18px;
  color: #c8c1b9;
  line-height: 1.72;
  font-size: 15px;
}
.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
  padding: 9px 13px;
  border-radius: 999px;
  color: #ddd5cb;
  font-size: 12px;
}

/* NAV */
.category-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 -22px;
  background: rgba(9, 8, 7, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.category-nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar {
  display: none;
}
.category-nav a {
  white-space: nowrap;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bdb6ae;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: 0.2s ease;
}
.category-nav a:hover {
  border-color: rgba(211, 162, 76, 0.7);
  color: var(--gold);
  background: rgba(211, 162, 76, 0.07);
}

/* INTRO */
.menu-intro {
  padding: 48px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 40px;
  align-items: end;
}
.menu-intro h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
}
.menu-intro p {
  margin: 14px 0 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}
.menu-note {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 18px;
  border-radius: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.menu-note b {
  color: var(--gold);
}

/* SECTION */
.menu-section {
  padding-top: 68px;
  scroll-margin-top: 76px;
}
.section-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 8px;
}
.section-title-row {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-bottom: 26px;
}
.section-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.95;
}
.section-rule {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(211, 162, 76, 0.8), rgba(211, 162, 76, 0));
}
.section-lead {
  margin: -12px 0 30px;
  color: var(--muted);
  font-size: 14px;
  max-width: 720px;
  line-height: 1.7;
}
.subsection {
  margin-top: 34px;
}
.subsection-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.subsection-head h3 {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.12em;
  color: #e7dfd4;
}
.subsection-head span {
  font-size: 11px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* PRODUCT CARDS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 230px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: #4a3a25;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
}
.product-image {
  position: relative;
  min-height: 230px;
  background: #0d0c0b;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.025);
}
.product-image.contain img {
  object-fit: contain;
  padding: 14px;
}
.product-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, rgba(17, 16, 15, 0.64) 100%);
  pointer-events: none;
}
.product-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
}
.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
}
.product-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}
.product-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 17px;
}
.price-option {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #302c27;
  background: rgba(255, 255, 255, 0.024);
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 11px;
  color: #c8c1b9;
}
.price-option b {
  color: var(--gold);
  font-size: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(211, 162, 76, 0.09);
  border: 1px solid rgba(211, 162, 76, 0.22);
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* COMPACT CARDS */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.compact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 17px;
}
.compact-card .name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.compact-card h4 {
  margin: 0;
  font-size: 14px;
}
.compact-card .price {
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  font-size: 13px;
}
.compact-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ADDONS */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.addon {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px 13px;
  font-size: 12px;
}
.addon span:last-child {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

/* DRINK GRID */
.drink-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.drink-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.drink-image {
  height: 240px;
  background: #0c0b0a;
  position: relative;
  overflow: hidden;
}
.drink-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.32));
}
.drink-image:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(17, 16, 15, 0.9));
  pointer-events: none;
}
.drink-body {
  padding: 16px 17px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.drink-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.drink-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}
.drink-price {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.drink-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}

/* INFO ROWS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 18px;
}
.info-card .info-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.info-card h4 {
  margin: 0;
  font-size: 14px;
}
.info-card .price {
  color: var(--gold);
  font-weight: 800;
}
.info-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.footer {
  margin-top: 84px;
  padding-top: 30px;
  border-top: 1px solid rgba(211, 162, 76, 0.4);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}
.footer small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.footer b {
  color: var(--gold);
}

/* FALLBACK DE IMAGEM */
.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #27221b, #11100f 68%);
  color: #6f675f;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 18px;
}
.product-image img,
.drink-image img {
  position: relative;
  z-index: 2;
}

@media (max-width: 1050px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .drink-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .addons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 0 14px 60px;
  }
  .hero {
    margin: 0 -14px;
    min-height: 530px;
  }
  .hero-inner {
    min-height: 530px;
    padding: 58px 18px 42px;
  }
  .category-nav-wrap {
    margin: 0 -14px;
  }
  .category-nav {
    padding: 10px 14px;
  }
  .menu-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 36px;
  }
  .menu-section {
    padding-top: 54px;
  }
  .section-title-row {
    gap: 10px;
  }
  .product-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 205px;
    border-radius: 18px;
  }
  .product-image {
    min-height: 205px;
  }
  .product-body {
    padding: 17px 16px;
  }
  .product-name {
    font-size: 19px;
  }
  .drink-grid {
    grid-template-columns: 1fr 1fr;
  }
  .drink-image {
    height: 210px;
  }
  .addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 72px;
  }
  .hero-copy {
    font-size: 13px;
  }
  .product-card {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 230px;
    min-height: 230px;
  }
  .product-image:after {
    background: linear-gradient(180deg, transparent 58%, rgba(17, 16, 15, 0.6) 100%);
  }
  .drink-grid,
  .compact-grid,
  .addons-grid {
    grid-template-columns: 1fr;
  }
  .drink-image {
    height: 250px;
  }
  .section-title {
    font-size: 38px;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .category-nav-wrap {
    display: none;
  }
  .hero {
    min-height: 360px;
  }
  .hero-inner {
    min-height: 360px;
  }
  .product-card,
  .drink-card,
  .compact-card,
  .addon,
  .info-card {
    break-inside: avoid;
  }
}
/* Pedidos por mesa · TITO */
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.hero,
.hero-inner {
  min-height: 390px;
}
.hero-inner {
  padding-top: 60px;
}
.brand {
  font-size: 90px;
}
.hero-pills button {
  color: var(--cream);
}
.search-label {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
}
.search-label input,
.customer-form input,
.customer-form select,
.customer-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--cream);
  font: inherit;
}
.search-label input {
  max-width: 520px;
}
.menu-intro {
  padding-bottom: 28px;
}
.product-image {
  height: 250px;
}
.product-image img {
  object-fit: contain;
  padding: 12px;
}
.product-body {
  position: relative;
  padding-bottom: 70px;
}
.product-desc {
  min-height: 0;
}
.add-item {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--gold);
  border: 0;
  color: #17130b;
  font-size: 27px;
}
.item-from {
  margin-top: 18px;
  color: var(--gold);
  font-weight: 700;
}
.category-nav a.active {
  color: var(--gold);
}
.empty-menu {
  padding: 40px;
  color: var(--muted);
}
.cart-bar {
  position: fixed;
  z-index: 30;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 580px);
  padding: 18px 22px;
  border: 1px solid var(--gold);
  border-radius: 18px;
  background: var(--gold);
  color: #17120a;
  font-weight: 700;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cart-bar[hidden] {
  display: none;
}
.shell {
  padding-bottom: 130px;
}
#customer-dialog {
  max-width: 600px;
  width: calc(100% - 24px);
  max-height: 90dvh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--cream);
  overflow: auto;
  overscroll-behavior: contain;
}
#customer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}
.dialog-body {
  padding: 24px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.dialog-head h2 {
  font-size: 24px;
  margin: 0;
}
.dialog-head button {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 50%;
  width: 38px;
  height: 38px;
}
.customer-form {
  display: grid;
  gap: 18px;
}
.customer-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.customer-form fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.customer-form legend {
  padding: 0 6px;
  color: var(--gold);
}
.customer-form textarea {
  min-height: 90px;
  resize: vertical;
}
.option-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.option-row input[type='radio'] {
  width: auto;
  accent-color: var(--gold);
}
.option-row input[type='number'] {
  width: 75px;
  flex-shrink: 0;
  padding: 9px;
}
.option-row span {
  flex: 1;
}
.customer-form small,
.subtle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.customer-form small {
  display: block;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.primary-customer,
.secondary-customer,
.danger-customer {
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 600;
}
.primary-customer {
  background: var(--gold);
  color: #17120a;
  border: 1px solid var(--gold);
  flex: 1;
}
.secondary-customer {
  background: var(--surface-2);
  color: var(--cream);
  border: 1px solid var(--line);
}
.danger-customer {
  color: #ee9791;
  border: 1px solid #71352e;
  background: transparent;
}
.cart-line {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-head {
  display: flex;
  gap: 14px;
  justify-content: space-between;
}
.cart-line p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
}
.cart-line button {
  font-size: 12px;
  padding: 8px 10px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  margin: 24px 0;
}
.success-mark {
  font-size: 42px;
  color: var(--gold);
  text-align: center;
}
.success-box {
  text-align: center;
  padding: 12px 0;
}
.success-box h2 {
  margin-bottom: 10px;
}
.order-status {
  display: inline-block;
  padding: 6px 10px;
  background: var(--surface-3);
  border-radius: 10px;
  color: var(--gold);
  font-size: 12px;
}
.call-options {
  display: grid;
  gap: 12px;
}
.notice-error {
  color: #ffb7ae;
}
#customer-toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  background: #272019;
  color: var(--cream);
  border: 1px solid var(--gold);
  padding: 14px 18px;
  border-radius: 12px;
  width: min(92%, 540px);
  z-index: 90;
  display: none;
}
#customer-toast.show {
  display: block;
}
.dialog-image {
  height: 150px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 18px;
}
.retry-warning {
  padding: 14px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--gold);
  line-height: 1.6;
}
.refresh-card {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  color: var(--gold);
}
@media (max-width: 600px) {
  .hero,
  .hero-inner {
    min-height: 320px;
  }
  .hero-inner {
    padding-top: 42px;
    padding-bottom: 32px;
  }
  .brand {
    font-size: 76px;
  }
  .brand-sub {
    font-size: 23px;
  }
  .menu-intro h1 {
    font-size: 30px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-image {
    height: 155px;
  }
  .product-body {
    padding: 14px 12px 60px;
  }
  .product-name {
    font-size: 19px;
  }
  .product-desc {
    font-size: 12px;
    line-height: 1.6;
  }
  .item-from {
    font-size: 13px;
  }
  .add-item {
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .dialog-body {
    padding: 20px;
  }
  .category-nav {
    gap: 20px;
  }
  .section-title {
    font-size: 34px;
  }
}
@media print {
  .cart-bar,
  #customer-toast,
  #customer-dialog,
  .add-item,
  .hero-pills button,
  .search-label {
    display: none !important;
  }
}
/* 0.7: uma única escala de cartões e formulários em todos os tamanhos. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
}
body {
  min-width: 0;
  font-size: 16px;
}
.shell {
  max-width: 1200px;
  padding: 0 clamp(12px, 3vw, 24px) 140px;
}
.hero {
  margin: 0;
  min-height: 0;
  border-radius: 0 0 24px 24px;
}
.hero-inner {
  min-height: 240px;
  padding: 36px 24px;
}
.brand {
  font-size: 64px;
}
.brand-sub {
  font-size: 20px;
}
.hero-copy {
  font-size: 15px;
  line-height: 1.5;
}
.category-nav-wrap {
  margin: 0;
  max-width: 100%;
  background: var(--bg);
}
.category-nav {
  gap: 8px;
  padding: 12px 0;
}
.category-nav a {
  font-size: 12px;
  letter-spacing: 0;
}
.menu-intro {
  grid-template-columns: 1fr;
  padding: 28px 0 0;
  gap: 18px;
}
.menu-intro h1 {
  font-size: 30px;
  line-height: 1.15;
}
.menu-intro h1 br {
  display: none;
}
.menu-section {
  padding-top: 32px;
}
.section-title {
  font-size: 28px;
  line-height: 1.2;
}
.section-title-row {
  margin-bottom: 16px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  border-radius: 16px;
}
.product-image {
  height: 210px;
  min-height: 0;
  flex: none;
  background: var(--surface-2);
}
.product-image:after {
  display: none;
}
.product-image img,
.product-image.contain img {
  padding: 12px;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.product-body {
  padding: 16px 16px 68px;
  flex: 1;
  min-width: 0;
}
.product-name {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.product-desc {
  font-size: 14px;
  line-height: 1.5;
}
.item-from {
  margin-top: 14px;
  font-size: 16px;
}
.add-item {
  width: 44px;
  height: 44px;
  right: 14px;
  bottom: 14px;
}
.search-label input,
.customer-form input,
.customer-form select,
.customer-form textarea {
  font-size: 16px;
}
.dialog-body {
  padding: 20px;
}
.dialog-actions > * {
  min-height: 44px;
}
.option-row {
  gap: 10px;
}
.option-row > span:first-of-type {
  min-width: 0;
  overflow-wrap: anywhere;
}
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto !important;
  max-width: 130px;
}
.quantity-stepper button {
  height: 44px;
  width: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 22px;
  background: var(--surface-2);
}
.quantity-stepper input[type='number'] {
  width: 38px !important;
  min-width: 0;
  max-width: 38px;
  text-align: center;
  padding: 4px;
  border: 0;
  background: transparent;
  -moz-appearance: textfield;
}
.quantity-stepper input::-webkit-inner-spin-button {
  appearance: none;
}
.order-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}
.order-steps span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.order-tracker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.order-tracker span {
  font-size: 13px;
  padding: 9px 11px;
  background: var(--surface-2);
  border-radius: 9px;
}
.order-tracker .done {
  background: var(--gold);
  color: #24180a;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checkout-grid .full {
  grid-column: 1/-1;
}
.chat-log {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.chat-message {
  max-width: 90%;
  border-radius: 12px;
  padding: 12px;
  background: var(--surface-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
}
.chat-message.loja,
.chat-message.entregador {
  justify-self: end;
  border: 1px solid var(--gold);
}
.chat-message small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}
.chat-compose {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.chat-compose textarea {
  width: 100%;
  min-height: 75px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--cream);
  background: var(--surface-2);
  font: inherit;
}
.profile-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-bar button {
  min-height: 44px;
}
.delivery-detail {
  overflow-wrap: anywhere;
}
.cart-bar {
  font-size: 15px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  padding: 16px;
  gap: 10px;
}
.cart-bar span {
  min-width: 0;
}
.footer {
  margin-top: 40px;
}
.customer-form .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-row input[type='checkbox'] {
  width: auto;
  margin: 4px 0;
}
.account-action {
  border: 1px solid var(--line);
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: 12px;
  color: var(--cream);
}
[data-theme='light'] {
  --bg: #f7f5f0;
  --surface: #fff;
  --surface-2: #f1eee7;
  --surface-3: #e9e4da;
  --line: #d9d2c5;
  --gold: #94600d;
  --cream: #2a251d;
  --muted: #696257;
  --muted-2: #787164;
  --shadow: 0 14px 42px #372b1820;
  color-scheme: light;
}
[data-theme='light'] .category-nav a,
[data-theme='light'] .pill {
  color: var(--cream);
}
[data-theme='light'] .hero {
  background: #f0ebe1;
}
[data-theme='light'] .hero-media {
  display: none;
}
[data-theme='light'] .brand-sub,
[data-theme='light'] .hero-copy {
  color: var(--cream);
}
[data-theme='light'] .hero-pills button {
  color: var(--cream);
}
[data-theme='light'] .primary-customer,
[data-theme='light'] .cart-bar,
[data-theme='light'] .add-item {
  background: #e6b15a;
  color: #261c0a;
  border-color: #d4a44d;
}
[data-theme='light'] #customer-toast {
  background: #fff;
  color: var(--cream);
}
[data-theme='light'] .danger-customer {
  color: #aa3327;
}
[data-theme='light'] .image-fallback {
  background: var(--surface-2);
  color: var(--muted);
}
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-image {
    height: 190px;
  }
  .hero-inner {
    min-height: 220px;
  }
}
@media (max-width: 560px) {
  .hero-inner {
    padding: 28px 18px;
    min-height: 210px;
  }
  .brand {
    font-size: 54px;
  }
  .brand-sub {
    font-size: 17px;
  }
  .hero-copy {
    font-size: 14px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .product-image {
    height: 100%;
    min-height: 160px;
    align-self: stretch;
  }
  .product-body {
    padding: 14px 12px 62px;
  }
  .product-name {
    font-size: 20px;
  }
  .product-desc {
    font-size: 14px;
  }
  .dialog-body {
    padding: 16px;
  }
  .dialog-head h2 {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .hero-pills {
    gap: 8px;
    margin-top: 16px;
  }
  .pill {
    padding: 10px 12px;
  }
  .category-nav {
    gap: 8px;
  }
  .dialog-actions > * {
    flex: 1 1 140px;
  }
  .cart-total {
    font-size: 19px;
    gap: 10px;
  }
  .menu-note {
    font-size: 14px;
  }
  .menu-intro h1 {
    font-size: 26px;
  }
  .section-title {
    font-size: 27px;
  }
}
@media (max-width: 360px) {
  .product-card {
    grid-template-columns: 94px minmax(0, 1fr);
  }
  .product-image {
    min-height: 160px;
  }
  .product-name {
    font-size: 18px;
  }
  .option-row {
    flex-wrap: wrap;
  }
  .cart-bar {
    font-size: 14px;
  }
}

.menu-subcategory {
  font-size: 1.2rem;
  margin: 24px 0 14px;
  font-weight: 800;
}
/* Cardápio e personalização 0.9 */
.category-nav a {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.menu-section {
  scroll-margin-top: 90px;
}
.product-card {
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.product-card:hover {
  border-color: var(--gold);
}
.product-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--surface);
  padding: 8px 0;
}
.dialog-image {
  height: 220px;
  object-fit: contain;
  background: var(--surface-2);
  border-radius: 14px;
}
.customer-form .option-row:has(input:checked) {
  background: var(--surface-2);
  border-radius: 10px;
}
.customer-form input[type='radio'] {
  accent-color: var(--gold);
}
.dialog-actions button {
  font-size: 15px;
}
.product-image img {
  content-visibility: auto;
}
.hero-media img {
  object-fit: cover;
}
.quantity-stepper button:active {
  background: var(--gold);
  color: var(--bg);
}
@media (max-width: 560px) {
  .hero-inner {
    min-height: 180px;
    padding: 22px 16px;
  }
  .hero-copy {
    max-width: 38ch;
  }
  .brand {
    font-size: 48px;
  }
  .product-image {
    min-height: 160px;
  }
  .dialog-image {
    height: 190px;
  }
  .category-nav-wrap {
    top: 0;
  }
  .cart-bar {
    max-width: calc(100% - 24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

.public-addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.public-addons > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.public-addons span {
  min-width: 0;
}
.public-addons b {
  white-space: nowrap;
  color: var(--gold);
}
@media (max-width: 560px) {
  .public-addons {
    grid-template-columns: 1fr;
  }
}

.wifi-qr-surface {background:#fff; border-radius:16px; padding:18px; width:fit-content; max-width:100%; margin:12px auto;}
.wifi-qr {display:block; width:240px; height:auto; max-width:100%; object-fit:contain;}
[hidden] {display:none!important;}

/* Cardápio visual: fotos, descrição completa e preços por opção. */
.product-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.menu-display-card {position:relative;display:grid;grid-template-columns:180px minmax(0,1fr);min-height:235px;background:linear-gradient(145deg,var(--surface-2),var(--surface));border-radius:22px;overflow:hidden}
.menu-display-card .product-image {position:relative;height:100%;min-height:235px;align-self:stretch;background:var(--surface-2)}
.menu-display-card .product-image img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:14px}
.menu-display-card .product-image img[hidden] {display:none}
.menu-display-card .image-fallback {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px;color:var(--muted);font-size:14px}
.menu-display-card .product-image:has(img:not([hidden])) .image-fallback {visibility:hidden}
.menu-display-card .product-body {padding:22px 22px 64px;display:flex;flex-direction:column;min-width:0}
.menu-display-card .product-name {margin:0;font-family:Georgia,serif;font-size:24px;line-height:1.2}
.menu-display-card .product-desc {display:block;overflow:visible;-webkit-line-clamp:unset;margin:12px 0 16px;font-size:14px;line-height:1.65;color:var(--muted)}
.menu-price-options {display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.menu-price-option {display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;font-size:12px;color:var(--muted);background:var(--surface)}
.menu-price-option b {color:var(--gold);font-size:13px;white-space:nowrap}
.menu-order-hint {margin-top:12px;font-size:11px;color:var(--muted)}
.menu-card-open {position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:inherit;background:transparent;cursor:pointer;padding:0;color:var(--cream)}
.menu-card-open:focus-visible {outline:3px solid var(--gold);outline-offset:-4px}
.menu-card-open:disabled {cursor:default;opacity:.55}
.menu-card-plus {position:absolute;bottom:16px;right:18px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:var(--bg);font-size:24px;font-weight:700}
.menu-display-card:hover {border-color:var(--gold)}
@media(max-width:1050px){.product-grid {grid-template-columns:1fr}.menu-display-card{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:560px){.product-grid{gap:14px}.menu-display-card{grid-template-columns:1fr}.menu-display-card .product-image{height:210px;min-height:210px}.menu-display-card .product-image img{padding:12px 24px}.menu-display-card .product-body{padding:18px 18px 62px}.menu-display-card .product-name{font-size:24px}.menu-display-card .product-desc{font-size:14px}.menu-price-option{font-size:12px;padding:8px}.menu-price-option b{font-size:13px}}

@media(min-width:1000px){.public-addons{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Adicionais informativos: preço legível e sem controles de carrinho. */
.public-addons{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.public-addons>div{background:var(--surface);padding:14px 16px;min-height:54px;align-items:center;font-size:14px;line-height:1.4;gap:12px}
.public-addons span{overflow-wrap:anywhere;font-weight:500}
.public-addons b{font-size:15px;font-weight:800}
@media(max-width:1000px){.public-addons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.public-addons{grid-template-columns:1fr;gap:8px;margin:16px 0}.public-addons>div{padding:14px 15px;min-height:54px;font-size:15px}.public-addons b{font-size:16px}}
