:root {
  color-scheme: light;
  --canvas: #faf8f5;
  --paper: #fff;
  --ink: #21140f;
  --muted: #664e43;
  --terracotta: #892b21;
  --terracotta-dark: #5b1c14;
  --gold: #facc74;
  --line: #e4d9cf;
  --heading: "Segoe UI", Arial, sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.48 var(--body); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #895014; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 5; top: 10px; left: 10px; padding: .6rem 1rem; background: var(--paper); }
.wrap { width: min(100% - 48px, 1032px); margin-inline: auto; }
.top { background: #f7f7f7; border-bottom: 1px solid var(--line); }
.top-row { display: flex; justify-content: space-between; align-items: center; min-height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--terracotta-dark); font-weight: 800; line-height: 1.08; }
.brand-logo { display: block; width: auto; height: 78px; object-fit: contain; }
.table-label { display: flex; align-items: baseline; gap: 5px; padding: 7px 12px; border: 1px solid #dfc4b2; border-radius: 5px; font-size: .88rem; color: var(--terracotta-dark); }
.content { padding: 0 0 100px; outline: none; }
.searchbox { width: min(100%, 520px); min-height: 48px; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid #f0ded1; padding: 0 13px; border-radius: 7px; }
.searchbox:focus-within { outline: 2px solid #895014; outline-offset: 2px; }
.icon-search { flex: 0 0 13px; height: 13px; border: 1.8px solid var(--terracotta); border-radius: 50%; position: relative; margin: 0 4px 3px 1px; }
.icon-search::after { content: ""; position: absolute; width: 6px; height: 2px; background: var(--terracotta); transform: rotate(45deg); right: -5px; bottom: -2px; border-radius: 2px; }
.searchbox input { width: 100%; min-width: 0; color: var(--ink); border: 0; outline: none; background: transparent; }
.searchbox input:focus-visible { outline: none; }
.searchbox input::placeholder { color: var(--muted); }
.searchbox input::-webkit-search-cancel-button { display: none; }
.clear { padding: 6px 0; color: var(--terracotta-dark); background: none; border: 0; font-weight: 650; font-size: .87rem; }
.menu-nav { display: flex; gap: 5px 8px; flex-wrap: wrap; margin-top: 11px; }
.category { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 5px 12px; border: 1px solid transparent; border-radius: 6px; color: #fff8ed; text-align: center; font-size: .98rem; font-weight: 700; }
.category:hover { background: #39160dc9; }
.category:focus-visible { outline-color: var(--gold); }
.category[aria-current] { color: #381c12; background: var(--gold); }
#stage { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px 8px; margin-bottom: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 12px; border: 1px solid transparent; border-radius: 4px; color: var(--muted); font-size: .89rem; font-weight: 650; }
.chips a:hover { color: var(--terracotta-dark); text-decoration: underline; }
.chips a[aria-current] { border-color: #c6927b; background: #f1e1d2; color: var(--terracotta-dark); }
.chips:not(.chips-main) a { font-size: .82rem; }
.list-heading { padding: 6px 0 14px; display: flex; gap: 10px; justify-content: space-between; align-items: baseline; }
.list-heading h2 { font: 800 clamp(1.54rem, 3.5vw, 2.32rem)/1.08 var(--heading); letter-spacing: -.043em; }
.list-heading small { flex: 0 0 auto; color: var(--muted); font-size: .79rem; }
.item-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.item { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--paper); box-shadow: 0 2px 5px #452b1c0b; }
.item:hover, .item:focus-within { border-color: var(--terracotta); }
.item-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f2ece6; }
.item-img img { display: block; height: 100%; width: 100%; object-fit: cover; }
.item-stock-ribbon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  padding: 6px 8px;
  background: #a4252d;
  color: #fff;
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
}
.item-img .drink { object-position: 50% 68%; }
.item-img .torta-holandesa { object-fit: contain; }
.photo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; padding: 8px; text-align: center; color: #6b574e; font-size: .77rem; }
.item-copy { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 11px 10px 9px; }
.item-copy h3 { font: 750 clamp(.93rem, 2.7vw, 1.12rem)/1.17 var(--heading); overflow-wrap: anywhere; }
.item-copy p { font-size: .78rem; line-height: 1.31; color: var(--muted); margin-top: 5px; }
.item-footer { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: auto; padding-top: 7px; }
.starting-price { font-weight: 730; color: var(--terracotta-dark); font-size: .85rem; }
.item button { flex-shrink: 0; }
.item button::after { content: ""; position: absolute; inset: 0; }
.item button, .quantity button, .close { width: 44px; min-height: 44px; padding: 0; border: 1px solid #cfaa94; border-radius: 5px; color: var(--terracotta-dark); background: var(--paper); font-size: 1.32rem; }
.item button:hover, .quantity button:not(:disabled):hover, .close:hover { background: #f2e2d4; }
.more { display: block; margin: 18px auto 0; padding: 10px 20px; min-height: 44px; border: 1px solid var(--terracotta); border-radius: 5px; color: var(--terracotta-dark); background: transparent; font-weight: 700; }
.empty { padding: 20px 0; color: var(--muted); }
.dock { position: fixed; inset: auto 0 0; z-index: 2; border-top: 1px solid #805f49; background: #35231c; color: #fff7e8; padding-bottom: env(safe-area-inset-bottom); }
.dock-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.23fr); max-width: 560px; gap: 9px; padding: 10px 0; }
.waiter, .primary { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 45px; padding: 8px 10px; border: 1px solid transparent; border-radius: 5px; line-height: 1.12; font-size: .90rem; font-weight: 700; }
.waiter { color: #fff4de; background: transparent; border-color: #b69975; }
.waiter svg { width: 18px; min-width: 18px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.primary { color: #fff8eb; background: var(--terracotta); }
.primary:hover { background: var(--terracotta-dark); }
.dock .primary { background: var(--gold); color: #332016; }
.dock .primary:hover { background: #f2cf91; }
#cart-total:empty { display: none; }
#cart-total { white-space: nowrap; font-size: .80rem; }
dialog { width: min(100% - 30px, 535px); max-width: none; max-height: min(88dvh, 740px); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 80px #32170b35; }
dialog::backdrop { background: #241a16a3; }
.sheet-body { padding: 22px; }
.sheet-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-bottom: 12px; border-bottom: 2px solid var(--terracotta); margin-bottom: 12px; }
.sheet-header h2 { font: normal 2.12rem/.99 var(--heading); letter-spacing: -.045em; outline: none; }
.sheet-header p { font-weight: 680; color: var(--terracotta-dark); font-size: .82rem; margin-bottom: 7px; }
.detail-description, .notice { font-size: .93rem; color: var(--muted); margin-bottom: 14px; }
.detail-description { white-space: pre-line; overflow-wrap: anywhere; }
fieldset { border: 0; margin: 0 0 15px; padding: 0; min-width: 0; }
legend { color: var(--ink); font-weight: 700; margin-bottom: 6px; padding: 0; }
.options { display: flex; flex-wrap: wrap; gap: 6px; }
.option { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 4px; min-height: 44px; padding: 5px 9px; font-size: .87rem; cursor: pointer; }
.option:has(:checked) { background: #f1e2d4; border-color: var(--terracotta); color: var(--terracotta-dark); }
.option input { margin: 0; accent-color: var(--terracotta-dark); }
.form-message { margin-bottom: 6px; color: var(--terracotta-dark); font-weight: 700; }
.form-message:empty { display: none; }
.combo-components { margin-bottom: 10px; font-weight: 650; }
.detail-footer { display: flex; gap: 9px; padding-top: 10px; }
.detail-footer .primary { flex: 1; }
.quantity { display: flex; align-items: center; gap: 6px; }
.quantity output { min-width: 21px; text-align: center; font-weight: 700; }
.cart-line, .total-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cart-line p { font-size: .81rem; color: var(--muted); }
.total-row { padding: 13px 0; border-bottom: 0; }
.full { width: 100%; }
@media (min-width: 800px) {
  .item-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
  .item-copy { padding: 13px; }
}
@media (max-width: 639px) {
  .wrap { width: calc(100% - 28px); }
  .top-row { min-height: 72px; }
  .brand-logo { height: 68px; }
  .menu-nav { gap: 5px; }
  .category { padding-inline: 7px; font-size: clamp(.77rem, 3.4vw, .9rem); }
  #stage { margin-top: 14px; }
  .chips { gap: 4px; margin-bottom: 8px; }
  .chips a { font-size: .77rem; padding-inline: 7px; }
  .chips:not(.chips-main) a { font-size: .74rem; }
  dialog { margin: auto 0 0; width: 100%; border-radius: 13px 13px 0 0; }
  .sheet-body { padding: 17px 14px calc(17px + env(safe-area-inset-bottom)); }
  .dock-inner { width: calc(100% - 20px); }
  .waiter, .dock .primary { font-size: .83rem; padding-inline: 5px; gap: 5px; }
  .dock .primary { flex-wrap: wrap; }
}

.secondary { min-height: 42px; border: 1px solid #d8b7a2; border-radius: 5px; padding: 6px 12px; background: var(--paper); color: var(--terracotta-dark); font-weight: 700; }
#stage { scroll-margin-top: 62px; }
#section-title { outline: none; }
.searchbox .clear { min-height: 44px; }
.item button.item-details { width: auto; min-height: 40px; padding: 4px 0 4px 6px; border: 0; font-size: .75rem; white-space: nowrap; font-weight: 730; }
.item .item-details:hover { background: transparent; text-decoration: underline; }
.item-footer .item-details:only-child { margin-inline-start: auto; }
.item-img { flex: 0 0 auto; }
.item-footer { flex-wrap: wrap; min-height: 48px; }
.item-copy .card-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.starting-price s, .detail-price s { font-size: .82em; font-weight: 500; color: var(--muted); }
dialog[open] { animation: deck-sheet-in 160ms ease-out; }
@keyframes deck-sheet-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } }
.sheet-body { min-width: 0; }
.sheet-header h2 { font-weight: 820; line-height: 1.05; }
.detail-photo { margin: 0 0 12px; }
.photo-preview { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: #f2ece6; cursor: zoom-in; }
.photo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-preview--framed { aspect-ratio: auto; }
.photo-preview--framed img { height: auto; }
.photo-preview--portrait { max-width: min(100%, 244px); margin-inline: auto; }
.photo-preview span { position: absolute; inset: auto 8px 8px auto; padding: 4px 8px; border-radius: 4px; background: #251710e6; color: #fff; font-size: .79rem; font-weight: 650; }
.detail-photo figcaption { padding: 4px 8px 5px; color: var(--muted); font-size: .75rem; text-align: center; }
.photo-viewer { width: 100%; height: 100%; max-height: none; margin: auto; padding: 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); justify-items: center; gap: 8px; }
.photo-viewer::backdrop { background: #17110ef2; }
.photo-viewer .close { justify-self: end; }
.photo-viewer .close:focus-visible { outline-color: var(--gold); }
.photo-viewer img { display: block; max-width: 100%; max-height: 100%; align-self: center; border-radius: 5px; }
.detail-price { color: var(--terracotta-dark); font-size: 1.12rem; font-weight: 800; margin-bottom: 4px; }
.field-label { display: block; font-weight: 700; margin: 0 0 5px; font-size: .9rem; }
.field-label small { color: var(--muted); font-weight: normal; }
textarea, .field-input { width: 100%; color: var(--ink); padding: 9px 10px; min-height: 42px; border: 1px solid #cfb5a3; border-radius: 5px; font: inherit; background: var(--paper); }
textarea { resize: vertical; min-height: 64px; }
textarea:focus-visible, select:focus-visible { outline: 3px solid #895014; outline-offset: 2px; }
.feedback { padding: 9px 10px; background: #f8eee4; border-left: 3px solid var(--terracotta); }
.line-note { font-weight: 680; overflow-wrap: anywhere; }
@media (max-width: 639px) {
  dialog:not(.photo-viewer) { max-height: 93dvh; }
  .item-footer { gap: 0 7px; }
  .item button.item-details { padding-inline: 0; font-size: .73rem; }
  .sheet-header h2 { font-size: 1.63rem; }
}
