:root {
  --paper: #f6f2ea;
  --paper-2: #eee7dc;
  --card: #fffdf8;
  --ink: #17231d;
  --muted: #68716c;
  /* Tema: restoran panelden renk seçtiyse index.php bu değişkenleri ezer (bkz. includes/theme.php). */
  --green: #214e3a;            /* ana renk */
  --green-dark: #153628;       /* ana rengin koyusu */
  --primary-rgb: 33 78 58;
  --deep-rgb: 15 40 29;        /* perde, gölge ve koyu zeminler */
  --sage: #dde7df;             /* ana rengin açık tonu */
  --sage-rgb: 221 231 223;
  --copper: #c66a36;           /* vurgu rengi */
  --accent-rgb: 198 106 54;
  --accent-soft: #e9b28d;      /* koyu zemin üstünde vurgu yazısı */
  --accent-tint: #f3e2d4;      /* vurgu rengi açık zemin */
  --accent-ink: #75401f;       /* açık vurgu zemininde yazı */
  --red: #a4342a;
  --line: rgba(23, 35, 29, 0.12);
  --shadow: 0 18px 50px rgba(33, 45, 38, 0.14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid rgb(var(--accent-rgb) / 0.42);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
}
.skip-link:focus { transform: translateY(0); }

.desktop-backdrop, .brand-panel { display: none; }
.app-shell { min-height: 100vh; }
.menu-panel { width: 100%; padding-bottom: 128px; }

.mobile-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 74px;
  padding: 12px max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(23, 35, 29, 0.08);
  background: rgba(246, 242, 234, 0.91);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.brand-lockup__text { display: grid; min-width: 0; }
.brand-lockup strong, .brand-lockup small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-lockup strong { font-size: 15px; letter-spacing: -0.02em; }
.brand-lockup small { color: var(--muted); font-size: 11px; }

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: -0.14em;
}
.wordmark__seed { margin: 0 2px; color: var(--copper); font-size: 8px; }

.table-chip {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 46%;
  white-space: nowrap;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
}
.table-chip__icon { color: var(--green); font-size: 18px; line-height: 1; }
#table-label { overflow: hidden; text-overflow: ellipsis; }

.mobile-venue {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 32px 20px 22px;
}
.mobile-venue h1 {
  margin: 5px 0 0;
  font: 600 clamp(34px, 9.2vw, 46px)/0.98 var(--serif);
  letter-spacing: -0.045em;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #4e936b;
  box-shadow: 0 0 0 4px rgba(78, 147, 107, 0.12);
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-family: var(--serif);
  font-size: 18px;
  cursor: pointer;
}

.assistant-callout {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  margin: 0 18px 25px;
  padding: 14px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 78% 10%, rgb(var(--accent-rgb) / 0.35), transparent 28%),
    linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 16px 34px rgb(var(--primary-rgb) / 0.2);
}
.assistant-callout::after {
  position: absolute;
  right: -30px;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}
