:root {
  --bg: #040812;
  --bg-2: #08111d;
  --panel: rgba(10, 15, 25, 0.88);
  --panel-2: rgba(16, 23, 36, 0.96);
  --panel-3: rgba(22, 30, 45, 0.98);
  --field: #111c2c;
  --field-2: #0d1725;
  --line: rgba(214, 175, 93, 0.18);
  --line-strong: rgba(214, 175, 93, 0.38);
  --text: #f4f0e7;
  --muted: #bbb3a6;
  --accent: #d6af5d;
  --accent-strong: #e7c67d;
  --accent-soft: rgba(214, 175, 93, 0.14);
  --cyan: #21d2ff;
  --cyan-soft: rgba(33, 210, 255, 0.14);
  --danger: #9e4e4d;
  --danger-strong: #be6765;
  --ok: #9fd19f;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background:
    radial-gradient(circle at 85% 15%, rgba(33, 210, 255, 0.16), transparent 34%),
    radial-gradient(circle at 15% -5%, rgba(214, 175, 93, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #03060d 0%, #050912 100%);
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
img { max-width: 100%; display: block; }
.eyebrow {
  margin: 0 0 .25rem;
  color: var(--accent);
  letter-spacing: .22em;
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.page-glow {
  position: fixed;
  inset: 0 0 auto auto;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(33,210,255,.18) 0%, rgba(33,210,255,.06) 18%, rgba(33,210,255,0) 70%);
  pointer-events: none;
  filter: blur(22px);
  z-index: 0;
}
.header-home-link {
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}
.header-home-link:hover { color: var(--accent-strong); }
.eyebrow-link { display: inline-block; }

/* Buttons */
.button,
.mini-button,
.search-clear,
.modal-close {
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}
.button,
.mini-button {
  border: 1px solid rgba(214, 175, 93, 0.18);
  background: linear-gradient(180deg, rgba(20, 28, 43, 0.98), rgba(13, 19, 31, 0.98));
  color: var(--text);
  text-decoration: none;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 18px rgba(0,0,0,.18);
}
.button:hover,
.mini-button:hover,
.search-clear:hover,
.modal-close:hover {
  border-color: rgba(214, 175, 93, 0.45);
  background: linear-gradient(180deg, rgba(29, 39, 58, 0.98), rgba(17, 25, 39, 0.98));
  transform: translateY(-1px);
}
.button:focus-visible,
.mini-button:focus-visible,
.search-clear:focus-visible,
.modal-close:focus-visible,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 175, 93, 0.16);
}
.button { padding: .72rem .96rem; }
.button.primary {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #15120b;
  border-color: transparent;
  font-weight: 800;
}
.button.primary:hover {
  background: linear-gradient(180deg, #f0d18d, #deb969);
  color: #120f08;
}
.button.ghost { background: linear-gradient(180deg, rgba(14,19,29,.72), rgba(12,17,26,.72)); }
.button.danger {
  background: linear-gradient(180deg, rgba(108, 44, 44, .9), rgba(84, 34, 34, .9));
  color: #f5e5e3;
  border-color: rgba(190, 103, 101, .45);
}
.button.danger:hover {
  background: linear-gradient(180deg, rgba(128, 54, 54, .95), rgba(100, 42, 42, .95));
  border-color: rgba(210, 122, 119, .58);
}
.mini-button { padding: .38rem .56rem; font-size: .75rem; white-space: nowrap; }

/* Shared headers */
.site-header,
.admin-header {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.admin-header { width: min(1320px, calc(100% - 32px)); }
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex: 0 0 auto;
}
.admin-brand-logo { width: 72px; height: 72px; }
.site-header h1,
.admin-header h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 5.1rem);
  line-height: .95;
  letter-spacing: -.05em;
}
.admin-header h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.header-controls {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.toolbar-button { min-height: 44px; }
.language-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(12, 18, 29, 0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.language-switch a {
  padding: .62rem .82rem;
  text-decoration: none;
  color: var(--muted);
}
.language-switch a:hover { color: var(--text); }
.language-switch a.active {
  background: var(--text);
  color: #111520;
}

/* Public page */
.public-page { position: relative; }
.quick-panel {
  position: relative;
  z-index: 1;
  margin: 4px 0 16px;
  padding: 14px;
  border: 1px solid rgba(214, 175, 93, 0.15);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(214,175,93,.045), rgba(33,210,255,.035) 52%, rgba(255,255,255,.01)),
    rgba(7, 12, 21, .68);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.quick-button {
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid rgba(214, 175, 93, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(17, 26, 41, .98), rgba(11, 18, 30, .98));
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-weight: 720;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.quick-button:hover {
  border-color: rgba(214, 175, 93, .42);
  background: linear-gradient(180deg, rgba(27, 39, 59, .99), rgba(16, 25, 40, .99));
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.18);
}
.quick-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 175, 93, .16);
}
.quick-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: #d8dce5;
  font-size: .95rem;
  font-weight: 800;
}
.quick-icon-accent { color: var(--accent-strong); }
.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  padding: 10px 4px 1px;
  color: var(--muted);
}
.social-label {
  margin-right: 3px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #ddd7cc;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.social-link:hover {
  color: var(--text);
  background: rgba(255,255,255,.045);
}
.social-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(214,175,93,.12);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: .78rem;
}
.menu-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 60px;
}
.intro-card {
  margin-top: 6px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(214,175,93,.08), rgba(33,210,255,.05) 46%, rgba(255,255,255,.015)),
    var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}
