/* =====================================================================
   Base de site — menu.css (os mesmos estilos do site do Rancho; o visual muda em tema-doce.css)
   Cardápio (destaques, abas, busca, listas) e a janela do prato.
   ===================================================================== */

.menu {
  background:
    radial-gradient(70% 38% at 50% 0%, rgba(217, 119, 47, .11), transparent 70%),
    var(--wood-grain),
    var(--bg-2);
}

.legend {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
  font-size: .86rem;
  color: var(--muted);
}

/* ---------- Destaques da casa ---------- */
.featured { margin-top: clamp(40px, 6vw, 64px); }
.featured-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.featured-nav { display: none; gap: 10px; }
.featured-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 320px);
  gap: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.featured-track::-webkit-scrollbar { display: none; }
.fcard { scroll-snap-align: start; }
.fcard-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 340px;
  padding: 26px 24px 22px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 42%),
    var(--wood);
  transition: transform .6s var(--ease-out), border-color .5s, box-shadow .6s var(--ease-out);
}
/* luz quente que acende no hover */
.fcard-btn::before {
  content: '';
  position: absolute;
  inset: auto -35% -60% -35%;
  z-index: -1;
  height: 80%;
  background: radial-gradient(closest-side, rgba(217, 119, 47, .24), transparent);
  opacity: .35;
  transition: opacity .6s var(--ease);
}
.fcard-btn:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 34px 60px -34px #000;
}
.fcard-btn:hover::before { opacity: 1; }
.fcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.fcard-num { font: 600 .82rem/1 var(--font-display); letter-spacing: .18em; color: var(--gold); }
.fcard-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 .62rem/1 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.fcard-cat .icon { width: 18px; height: 18px; color: var(--gold); }
.fcard-name {
  margin-top: 10px;
  font: 600 1.7rem/1.08 var(--font-serif);
  color: var(--text);
  text-wrap: balance;
  transition: color .4s;
}
.fcard-name small { font-size: .95rem; color: var(--muted); }
.fcard-btn:hover .fcard-name { color: var(--gold-hi); }
.fcard-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-2);
}
.fcard-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.fcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 .64rem/1 var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.fcard-cta .icon { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.fcard-btn:hover .fcard-cta .icon { transform: translateX(5px); }

/* preço "a partir de" e preços com rótulo (1P / 2P / 300g...) */
.pp { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 8px; }
.pp small {
  white-space: nowrap;
  font: 500 .6rem/1 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 900px) {
  .featured-nav { display: flex; }
  .featured-track { margin-inline: 0; padding-inline: 2px; scroll-padding-inline: 2px; grid-auto-columns: calc((100% - 48px) / 4); }
}

/* ---------- Barra de busca + categorias (no começo do cardápio; fica presa no topo) ---------- */
.menu-sentinel { height: 1px; }
.menu-bar {
  position: sticky;
  top: var(--header-h-s);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter);
  border-block: 1px solid var(--line);
  background: rgba(14, 10, 8, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: box-shadow .4s;
}
.menu-bar.is-stuck { box-shadow: 0 18px 30px -24px #000; }

.tabs {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  font: 500 .72rem/1 var(--font-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.tab .icon { display: none; width: 17px; height: 17px; }
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { color: var(--gold-hi); }
.tab:focus-visible { outline-offset: -4px; }
.tabs-ink {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-grad);
  pointer-events: none;
  transition: transform .55s var(--ease-out), width .55s var(--ease-out), opacity .3s;
}

/* Busca: sempre aberta, junto com as categorias */
.msearch {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 6px 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: rgba(255, 255, 255, .04);
  cursor: text;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.msearch:focus-within {
  border-color: var(--gold);
  background: rgba(205, 166, 95, .06);
  box-shadow: 0 0 0 3px rgba(205, 166, 95, .12);
}
.msearch > .icon { width: 18px; height: 18px; color: var(--gold); }
.msearch input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 1rem; /* 16px: no iPhone a tela não dá zoom ao tocar no campo */
}
.msearch input::placeholder { color: var(--muted); }
.msearch input::-webkit-search-cancel-button { display: none; }
.msearch-clear {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  visibility: hidden;
}
.msearch-clear .icon { width: 15px; height: 15px; }
.msearch-clear:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.msearch.has-value .msearch-clear { visibility: visible; }

/* Durante a busca os destaques saem da frente: os resultados ficam logo abaixo da barra */
.menu.is-searching .featured { display: none; }

/* Celular e tablet: busca em cima, categorias logo abaixo (as duas presas no topo) */
@media (max-width: 899px) {
  .menu-bar { flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 0; }
  .msearch { order: -1; }
  .tabs { flex: none; }
}

@media (min-width: 900px) {
  .menu-bar {
    top: calc(var(--header-h-s) + 12px);
    margin-inline: 0;
    padding: 6px 6px 6px 12px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: rgba(14, 10, 8, .82);
  }
  .menu-bar.is-stuck { border-color: var(--line-2); }
  .tabs { -webkit-mask-image: none; mask-image: none; }
  .tab .icon { display: block; }
  .msearch { flex: none; width: clamp(220px, 22vw, 290px); }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .tab .icon { display: none; }
  .tab { padding: 0 11px; letter-spacing: .14em; }
}

/* ---------- Painel da categoria ---------- */
.menu-panel {
  min-height: 50vh;
  padding-top: clamp(34px, 5vw, 60px);
  transition: opacity .17s var(--ease), transform .17s var(--ease);
}
.menu-panel.is-leaving { opacity: 0; transform: translate3d(0, 10px, 0); }

.cat-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 40px);
  margin-bottom: clamp(30px, 4.5vw, 52px);
  animation: itemIn .7s var(--ease-out) both;
}
.cat-figure {
  position: relative;
  width: clamp(92px, 15vw, 148px);
  aspect-ratio: 3 / 4;
  margin: 9px;
}
.cat-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.cat-figure.is-emblem {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 119, 47, .22), transparent 68%),
    var(--wood-2);
}
.cat-figure.is-emblem .icon { width: 42%; height: auto; color: var(--gold); }
.cat-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.cat-count {
  font: 500 .64rem/1 var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.cat-title {
  margin-top: 12px;
  font: 600 clamp(1.75rem, 4.6vw, 3rem)/1.05 var(--font-display);
  letter-spacing: .04em;
  color: var(--text);
}
.cat-desc { margin-top: 10px; max-width: 54ch; font-weight: 300; color: var(--text-2); }

.cat-cols { display: grid; gap: clamp(40px, 6vw, 64px); }
.cat-cols > div { display: grid; align-content: start; gap: clamp(40px, 6vw, 60px); }
.cat-cols .group + .group { margin-top: 0; }

@media (min-width: 900px) {
  .cat-cols { grid-template-columns: 1fr 1fr; column-gap: 64px; }
}

/* ---------- Grupos e itens ---------- */
.group + .group { margin-top: clamp(44px, 6vw, 68px); }
.group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font: 600 .84rem/1.3 var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.group-title::after {
  content: '';
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.group-title small {
  font: italic 500 1.02rem/1 var(--font-serif);
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.group-title .period { font-size: .6rem; letter-spacing: .14em; }
.group-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font: italic 500 1.05rem/1.4 var(--font-serif);
  color: var(--text-2);
}
.group-note .icon { width: 11px; height: 11px; color: var(--gold); }

.items { display: grid; column-gap: 44px; }
@media (min-width: 900px) {
  .items { grid-template-columns: 1fr 1fr; }
}

.item {
  border-bottom: 1px dashed var(--line);
  animation: itemIn .6s var(--ease-out) both;
  animation-delay: calc(min(var(--i, 0), 14) * 32ms);
}
.item-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  align-content: start;
  column-gap: 18px;
  row-gap: 6px;
  width: 100%;
  height: 100%;
  padding: 20px 12px;
  text-align: left;
  border-radius: 3px;
  transition: background-color .4s var(--ease);
}
button.item-card:hover { background: linear-gradient(90deg, rgba(205, 166, 95, .08), rgba(205, 166, 95, 0) 80%); }
.item.is-featured .item-card { background: linear-gradient(90deg, rgba(205, 166, 95, .07), rgba(205, 166, 95, 0) 70%); }
.item.is-featured .item-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--gold-grad);
}
.item-ctx, .item-name, .item-desc { grid-column: 1; }
.item-ctx {
  font: 500 .6rem/1.2 var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.item-name {
  font: 600 1.32rem/1.2 var(--font-serif);
  color: var(--text);
  text-wrap: balance;
  transition: color .3s;
}
.item-name small { font: 500 .98rem/1 var(--font-serif); color: var(--muted); }
button.item-card:hover .item-name { color: var(--gold-hi); }
.item-side {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 5px;
  padding-top: 2px;
}
.item-ctx ~ .item-side { grid-row: 1 / span 3; }
.item-open {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--gold);
  transition: background-color .35s, color .35s, transform .45s var(--ease), border-color .35s;
}
.item-open .icon { width: 14px; height: 14px; }
button.item-card:hover .item-open { background: var(--gold); border-color: var(--gold); color: #1b130b; transform: rotate(90deg); }
.item-desc { font-size: .92rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.item-variants, .item-meta { grid-column: 1 / -1; }
.item-variants { display: grid; gap: 2px; margin-top: 6px; max-width: 460px; }
.variant { display: flex; align-items: baseline; gap: 10px; font-size: .92rem; color: var(--text-2); }
.variant i { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(205, 166, 95, .35); transform: translateY(-4px); }
.variant .price { font-size: 1.08rem; }
.item-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

button.item-card:active { background: rgba(205, 166, 95, .08); }

/* Celular: descrição na largura toda; o card inteiro já é tocável */
@media (max-width: 599px) {
  .item-card { padding: 18px 6px; column-gap: 14px; }
  .item-desc { grid-column: 1 / -1; }
  .item-side { grid-row: 1; }
  .item-ctx ~ .item-side { grid-row: 1 / span 2; }
  .item-open { display: none; }
  .item.is-featured .item-card { padding-left: 14px; }
}

/* Foto do prato na lista (aparece quando o item tiver `foto`) */
.item-card.has-thumb { grid-template-columns: 76px minmax(0, 1fr) auto; }
.item-card.has-thumb .item-ctx, .item-card.has-thumb .item-name, .item-card.has-thumb .item-desc { grid-column: 2; }
.item-card.has-thumb .item-side { grid-column: 3; }
.item-card.has-thumb .item-variants, .item-card.has-thumb .item-meta { grid-column: 2 / -1; }
.item-thumb { grid-column: 1; grid-row: 1 / span 3; width: 76px; height: 76px; overflow: hidden; border-radius: 3px; }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
button.item-card:hover .item-thumb img { transform: scale(1.08); }

@keyframes itemIn { from { opacity: 0; transform: translate3d(0, 14px, 0); } }

/* Tabela de preços (cortes 300g/600g, sucos copo/jarra) */
.ptable-wrap { max-width: 720px; overflow-x: auto; }
.ptable { width: 100%; }
.ptable th, .ptable td { padding: 15px 10px; border-bottom: 1px dashed var(--line); text-align: right; white-space: nowrap; }
.ptable thead th {
  padding-top: 4px;
  font: 500 .64rem/1.2 var(--font-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom-style: solid;
}
.ptable tbody th {
  width: 100%;
  text-align: left;
  white-space: normal;
  font: 600 1.28rem/1.25 var(--font-serif);
  color: var(--text);
}
.ptable tbody tr { animation: itemIn .6s var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 14) * 32ms); transition: background-color .3s; }
.ptable tbody tr:hover { background: rgba(205, 166, 95, .05); }
.ptable .price { font-size: 1.16rem; }
.ptable .dash { color: var(--muted); }
.ptable .star { display: inline-flex; vertical-align: middle; margin-left: 8px; color: var(--gold); }
.ptable .star .icon { width: 15px; height: 15px; }
.cat-cols .ptable-wrap { max-width: none; }

/* Lista compacta com pontilhado (bebidas) */
.clist { display: grid; column-gap: 56px; }
.clist li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 2px;
  animation: itemIn .6s var(--ease-out) both;
  animation-delay: calc(min(var(--i, 0), 14) * 26ms);
}
.clist-name { font: 500 1.16rem/1.3 var(--font-serif); color: var(--text); }
.clist-name small { font-size: .95rem; color: var(--muted); }
.clist-dots { flex: 1; min-width: 18px; border-bottom: 1px dotted rgba(205, 166, 95, .4); transform: translateY(-5px); }
.clist .price { font-size: 1.14rem; }

