:root {
  color-scheme: light;
  --ink: #28130e;
  --red: #8d211c;
  --gold: #ffcc32;
  --paper: #fff5df;
  --line: #e5d3b2;
  font: 16px/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #21100c; color: #fff5df; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #d56716; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.demo { padding: 6px 14px; text-align: center; background: var(--gold); color: var(--ink); font-size: .76rem; font-weight: 800; }
.demo span { margin-inline: 5px; }
.header { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid #ffffff25; }
.logo { display: inline-block; color: #fff5df; font-size: 1.55rem; font-weight: 1000; font-style: italic; letter-spacing: -.085em; line-height: .95; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--gold); font-size: 1.25em; margin-left: 2px; }
.logo small { display: block; font-style: normal; font-size: .45rem; letter-spacing: .28em; margin-top: 5px; }
nav { display: flex; align-items: center; gap: clamp(5px, 2vw, 26px); }
.nav-btn { color: #ead9c5; border: 0; background: transparent; padding: 9px 3px; font-weight: 650; }
.nav-btn[aria-current=page] { color: var(--gold); }
.basket, .primary, .add { border: 1px solid transparent; background: var(--gold); color: var(--ink); padding: 10px 15px; border-radius: 9px; font-weight: 850; }
.basket span { background: var(--ink); color: white; border-radius: 20px; padding: 1px 6px; margin-left: 3px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; padding-block: 48px 52px; }
.hero h1, .panel h1 { margin: .12em 0 .23em; font-size: clamp(3.5rem, 8vw, 7.5rem); letter-spacing: -.09em; font-weight: 1000; line-height: .91; }
.hero h1 em { color: var(--gold); font-style: normal; }
.eyebrow { font-size: .74rem; font-weight: 850; letter-spacing: .14em; margin: 0; color: #ffce47; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; vertical-align: 2px; margin-right: 5px; }
.intro { color: #e8d3bd; max-width: 34ch; margin-bottom: 27px; }
.primary { display: inline-flex; text-decoration: none; gap: 20px; align-items: center; }
.hero-art { position: relative; aspect-ratio: 1.22; overflow: hidden; background: linear-gradient(130deg,#ffcf3e,#d76918); border-radius: 24px; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-label { position: absolute; bottom: 16px; right: 16px; background: #25140e; color: var(--paper); padding: 10px 14px; border-radius: 12px; display: grid; min-width: 144px; }
.hero-label span { font-size: .63rem; letter-spacing: .11em; color: var(--gold); font-weight: 850; }
.hero-label strong { font-size: 1.2rem; }
.hero-label b { color: var(--gold); font-size: .82rem; }
.menu, .panel { color: var(--ink); }
.menu { background: var(--paper); padding: 48px 0 64px; }
.menu .eyebrow, .panel .eyebrow { color: var(--red); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
h2 { margin: 0; font-size: clamp(1.6rem, 5vw, 3rem); letter-spacing: -.055em; line-height: 1.04; }
.outline { border: 1px solid currentColor; background: transparent; color: var(--red); border-radius: 8px; padding: 8px 12px; font-weight: 750; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 23px; }
.filter { border: 1px solid var(--line); background: #fffbef; color: var(--ink); border-radius: 30px; padding: 8px 15px; font-weight: 700; }
.filter[aria-pressed=true] { color: #fff; background: var(--red); border-color: var(--red); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fffbf0; }
.product img { width: 100%; aspect-ratio: 1.75; object-fit: cover; background: #f4c747; }
.product .info { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.product h3 { font-size: 1.25rem; margin: 0; letter-spacing: -.025em; }
.product p { color: #644a39; margin: 5px 0 14px; font-size: .9rem; }
.product .buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { color: var(--red); font-size: 1.1rem; font-weight: 900; }
.add { padding: 7px 10px; font-size: .85rem; }
.footer { display: flex; padding-block: 28px; align-items: center; justify-content: space-between; gap: 14px; font-size: .86rem; }
.footer p { color: #e8d3bd; }
.panel { background: var(--paper); margin-block: 24px; padding: clamp(18px, 4vw, 50px); border-radius: 18px; min-height: 60vh; }
.panel h1 { margin-top: 10px; font-size: clamp(2.6rem, 6vw, 5rem); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 34px; }
.metric, .order { background: #fffbf0; border: 1px solid var(--line); padding: 14px; border-radius: 10px; }
.metric strong { display: block; font-size: clamp(1rem, 3vw, 1.6rem); color: var(--red); }
.metric span { font-size: .78rem; }
.order-list { display: grid; gap: 10px; }
.order h3 { margin: 0; }
.order p { margin: 7px 0; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
dialog { width: min(490px, calc(100% - 24px)); max-height: 88dvh; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); color: var(--ink); padding: 19px; }
dialog::backdrop { background: #170707b5; }
.dialog-title, .cart-row, .total { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.close { border: 0; font-size: 1.4rem; background: transparent; padding: 4px 8px; }
.cart-row, .total { padding: 11px 0; border-bottom: 1px solid var(--line); }
.cart-row small { display: block; color: #644a39; }
.qty { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.qty button { border: 1px solid var(--line); color: var(--ink); border-radius: 6px; background: white; min-width: 31px; min-height: 32px; }
.checkout { display: grid; gap: 12px; margin-top: 14px; }
.checkout label { display: grid; gap: 4px; font-weight: 700; }
.checkout input, .checkout select { font: inherit; color: var(--ink); max-width: 100%; padding: 9px; border: 1px solid #947c62; border-radius: 7px; background: white; }
.notice { position: fixed; z-index: 2; bottom: 14px; left: 50%; transform: translateX(-50%); margin: 0; border-radius: 9px; background: #352014; border: 1px solid #ffcc32; color: white; padding: 9px 15px; width: max-content; max-width: calc(100% - 24px); text-align: center; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .wrap { width: calc(100% - 28px); }
  .header { min-height: 62px; gap: 7px; }
  .logo { font-size: 1.18rem; }
  .nav-btn, .basket { font-size: .76rem; }
  .basket { padding: 7px 5px; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; padding-block: 29px 24px; gap: 20px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-art { aspect-ratio: 1.55; border-radius: 14px; }
  .menu { padding-block: 34px 40px; }
  .product-grid { gap: 9px; }
  .product .info { padding: 9px; }
  .product h3 { font-size: 1.03rem; }
  .product p { font-size: .79rem; }
  .add { font-size: .73rem; padding: 6px; }
  .price { font-size: .87rem; }
  .footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.photo-label { position: absolute; bottom: 14px; left: 15px; background: #24140edb; border-radius: 5px; padding: 3px 6px; font-size: .66rem; }

/* Preserva o enquadramento das fotos do cardápio. */
.product img { object-fit: contain; background: #f4c747; }
.hero-art img { object-fit: contain; }
.hero-art img[hidden], .product img[hidden] { display: none; }