.intro-card h2 { margin: 0; font-size: clamp(1.65rem, 3.5vw, 2.45rem); }
.hero-description {
  color: #ddd7cc;
  max-width: none;
  width: 100%;
  line-height: 1.65;
  margin: 12px 0 0;
  text-wrap: pretty;
}
.search-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: 18px;
  padding: 16px 0 18px;
  background: linear-gradient(rgba(4,8,18,.98) 74%, rgba(4,8,18,0));
}
.search-wrap label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.search-control { position: relative; }
.search-wrap input {
  width: 100%;
  padding: 15px 108px 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #101a2a, #0d1725);
  color: var(--text);
}
.search-wrap input::placeholder { color: #8e96a4; }
.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: .52rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 24, 37, .98), rgba(12, 18, 29, .98));
  color: var(--muted);
}
.search-empty { color: var(--muted); }
.menu-tree { display: grid; gap: 10px; }
.menu-section { border-top: 1px solid var(--line); }
.menu-section summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 750;
  letter-spacing: -.02em;
}
.menu-section summary::-webkit-details-marker { display: none; }
.menu-section .summary-mark { color: var(--muted); transition: transform .15s ease; font-size: 1.2rem; }
.menu-section[open] > summary .summary-mark { transform: rotate(45deg); }
.depth-0 > summary { font-size: clamp(1.45rem, 4vw, 2rem); color: var(--accent); text-transform: uppercase; letter-spacing: .02em; }
.depth-1 > summary { font-size: 1.25rem; }
.depth-2 > summary { font-size: 1rem; color: #d9d4c2; }
.section-body { padding-left: clamp(0px, 2vw, 16px); }
.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.menu-item h3 { margin: 0; font-size: 1rem; line-height: 1.28; }
.menu-item p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; font-size: .9rem; max-width: 62ch; }
.item-prices { min-width: 150px; display: grid; align-content: start; gap: 4px; }
.price-row { display: flex; justify-content: flex-end; gap: 10px; white-space: nowrap; font-size: .9rem; }
.price-label { color: var(--muted); }
.menu-note {
  margin: 10px 0;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(214,175,93,.08);
  color: #d7d1be;
  border-radius: 0 12px 12px 0;
  font-size: .9rem;
  line-height: 1.45;
}
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 24px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.structured-footer {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.footer-col {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(10, 15, 25, 0.58);
  border-radius: 18px;
}
.footer-col h3,
.footer-col h4 { margin: 0 0 12px; color: var(--text); }
.footer-col p { margin: 0 0 8px; line-height: 1.55; }
.footer-col a { text-decoration: none; }
.footer-reservation { margin-top: 10px; width: 100%; }
.footer-action-list { display: grid; gap: 10px; }
.footer-hours-list li { font-size: .92rem; }
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #ddd7cc;
  font-size: .95rem;
}
.hours-list strong { color: var(--text); font-weight: 700; }

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 13, 0.72);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 17, 27, 0.98), rgba(8, 13, 22, 0.98));
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.modal-head h3 { margin: 0; font-size: 1.28rem; }
.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 24, 37, .98), rgba(12, 18, 29, .98));
  color: var(--muted);
}
.modal-body { color: #ddd7cc; line-height: 1.6; }
.modal-body p { margin: 0 0 10px; }
.modal-hours-list { margin-top: 4px; }
body.modal-open { overflow: hidden; }

/* Admin */
.admin-page { background: linear-gradient(180deg, #050912 0%, #07111c 100%); }
.admin-header nav { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-header nav a { color: var(--muted); text-decoration: none; }
.admin-shell { width: min(1320px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 18px; padding-bottom: 50px; }
.tree-card,
.editor-card,
.login-card {
  background: linear-gradient(180deg, rgba(8, 13, 22, 0.95), rgba(7, 12, 20, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tree-card,
.editor-card { padding: 18px; }
.tree-toolbar,
.editor-head,
.price-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tree-toolbar h2,
.editor-head h2,
.price-head h3 { margin: 0; }
.tree-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.toolbar-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.tree-list { list-style: none; margin: 8px 0 0; padding: 0 0 0 20px; min-height: 8px; }
#admin-tree > .tree-list { padding-left: 0; }
.tree-list.drag-over { outline: 1px dashed var(--accent); outline-offset: 3px; border-radius: 8px; }
.tree-node { margin: 4px 0; }
.tree-node.dragging { opacity: .35; }
.tree-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: auto auto minmax(180px,1fr) minmax(0,auto) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
}
.tree-row:hover { background: var(--panel-2); border-color: rgba(255,255,255,.06); }
.tree-node.inactive > .tree-row { opacity: .52; }
.drag-handle { color: var(--muted); background: none; border: 0; padding: 6px; cursor: grab; }
.node-icon { color: var(--accent); width: 18px; text-align: center; }
.node-title { overflow: hidden; text-overflow: ellipsis; }
.node-price { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-actions { display: flex; align-items: center; gap: 5px; }
.tree-actions form { margin: 0; display: inline-flex; }

.editor-form,
.stack-form { display: grid; gap: 14px; }
.editor-form { margin-top: 18px; }
.editor-form label,
.stack-form label { display: grid; gap: 6px; color: var(--muted); font-size: .86rem; }
input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(214, 175, 93, 0.16);
  background: linear-gradient(180deg, var(--field), var(--field-2));
  color: var(--text);
}
input::placeholder,
textarea::placeholder { color: #8e96a4; }
textarea { resize: vertical; }
.fields-title,
.fields-description { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-editor {
  margin-top: 4px;
  padding: 14px;
  background: rgba(8, 13, 22, 0.72);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
}
.field-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}
.price-edit-row { display: grid; grid-template-columns: 1fr 1fr 110px 110px auto; gap: 8px; margin-top: 10px; }
.check-label { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 8px !important; }
.check-label input { width: auto; }
.form-actions { display: flex; justify-content: flex-end; }
.danger-zone { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
body[data-editor-type="note"] .fields-title,
body[data-editor-type="note"] .item-only { display: none; }
body[data-editor-type="section"] .item-only { display: none; }
.flash { padding: 12px 14px; border-radius: 10px; background: rgba(19,23,32,.9); border: 1px solid var(--line); }
.flash.success { border-color: #4f7450; color: var(--ok); }
.flash.error { border-color: #8a4d48; color: #ffc3bc; }
.login-page { display: grid; place-items: center; padding: 24px; }
.login-card { width: min(440px, 100%); padding: 26px; }
.login-card h1 { margin-top: 4px; }

@media (max-width: 980px) {
  .header-controls { flex-wrap: wrap; }
  .structured-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .brand-lockup { align-items: flex-start; }
  .brand-logo { width: 68px; height: 68px; }
  .site-header,
  .admin-header { align-items: flex-start; flex-direction: column; }
  .header-controls { justify-content: flex-start; }
  .menu-item { grid-template-columns: 1fr; gap: 7px; }
  .item-prices { min-width: 0; }
  .price-row { justify-content: flex-start; }
  .tree-toolbar,
  .editor-head { align-items: flex-start; flex-direction: column; }
  .tree-row { grid-template-columns: auto auto minmax(120px,1fr); }
  .node-price { grid-column: 3; }
  .tree-actions { grid-column: 1 / -1; padding-left: 58px; flex-wrap: wrap; }
  .tree-list { padding-left: 12px; }
  .fields-title,
  .fields-description { grid-template-columns: 1fr; }
  .price-edit-row { grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .price-edit-row .remove-price { grid-column: 1 / -1; justify-self: start; }
  .structured-footer { grid-template-columns: 1fr; }
  .modal { padding: 16px; }
}

/* Mobile public layout refinement */
@media (max-width: 760px) {
  .public-page .site-header {
    position: relative;
    display: block;
    width: min(100% - 24px, 1180px);
    padding: 18px 0 10px;
  }

  .public-page .brand-lockup {
    min-height: 58px;
    align-items: center;
    gap: 11px;
    padding-right: 90px;
  }

  .public-page .brand-logo {
    width: 56px;
    height: 56px;
  }

  .public-page .site-header h1 {
    font-size: clamp(2.65rem, 13.5vw, 3.35rem);
    line-height: .9;
  }

  .public-page .header-controls {
    width: 100%;
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .public-page .header-controls > .toolbar-button {
    width: 100%;
    min-height: 42px;
    padding: .58rem .35rem;
    font-size: .88rem;
    white-space: nowrap;
  }

  .public-page .language-switch {
    position: absolute;
    top: 22px;
    right: 0;
    margin: 0;
  }

  .public-page .language-switch a {
    padding: .52rem .66rem;
    font-size: .86rem;
  }

  .public-page .menu-shell,
  .public-page .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .public-page .quick-panel {
    margin: 4px 0 11px;
    padding: 10px;
    border-radius: 16px;
  }

  .public-page .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .public-page .quick-button {
    min-height: 44px;
    padding: 8px 10px;
    gap: 8px;
    font-size: .86rem;
  }

  .public-page .quick-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    border-radius: 8px;
    font-size: .82rem;
  }

  .public-page .social-row {
    margin-top: 8px;
    padding: 8px 1px 0;
    gap: 5px;
    flex-wrap: wrap;
  }

  .public-page .social-label {
    width: 100%;
    margin: 0 0 2px;
    font-size: .66rem;
  }

  .public-page .social-link {
    padding: 5px 8px;
    font-size: .82rem;
  }

  .public-page .intro-card {
    margin-top: 4px;
    padding: 16px 18px 17px;
    border-radius: 19px;
  }

  .public-page .intro-card .eyebrow {
    margin-bottom: .35rem;
    font-size: .62rem;
    letter-spacing: .16em;
  }

  .public-page .intro-card h2 {
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .public-page .hero-description {
    margin-top: 8px;
    font-size: .94rem;
    line-height: 1.5;
    text-wrap: wrap;
  }

  .public-page .search-wrap {
    margin-top: 12px;
    padding: 10px 0 12px;
    background: rgba(4, 8, 18, .99);
    border-bottom: 1px solid rgba(214, 175, 93, .12);
  }

  .public-page .search-wrap label {
    margin-bottom: 6px;
    font-size: .7rem;
  }

  .public-page .search-wrap input {
    min-height: 48px;
    padding: 12px 92px 12px 14px;
    font-size: 16px;
  }

  .public-page .search-clear {
    right: 7px;
    padding: .43rem .68rem;
    font-size: .82rem;
  }

  .public-page .menu-tree {
    gap: 6px;
  }

  .public-page .menu-section summary {
    padding: 14px 0;
  }

  .public-page .depth-0 > summary {
    font-size: 1.5rem;
  }

  .public-page .depth-1 > summary {
    font-size: 1.15rem;
  }

  .public-page .depth-2 > summary {
    font-size: .98rem;
  }

  .public-page .section-body {
    padding-left: 7px;
  }

  .public-page .menu-note {
    margin: 7px 0;
    padding: 10px 11px;
    font-size: .83rem;
    line-height: 1.4;
  }

  .public-page .menu-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 11px 0;
  }

  .public-page .menu-item h3 {
    font-size: .98rem;
    line-height: 1.3;
  }

  .public-page .menu-item p {
    margin-top: 4px;
    font-size: .86rem;
    line-height: 1.38;
  }

  .public-page .item-prices {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 18px;
    margin-top: 2px;
  }

  .public-page .price-row {
    justify-content: flex-start;
    gap: 7px;
    font-size: .87rem;
  }

  .public-page .structured-footer {
    gap: 12px;
  }

  .public-page .footer-col {
    padding: 15px;
  }
}

@media (max-width: 380px) {
  .public-page .brand-logo {
    width: 50px;
    height: 50px;
  }

  .public-page .site-header h1 {
    font-size: 2.55rem;
  }

  .public-page .header-controls > .toolbar-button {
    font-size: .82rem;
    padding-inline: .2rem;
  }
}

/* Touch/pointer reordering in the admin tree */
.drag-handle {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
#admin-tree.touch-sorting {
  user-select: none;
  -webkit-user-select: none;
}
#admin-tree.touch-sorting .tree-list {
  min-height: 30px;
}
#admin-tree.touch-sorting .tree-list.drag-over {
  background: rgba(214, 175, 93, 0.055);
}
.tree-node.touch-dragging > .tree-row {
  background: rgba(214, 175, 93, 0.12);
  border-color: rgba(214, 175, 93, 0.42);
  box-shadow: 0 8px 26px rgba(0,0,0,.22);
}
@media (pointer: coarse) {
  .drag-handle {
    min-width: 38px;
    min-height: 38px;
    border-radius: 9px;
    color: var(--accent-strong);
    background: rgba(214, 175, 93, 0.08);
  }
  .drag-handle:active {
    background: rgba(214, 175, 93, 0.18);
  }
}