/* Busca: cabeçalho, vazio e rodapé */
.search-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  animation: itemIn .5s var(--ease-out) both;
}
.search-head strong { color: var(--gold-hi); font-weight: 500; }
.empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 0 20px;
  text-align: center;
  color: var(--text-2);
}
.empty .icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 6px; }
.empty strong { color: var(--text); font-weight: 500; }
.empty-hint { color: var(--muted); font-size: .92rem; }
.menu-foot {
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--muted);
  text-align: center;
}

/* =====================================================================
   Janela do prato
   ===================================================================== */
.dish {
  width: min(100% - 32px, 940px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.dish::backdrop {
  background: rgba(5, 4, 3, .8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.dish[open] { animation: dishIn .55s var(--ease-out); }
.dish[open]::backdrop { animation: fadeIn .4s var(--ease); }
.dish.is-closing { animation: dishOut .26s var(--ease) forwards; }
.dish.is-closing::backdrop { animation: fadeOut .26s var(--ease) forwards; }
@keyframes dishIn { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.98); } }
@keyframes dishOut { to { opacity: 0; transform: translate3d(0, 16px, 0) scale(.985); } }

.dish-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: min(88vh, 780px);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--wood);
  box-shadow: 0 50px 120px -40px #000;
}
.dish-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(11, 8, 6, .7);
  color: var(--text);
  transition: transform .45s var(--ease), border-color .3s, color .3s;
}
.dish-close .icon { width: 18px; height: 18px; }
.dish-close:hover { transform: rotate(90deg); border-color: var(--gold); color: var(--gold-hi); }