.assistant-orb {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.11);
}
.assistant-orb span, .assistant-orb--small { color: var(--accent-soft); font-size: 21px; }
.assistant-callout__copy { position: relative; z-index: 1; display: grid; min-width: 0; }
.assistant-callout__copy strong { overflow: hidden; font-family: var(--serif); font-size: 17px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.assistant-callout__copy > span:last-child { overflow: hidden; color: rgba(255, 255, 255, 0.68); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.assistant-kicker { color: var(--copper); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.assistant-callout .assistant-kicker { color: var(--accent-soft); }
.round-arrow {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  background: #fff;
  font-size: 19px;
  cursor: pointer;
}

.menu-tools { padding: 0 18px; }
.search-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.search-field:focus-within { border-color: rgb(var(--primary-rgb) / 0.42); box-shadow: 0 0 0 4px rgb(var(--primary-rgb) / 0.08); }
.search-field svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; }
.search-field input::placeholder { color: #8d948f; }
.search-field kbd { display: none; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--paper); font: 10px var(--sans); }

.filter-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar, .category-nav::-webkit-scrollbar { display: none; }
.filter-chip, .category-button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: 150ms ease;
}
@media (hover: hover) { .filter-chip:hover, .category-button:hover { background: rgba(255, 255, 255, 0.65); } }
.filter-chip.is-active { border-color: var(--green); color: #fff; background: var(--green); }

.category-nav {
  position: sticky;
  z-index: 15;
  top: 73px;
  margin-top: 19px;
  padding: 10px 18px;
  overflow-x: auto;
  border-top: 1px solid transparent;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.94);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}
#category-list { display: flex; gap: 7px; }
.category-button { min-height: 38px; border-color: transparent; }
.category-button.is-active { color: #fff; background: var(--ink); }

.menu-section { padding: 28px 18px 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.section-heading h2 { margin: 3px 0 0; font: 600 29px/1 var(--serif); letter-spacing: -0.035em; }
#result-count { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.section-heading { gap: 12px; }
.menu-grid { display: grid; gap: 13px; }

.product-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 154px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 29, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 8px 24px rgba(33, 45, 38, 0.045);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
@media (hover: hover) { .product-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(33, 45, 38, 0.09); } }
.product-card__image-button { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--sage); cursor: pointer; }
.product-card__image { width: 100%; height: 100%; min-height: 154px; object-fit: cover; transition: transform 300ms ease; }
@media (hover: hover) { .product-card:hover .product-card__image { transform: scale(1.035); } }
.product-card__stock {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 7px;
  border-radius: 8px;
  color: #fff;
  background: rgba(23, 35, 29, 0.82);
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.product-card__body { display: flex; min-width: 0; flex-direction: column; padding: 15px 14px 12px; }
.product-card__top { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }
.product-card__title-button { min-width: 0; padding: 0; border: 0; text-align: left; background: transparent; cursor: pointer; overflow-wrap: anywhere; }
.product-card h3 { margin: 0; font: 600 17px/1.08 var(--serif); letter-spacing: -0.02em; }
.product-card__desc { display: -webkit-box; margin: 6px 0 8px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  padding: 3px 6px;
  border-radius: 6px;
  color: var(--green);
  background: var(--sage);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tag--warm { color: var(--accent-ink); background: var(--accent-tint); }
.product-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.product-card__price { font-size: 16px; font-weight: 700; white-space: nowrap; }
.product-card__meta { color: var(--muted); font-size: 11px; }
.add-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--green);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}
@media (hover: hover) { .add-button:hover { background: var(--green-dark); transform: scale(1.04); } }
.add-button.is-added { background: #2f7655; animation: added-pop 260ms ease both; }

.drink-art {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 154px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--sage), var(--accent-tint));
}
.drink-art::before, .drink-art::after { position: absolute; border: 1px solid rgb(var(--primary-rgb) / 0.16); border-radius: 50%; content: ""; }
.drink-art::before { width: 110px; height: 110px; right: -35px; top: -28px; }
.drink-art::after { width: 72px; height: 72px; left: -24px; bottom: -20px; }
.drink-art span { position: relative; font-size: 36px; filter: saturate(0.74); }

