:root {
  --paper: #f8f4ed;
  --card: #fffdfa;
  --ink: #29211c;
  --muted: #6c5f55;
  --line: #e8ded1;
  --accent: #a73521;
  --accent-dark: #842b1a;
  --tint: #f5e3d8;
  --gold: #f6c076;
  --shadow: 0 16px 48px #3d26111b;
  --radius: 18px;
  --width: 1272px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #c85a3d;
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin: 0; }
img { display: block; max-width: 100%; }
svg { width: 1.22em; height: 1.22em; flex: 0 0 auto; vertical-align: middle; }
.container { width: min(var(--width), 100% - 72px); margin-inline: auto; }
.button, .quiet, .icon-button, .hero-chat {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  white-space: nowrap;
  font-weight: 700;
  background: transparent;
  padding: 10px 15px;
}
.button { transition: background .18s, transform .18s; }
.button:active, .icon-button:active { transform: translateY(1px); }
.button.primary { color: #fff9ed; background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); }
.button.dark { background: #2f251e; color: #fffaf2; }
.button.dark:hover { background: #48362a; }
.button.outline { border-color: var(--line); background: var(--card); }
.button.outline:hover, .quiet:hover, .icon-button:hover { background: #f3e8dc; }
.button.light { background: #fff3dc; color: #30211b; }
.button.light:hover { background: #ffdfae; }
.button.full { width: 100%; }
.icon-button { width: 44px; height: 44px; padding: 0; border-color: var(--line); background: var(--card); }
.button.small, .quiet.small { min-height: 38px; padding: 7px 11px; font-size: .84rem; }
.eyebrow { font-size: .71rem; letter-spacing: .13em; font-weight: 800; line-height: 1.4; }
.eyebrow.accent { color: var(--accent); }
.muted, .note { color: var(--muted); }
.note { font-size: .87rem; line-height: 1.45; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.count {
  background: #ffffff25;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  padding-inline: 6px;
  font-size: .78rem;
  font-weight: 800;
}
.site-header { padding: 15px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { flex-shrink: 0; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.23rem; letter-spacing: -.035em; line-height: 1.1; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .78rem; }
.shop-staff-link { margin-left: auto; font-size: .86rem; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.top-actions .quiet { font-size: .89rem; }
.unread-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.hero {
  min-height: 345px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #231b16;
  color: #fff9ec;
  border-radius: 24px;
  display: flex;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #251b15 0%, #251b15 38%, #251b1500 69%),
    radial-gradient(ellipse at 74% 50%, transparent 30%, #241b1590 100%);
}
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 30%; display: grid; place-items: center; background: #1c1915; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero-content { padding: 45px clamp(28px, 5vw, 67px); max-width: 620px; }
.hero-content .eyebrow { color: #f0bc7d; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #f0bc7d; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.15rem, 6.25vw, 5.65rem); line-height: .91; letter-spacing: -.062em; margin: 16px 0; max-width: 580px; }
.hero #hero-summary { max-width: 335px; font-size: .97rem; color: #eadac8; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.hero-chat { color: #f9dfbd; font-size: .88rem; padding-inline: 10px; }
.hero-chat:hover { background: #fff7e413; }
.category-bar { position: sticky; top: 0; z-index: 4; margin-top: 15px; background: var(--paper); border-bottom: 1px solid var(--line); scroll-margin-top: 0; }
.category-inner { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 10px 2px 13px; }
.category-inner::-webkit-scrollbar { display: none; }
.category { flex: 0 0 auto; padding: 9px 14px; min-height: 42px; border: 1px solid var(--line); border-radius: 99px; font-size: .86rem; font-weight: 740; background: var(--card); }
.category:hover { border-color: #c29980; }
.category[aria-pressed="true"] { color: #fff9ec; border-color: var(--accent); background: var(--accent); }
.menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(235px, 292px); gap: 24px; align-items: start; padding: 30px 0 60px; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.catalog-head h2, .admin-head h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.03; letter-spacing: -.05em; margin-top: 5px; }
.search { min-width: 175px; width: 37%; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); padding: 0 11px; color: var(--muted); }
.search input { background: transparent; border: 0; width: 100%; min-width: 0; min-height: 45px; padding: 7px 0; }
.search:focus-within { outline: 2px solid #c85a3d; }
.search input:focus-visible { outline: 0; }
.dish-section + .dish-section { margin-top: 34px; }
.section-head { margin: 0 0 12px; }
.section-head h3 { font-size: 1.57rem; letter-spacing: -.045em; }
.section-head p { font-size: .88rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.subsection + .subsection { margin-top: 18px; }
.subsection h4 { font-size: .9rem; letter-spacing: -.01em; color: var(--muted); margin: 0 0 8px; }
.dish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dish-grid + .dish-grid { margin-top: 9px; }
.dish-grid.featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dish-grid.featured.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dish { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.dish-image { display: block; border: 0; padding: 0; aspect-ratio: 1.92; background: #33241c; overflow: hidden; width: 100%; }
.dish-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dish-image:has(img[src^="/assets/menu/"]) { aspect-ratio: 1.32; max-height: 265px; background: #28241f; }
.dish-image img[src^="/assets/menu/"] { object-fit: contain; }
.dish-image:hover img { transform: scale(1.035); }
.dish-body { display: flex; flex-direction: column; flex: 1; padding: 11px 12px 10px; }
.dish-name { background: transparent; padding: 0; border: 0; font-weight: 800; font-size: .99rem; line-height: 1.22; text-align: left; letter-spacing: -.025em; }
.dish-name:hover { color: var(--accent); }
.dish-size { font-size: .74rem; color: var(--muted); margin-top: 3px; }
.dish-desc { font-size: .79rem; color: var(--muted); line-height: 1.36; margin: 5px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-footer { display: flex; justify-content: space-between; gap: 4px; align-items: end; margin-top: auto; padding-top: 10px; }
.price { font-size: 1rem; letter-spacing: -.02em; font-weight: 820; white-space: nowrap; align-self: center; }
.dish-footer .icon-button, .dish-footer .choose { min-height: 42px; height: 42px; background: var(--tint); color: #852b1c; border: 0; }
.dish-footer .icon-button { width: 42px; }
.choose { border-radius: 11px; padding: 6px 9px; font-weight: 800; font-size: .79rem; }
.cart-aside { position: sticky; top: 82px; }
.cart-widget { background: var(--card); padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-widget h3 { letter-spacing: -.03em; font-size: 1.15rem; }
.cart-widget .widget-icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--tint); color: var(--accent); border-radius: 13px; margin-bottom: 10px; font-size: 1.22rem; }
.cart-widget p { margin-top: 7px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.cart-widget .button { margin-top: 13px; font-size: .91rem; }
.cart-mini { margin: 10px 0 0; padding: 0; list-style: none; font-size: .85rem; }
.cart-mini li { display: flex; justify-content: space-between; gap: 7px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cart-mini b { white-space: nowrap; }
.side-note { margin: 12px 4px; font-size: .75rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #f1e7da; color: #564135; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 0; font-size: .87rem; }
.footer-inner p { margin-top: 4px; }
.footer-inner a { color: var(--accent); font-weight: 760; }
.mobile-dock { display: none; }
.empty { border: 1px dashed #dac9b7; border-radius: var(--radius); padding: 27px 19px; color: var(--muted); background: #fffaf380; line-height: 1.5; }
.empty strong { display: block; color: var(--ink); margin-bottom: 5px; }
.empty .button { margin-top: 11px; }
.sheet {
  margin: 0 0 0 auto;
  border: 0;
  padding: 0;
  width: min(530px, 100vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: #21181096; }
.sheet-head { display: flex; justify-content: space-between; align-items: start; gap: 13px; padding: 18px 22px 15px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.45rem; letter-spacing: -.035em; line-height: 1.12; }
.sheet-head p { margin-top: 5px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.sheet-head .close { flex-shrink: 0; }
.sheet-body { padding: 17px 22px; flex: 1; overflow: auto; overscroll-behavior: contain; }
.sheet-foot { margin-top: auto; padding: 12px 22px max(13px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); display: flex; gap: 10px; align-items: center; }
.sheet-foot .primary { flex: 1; white-space: normal; }
.detail-image { width: 100%; aspect-ratio: 2.15; object-fit: cover; border-radius: 15px; margin-bottom: 13px; }
.detail-image[src^="/assets/menu/"] { aspect-ratio: 1.42; max-height: 30dvh; object-fit: contain; background: #28241f; }
.detail-form fieldset { border: 0; margin: 15px 0 0; padding: 0; }
.detail-form legend { font-weight: 820; font-size: 1rem; }
.choice-list { display: grid; gap: 6px; margin-top: 8px; }
.choice { position: relative; display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; background: #fffcf7; cursor: pointer; font-size: .91rem; }
.choice:has(input:checked) { border-color: #ba5d49; background: #f9e9df; }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.choice b { margin-left: auto; white-space: nowrap; font-size: .83rem; }
.stepper { display: inline-flex; align-items: center; gap: 7px; min-width: 105px; }
.stepper strong { text-align: center; min-width: 17px; }
.stepper .icon-button { width: 40px; height: 40px; }
.dish-footer .stepper { min-width: 85px; gap: 3px; }
.dish-footer .stepper .icon-button { width: 34px; height: 36px; min-height: 36px; }
.cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line h3 { font-size: 1rem; }
.cart-line p { font-size: .84rem; color: var(--muted); margin-top: 5px; line-height: 1.35; }
.cart-line .line-actions { display: flex; align-items: end; flex-direction: column; gap: 7px; }
.link-button { background: none; border: 0; padding: 0; font-weight: 720; color: var(--accent); font-size: .83rem; min-height: 30px; text-align: left; }
.link-button:hover { text-decoration: underline; }
.cart-summary { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; font-size: 1.08rem; }
.form-fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; font-size: .9rem; font-weight: 700; }
.field input:not([type="checkbox"]), .field select, .field textarea, .filter-select, .chat-compose textarea {
  background: var(--card); border: 1px solid #d9cbbd; border-radius: 10px; padding: 10px 11px; width: 100%; min-width: 0; min-height: 43px;
}
.field textarea, .chat-compose textarea { resize: vertical; }
.field textarea { min-height: 76px; }
.field small { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.toggles { display: flex; flex-wrap: wrap; gap: 7px; }
.toggles .choice { flex: 1; }
.form-error { color: #96281b; font-size: .86rem; font-weight: 670; line-height: 1.4; }
.checkout-note { padding: 9px 11px; background: #f8eee3; border-radius: 10px; }
.legacy-title { margin: 18px 0 10px; font-size: .95rem; }
.receipt-card { padding: 13px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--card); }
.receipt-head, .receipt-total { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.receipt-head p { font-size: .78rem; margin-top: 5px; color: var(--muted); }
.receipt-lines { padding: 0; margin: 10px 0; list-style: none; border-block: 1px solid var(--line); }
.receipt-lines li { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .85rem; }
.receipt-lines b { white-space: nowrap; }
.receipt-lines span, .receipt-lines small { color: var(--muted); }
.receipt-lines small { display: block; margin-top: 3px; }
.receipt-total { padding-top: 7px; flex-wrap: wrap; }
.status { display: inline-flex; border-radius: 999px; white-space: nowrap; font-weight: 750; padding: 5px 8px; font-size: .72rem; color: #644721; background: #f4e8cd; }
.status[data-state="new"] { color: #95311e; background: #f7e0d7; }
.status[data-state="ready"], .status[data-state="done"], .status[data-state="active"] { color: #335740; background: #e2eee3; }
.status[data-state="cancelled"] { color: #6c5d58; background: #eee6e2; }
.chat-pane { min-height: 0; display: flex; flex-direction: column; flex: 1; }
.chat-intro { padding: 12px 22px 0; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.chat-messages { flex: 1; min-height: 130px; overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: start; gap: 9px; padding: 15px 22px; }
.chat-empty { margin: auto; padding: 15px 10px; text-align: center; color: var(--muted); font-size: .9rem; }
.bubble { max-width: 88%; border-radius: 13px 13px 13px 3px; padding: 8px 11px; background: #f2eadf; overflow-wrap: anywhere; }
.bubble.own { align-self: end; background: #f4dcd0; border-radius: 13px 13px 3px 13px; }
.bubble p { font-size: .92rem; line-height: 1.4; white-space: pre-wrap; }
.bubble span, .bubble time { color: var(--muted); font-size: .71rem; }
.bubble time { display: block; text-align: end; margin-top: 4px; }
.chat-compose { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 12px 18px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.chat-compose textarea { max-height: 130px; resize: none; }
.chat-compose .button { align-self: start; min-height: 44px; }
.chat-compose .form-error { grid-column: 1 / -1; }
.toast { position: fixed; z-index: 20; bottom: 20px; left: 50%; transform: translateX(-50%); max-width: min(90vw, 520px); background: #30241e; color: #fff8ef; border-radius: 12px; padding: 10px 15px; box-shadow: var(--shadow); font-size: .87rem; pointer-events: none; text-align: center; }
.admin .site-header { border-bottom: 1px solid var(--line); background: var(--card); }
.admin-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 25px; padding-top: 24px; padding-bottom: 110px; }
.admin-nav { display: flex; flex-direction: column; align-self: start; position: sticky; top: 14px; gap: 5px; }
.admin-nav button { text-align: left; border: 0; background: transparent; display: flex; align-items: center; gap: 9px; border-radius: 11px; min-height: 44px; padding: 8px 10px; font-weight: 700; white-space: nowrap; }
.admin-nav button:hover { background: #efe4d7; }
.admin-nav button[aria-current="page"] { background: var(--tint); color: var(--accent-dark); }
.admin-nav .count { margin-left: auto; background: var(--accent); color: white; }
.nav-label { margin: 7px 9px 1px; font-size: .66rem; }
.admin-main { min-width: 0; }
.admin-head { display: flex; justify-content: space-between; gap: 13px; align-items: end; margin: 0 0 16px; }
.admin-head p:not(.eyebrow) { margin-top: 7px; color: var(--muted); font-size: .91rem; line-height: 1.45; }
.admin-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
#dish-count { margin: 0 0 7px; }
.admin-tools .search { width: min(100%, 300px); }
.filter-select { width: auto; font-size: .9rem; }
.admin-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.admin-row { display: grid; grid-template-columns: 55px minmax(125px,1fr) minmax(80px,.38fr) minmax(88px,.4fr) auto; gap: 12px; padding: 9px 11px; align-items: center; border-bottom: 1px solid var(--line); }
.admin-row:last-child { border-bottom: 0; }
.admin-row.no-thumb { grid-template-columns: minmax(120px,1fr) auto; }
.admin-row h3 { font-size: .93rem; line-height: 1.2; overflow-wrap: anywhere; }
.admin-row small { color: var(--muted); font-size: .74rem; display: block; margin-top: 4px; }
.admin-row .row-thumb { width: 55px; aspect-ratio: 1.2; border-radius: 8px; object-fit: cover; display: grid; place-items: center; background: #f3e7d9; color: #8a6247; }
.row-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.row-actions .icon-button { width: 36px; height: 38px; }
.settings-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; max-width: 760px; }
.photo-box { display: grid; gap: 9px; }
.photo-preview { width: min(100%, 300px); height: 128px; background: #f2e7d8; border-radius: 11px; object-fit: cover; }
.photo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.photo-actions input { font-size: .83rem; max-width: 100%; }
.editor { width: min(620px, 100vw); }
.editor .option-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.editor .option-head h3 { font-size: .98rem; }
.option-list { display: grid; gap: 7px; }
.option-row { display: grid; grid-template-columns: minmax(0,1fr) 84px 37px; gap: 7px; align-items: center; }
.option-row .icon-button { width: 37px; height: 41px; }
.option-row input { min-height: 41px; padding: 7px; width: 100%; min-width: 0; border: 1px solid #d9cbbd; border-radius: 9px; background: var(--card); }
.variant-photo { margin: 2px 0 9px; color: var(--muted); font-size: .83rem; }
.variant-photo summary { min-height: 31px; padding: 6px 0; cursor: pointer; font-weight: 700; }
.variant-photo .photo-box { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.group-picker { display: grid; gap: 4px; }
.group-picker label, .check-label { display: flex; align-items: center; gap: 7px; font-size: .9rem; min-height: 34px; }
.group-picker input, .check-label input { accent-color: var(--accent); width: 18px; height: 18px; }
.savebar { position: fixed; bottom: 0; left: 0; right: 0; border-top: 1px solid var(--line); background: #fffdfa; z-index: 5; box-shadow: 0 -10px 38px #37210e12; }
.savebar-inner { padding: 10px 0 max(11px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: end; gap: 8px; }
.savebar-inner div { margin-right: auto; font-size: .9rem; }
.savebar-inner div span { display: block; color: var(--muted); font-size: .79rem; margin-top: 3px; }
.admin-chat { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-height: 430px; overflow: hidden; }
.inbox { border-right: 1px solid var(--line); min-width: 0; max-height: 65dvh; overflow: auto; }
.thread { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 12px 10px; background: transparent; text-align: left; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px; }
.thread[aria-pressed="true"] { background: var(--tint); }
.thread strong { font-size: .88rem; }
.thread time, .thread p { font-size: .77rem; color: var(--muted); }
.thread p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.thread .count { background: var(--accent); color: #fff; height: 20px; min-width: 20px; }
.admin-thread { display: flex; flex-direction: column; min-height: 380px; max-height: 69dvh; min-width: 0; }
.admin-thread-head { padding: 13px 16px; border-bottom: 1px solid var(--line); font-weight: 790; }
.admin-chat .empty { margin: 8px; border: 0; }
.admin .toast { bottom: 83px; }
@media (max-width: 1050px) {
  .container { width: min(var(--width), 100% - 42px); }
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-layout { gap: 16px; }
  .hero-content { max-width: 52%; }
  .hero h1 { font-size: clamp(3rem, 7vw, 5rem); }
  .admin-layout { grid-template-columns: 155px minmax(0, 1fr); gap: 16px; }
  .admin-row { gap: 8px; }
}
@media (max-width: 790px) {
  .cart-aside { display: none; }
  .menu-layout { display: block; }
  .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .top-actions .quiet { display: none; }
  .admin-layout { display: block; padding-top: 0; }
  .admin-nav { position: sticky; top: 0; z-index: 4; background: var(--paper); display: flex; flex-direction: row; gap: 4px; overflow: auto; scrollbar-width: none; padding: 8px 0; margin-bottom: 9px; border-bottom: 1px solid var(--line); }
  .admin-nav button { flex: 0 0 auto; min-height: 41px; font-size: .84rem; }
  .admin-nav .nav-label { display: none; }
  .admin-row { grid-template-columns: 40px minmax(105px,1fr) minmax(52px,auto) minmax(53px,auto) auto; padding: 8px; }
  .admin-row .row-thumb { width: 40px; }
}
@media (max-width: 570px) {
  .container { width: calc(100% - 28px); }
  .site-header { padding: 10px 0; }
  .brand { gap: 8px; }
  .brand img { width: 37px; height: 37px; }
  .brand strong { font-size: 1.06rem; }
  .brand small { font-size: .7rem; margin-top: 3px; }
  .shop .shop-staff-link { margin-left: auto; font-size: .86rem; }
.top-actions { display: none; }
  .hero { min-height: 0; align-items: start; border-radius: 18px; flex-direction: column; }
  .hero::after { background: linear-gradient(180deg,#251b15 44%,#251b15a0 61%,#251b1500 79%); }
  .hero-art { inset: auto 0 0; height: 118px; width: 100%; }
  .hero-art img { object-position: center 48%; }
  .hero-content { padding: 20px 16px 121px; max-width: none; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.65rem); margin: 8px 0 9px; line-height: .97; }
  .hero #hero-summary { font-size: .84rem; line-height: 1.44; }
  .hero-actions { margin-top: 11px; gap: 2px; }
  .hero-actions .button, .hero-chat { padding-inline: 9px; font-size: .8rem; min-height: 42px; }
  .category-bar { margin-top: 5px; }
  .category-inner { width: 100%; padding: 8px 14px; gap: 5px; }
  .category { min-height: 39px; font-size: .78rem; padding: 6px 10px; }
  .menu-layout { padding: 18px 0 32px; }
  .catalog-head { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 15px; }
  .catalog-head .search { width: 100%; }
  .catalog-head h2 { font-size: 1.89rem; }
  .section-head h3 { font-size: 1.33rem; }
  .section-head p { font-size: .8rem; }
  .dish-grid, .dish-grid.featured, .dish-grid.featured.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .dish-section + .dish-section { margin-top: 24px; }
  .dish { border-radius: 13px; }
  .dish-body { padding: 8px; }
  .dish-image { aspect-ratio: 1.43; }
  .dish-name { font-size: .88rem; }
  .dish-desc { font-size: .73rem; }
  .dish-footer { padding-top: 7px; }
  .dish-footer .choose { font-size: .72rem; padding-inline: 6px; }
  .dish-footer .stepper { min-width: 63px; gap: 2px; font-size: .8rem; }
  .dish-footer .stepper .icon-button { width: 26px; min-height: 42px; }
  .price { font-size: .89rem; }
  .footer-inner { align-items: start; flex-direction: column; gap: 9px; padding: 18px 0 88px; }
  .mobile-dock { position: fixed; z-index: 7; left: 0; right: 0; bottom: 0; padding: 5px 8px max(6px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3, minmax(39px,1fr)) minmax(99px,2fr); gap: 4px; background: #fffdfa; border-top: 1px solid var(--line); }
  .mobile-dock a, .mobile-dock button { position: relative; min-width: 0; border: 0; background: transparent; padding: 5px 2px; min-height: 47px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .69rem; font-weight: 750; border-radius: 10px; }
  .mobile-dock svg { font-size: 1rem; }
  .mobile-dock .dock-cart { background: var(--accent); color: #fff9ef; flex-direction: row; padding: 4px; gap: 4px; }
  .dock-cart .count { min-width: 19px; height: 19px; padding-inline: 4px; font-size: .64rem; }
  .mobile-dock .unread-dot { position: absolute; top: 7px; right: 10px; }
  .sheet { position: fixed; inset: auto 0 0; width: 100%; height: min(88dvh, 820px); border-radius: 18px 18px 0 0; }
  .sheet-head, .sheet-body, .sheet-foot { padding-inline: 14px; }
  .sheet-head { padding-block: 13px 11px; }
  .chat-intro, .chat-messages { padding-inline: 13px; }
  .chat-compose { padding-inline: 12px; }
  .toast { bottom: 69px; }
  .admin-head { align-items: start; flex-direction: column; gap: 8px; }
  .admin-head h1 { font-size: 1.95rem; }
  .admin-row { grid-template-columns: 35px minmax(80px,1fr) auto; gap: 6px; }
  .admin-row .row-thumb { width: 35px; }
  .admin-row .row-price, .admin-row .row-status { display: none; }
  .row-actions .icon-button { width: 31px; height: 40px; }
  .row-actions .button { padding-inline: 7px; }
  .admin-tools .search { width: 100%; }
  .savebar-inner { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
  .savebar-inner div { grid-column: 1 / -1; }
  .savebar-inner div span { display: none; }
  .savebar-inner .button { padding-inline: 6px; font-size: .83rem; }
  .admin-chat { grid-template-columns: minmax(0,1fr); }
  .inbox { border-right: 0; border-bottom: 1px solid var(--line); max-height: 170px; }
  .admin-thread { min-height: 320px; max-height: 55dvh; }
}
@media (max-width: 345px) {
  .dish-grid, .dish-grid.featured, .dish-grid.featured.two { grid-template-columns: minmax(0,1fr); }
  .hero-chat { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.store-status { padding: 10px 12px; border-radius: 10px; margin-bottom: 10px; background: #f9e3bf; color: #5f351a; font-weight: 700; }