.dish-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 119, 47, .24), transparent 62%),
    var(--wood-grain),
    var(--wood-2);
}
.dish-card.has-photo .dish-visual { min-height: 240px; }
.dish-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish-emblem {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
}
.dish-ring {
  position: relative;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--gold);
  box-shadow: 0 0 0 7px rgba(205, 166, 95, .05), inset 0 0 30px rgba(205, 166, 95, .1);
}
.dish-ring .icon { width: 44%; height: 44%; }
.dish-emblem-name {
  font: 600 .78rem/1.3 var(--font-display);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.dish-body {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.dish-card.is-swapping .dish-body, .dish-card.is-swapping .dish-visual > * { opacity: 0; transform: translate3d(0, 8px, 0); }
.dish-visual > * { transition: opacity .16s var(--ease), transform .16s var(--ease); }
.dish-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-right: 48px;
  font: 500 .66rem/1.2 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.dish-name {
  font: 600 clamp(2rem, 4.2vw, 2.75rem)/1.05 var(--font-serif);
  color: var(--text);
  text-wrap: balance;
}
.dish-name small { font-size: .55em; color: var(--muted); }
.dish-chip { justify-self: start; }
.dish-desc { font: 500 1.22rem/1.55 var(--font-serif); color: var(--text-2); text-wrap: pretty; }
.dish-prices { border-top: 1px solid var(--line); }
.dish-prices div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.dish-prices dt { color: var(--text-2); font-size: .95rem; }
.dish-prices .price { font-size: 1.55rem; }
.dish-info { display: grid; gap: 10px; font-size: .94rem; color: var(--text-2); }
.dish-info li { display: flex; align-items: flex-start; gap: 10px; }
.dish-info .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.dish-info strong { color: var(--text); font-weight: 500; }
.dish-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.dish-actions .btn { flex: 1 1 auto; }
.dish-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 500 .7rem/1 var(--font-sans);
  letter-spacing: .24em;
  color: var(--muted);
}

@media (max-width: 759px) {
  /* no celular a janela sobe de baixo, como uma gaveta */
  .dish { width: 100%; margin: auto 0 0; }
  .dish[open] { animation: sheetIn .55s var(--ease-out); }
  .dish.is-closing { animation: sheetOut .28s var(--ease) forwards; }
  .dish-card { max-height: 92svh; border-radius: 16px 16px 0 0; border-bottom: 0; }
  .dish-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@keyframes sheetIn { from { transform: translate3d(0, 100%, 0); } }
@keyframes sheetOut { to { transform: translate3d(0, 100%, 0); } }

@media (min-width: 760px) {
  .dish-card { grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: none; }
  .dish-card.has-photo { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .dish-visual { min-height: 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .dish-emblem { flex-direction: column; text-align: center; gap: 22px; }
  .dish-ring { width: 118px; height: 118px; }
  .dish-actions .btn { flex: 0 0 auto; }
}
