:root {
  color-scheme: dark;
  --ink: #f6efe0;
  --muted: #b7ab97;
  --paper: #10110f;
  --panel: #171815;
  --panel-2: #20211d;
  --line: rgba(246, 239, 224, 0.14);
  --brass: #d8b660;
  --ruby: #7b2136;
  --emerald: #1c6c58;
  --steel: #313741;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #080908;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(135deg, rgba(216, 182, 96, 0.1) 0 1px, transparent 1px 36px),
    linear-gradient(45deg, rgba(123, 33, 54, 0.1) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, #090a08 0%, #11120f 46%, #0a0b0a 100%);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 8, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 182, 96, 0.45);
  border-radius: 8px;
  object-fit: cover;
  background: #050505;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 18px;
  line-height: 1;
}

.brand small,
.kicker,
.eyebrow,
.meta-line,
.badges {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.search {
  display: grid;
  grid-template-columns: 18px minmax(110px, 240px);
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 239, 224, 0.06);
}

.search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--brass);
  stroke-linecap: round;
  stroke-width: 2;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search input::placeholder {
  color: rgba(246, 239, 224, 0.5);
}

.icon-text,
.category-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(246, 239, 224, 0.06);
}

.icon-text {
  min-width: 48px;
  padding: 0 12px;
  font-weight: 700;
}

.icon-text:hover,
.category-button:hover,
.category-button.is-active {
  border-color: rgba(216, 182, 96, 0.7);
  background: rgba(216, 182, 96, 0.13);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
  align-items: end;
  gap: clamp(24px, 7vw, 96px);
  min-height: 360px;
  padding: clamp(46px, 8vw, 96px) clamp(16px, 4vw, 56px) 40px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 780px;
}

.kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--brass);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 76px;
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-mark {
  display: flex;
  justify-content: flex-end;
}

.hero-mark img {
  width: min(100%, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(216, 182, 96, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu-band {
  padding: 30px clamp(16px, 4vw, 56px) 64px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.12;
}

.category-rail {
  display: flex;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-button {
  flex: 0 0 auto;
  padding: 0 16px;
  white-space: nowrap;
}

.photo-rail {
  display: grid;
  grid-auto-columns: minmax(210px, 310px);
  grid-auto-flow: column;
  gap: 14px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.photo-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.photo-tile img,
.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile span {
  position: absolute;
  inset: auto 10px 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(8, 9, 8, 0.72);
}

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

.menu-item {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.item-media {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(28, 108, 88, 0.28), rgba(123, 33, 54, 0.22)),
    #11120f;
}

.item-media.no-photo::before {
  width: 64px;
  height: 64px;
  content: "";
  background: url("/assets/laf-icon.png") center / contain no-repeat;
  opacity: 0.62;
}

.item-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.item-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: start;
}

.item-title-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.price {
  margin: 0;
  color: var(--brass);
  font-weight: 800;
  white-space: nowrap;
}

.description {
  margin: 0;
  min-height: 48px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  text-transform: none;
}

.badge {
  padding: 5px 8px;
  border: 1px solid rgba(246, 239, 224, 0.16);
  border-radius: 999px;
  color: #e8dec9;
  background: rgba(246, 239, 224, 0.06);
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 320px;
  padding: 34px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: rgba(246, 239, 224, 0.04);
}

.empty-state img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
}

.empty-state h3 {
  margin: 0;
  font-size: 22px;
}

.empty-state p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

[dir="rtl"] body {
  font-family:
    "Segoe UI", Tahoma, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

[dir="rtl"] .hero-mark {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-mark {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .toolbar {
    justify-content: stretch;
  }

  .search {
    grid-template-columns: 18px minmax(0, 1fr);
    flex: 1 1 auto;
  }

  h1 {
    font-size: 52px;
  }

  .hero {
    min-height: 320px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .menu-item {
    grid-template-rows: 190px 1fr;
    min-height: 350px;
  }
}