.empty-state { padding: 56px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-state > span { color: var(--copper); font-size: 42px; }
.empty-state h3 { margin: 12px 0 4px; font: 600 23px var(--serif); }
.empty-state p { max-width: 360px; margin: 0 auto 20px; color: var(--muted); font-size: 13px; }

.primary-button, .secondary-button {
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}
.primary-button { color: #fff; background: var(--green); }
.primary-button:disabled { opacity: 0.45; cursor: not-allowed; }
.secondary-button { border: 1px solid var(--line); background: transparent; }

.menu-footer { display: grid; justify-items: center; gap: 12px; margin: 24px 18px 12px; padding: 32px 22px; border-top: 1px solid var(--line); text-align: center; }
.menu-footer p { max-width: 460px; margin: 0; color: var(--muted); font-size: 12px; }
.menu-footer button { min-height: 40px; border: 0; color: var(--green); background: transparent; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.platform-signature { margin-top: 8px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.platform-signature strong { color: var(--green); font-weight: 700; }

.bottom-nav {
  position: fixed;
  z-index: 40;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  min-height: 72px;
  padding: 8px 8px 7px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 18px 55px rgba(23, 35, 29, 0.2);
  backdrop-filter: blur(20px);
}
.bottom-nav__item { display: grid; min-height: 52px; place-items: center; gap: 2px; border: 0; color: var(--muted); background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; }
.bottom-nav__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.bottom-nav__item.is-active { color: var(--green); }
.bottom-nav__assistant { position: relative; color: var(--green); }
.bottom-nav__orb { display: grid; width: 46px; height: 46px; margin-top: -23px; place-items: center; border: 5px solid var(--paper); border-radius: 17px; color: var(--accent-soft); background: var(--green); box-shadow: 0 6px 18px rgb(var(--primary-rgb) / 0.28); font-size: 17px; }
.nav-icon-wrap { position: relative; display: grid; place-items: center; }
.cart-badge { position: absolute; top: -8px; right: -11px; display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; color: #fff; background: var(--copper); font-size: 10px; font-weight: 700; }
.desktop-cart-button { display: none; }

.sheet {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.sheet[open] { display: block; }
.sheet::backdrop { background: transparent; }
.sheet__scrim { position: fixed; inset: 0; background: rgb(var(--deep-rgb) / 0.52); backdrop-filter: blur(4px); animation: fade-in 180ms ease both; }
.sheet__panel {
  position: fixed;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border-radius: 28px 28px 0 0;
  background: var(--paper);
  box-shadow: var(--shadow);
  animation: slide-up 220ms cubic-bezier(.2,.7,.2,1) both;
}
.sheet__close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(23, 35, 29, 0.42);
  font-size: 25px;
  line-height: 1;
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.sheet__close--static { position: static; flex: 0 0 auto; border-color: var(--line); color: var(--ink); background: transparent; backdrop-filter: none; }

.product-detail__image { width: 100%; height: 34dvh; min-height: 260px; object-fit: cover; }
.product-detail__content { padding: 24px 20px calc(22px + env(safe-area-inset-bottom)); }
.product-detail__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-detail h2 { max-width: 470px; margin: 0; font: 600 clamp(26px, 7vw, 32px)/1.05 var(--serif); letter-spacing: -0.04em; overflow-wrap: anywhere; }
.product-detail__price { flex: 0 0 auto; font-size: 18px; font-weight: 700; white-space: nowrap; }
.product-detail__desc { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.product-detail__band { display: flex; align-items: flex-end; min-height: 96px; padding: 20px 70px 16px 20px; background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.product-detail__band span { color: var(--accent-soft); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.product-detail__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 20px 0; }
.fact-card { padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.46); }
.fact-card span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.fact-card strong { font-size: 13px; }
.allergen-note { padding: 13px; border-left: 3px solid var(--copper); border-radius: 3px 12px 12px 3px; color: var(--accent-ink); background: var(--accent-tint); font-size: 12px; }
.product-detail__action { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 20px; }
.quantity-control { display: grid; grid-template-columns: 40px 34px 40px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.quantity-control button { height: 48px; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.quantity-control span { text-align: center; font-weight: 700; }

.assistant-sheet__panel { display: flex; height: min(94dvh, 790px); flex-direction: column; overflow: hidden; }
.assistant-header, .cart-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.assistant-title-wrap { display: flex; align-items: center; gap: 11px; }
.assistant-orb--small { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 15px; background: var(--green); }
.assistant-header h2, .cart-header h2 { margin: 0; font: 600 23px/1 var(--serif); }
.assistant-context { display: flex; align-items: center; justify-content: center; padding: 7px; color: var(--muted); background: rgb(var(--sage-rgb) / 0.42); font-size: 11px; }
.chat-log { flex: 1; padding: 20px 16px 14px; overflow-y: auto; scroll-behavior: smooth; }
.chat-message { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 14px; }
.chat-message--user { justify-content: flex-end; }
.chat-avatar { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--accent-soft); background: var(--green); font-size: 11px; }
.chat-bubble { max-width: min(84%, 510px); padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 5px 18px rgba(33, 45, 38, 0.06); font-size: 14px; }
.chat-bubble p { margin: 0; }
.chat-message--user .chat-bubble { border-radius: 16px 16px 4px 16px; color: #fff; background: var(--green); }
.chat-products { display: grid; gap: 8px; margin: -4px 0 16px 37px; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 16px 37px; }
.chat-choices button { min-height: 34px; padding: 7px 11px; border: 1px solid rgb(var(--primary-rgb) / .2); border-radius: 999px; color: var(--green); background: rgba(255,255,255,.82); font-size: 12px; font-weight: 750; cursor: pointer; }
.chat-choices button:hover { border-color: var(--green); background: #fff; }
.chat-product { display: grid; grid-template-columns: 54px minmax(0, 1fr) 44px; align-items: center; gap: 9px; padding: 7px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, 0.78); }
.chat-product img { width: 54px; height: 54px; border-radius: 11px; object-fit: cover; }
.chat-product__art { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 11px; background: var(--sage); font-size: 20px; }
.chat-product strong { display: block; overflow: hidden; font: 600 14px var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.chat-product small { display: block; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.chat-product button { width: 44px; height: 44px; border: 0; border-radius: 13px; color: #fff; background: var(--green); font-size: 18px; cursor: pointer; transition: transform 160ms ease, background 160ms ease; }
.chat-product button.is-added { background: #2f7655; animation: added-pop 260ms ease both; }
.assistant-cart-confirmation {
  position: absolute;
  z-index: 6;
  right: 12px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  left: 12px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgb(var(--primary-rgb) / 0.16);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 18px 48px rgba(23, 35, 29, 0.22);
  animation: confirmation-in 190ms cubic-bezier(.2,.75,.2,1) both;
  backdrop-filter: blur(14px);
}
.assistant-cart-confirmation[hidden] { display: none; }
.assistant-cart-confirmation__message { display: flex; align-items: center; gap: 11px; }
.assistant-cart-confirmation__check { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #fff; background: #2f7655; font-size: 19px; font-weight: 800; }
.assistant-cart-confirmation__message strong { display: block; font: 600 17px var(--serif); }
.assistant-cart-confirmation__message p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.assistant-cart-confirmation__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.assistant-cart-confirmation__actions button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.assistant-cart-confirmation__actions .assistant-cart-confirmation__primary { border-color: var(--green); color: #fff; background: var(--green); }
.prompt-suggestions { display: flex; gap: 7px; padding: 8px 16px 10px; overflow-x: auto; scrollbar-width: none; }
.prompt-suggestions button { min-height: 36px; flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; cursor: pointer; }
.chat-composer { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: end; margin: 0 12px; padding: 7px 7px 7px 13px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.chat-composer textarea { max-height: 96px; resize: none; border: 0; outline: 0; background: transparent; font-size: 16px; line-height: 1.4; }
.chat-composer button { width: 44px; height: 44px; border: 0; border-radius: 14px; color: #fff; background: var(--green); font-size: 20px; cursor: pointer; }
.assistant-disclaimer { margin: 7px 16px calc(9px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 10px; text-align: center; }

.cart-sheet__panel { min-height: 62dvh; padding-bottom: env(safe-area-inset-bottom); }
.cart-header { padding: 20px; }
#cart-content { padding: 8px 18px 22px; }
.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 54px 24px; text-align: center; }
.cart-empty span { display: grid; width: 68px; height: 68px; place-items: center; border-radius: 24px; background: var(--sage); font-size: 26px; }
.cart-empty h3 { margin: 8px 0 0; font: 600 24px var(--serif); }
.cart-empty p { max-width: 300px; margin: 0; color: var(--muted); font-size: 13px; }
.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.cart-item__art { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 14px; background: var(--sage); font-size: 22px; }
.cart-item h3 { margin: 0; font: 600 15px var(--serif); }
.cart-item p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.cart-item > div:nth-child(2) { min-width: 0; }
.cart-item__controls { display: flex; align-items: center; gap: 4px; }
.cart-item__controls button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.cart-item__controls span { min-width: 20px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-summary { margin-top: 18px; padding: 18px; border-radius: 18px; color: #fff; background: var(--green); }
.cart-summary__line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: rgba(255, 255, 255, 0.72); font-size: 12px; }
.cart-summary__total { display: flex; align-items: end; justify-content: space-between; margin: 12px 0 18px; }
.cart-summary__total span { font-size: 12px; }
.cart-summary__total strong { font: 600 28px var(--serif); }
.cart-summary button { width: 100%; min-height: 50px; border: 0; border-radius: 14px; color: var(--green); background: #fff; font-weight: 800; cursor: pointer; }
.cart-summary button:disabled { opacity: .68; cursor: wait; }
.cart-summary .cart-summary__preview { min-height: 42px; margin-top: 8px; border: 1px solid rgba(255,255,255,.32); color: #fff; background: transparent; }
.cart-summary small { display: block; margin-top: 9px; color: rgba(255, 255, 255, 0.7); font-size: 11px; text-align: center; }
.cart-summary__qr { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.12); font-size: 13px; line-height: 1.45; }
.order-note { display: grid; gap: 7px; margin: 0 0 14px; }
.order-note > span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.order-note > span small { display: inline; margin: 0 0 0 4px; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 500; text-transform: none; }
.order-note textarea { width: 100%; resize: vertical; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; outline: 0; padding: 11px 12px; color: #fff; background: rgba(255,255,255,.09); font: 16px/1.4 var(--sans); }
.order-note textarea::placeholder { color: rgba(255,255,255,.48); }
.order-note textarea:focus { border-color: rgba(255,255,255,.7); }

.order-tracker { padding: 20px 18px 28px; }
.order-tracker__hero { display: grid; justify-items: center; padding: 18px 12px 24px; text-align: center; }
.order-tracker__pulse { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 22px; color: #fff; background: var(--green); box-shadow: 0 0 0 9px rgb(var(--primary-rgb) / .08); font-size: 25px; font-weight: 900; }
.order-tracker.is-cancelled .order-tracker__pulse { background: var(--copper); box-shadow: 0 0 0 9px rgb(var(--accent-rgb) / .1); }
.order-tracker__hero p { margin: 22px 0 5px; color: var(--copper); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.order-tracker__hero h3 { margin: 0; font: 600 31px/1 var(--serif); }
.order-tracker__hero > span:last-child { max-width: 330px; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.order-progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 24px; padding: 0; list-style: none; }
.order-progress li { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.25; }
.order-progress li::before { position: absolute; top: 6px; right: 50%; left: -50%; height: 2px; background: var(--line); content: ""; }
.order-progress li:first-child::before { display: none; }
.order-progress i { position: relative; z-index: 1; width: 14px; height: 14px; border: 3px solid var(--paper); border-radius: 50%; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.order-progress li.is-complete::before, .order-progress li.is-complete i { background: var(--green); }
.order-progress li.is-current { color: var(--green); font-weight: 800; }
.order-progress li.is-current i { box-shadow: 0 0 0 4px rgb(var(--primary-rgb) / .12); }
.order-tracker__items { display: grid; gap: 10px; padding: 17px 0; border-top: 1px solid var(--line); }
.order-tracker__items div { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; }
.order-tracker__items span > strong { display: inline-block; min-width: 28px; color: var(--copper); }
.order-tracker__note { display: grid; gap: 5px; margin: 5px 0 16px; padding: 12px 14px; border-radius: 13px; background: var(--accent-tint); }
.order-tracker__note span { color: var(--copper); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.order-tracker__note strong { font-size: 13px; line-height: 1.45; }
.order-tracker__total { display: flex; align-items: end; justify-content: space-between; padding-top: 15px; border-top: 2px solid var(--ink); }
.order-tracker__total strong { font: 600 28px/1 var(--serif); }
.order-tracker__refresh { margin: 12px 0 16px; color: var(--muted); font-size: 11px; text-align: center; }
.order-tracker .order-tracker__new, .order-tracker .order-tracker__close { width: 100%; }

.receipt-stage { margin: -8px -18px -22px; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); background: radial-gradient(circle at 12% 8%, rgb(var(--accent-rgb) / 0.2), transparent 25%), linear-gradient(145deg, var(--green-dark), var(--green)); }
.receipt-ticket { position: relative; max-width: 440px; margin: 0 auto; padding: 26px 22px 24px; border-radius: 5px 5px 18px 18px; color: var(--ink); background-color: #fffdf8; background-image: linear-gradient(rgba(23, 35, 29, 0.025) 1px, transparent 1px); background-size: 100% 24px; box-shadow: 0 22px 54px rgb(var(--deep-rgb) / 0.28); }
.receipt-ticket::before { position: absolute; top: -9px; right: 0; left: 0; height: 10px; background: radial-gradient(circle at 8px 10px, #fffdf8 8px, transparent 8.5px) 0 0 / 16px 10px repeat-x; content: ""; }
.receipt-ticket__brand { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; }
.receipt-ticket__mark { display: grid; width: 50px; height: 50px; flex: 0 0 auto; grid-template-columns: 1fr auto 1fr; place-items: center; border: 1px solid rgb(var(--primary-rgb) / 0.24); border-radius: 50%; color: var(--green); font: 700 14px var(--serif); }
.receipt-ticket__mark span { color: var(--copper); font-size: 8px; }
.receipt-ticket__brand > div > span { display: block; color: var(--copper); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.receipt-ticket__brand h3 { margin: 1px 0 0; font: 600 27px/1 var(--serif); }
.receipt-ticket__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.receipt-ticket__meta div { min-width: 0; }
.receipt-ticket__meta span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.receipt-ticket__meta strong { display: block; overflow: hidden; margin-top: 2px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.receipt-ticket__divider { display: flex; align-items: center; gap: 9px; margin: 19px 0 13px; color: var(--copper); font-size: 9px; }
.receipt-ticket__divider::before, .receipt-ticket__divider::after { height: 1px; flex: 1; background: repeating-linear-gradient(to right, rgba(23, 35, 29, 0.22) 0 4px, transparent 4px 8px); content: ""; }
.receipt-ticket__items { display: grid; gap: 12px; }
.receipt-ticket__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.receipt-ticket__item div > strong { display: block; font: 600 14px var(--serif); }
.receipt-ticket__item span { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; }
.receipt-ticket__item > strong { font-size: 12px; white-space: nowrap; }
.receipt-ticket__total { display: flex; align-items: end; justify-content: space-between; margin-top: 20px; padding-top: 17px; border-top: 2px solid var(--ink); }
.receipt-ticket__total span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.receipt-ticket__total strong { font: 600 30px/1 var(--serif); }
.receipt-ticket__ready { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px; border-radius: 14px; color: #fff; background: var(--green); }
.receipt-ticket__ready > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--green); background: #fff; font-weight: 900; }
.receipt-ticket__ready strong { display: block; font-size: 13px; }
.receipt-ticket__ready p { margin: 1px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 11px; }
.receipt-ticket__note { margin: 14px 8px 0; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; }
.receipt-ticket__platform { margin: 9px 0 0; color: var(--copper); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.receipt-actions { display: grid; max-width: 440px; grid-template-columns: 1fr 1fr; gap: 9px; margin: 14px auto 0; }
.receipt-actions button { min-height: 48px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 14px; color: #fff; background: rgba(255, 255, 255, 0.08); font-size: 13px; font-weight: 800; cursor: pointer; }
.receipt-actions .receipt-actions__primary { border-color: #fff; color: var(--green); background: #fff; }

.info-dialog { width: min(calc(100% - 32px), 430px); padding: 26px; border: 0; border-radius: 24px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.info-dialog::backdrop { background: rgb(var(--deep-rgb) / 0.5); backdrop-filter: blur(4px); }
.info-dialog h2 { margin: 18px 0 6px; font: 600 28px var(--serif); }
.info-dialog > p { color: var(--muted); font-size: 14px; }
.info-grid { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.info-grid span { color: var(--muted); }

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 100px;
  max-width: calc(100% - 32px);
  padding: 11px 15px;
  transform: translate(-50%, 18px);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-up { from { transform: translateY(24px); opacity: 0; } }
@keyframes confirmation-in { from { transform: translateY(12px) scale(.98); opacity: 0; } }
@keyframes added-pop { 50% { transform: scale(.88); } }

@media (min-width: 700px) {
  .menu-panel { max-width: 760px; margin: 0 auto; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { grid-template-columns: 1fr; }
  .product-card__image, .drink-art { min-height: 205px; max-height: 205px; }
  .product-card__body { min-height: 178px; }
  .product-card--text .product-card__body { min-height: 0; }
  .sheet__panel { right: 0; left: 0; width: min(620px, 100%); margin: 0 auto; border-radius: 28px 28px 0 0; }
  .assistant-sheet__panel { right: 0; bottom: 0; left: auto; width: min(520px, 100%); height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 28px 0 0 28px; animation-name: slide-left; }
  @keyframes slide-left { from { transform: translateX(30px); opacity: 0; } }
}

@media (min-width: 1080px) {
  body { background: var(--sage); }
  .desktop-backdrop { position: fixed; inset: 0; display: block; background: radial-gradient(circle at 20% 22%, rgb(var(--accent-rgb) / 0.22), transparent 26%), linear-gradient(120deg, var(--green-dark), var(--green-dark) 44%, var(--sage) 44%); }
  .app-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(340px, 0.76fr) minmax(620px, 1.24fr); max-width: 1440px; margin: 0 auto; background: var(--paper); box-shadow: 0 0 80px rgb(var(--deep-rgb) / 0.24); }
  .brand-panel { position: relative; display: block; min-height: 100vh; color: #fff; background: radial-gradient(circle at 80% 12%, rgb(var(--accent-rgb) / 0.28), transparent 32%), linear-gradient(155deg, var(--green-dark), var(--green-dark)); }
  .brand-panel::before { position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(var(--deep-rgb) / 0.15), rgb(var(--deep-rgb) / 0.84)); content: ""; }
  .brand-panel__inner { position: sticky; top: 0; z-index: 1; display: flex; min-height: 100vh; flex-direction: column; justify-content: center; padding: 64px clamp(42px, 5vw, 82px); }
  .wordmark--large { width: 66px; height: 66px; margin-bottom: 42px; border-color: rgba(255,255,255,.6); font-size: 20px; }
  .brand-panel .eyebrow { color: var(--accent-soft); }
  .brand-panel h1 { margin: 10px 0 18px; font: 600 clamp(52px, 5vw, 78px)/0.91 var(--serif); letter-spacing: -0.055em; }
  .brand-panel__copy { max-width: 440px; color: rgba(255,255,255,.72); font-size: 15px; }
  .venue-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; color: rgba(255,255,255,.74); font-size: 12px; }
  .brand-panel__note { display: flex; gap: 12px; max-width: 440px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
  .brand-panel__note .sparkle { color: var(--accent-soft); }
  .brand-panel__note p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
  .brand-panel__note strong { color: #fff; }
  .secondary-button--light { display: flex; width: fit-content; align-items: center; gap: 18px; margin-top: 24px; border-color: rgba(255,255,255,.22); color: #fff; }
  .menu-panel { max-width: none; margin: 0; padding-bottom: 100px; }
  .mobile-header { padding-inline: 34px; }
  .mobile-venue { padding: 42px 38px 25px; }
  .assistant-callout, .menu-tools, .menu-section { margin-left: 38px; margin-right: 38px; }
  .assistant-callout { margin-bottom: 28px; }
  .menu-tools { padding: 0; }
  .search-field kbd { display: inline-block; }
  .category-nav { padding-inline: 38px; }
  .menu-section { padding-inline: 0; }
  .menu-footer { margin-inline: 38px; }
  .bottom-nav { display: none; }
  .desktop-cart-button { position: fixed; z-index: 30; right: 28px; bottom: 25px; display: grid; grid-template-columns: auto auto 28px; gap: 13px; align-items: center; min-height: 54px; padding: 8px 11px 8px 17px; border: 0; border-radius: 18px; color: #fff; background: var(--ink); box-shadow: var(--shadow); font-size: 13px; cursor: pointer; }
  .desktop-cart-count { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: var(--ink); background: #fff; font-weight: 800; }
  .toast { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.wordmark { display: none !important; }
.restaurant-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 210px;
  flex: 0 1 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  box-shadow: none;
}
.restaurant-logo[hidden] { display: none; }
.restaurant-logo--large { width: auto; height: 94px; max-width: 310px; margin-bottom: 42px; object-position: left center; filter: brightness(0) invert(1); }
.restaurant-logo--header { width: auto; height: 44px; max-width: 190px; }
.restaurant-logo--footer { width: auto; height: 48px; max-width: 220px; object-position: center; }
.restaurant-logo--info { width: auto; height: 60px; max-width: 240px; }
.receipt-ticket__logo { width: auto; height: 48px; max-width: 190px; flex: 0 1 auto; border: 0; border-radius: 0; object-fit: contain; object-position: left center; background: transparent; }
.table-link-error { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgb(var(--deep-rgb) / .96); }
.table-link-error__card { width: min(100%, 520px); padding: 38px; border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.table-link-error__icon { display: grid; width: 54px; height: 54px; margin: 0 auto 22px; place-items: center; border-radius: 18px; color: #fff; background: var(--copper); font: 700 26px/1 var(--serif); }
.table-link-error__card h1 { margin: 8px 0 14px; font: 600 38px/.98 var(--serif); letter-spacing: -.04em; }
.table-link-error__card > p:last-child { margin: 0; color: var(--muted); line-height: 1.6; }

@media (max-width: 620px) {
  .restaurant-logo--header { height: 38px; max-width: 145px; }
  .table-link-error__card { padding: 30px 22px; }
  .table-link-error__card h1 { font-size: 32px; }
}

/* Fotoğrafsız ürün kartı: görsel sütunu yerine metin odaklı, kompakt düzen. */
.product-card--text { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.product-card--text .product-card__body { padding: 15px 14px 13px 16px; }
.product-card--text .product-card__footer { padding-top: 10px; }

.menu-group-title {
  display: flex;
  grid-column: 1 / -1;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font: 600 22px/1.1 var(--serif);
  letter-spacing: -0.02em;
}
.menu-group-title:first-child { margin-top: 0; }
.menu-group-title small { color: var(--muted); font: 500 12px var(--sans); }

.menu-loading { display: grid; grid-column: 1 / -1; justify-items: center; gap: 14px; margin: 0; padding: 48px 20px; color: var(--muted); font-size: 14px; text-align: center; }
.menu-loading p { margin: 0; max-width: 320px; }

.category-nav { overscroll-behavior-x: contain; }
/* Yatay kaydırmada kapsayıcının sağ boşluğu yok sayılır; son düğme kenara yapışmasın. */
#category-list::after { flex: 0 0 11px; content: ""; }

@media (max-width: 380px) {
  .mobile-header { padding-inline: 14px; }
  .brand-lockup small { display: none; }
  .assistant-callout { grid-template-columns: 44px minmax(0, 1fr) 40px; gap: 10px; margin-inline: 14px; }
  .assistant-orb { width: 44px; height: 44px; border-radius: 15px; }
  .round-arrow { width: 40px; height: 40px; }
  .menu-tools, .menu-section { padding-inline: 14px; }
  .category-nav { padding-inline: 14px; }
  .product-detail__facts { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .cart-item img, .cart-item__art { width: 48px; height: 48px; }
  .cart-item__controls button { width: 38px; height: 38px; }
}

/* Restoran bilgileri yüklenene kadar markalı metinler gizli kalır (başka restoranın adı bir an görünmesin). */
.is-booting [data-brand] { visibility: hidden; }
#mobile-title { text-wrap: balance; }

/* Ana bölümler (Yiyecekler / İçecekler ...) ve yatay kaydırılan kategori satırı.
   Kaydırma kategori satırında olur; bölüm sekmeleri sabit kalır. */
.category-nav { overflow: visible; padding-inline: 0; }
#category-list { overflow-x: auto; overscroll-behavior-x: contain; padding-inline: 18px; scrollbar-width: none; }
#category-list::-webkit-scrollbar { display: none; }
.section-tabs { display: flex; gap: 4px; margin: 0 18px 10px; padding: 4px; overflow-x: auto; border-radius: 15px; background: rgba(23, 35, 29, 0.06); scrollbar-width: none; }
.section-tabs::-webkit-scrollbar { display: none; }
.section-tab { flex: 1 0 auto; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: 150ms ease; }
.section-tab.is-active { color: var(--ink); background: #fff; box-shadow: 0 2px 10px rgba(23, 35, 29, 0.1); }
@media (min-width: 1080px) {
  #category-list { padding-inline: 38px; }
  .section-tabs { margin-inline: 38px; }
}
@media (max-width: 380px) {
  #category-list { padding-inline: 14px; }
  .section-tabs { margin-inline: 14px; }
  .section-tab { padding-inline: 10px; font-size: 12px; }
}

/* Garson çağır / hesap iste (yalnızca masa QR'ı ile) */
.header-actions { display: flex; min-width: 0; align-items: center; gap: 8px; }
.header-actions .table-chip { max-width: none; min-width: 0; }
.service-chip { display: inline-flex; flex: none; min-height: 42px; align-items: center; gap: 6px; padding: 8px 13px; border: 0; border-radius: 999px; color: #fff; background: var(--green); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.service-chip[hidden] { display: none; }
.service-chip:focus-visible { outline: 3px solid rgb(var(--primary-rgb) / 0.35); outline-offset: 2px; }
.service-dialog h2 { margin-top: 8px; }
.service-options { display: grid; gap: 10px; margin-top: 16px; }
.service-options button { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fffdf8; font: inherit; text-align: left; cursor: pointer; }
.service-options button:hover { border-color: var(--green); }
.service-options button:disabled { cursor: progress; opacity: .6; }
.service-options span { grid-row: span 2; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--sage); font-size: 20px; }
.service-options strong { font-size: 16px; }
.service-options small { color: var(--muted); font-size: 13px; }
.service-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--sage); font-size: 14px; font-weight: 600; }
.service-status.is-success { color: var(--green-dark); }
.service-status.is-error { color: #8b251d; background: #feeae7; }
@media (max-width: 380px) {
  .service-chip { padding-inline: 11px; }
  .header-actions .table-chip { padding-inline: 10px; }
}
