:root {
  color-scheme: light;
  --ink: #1e2025;
  --muted: #666b74;
  --line: #e4e0d8;
  --paper: #fffdf8;
  --band: #f5efe4;
  --card: #ffffff;
  --accent: #bf3f2f;
  --accent-dark: #8e2d22;
  --leaf: #2f6f55;
  --shadow: 0 14px 40px rgb(35 28 20 / 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

button,
a {
  font: inherit;
}

.menu-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgb(30 32 37 / 0.08), transparent 220px),
    var(--paper);
}

.home-shell {
  min-height: 100vh;
  background: #fffdf8;
  color: var(--ink);
}

.language-switch {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 20;
  display: inline-flex;
  gap: 4px;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  background: rgb(20 20 20 / 0.52);
  padding: 4px;
  backdrop-filter: blur(10px);
}

.language-switch button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.language-switch button.active {
  background: #fff;
  color: var(--ink);
}

[dir="rtl"] .language-switch {
  right: auto;
  left: 12px;
}

[dir="rtl"] .section-note,
[dir="rtl"] .price {
  text-align: left;
}

.home-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 48px 20px 30px;
}

.home-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.home-hero h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(40px, 8vw, 82px);
}

.home-hero p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 20px 54px;
}

.demo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.demo-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.demo-card-body {
  padding: 15px;
}

.demo-card-body span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.demo-card-body h2 {
  margin-top: 7px;
  font-size: 25px;
}

.demo-card-body p {
  min-height: 66px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.demo-qr {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  padding: 10px;
}

.demo-qr img {
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 5px;
}

.demo-qr span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.demo-actions {
  display: flex;
  gap: 9px;
  margin-top: 15px;
}

.demo-actions .button {
  flex: 1;
}

.demo-actions .secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.qr-dialog {
  width: min(calc(100% - 32px), 430px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 24px 80px rgb(0 0 0 / 0.28);
  text-align: center;
}

.qr-dialog::backdrop {
  background: rgb(0 0 0 / 0.58);
}

.qr-dialog h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.qr-dialog img {
  width: min(100%, 300px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.qr-dialog p {
  overflow-wrap: anywhere;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.qr-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.theme-coffee {
  --ink: #201915;
  --muted: #76665b;
  --line: #e6d6c4;
  --paper: #fff8ef;
  --card: #fffdf9;
  --accent: #a4572b;
  --accent-dark: #723717;
}

.theme-restaurant {
  --ink: #16191d;
  --muted: #65717a;
  --line: #dbe2e3;
  --paper: #f8fbfa;
  --card: #ffffff;
  --accent: #247166;
  --accent-dark: #134c43;
}

.theme-patisserie {
  --ink: #251b22;
  --muted: #7c6471;
  --line: #f0d8e1;
  --paper: #fff7fb;
  --card: #fffefe;
  --accent: #c44f7b;
  --accent-dark: #8c2851;
}

.theme-snack {
  --ink: #1f2024;
  --muted: #666b73;
  --line: #e7dcc7;
  --paper: #fff9e8;
  --card: #ffffff;
  --accent: #df4e27;
  --accent-dark: #9d2e17;
}

.theme-juice {
  --ink: #163026;
  --muted: #5f766b;
  --line: #d6ead9;
  --paper: #f4fff5;
  --card: #ffffff;
  --accent: #248b4d;
  --accent-dark: #126032;
}

.theme-moroccan {
  --ink: #261b13;
  --muted: #746257;
  --line: #e5d1b8;
  --paper: #fff8ec;
  --card: #fffdf8;
  --accent: #b94734;
  --accent-dark: #792819;
}

.loading,
.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.not-found-card {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #2a2724;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.68));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 96px 20px 28px;
  color: #fff;
}

.venue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgb(255 255 255 / 0.34);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgb(0 0 0 / 0.26);
  color: #fff;
  font-size: 13px;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 8vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.tagline {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgb(255 255 255 / 0.86);
  font-size: 17px;
  line-height: 1.5;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: rgb(255 255 255 / 0.36);
  background: rgb(255 255 255 / 0.13);
  color: #fff;
}

.content-band {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 28px 20px 52px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.feature-strip article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 10px 28px rgb(35 28 20 / 0.06);
}

.feature-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.feature-strip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
}

.feature-strip strong {
  min-width: 0;
  font-size: 15px;
}

.feature-strip span {
  color: var(--accent-dark);
  font-weight: 800;
  white-space: nowrap;
}

.section-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -20px 22px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: rgb(255 253 248 / 0.92);
  backdrop-filter: blur(10px);
}

.tab {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

.tab:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.notice {
  margin: 0 0 24px;
  border: 1px solid #ead6b0;
  border-radius: 8px;
  background: #fff6e3;
  padding: 12px 14px;
  color: #6f4e14;
  line-height: 1.45;
}

.menu-section {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 5vw, 38px);
  letter-spacing: 0;
}

.section-note {
  margin: 0;
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 14px;
  box-shadow: 0 8px 22px rgb(35 28 20 / 0.05);
}

.item.with-photo {
  grid-template-columns: 96px minmax(0, 1fr) auto;
}

.item img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}

.item h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.price {
  min-width: 74px;
  color: var(--accent-dark);
  font-weight: 800;
  text-align: right;
}

.footer {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer a {
  color: var(--accent-dark);
}

.layout-split .hero {
  min-height: 54vh;
  align-items: center;
}

.layout-split .hero img {
  left: auto;
  width: 52%;
  opacity: 1;
}

.layout-split .hero::after {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.82) 0%, rgb(0 0 0 / 0.62) 42%, rgb(0 0 0 / 0.1) 72%),
    linear-gradient(180deg, rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.24));
}

