/* Skurups Kebaberia — mobil meny (QR-sidan). Samma tokens som styles.css. */
:root {
  --cream: #FAF4EA;
  --cream-2: #F5EDE0;
  --card: #FFFCF6;
  --ink: #23190F;
  --ink-2: #4A3B2C;
  --muted: #6B5844;
  --muted-2: #7A5B41;
  --rust: #C0722A;
  --rust-text: #96551A;
  --rust-dark: #9E5A1B;
  --gold: #E0A163;
  --call-bg: #2A1E12;
  --call-bg-hover: #3E2C1A;
  --call-text: #F0C08A;
  --diet-bg: #E8F0E4;
  --diet-text: #2E5E3A;
  --diet-border: #6E8F67;
  --open-text: #2E5E3A;
  --line: rgba(35, 25, 15, .12);
  --line-strong: rgba(35, 25, 15, .22);
  --focus: #23190F;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --gut: 20px;
  --max: 640px;
  --chips-h: 60px;
  --call-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  touch-action: manipulation;
  /* Plats för den fasta ringknappen + iPhone-hemindikatorn */
  padding-bottom: calc(var(--call-h) + 16px + env(safe-area-inset-bottom));
}

a { color: var(--rust-dark); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px;
  padding: 10px 14px; background: var(--ink); color: var(--gold);
  border-radius: 6px; z-index: 20;
}
.skip:focus { top: 12px; }

/* ---------- Topp ---------- */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(44px + env(safe-area-inset-top)) var(--gut) 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Samma lockup som startsidans hero: spett + ordmärke + undertext.
   Spettets teckning fyller bara en del av sin viewBox — marginalerna
   tar bort den tomma luften (se styles.css för siffrorna). */
.spett {
  --w: clamp(120px, 38vw, 156px);
  display: block;
  width: var(--w);
  height: auto;
  margin: calc(var(--w) * -0.2257) auto calc(var(--w) * -0.1866 - 4px);
  transform: translateX(-8px);
}
.wordmark {
  width: min(320px, 100%);
  margin: 0 0 2px;
}
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateX(-3.42%);
}
.tagline {
  margin: 0;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust-text);
}
.status {
  margin: 14px auto 0;
  font-size: 14px;
  color: var(--muted);
}
.status.is-open { color: var(--open-text); font-weight: 500; }
.status.is-open::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--open-text);
  margin-right: 8px;
  vertical-align: 1px;
}

/* ---------- Chip-rad (klistrad) ---------- */
.chips {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 244, 234, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.chips-track {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--chips-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 var(--gut);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0 var(--gut);
}
.chips-track::-webkit-scrollbar { display: none; }
.chips a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  background: transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chips a:hover { background: var(--cream-2); color: var(--ink); }
.chips a.is-active {
  background: var(--call-bg);
  border-color: var(--call-bg);
  color: var(--call-text);
  font-weight: 500;
}

/* ---------- Avdelningar ---------- */
.menu { max-width: var(--max); margin: 0 auto; padding: 8px var(--gut) 0; }

.course { padding: 30px 0 8px; scroll-margin-top: calc(var(--chips-h) + 8px); }
.course + .course { border-top: 1px solid var(--line); }

.course-head { margin-bottom: 16px; }
.course h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.course-intro { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.55; color: var(--muted); }
.course-note {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(192, 114, 42, .4);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted-2);
}

/* ---------- Rätter ---------- */
.items { list-style: none; margin: 0; padding: 0; }
.item { padding: 16px 0; border-top: 1px solid var(--line); }
.items > .item:first-child { border-top: 0; padding-top: 4px; }
.items.compact .item { padding: 13px 0; }

.item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.item-label { display: inline-flex; align-items: baseline; gap: 9px; min-width: 0; }
.num {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--rust-text);
  font-variant-numeric: tabular-nums;
}
.name {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}
.price {
  flex: 0 0 auto;
  font-size: 16px;
  color: var(--rust-dark);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.desc {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}
.tags { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block;
  background: var(--diet-bg);
  border: 1px solid var(--diet-border);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--diet-text);
  white-space: nowrap;
}
/* Tillägg: liten prislista i samma språk som rätterna */
.addons { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.addons-title {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rust-text);
}
.addons-list { list-style: none; margin: 0; padding: 0; }
.addons-list li { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; }
.addon-name { font-size: 15px; color: var(--ink-2); }
.addons-list .dots { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(35, 25, 15, .32); transform: translateY(-4px); }
.addon-price { font-size: 15px; color: var(--rust-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Rullar: grupper */
.group { margin-top: 10px; padding-top: 12px; }
.group + .group { margin-top: 20px; border-top: 1px dashed var(--line-strong); padding-top: 20px; }
.group-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.group-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.2;
}
.group-head p { margin: 0; font-size: 14px; font-weight: 300; color: var(--muted); }

/* Såser */
.sauces {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.sauces li {
  font-family: var(--serif);
  font-size: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.allergy {
  margin: 30px 0 10px;
  padding: 14px 16px;
  background: var(--cream-2);
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- Fot ---------- */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gut) 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}
.foot p { margin: 0 0 4px; }
.foot-brand { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 8px !important; }
.foot a { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 8px; color: var(--rust-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Fast ringknapp ---------- */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: var(--call-h);
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: var(--call-bg);
  color: var(--call-text);
  transition: background-color .2s ease;
}
.call-bar:hover, .call-bar:active { background: var(--call-bg-hover); color: var(--call-text); }
.call-bar:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }
.call-bar-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.call-bar-num { font-family: var(--serif); font-size: 24px; letter-spacing: .02em; }

/* Större skärmar: samma enspalt, bara mer luft */
@media (min-width: 700px) {
  :root { --gut: 32px; }
  .top { padding-top: 64px; }
  .spett { --w: 176px; }
  .wordmark { width: 360px; }
  .tagline { font-size: 13px; }
  .course h2 { font-size: 34px; }
}
