@import url("/fonts.css");
:root {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #192d25;
  background: #f8f8f4;
  font-size: 16px;
  --ink: #192d25;
  --green: #16382e;
  --gold: #f2c36b;
  --muted: #67736c;
  --line: #dce2da;
  --paper: #fff;
  --red: #a7352b;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #bd7511;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -1.3px;
}
h2 {
  font-size: 1.9rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}
p {
  line-height: 1.6;
}
small,
.small {
  font-size: 0.8rem;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
svg {
  vertical-align: middle;
}
button {
  border: 0;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.grow {
  flex: 1;
}
.stack {
  display: grid;
  gap: 18px;
}
.hidden {
  display: none !important;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 1.15rem;
}
.brand img {
  width: 34px;
  height: 34px;
}
.pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border-radius: 100px;
  padding: 8px 13px;
  font-size: 0.85rem;
  background: #eaf0e8;
  color: var(--green);
}
.badge {
  font-size: 0.7rem;
  letter-spacing: 1px;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--green);
}
.btn {
  display: inline-flex;
  min-height: 46px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: normal;
  text-align: center;
}
.btn.gold {
  background: var(--gold);
  color: var(--green);
}
.btn.light {
  background: #eaf0e8;
  color: var(--ink);
}
.btn.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn.danger {
  background: #f9e6e3;
  color: var(--red);
}
.btn.small {
  font-size: 0.82rem;
  min-height: 42px;
  padding: 10px 14px;
}
.btn.full {
  width: 100%;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f0f3ed;
  color: var(--ink);
}
.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.topbar-inner {
  max-width: 1280px;
  margin: auto;
  padding: 18px 32px;
}
.topbar select {
  border: 0;
  background: #f1f3ee;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
}
.toplink {
  font-size: 0.82rem;
  color: var(--muted);
}
.menu-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  padding: 32px;
}
.restaurant-heading {
  margin: 0 0 24px;
}
.restaurant-title {
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}
.restaurant-sub {
  margin-top: 5px;
  font-size: 0.85rem;
  color: var(--muted);
}
.restaurant-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}
.monogram {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 1.7rem;
  color: var(--green);
  flex-shrink: 0;
}
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green);
  color: white;
  min-height: 245px;
}
.feature-copy {
  padding: 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.feature-copy h1 {
  font-size: 2.7rem;
}
.feature-copy p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #dce8df;
}
.feature img {
  height: 100%;
  min-height: 245px;
  max-height: 305px;
}
.feature .btn {
  margin-top: auto;
}
.stories {
  display: flex;
  gap: 22px;
  overflow: auto;
  padding: 20px 2px 18px;
  scrollbar-width: none;
}
.story-open {
  background: transparent;
  color: var(--ink);
  padding: 0;
  min-width: 70px;
  max-width: 96px;
  text-align: center;
  font-size: 0.75rem;
}
.story-ring {
  width: 68px;
  height: 68px;
  border: 2px solid #bd8c37;
  padding: 3px;
  border-radius: 50%;
  margin: 0 auto 7px;
}
.story-ring img {
  height: 100%;
  border-radius: 50%;
}
.story-open span:last-child {
  display: block;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.category-bar {
  display: flex;
  gap: 8px;
  overflow: auto;
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f8f8f4;
  padding: 12px 0 20px;
  scrollbar-width: none;
}
.chip {
  min-height: 44px;
  flex-shrink: 0;
  padding: 10px 17px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 0.85rem;
}
.chip.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.menu-section-head {
  margin: 8px 0 20px;
}
.menu-section-head p {
  font-size: 0.85rem;
  margin-top: 5px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  text-align: left;
  padding: 0;
  background: white;
  border: 1px solid #e4e7df;
  border-radius: 18px;
  overflow: hidden;
  color: var(--ink);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px #17362910;
}
.product-card .product-photo {
  position: relative;
  aspect-ratio: 1.5;
  overflow: hidden;
}
.product-card .product-photo img {
  height: 100%;
  transition: transform 0.3s;
}
.product-card:hover img {
  transform: scale(1.035);
}
.product-photo .badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.product-content {
  padding: 18px;
}
.product-content p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.product-footer {
  margin-top: 16px;
  font-weight: 700;
}
.plus {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #eaf0e8;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 400;
}
.product-card.compact .product-content {
  min-height: 176px;
  display: flex;
  flex-direction: column;
}
.product-card.compact .product-footer {
  margin-top: auto;
  padding-top: 15px;
}
.dietary {
  font-size: 0.75rem;
  color: #387149;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 0;
}
.sold {
  filter: grayscale(0.7);
  opacity: 0.6;
}
.guest-footer {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 24px 0;
  line-height: 1.6;
}
.guest-footer .row {
  margin-top: 15px;
}
.cart-panel {
  position: sticky;
  top: 24px;
  align-self: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 23px;
}
.cart-panel h2 {
  font-size: 1.55rem;
}
.cart-empty {
  text-align: center;
  padding: 30px 8px 24px;
}
.cart-symbol {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f1f4ed;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
}
.cart-empty p {
  font-size: 0.85rem;
  margin-top: 8px;
}
.cart-line {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line .line-name {
  font-size: 0.9rem;
  font-weight: 600;
}
.cart-line small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.45;
}
.quantity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f1f4ed;
  border-radius: 10px;
  padding: 3px;
}
.quantity button {
  background: transparent;
  color: var(--ink);
  width: 34px;
  height: 34px;
}
.quantity strong {
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
}
.cart-total {
  padding: 20px 0;
  font-size: 1.05rem;
}
.fine {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 14px;
}
.cart-service {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cart-service .btn {
  width: 100%;
}
.mobile-cart {
  display: none;
}
.status-card {
  background: #eaf1e8;
  border: 1px solid #d2dfd1;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.status-card p {
  font-size: 0.85rem;
  margin-top: 8px;
}
.status-steps {
  display: flex;
  gap: 4px;
  margin: 16px 0 8px;
}
.status-steps span {
  height: 4px;
  border-radius: 3px;
  background: #ced9cb;
  flex: 1;
}
.status-steps span.done {
  background: var(--green);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(100px);
  transition: transform 0.2s;
  z-index: 30;
  max-width: min(90vw, 550px);
  padding: 14px 20px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 30px #0003;
  font-size: 0.9rem;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 24px;
  width: min(580px, calc(100vw - 28px));
  max-height: 90dvh;
  box-shadow: 0 24px 100px #0003;
  background: #fff;
  color: var(--ink);
}
dialog::backdrop {
  background: #0b211bcc;
  backdrop-filter: blur(3px);
}
.modal-inner {
  padding: 26px;
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.modal-top h2 {
  font-size: 1.6rem;
}
.modal-photo {
  height: 240px;
  width: 100%;
}
.modal-close-photo {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
}
.modal-description {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
.divider {
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  font-size: 0.9rem;
}
.option-row input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
}
.option-row span {
  margin-left: auto;
  font-size: 0.85rem;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cdd7ca;
  background: white;
  color: var(--ink);
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
  min-height: 44px;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.full-span {
  grid-column: 1/-1;
}
.error {
  background: #fae9e4;
  color: #932d27;
  padding: 13px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.success {
  background: #e5f0df;
  color: #285321;
  padding: 13px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.info {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #f4f6ef;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
}
.details {
  margin: 15px 0;
}
.details summary {
  font-size: 0.9rem;
  padding: 8px 0;
  cursor: pointer;
}
.details p {
  font-size: 0.82rem;
  color: var(--muted);
}
.story-dialog {
  width: min(440px, 100vw);
  background: #142a20;
  color: white;
  overflow: hidden;
}
.story-stage {
  height: min(760px, 90dvh);
  position: relative;
}
.story-stage > img,
.story-stage > video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(#0007, transparent 35%, #000b);
}
.story-bars {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 5px;
  z-index: 5;
}
.story-bar {
  height: 3px;
  flex: 1;
  background: #ffffff60;
  border-radius: 3px;
  overflow: hidden;
}
.story-bar div {
  height: 100%;
  width: 0;
  background: white;
}
.story-heading {
  position: absolute;
  top: 36px;
  left: 18px;
  right: 18px;
  z-index: 6;
  font-size: 0.85rem;
}
.story-heading button {
  background: #ffffff30;
  color: white;
}
.story-text {
  position: absolute;
  bottom: 32px;
  left: 25px;
  right: 25px;
  z-index: 6;
}
.story-text h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.story-tap {
  position: absolute;
  top: 90px;
  bottom: 145px;
  width: 45%;
  z-index: 4;
  background: transparent;
}
.story-tap.right {
  right: 0;
}
.story-tap.left {
  left: 0;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-image {
  position: relative;
  background: var(--green);
  overflow: hidden;
}
.login-image img {
  height: 100%;
  opacity: 0.72;
}
.login-image .login-copy {
  position: absolute;
  bottom: 10%;
  left: 10%;
  right: 10%;
  color: white;
}
.login-copy h1 {
  font-size: 4rem;
}
.login-form {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  width: 100%;
  margin: auto;
}
.login-form .brand {
  margin-bottom: 60px;
}
.login-form h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.login-form form {
  margin: 30px 0;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.staff-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 28px 18px;
  background: var(--green);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  padding: 0 10px 28px;
}
.sidebar .brand img {
  border: 1px solid #ffffff55;
  border-radius: 10px;
}
.side-restaurant {
  padding: 16px 12px;
  border-top: 1px solid #ffffff20;
  border-bottom: 1px solid #ffffff20;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.side-restaurant small {
  color: #b6c6bc;
  display: block;
  font-size: 0.75rem;
}
.side-nav {
  display: grid;
  gap: 5px;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  border-radius: 10px;
  background: transparent;
  color: #dce8dd;
  font-size: 0.9rem;
  min-height: 46px;
}
.nav-btn.active {
  background: #ffffff16;
  color: #fff;
}
.side-bottom {
  margin-top: auto;
  border-top: 1px solid #ffffff20;
  padding: 18px 8px 0;
  font-size: 0.8rem;
  color: #b6c6bc;
}
.staff-main {
  padding: 32px 38px;
  max-width: 1600px;
  width: 100%;
  margin: auto;
  align-self: start;
}
.staff-header {
  margin-bottom: 28px;
}
.staff-header h1 {
  font-size: 2.5rem;
}
.staff-header .muted {
  margin-top: 7px;
  font-size: 0.9rem;
}
.live {
  font-size: 0.78rem;
  color: #387149;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 100px;
  background: #46905b;
}
.live.off {
  color: #a65e13;
}
.live.off::before {
  background: #a65e13;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
}
.metric .value {
  font-family: Georgia, serif;
  font-size: 2.3rem;
  margin: 10px 0 5px;
}
.metric label {
  font-size: 0.85rem;
  color: var(--muted);
}
.metric.emphasis {
  background: #eaf1e6;
}
.toolbar {
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.filters {
  display: flex;
  gap: 7px;
  overflow: auto;
}
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 18px;
}
.order-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.order-card.waiting {
  border-top: 4px solid #dfa538;
}
.order-card.confirmed {
  border-top: 4px solid #638d65;
}
.order-card .order-time {
  font-size: 0.78rem;
  color: var(--muted);
}
.order-title {
  font-family: Georgia, serif;
  font-size: 1.6rem;
}
.order-card .items {
  padding: 15px 0;
  min-height: 85px;
}
.order-card .items p {
  font-size: 0.9rem;
}
.order-card .items small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}
.order-card .status {
  margin: 12px 0;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 7px;
  padding: 7px 9px;
  background: #f7eedc;
  color: #765b23;
}
.order-card .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.order-card .total {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.empty {
  padding: 55px 25px;
  border: 1px dashed #cdd6c8;
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
  background: #ffffff60;
}
.empty h2 {
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 1.6rem;
}
.call-banner {
  padding: 15px 18px;
  background: #f8edcb;
  border: 1px solid #e7d796;
  border-radius: 14px;
  margin-bottom: 12px;
}
.call-banner strong {
  font-size: 1rem;
}
.call-banner .btn {
  flex-shrink: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.panel h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
  text-align: left;
}
th {
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
.table-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.table-product img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}
.table-product small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 4px;
}
.table-actions {
  display: flex;
  gap: 7px;
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.qr-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
}
.qr-card img {
  max-width: 180px;
  margin: 10px auto;
}
.qr-card h2 {
  font-size: 1.6rem;
}
.qr-card .actions {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.qr-card .field {
  margin-top: 16px;
}
.admin-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.admin-highlight {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.admin-highlight img,
.admin-highlight video {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.admin-highlight .body {
  padding: 18px;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.translation-tabs {
  display: flex;
  gap: 6px;
}
.translation-tabs .chip {
  min-height: 38px;
  padding: 7px 14px;
}
.edit-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 12px;
}
.edit-item .field {
  margin-top: 10px;
}
.admin-language {
  background: #f6f7f2;
  border-radius: 12px;
  padding: 15px;
}
.price-line {
  font-size: 1.35rem;
  font-weight: 700;
}
.upload-preview {
  height: 100px;
  width: 100px;
  border-radius: 12px;
  object-fit: cover;
}
.modal-actions {
  position: sticky;
  bottom: 0;
  background: white;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.footer-note {
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
@media (min-width: 1500px) {
  .menu-layout {
    gap: 48px;
  }
  .feature {
    min-height: 290px;
  }
}
@media (max-width: 1100px) {
  .menu-layout {
    padding: 24px;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .feature-copy {
    padding: 22px;
  }
  .feature-copy h1 {
    font-size: 2.25rem;
  }
  .staff-shell {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .staff-main {
    padding: 26px 24px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 820px) {
  .menu-layout {
    display: block;
    max-width: 680px;
    padding: 22px 20px 100px;
  }
  .cart-panel {
    display: none;
  }
  .mobile-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 7;
    background: #fff;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 25px #21342112;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-cart strong {
    font-size: 0.95rem;
  }
  .mobile-cart small {
    display: block;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .mobile-cart .btn {
    padding: 12px 22px;
  }
  .topbar-inner {
    padding: 14px 20px;
  }
  .topbar .toplink {
    display: none;
  }
  .product-grid {
    gap: 14px;
  }
  .product-content {
    padding: 16px;
  }
  .feature img {
    min-height: 245px;
  }
  .guest-footer {
    margin-bottom: 20px;
  }
  #toast {
    bottom: 100px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-image {
    display: none;
  }
  .login-form {
    padding: 32px 26px;
    min-height: 100vh;
  }
  .staff-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 15px 18px;
  }
  .sidebar .brand {
    padding: 0;
  }
  .side-restaurant {
    display: none;
  }
  .side-nav {
    display: flex;
    gap: 5px;
    overflow: auto;
    margin-top: 18px;
    scrollbar-width: none;
  }
  .nav-btn {
    width: auto;
    flex-shrink: 0;
    padding: 11px 13px;
  }
  .nav-btn svg {
    display: none;
  }
  .side-bottom {
    display: none;
  }
  .staff-main {
    padding: 25px 18px;
  }
  .staff-header h1 {
    font-size: 2.1rem;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .metric .value {
    font-size: 1.9rem;
  }
  .order-grid {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .filters {
    max-width: 100%;
    width: 100%;
  }
  .panel {
    padding: 18px;
  }
  .call-banner {
    align-items: flex-start;
  }
  .qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .qr-card {
    padding: 14px;
  }
  .qr-card .btn {
    font-size: 0.8rem;
    padding: 9px 10px;
  }
  .modal-inner {
    padding: 22px;
  }
  .staff-header .row {
    flex-wrap: wrap;
  }
}
@media (max-width: 450px) {
  .feature {
    min-height: 230px;
    grid-template-columns: 1.05fr 1fr;
  }
  .feature-copy {
    padding: 22px 18px;
    gap: 10px;
  }
  .feature-copy h1 {
    font-size: 2rem;
    letter-spacing: -0.8px;
  }
  .feature-copy p {
    font-size: 0.8rem;
  }
  .feature-copy .eyebrow {
    font-size: 0.65rem;
  }
  .feature-copy .btn {
    font-size: 0.8rem;
    padding: 10px 13px;
    min-height: 42px;
  }
  .feature img {
    min-height: 230px;
  }
  .restaurant-title {
    font-size: 1.25rem;
  }
  .restaurant-heading {
    gap: 10px;
  }
  .restaurant-heading .pill {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
  .product-grid {
    gap: 12px;
  }
  .product-content {
    padding: 13px;
  }
  .product-content h3 {
    font-size: 0.92rem;
  }
  .product-content p {
    font-size: 0.8rem;
  }
  .product-footer {
    font-size: 0.9rem;
  }
  .product-photo .badge {
    font-size: 0.62rem;
    top: 9px;
    left: 9px;
  }
  .product-card .product-photo {
    aspect-ratio: 1.05;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-span {
    grid-column: auto;
  }
  .modal-top h2 {
    font-size: 1.4rem;
  }
  .modal-photo {
    height: 210px;
  }
  .staff-header {
    align-items: flex-start;
    gap: 12px;
  }
  .staff-header .btn {
    font-size: 0.8rem;
  }
  .story-stage {
    height: 87dvh;
  }
  .story-text h2 {
    font-size: 2rem;
  }
  .cart-panel {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body {
    background: white;
  }
  .sidebar,
  .staff-header .btn,
  .toolbar,
  .qr-card .actions,
  .topbar {
    display: none !important;
  }
  .staff-shell {
    display: block;
  }
  .staff-main {
    padding: 0;
  }
  .qr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .qr-card {
    break-inside: avoid;
  }
  a {
    color: black;
  }
}