.layout-split .hero-content {
  padding-top: 34px;
}

.layout-split h1 {
  max-width: 540px;
}

.layout-editorial .hero {
  min-height: 62vh;
}

.layout-editorial .hero-content {
  padding-bottom: 46px;
}

.layout-editorial h1 {
  max-width: 900px;
  font-size: clamp(44px, 9vw, 92px);
}

.layout-editorial .items {
  grid-template-columns: 1fr;
}

.layout-editorial .item {
  min-height: 104px;
}

.layout-compact .hero {
  min-height: 34vh;
}

.layout-compact .hero-content {
  padding-top: 60px;
}

.layout-compact h1 {
  font-size: clamp(34px, 7vw, 58px);
}

.layout-compact .items {
  grid-template-columns: 1fr;
}

.layout-compact .item {
  min-height: 90px;
}

.layout-gallery .hero {
  min-height: 46vh;
}

.layout-gallery .items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.layout-gallery .item,
.layout-gallery .item.with-photo {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.layout-gallery .item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.layout-gallery .item div:not(.price) {
  padding: 13px 13px 0;
}

.layout-gallery .price {
  min-width: 0;
  padding: 6px 13px 13px;
  text-align: left;
}

@media (max-width: 760px) {
  .home-hero {
    display: block;
    padding-top: 34px;
  }

  .home-hero .button {
    margin-top: 20px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-card-body p {
    min-height: 0;
  }

  .hero {
    min-height: 44vh;
  }

  .hero-content {
    padding-top: 80px;
  }

  .section-heading {
    display: block;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .section-note {
    margin-top: 8px;
    text-align: left;
  }

  .items {
    grid-template-columns: 1fr;
  }

  .item,
  .item.with-photo {
    grid-template-columns: 86px minmax(0, 1fr) auto;
    min-height: 118px;
  }

  .item img {
    display: block;
    width: 86px;
    height: 86px;
  }

  .layout-split .hero {
    min-height: 46vh;
  }

  .layout-split .hero img {
    left: 0;
    width: 100%;
    opacity: 0.84;
  }

  .layout-split .hero::after {
    background: linear-gradient(180deg, rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.72));
  }

  .layout-gallery .items {
    grid-template-columns: 1fr;
  }

  .layout-gallery .item img {
    display: block;
  }

  .layout-compact .item,
  .layout-compact .item.with-photo {
    grid-template-columns: 82px minmax(0, 1fr) auto;
  }

  .layout-compact .item img {
    width: 82px;
    height: 82px;
  }
}
