:root {
  color-scheme: light;
  --bg: #faf7f1;
  --surface: #ffffff;
  --surface-soft: #f3ede2;
  --text: #1f1a17;
  --muted: #70645a;
  --muted-2: #998c80;
  --accent: #a75f32;
  --accent-dark: #7c4123;
  --accent-soft: #e7c6a8;
  --success: #4f7d4a;
  --warning: #b47b21;
  --danger: #b94a48;
  --border: #e5dacd;
  --shadow: 0 16px 42px rgba(31, 26, 23, 0.12);
  --shadow-soft: 0 10px 26px rgba(31, 26, 23, 0.08);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34rem),
    radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28rem),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, #fff) 0%, var(--bg) 42%, color-mix(in srgb, var(--accent) 6%, #fff) 100%);
  color: var(--text);
  overflow-x: hidden;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 12px 16px 44px;
}

.menu-card-marketing {
  position: relative;
  min-height: calc(100svh - 24px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  padding: clamp(18px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(14, 18, 17, 0.86), rgba(15, 60, 54, 0.68)),
    url("../images/demo/restaurant/cover-mediterranean-bistro.webp") center / cover;
  color: #fff;
  box-shadow: 0 24px 80px rgba(31, 26, 23, 0.22);
}

.menu-card-marketing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 206, 133, 0.34), transparent 22rem),
    linear-gradient(180deg, rgba(6, 11, 10, 0.05), rgba(6, 11, 10, 0.68));
}

.marketing-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.marketing-brand,
.marketing-nav-link,
.marketing-primary {
  color: inherit;
  text-decoration: none;
}

.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.marketing-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #0f3c36;
}

.marketing-nav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
}

.marketing-hero {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(28px, 5vw, 64px);
  padding-top: clamp(52px, 10vw, 140px);
}

.marketing-copy {
  max-width: 760px;
}

.marketing-kicker {
  margin: 0 0 14px;
  color: #ffd8a8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marketing-copy h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.1rem, 8.4vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.marketing-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.marketing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

.marketing-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  background: #f7c873;
  color: #19130d;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.marketing-note {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.marketing-preview {
  justify-self: end;
  width: min(100%, 680px);
}

.marketing-overview {
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background: rgba(248, 245, 239, 0.96);
  color: #1f1a17;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.marketing-overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 14px;
  color: #0f3c36;
  font-weight: 900;
}

.marketing-overview-top div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.marketing-overview-top span,
.marketing-overview-top small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketing-overview-top small {
  color: #75685e;
  font-size: 0.74rem;
  font-weight: 800;
}

.marketing-overview-top strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #dff2e8;
  color: #1d6b53;
  font-size: 0.72rem;
}

.marketing-overview-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.88fr) minmax(270px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.marketing-sample-card,
.marketing-detail-card {
  overflow: hidden;
  border: 1px solid #eadfd3;
  border-radius: 24px;
  background: #fffaf3;
  box-shadow: 0 10px 26px rgba(31, 26, 23, 0.08);
}

.marketing-sample-card {
  padding: 10px;
}

.marketing-sample-cover {
  position: relative;
  height: 128px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #d7d0c6, #a9b6a4);
}

.marketing-sample-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketing-sample-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.54) 100%);
}

.marketing-sample-cover div {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.marketing-sample-cover span,
.marketing-sample-cover strong {
  display: block;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}

.marketing-sample-cover span {
  font-size: 0.78rem;
  font-weight: 800;
}

.marketing-sample-cover strong {
  font-size: 1.08rem;
  white-space: nowrap;
}

.marketing-sample-tabs {
  display: flex;
  gap: 7px;
  overflow: hidden;
  padding: 11px 0 9px;
}

.marketing-sample-tabs span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: #eee7dc;
  color: #5d5148;
  font-size: 0.76rem;
  font-weight: 900;
}

.marketing-sample-tabs .active {
  background: #0f3c36;
  color: #fff;
}

.marketing-menu-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  border: 1px solid #eadfd3;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(31, 26, 23, 0.07);
}

.marketing-menu-card.selected {
  border-color: rgba(15, 60, 54, 0.44);
  box-shadow: 0 0 0 3px rgba(15, 60, 54, 0.12), 0 8px 20px rgba(31, 26, 23, 0.07);
}

.marketing-menu-card img {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  object-fit: cover;
}

.marketing-menu-card div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.marketing-menu-card strong,
.marketing-menu-card span,
.marketing-menu-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketing-menu-card strong {
  color: #1f1a17;
  font-size: 0.84rem;
  line-height: 1.15;
}

.marketing-menu-card span,
.marketing-menu-card small {
  color: #75685e;
  font-size: 0.7rem;
  font-weight: 700;
}

.marketing-menu-card small {
  color: #0f3c36;
}

.marketing-menu-card b {
  color: #0f3c36;
  font-size: 0.76rem;
  white-space: nowrap;
}

.marketing-detail-card {
  background: #fff;
}

.marketing-detail-image {
  position: relative;
  height: 178px;
  overflow: hidden;
}

.marketing-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketing-detail-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 42%, rgba(0, 0, 0, 0.46) 100%);
}

.marketing-detail-image span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f3c36;
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 900;
}

.marketing-detail-body {
  padding: 14px;
}

.marketing-detail-body > small {
  color: #0f3c36;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.marketing-detail-body h3 {
  margin: 5px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.68rem;
  line-height: 1;
}

.marketing-detail-body p {
  margin: 9px 0 0;
  color: #62564c;
  font-size: 0.86rem;
  line-height: 1.42;
}

.marketing-detail-stack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.marketing-detail-stack div {
  display: grid;
  gap: 3px;
  border-radius: 14px;
  background: #f6f0e8;
  padding: 9px 10px;
}

.marketing-detail-stack strong {
  color: #0f3c36;
  font-size: 0.75rem;
}

.marketing-detail-stack span {
  color: #5f534a;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.32;
}

.marketing-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(8px, 3vw, 24px);
}

.marketing-points div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.marketing-points strong,
.marketing-points span {
  display: block;
}

.marketing-points strong {
  font-size: 1rem;
  margin-bottom: 8px;
}

.marketing-points span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.maintenance-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 56px);
  background: transparent;
}

.maintenance-panel {
  width: min(100%, 440px);
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-soft);
}

.maintenance-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
}

.maintenance-topline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.maintenance-eyebrow {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.maintenance-panel h1 {
  margin: 4px 0 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.maintenance-copy {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.maintenance-preview {
  margin: 24px 0 20px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-soft) 48%, #fff);
}

.maintenance-preview-row {
  height: 11px;
  width: 72%;
  margin-top: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted-2) 22%, transparent);
}

.maintenance-preview-row:first-child {
  margin-top: 0;
}

.maintenance-preview-row.wide {
  width: 92%;
  height: 14px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.maintenance-preview-row.short {
  width: 48%;
}

.maintenance-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.86rem;
}

.maintenance-status span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--warning);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--warning) 16%, transparent);
}

.hero {
  position: relative;
  min-height: clamp(320px, 48svh, 430px);
  margin: 0 0 14px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.28), transparent 16rem),
    linear-gradient(135deg, var(--accent-soft), var(--accent-dark));
}

.hero-without-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 16px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(31, 26, 23, 0.05) 0%, rgba(31, 26, 23, 0.35) 42%, rgba(31, 26, 23, 0.82) 100%),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.28), transparent 28rem);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: #fff;
}

.hero-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: auto;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.30);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 560px);
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  padding: 9px 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-topline .hero-stat {
  min-height: 48px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 630px;
  margin: 14px 0 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
  font-size: 1rem;
}

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

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(12px);
  font-weight: 700;
  font-size: 0.86rem;
}

.toolbar-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -16px 18px;
  padding: 10px 16px 12px;
  background: linear-gradient(180deg, rgba(250,247,241,0.96), rgba(250,247,241,0.86));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 218, 205, 0.75);
}

.category-nav {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-chip,
.attribute-chip,
.clear-chip {
  border: 1px solid rgba(167, 95, 50, 0.18);
  background: rgba(255,255,255,0.75);
  color: var(--text);
  padding: 9px 13px;
  border-radius: var(--radius-md);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(31, 26, 23, 0.06);
  scroll-snap-align: start;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

.category-chip:active,
.attribute-chip:active,
.clear-chip:active,
.primary-button:active,
.icon-button:active {
  transform: scale(0.97);
}

.category-chip.active,
.attribute-chip.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.search-field {
  position: relative;
}

.search-field input {
  width: 100%;
  border: 1px solid rgba(167, 95, 50, 0.18);
  background: rgba(255,255,255,0.86);
  border-radius: var(--radius-lg);
  padding: 13px 16px 13px 42px;
  outline: none;
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(31, 26, 23, 0.06);
}

.search-field input:focus {
  border-color: rgba(167, 95, 50, 0.48);
  box-shadow: 0 0 0 4px rgba(167, 95, 50, 0.10);
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  pointer-events: none;
}

.filter-toggle {
  min-height: 47px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  padding: 0 16px;
  box-shadow: 0 14px 30px rgba(167, 95, 50, 0.24);
}

.filter-panel {
  display: none;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-top: 10px;
  scrollbar-width: none;
}

.filter-panel.open {
  display: flex;
}

.filter-panel::-webkit-scrollbar {
  display: none;
}

.clear-chip {
  background: rgba(255,255,255,0.40);
  color: var(--muted);
}

.category-section {
  scroll-margin-top: 150px;
  margin-bottom: 34px;
}

.category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 2px 14px;
}

.category-heading h3 {
  margin: 0;
  font-size: 1.42rem;
  letter-spacing: 0;
}

.category-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.category-count {
  flex: 0 0 auto;
  min-width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--accent-dark);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(31, 26, 23, 0.07);
  border: 1px solid var(--border);
}

.items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.item-card {
  position: relative;
  border: none;
  width: 100%;
  text-align: left;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 218, 205, 0.70);
  padding: 0;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.item-image-wrap {
  position: relative;
  aspect-ratio: var(--item-image-ratio, 4 / 3);
  overflow: hidden;
  background: var(--surface-soft);
}

.hide-images .item-image-wrap {
  display: none;
}

.layout-compact .items-grid {
  gap: 12px;
}

.layout-compact .item-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
}

.layout-compact .item-card-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.layout-compact .item-image-wrap {
  aspect-ratio: auto;
  min-height: 116px;
  height: 100%;
}

.layout-compact .item-content {
  padding: 14px;
}

.layout-compact .item-description {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.layout-compact .image-action {
  display: none;
}


.item-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.00) 42%, rgba(0,0,0,0.62) 100%);
  pointer-events: none;
}

.item-image-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,0.62), transparent 9rem),
    radial-gradient(circle at 82% 78%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 10rem),
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 54%, #fff), color-mix(in srgb, var(--surface-soft) 72%, var(--accent) 28%));
}

.item-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.34), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.20) 0 1px, transparent 1px 18px);
}

.item-image-placeholder::after {
  background: linear-gradient(180deg, rgba(31, 26, 23, 0.02) 36%, rgba(31, 26, 23, 0.34) 100%);
}

.placeholder-mark {
  position: relative;
  z-index: 1;
  width: clamp(68px, 22%, 96px);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.64);
  color: var(--accent-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 10vw, 3.3rem);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(31, 26, 23, 0.12);
}

.item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 74%;
  transform: translateY(-8%) scale(1.2);
  transition: transform 600ms ease;
}

.item-card:hover .item-image {
  transform: translateY(-8%) scale(1.24);
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  padding: 8px 11px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
  border: 1px solid rgba(255,255,255,0.88);
}

.image-action {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  max-width: calc(100% - 28px);
  gap: 7px;
  align-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.86rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.42);
}

.item-content {
  padding: 16px 16px 17px;
}

.item-title-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.inline-price {
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text);
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 900;
  border: 1px solid var(--border);
}

.item-title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.item-description {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-md);
  padding: 6px 9px;
  background: #f3ede2;
  color: #594b42;
  font-size: 0.75rem;
  font-weight: 900;
  border: 1px solid rgba(229, 218, 205, 0.90);
}

.badge.recommended,
.badge.signature {
  background: rgba(167, 95, 50, 0.12);
  color: var(--accent-dark);
  border-color: rgba(167, 95, 50, 0.20);
}

.badge.vegan,
.badge.vegetarian,
.badge.light,
.badge.glutenFree,
.badge.dairyFree {
  background: rgba(79, 125, 74, 0.12);
  color: #365f31;
  border-color: rgba(79, 125, 74, 0.18);
}

.badge.spicy {
  background: rgba(185, 74, 72, 0.12);
  color: #8f302f;
  border-color: rgba(185, 74, 72, 0.20);
}

.empty-state,
.error-state {
  margin: 28px 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.70);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.empty-state h3,
.error-state h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.empty-state p,
.error-state p {
  margin: 0;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(31, 26, 23, 0.62);
  backdrop-filter: blur(10px);
  padding: 14px 12px calc(14px + var(--safe-bottom));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 180ms ease both;
}

.item-modal {
  width: min(100%, 920px);
  max-height: calc(100svh - 28px - var(--safe-bottom));
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 100px rgba(0,0,0,0.36);
  display: grid;
  grid-template-rows: minmax(0, auto) minmax(0, 1fr);
  animation: slideUp 240ms ease both;
}

.modal-image-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  max-height: min(46svh, 420px);
  background: var(--surface-soft);
  overflow: hidden;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 74%;
  transform: translateY(-8%) scale(1.2);
}

.modal-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 44%, rgba(0,0,0,0.54) 100%);
}

.modal-top-actions {
  position: absolute;
  inset: 14px 14px auto 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.icon-button,
.primary-button {
  border: none;
  border-radius: var(--radius-md);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
}

.icon-button {
  width: 44px;
  background: rgba(255,255,255,0.88);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.primary-button {
  padding: 0 15px;
  background: rgba(255,255,255,0.88);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.modal-price {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.90);
  color: var(--text);
  font-weight: 1000;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.item-modal-no-image {
  width: min(100%, 720px);
  grid-template-rows: minmax(0, 1fr);
}

.modal-inline-close {
  float: right;
  margin-left: 12px;
  margin-bottom: 8px;
}

.modal-body {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
}

.modal-body h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 7vw, 3.4rem);
  letter-spacing: 0;
  line-height: 0.95;
}

.modal-description {
  color: var(--muted);
  line-height: 1.55;
  margin: 12px 0 0;
  font-size: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.info-card {
  border-radius: var(--radius-lg);
  background: #fbf8f3;
  border: 1px solid var(--border);
  padding: 15px;
}

.info-card h4 {
  margin: 0 0 10px;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: uppercase;
}

.list-rows {
  display: grid;
  gap: 8px;
}

.list-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(229, 218, 205, 0.78);
  color: var(--text);
  line-height: 1.35;
}

.list-row:last-child {
  border-bottom: none;
}

.list-row small,
.nutrient-value {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.nutrient-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nutrient-pill {
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(229, 218, 205, 0.82);
}

.nutrient-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nutrient-pill strong {
  display: block;
  margin-top: 3px;
}

.fullscreen-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0,0,0,0.92);
  display: grid;
  place-items: center;
  padding: 56px 12px 28px;
  animation: fadeIn 180ms ease both;
}

.fullscreen-modal img {
  width: min(100%, 1300px);
  max-height: calc(100vh - 100px);
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.fullscreen-modal .icon-button {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 0px));
  right: 14px;
  z-index: 2;
}

.fullscreen-caption {
  position: fixed;
  left: 14px;
  right: 74px;
  top: max(18px, env(safe-area-inset-top, 0px));
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0,0,0,0.50);
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.loading-card {
  width: min(100%, 430px);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  border: 1px solid var(--border);
}

.loading-shimmer {
  background: linear-gradient(90deg, #eee3d6, #fffaf2, #eee3d6);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.loading-shimmer.image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}

.loading-shimmer.line {
  height: 17px;
  margin-top: 12px;
  border-radius: 999px;
  width: 75%;
}

.loading-shimmer.line.wide {
  width: 94%;
}

.loading-shimmer.line.short {
  width: 46%;
}

.no-scroll {
  overflow: hidden;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(18px); opacity: 0.8; }
  to { transform: translateY(0); opacity: 1; }
}

@media (min-width: 861px) {
  .app-shell.marketing-shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .menu-card-marketing {
    min-height: 100svh;
    border-radius: 0;
    padding: clamp(28px, 4vw, 56px) clamp(48px, 6.5vw, 96px);
    background-position: center 58%;
    box-shadow: none;
  }

  .marketing-nav,
  .marketing-hero {
    width: min(100%, 1280px);
    margin-inline: auto;
  }

  .marketing-hero {
    min-height: calc(100svh - 106px);
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 440px);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: clamp(44px, 6vw, 96px);
    row-gap: clamp(20px, 3vh, 34px);
    padding-top: clamp(44px, 7vh, 72px);
    padding-bottom: clamp(24px, 4vh, 48px);
  }

  .marketing-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    max-width: 760px;
  }

  .marketing-copy h1 {
    max-width: 760px;
    font-size: clamp(3.25rem, 4vw, 4.6rem);
    line-height: 1.02;
  }

  .marketing-lede {
    max-width: 650px;
    font-size: clamp(1.04rem, 1.2vw, 1.18rem);
  }

  .marketing-preview {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    width: min(100%, 440px);
  }

  .marketing-phone {
    transform: none;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.95);
  }

  .marketing-photo {
    min-height: clamp(190px, 25vh, 230px);
  }

  .marketing-points {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: start;
    margin-top: 0;
  }

  .marketing-points div {
    min-height: 104px;
    padding: 16px;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(7, 22, 20, 0.44);
  }
}

@media (max-width: 860px) {
  .menu-card-marketing {
    border-radius: 22px;
  }

  .marketing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .marketing-preview {
    justify-self: stretch;
    width: min(100%, 320px);
  }

  .marketing-phone {
    transform: none;
  }

  .marketing-points {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) {
  .app-shell {
    padding-inline: 24px;
  }

  .hero {
    min-height: clamp(360px, 54svh, 560px);
  }

  .hero-content {
    padding: 42px;
  }

  .toolbar-wrap {
    margin-inline: -24px;
    padding-inline: 24px;
  }

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

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

  .item-modal {
    width: min(1120px, calc(100vw - 36px));
    height: min(760px, calc(100svh - 36px));
    max-height: calc(100svh - 36px);
    border-radius: 32px;
    grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .modal-image-wrap {
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .modal-body {
    border-left: 1px solid var(--border);
  }

  .item-modal-no-image {
    width: min(720px, calc(100vw - 36px));
    grid-template-columns: 1fr;
  }

  .item-modal-no-image .modal-body {
    border-left: none;
  }

  .modal-backdrop {
    align-items: center;
  }

  .modal-body {
    padding: 28px;
  }
}

@media (min-width: 1040px) {
  .item-modal {
    grid-template-columns: minmax(420px, 1fr) minmax(380px, 0.9fr);
  }

  .modal-body .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 760px) and (min-width: 760px) {
  .app-shell {
    padding-bottom: 20px;
  }

  .hero {
    min-height: clamp(260px, 42svh, 360px);
  }

  .hero-content {
    padding: 24px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 6.6vw, 4.4rem);
  }

  .toolbar-wrap {
    margin-bottom: 12px;
    padding-block: 8px 10px;
  }

  .modal-backdrop {
    align-items: center;
    padding: 10px;
  }

  .item-modal {
    width: min(1180px, calc(100vw - 20px));
    height: calc(100svh - 20px);
    max-height: calc(100svh - 20px);
    border-radius: 24px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-description,
  .info-grid {
    margin-top: 12px;
  }

  .info-card {
    padding: 12px;
  }
}

@media (min-width: 1040px) {
  .items-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-section {
    margin-bottom: 48px;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 470px;
    border-radius: 30px;
  }

  .hero-content {
    padding: 22px 18px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .filter-toggle {
    padding-inline: 13px;
  }

}

.app-shell.marketing-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.menu-card-marketing {
  min-height: 100svh;
  overflow: visible;
  border-radius: 0;
  padding: clamp(22px, 4vw, 56px) clamp(18px, 6vw, 96px) clamp(42px, 8vw, 96px);
  background-position: center;
  box-shadow: none;
}

.marketing-nav,
.marketing-hero-intro,
.marketing-section,
.marketing-feature-section,
.marketing-final-cta {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.marketing-hero-intro {
  min-height: min(620px, calc(100svh - 110px));
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(54px, 9vw, 120px) 0 clamp(42px, 6vw, 72px);
}

.marketing-hero-intro .marketing-copy {
  max-width: 880px;
}

.marketing-hero-intro .marketing-copy h1 {
  max-width: 860px;
  font-size: clamp(3.4rem, 7.2vw, 6.6rem);
  line-height: 0.94;
}

.marketing-section {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 6vw, 76px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.marketing-section-copy {
  max-width: 540px;
}

.marketing-section-copy.centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.marketing-section-copy h2,
.marketing-final-cta h2 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 4.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.marketing-section-copy p:not(.marketing-kicker) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.6;
}

.marketing-preview {
  width: min(100%, 560px);
  justify-self: center;
}

.marketing-preview-wide {
  width: min(100%, 620px);
}

.marketing-overview {
  border-radius: 28px;
}

.marketing-sample-card {
  background: #fffaf3;
}

.marketing-sample-cover {
  height: clamp(160px, 20vw, 220px);
}

.marketing-menu-card {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  padding: 10px;
}

.marketing-menu-card img {
  width: 74px;
  height: 74px;
}

.marketing-menu-card strong {
  font-size: 0.98rem;
}

.marketing-menu-card span,
.marketing-menu-card small {
  font-size: 0.78rem;
}

.marketing-card-instance {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.marketing-card-instance > img {
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  object-fit: cover;
}

.marketing-card-instance-body {
  display: grid;
  gap: 20px;
  padding: 22px;
}

.marketing-card-instance-body small {
  color: #0f3c36;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.marketing-card-instance-body h3 {
  margin: 6px 0 0;
  color: #1f1a17;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.marketing-card-instance-body p {
  margin: 10px 0 0;
  color: #62564c;
  line-height: 1.5;
}

.marketing-card-instance-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketing-card-instance-meta span {
  border-radius: 999px;
  background: #efe7dc;
  color: #0f3c36;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.marketing-detail-card-large .marketing-detail-image {
  height: clamp(230px, 28vw, 340px);
}

.marketing-detail-card-large .marketing-detail-body {
  padding: clamp(18px, 3vw, 28px);
}

.marketing-detail-card-large .marketing-detail-body h3 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.marketing-detail-card-large .marketing-detail-body p {
  font-size: 1rem;
}

.marketing-feature-section {
  padding: clamp(46px, 6vw, 78px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.marketing-feature-section .marketing-points {
  margin-top: 28px;
}

.marketing-final-cta {
  display: grid;
  gap: 22px;
  justify-items: center;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(7, 22, 20, 0.42);
  text-align: center;
  backdrop-filter: blur(12px);
}

.sample-real-preview {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: #faf7f1;
  color: var(--text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.sample-real-preview button:disabled,
.sample-real-preview input:disabled {
  cursor: default;
  opacity: 1;
}

.sample-real-overview {
  max-height: 840px;
  padding: 14px;
}

.sample-real-overview .hero {
  min-height: clamp(280px, 31vw, 360px);
  margin: 0 0 12px;
  border-radius: 24px;
}

.sample-real-overview .hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.sample-real-overview .toolbar-wrap {
  position: relative;
  top: auto;
  z-index: 2;
  margin: 0 -14px 14px;
}

.sample-real-overview .category-section {
  margin-bottom: 18px;
}

.sample-real-overview .items-grid,
.sample-real-item-card .items-grid {
  gap: 14px;
  grid-template-columns: 1fr;
}

.sample-real-item-card {
  background: transparent;
  box-shadow: none;
}

.sample-real-detail {
  background: transparent;
  box-shadow: none;
}

.sample-real-detail .modal-backdrop {
  position: relative;
  inset: auto;
  z-index: auto;
  display: flex;
  padding: 18px;
  background: rgba(31, 26, 23, 0.62);
  backdrop-filter: blur(10px);
  animation: none;
}

.sample-real-detail .item-modal {
  width: 100%;
  height: auto;
  max-height: none;
  animation: none;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, auto) minmax(0, 1fr);
}

.sample-real-detail .modal-body {
  border-left: none;
  color: var(--text);
  max-height: none;
}

.sample-real-detail .primary-button,
.sample-real-detail .icon-button {
  color: var(--text);
}

@media (min-width: 861px) {
  .marketing-hero-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketing-section {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.08fr);
  }

  .marketing-section-reversed .marketing-section-copy {
    grid-column: 2;
  }

  .marketing-section-reversed .marketing-preview {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 860px) {
  .menu-card-marketing {
    padding: 18px 14px 46px;
  }

  .marketing-hero-intro,
  .marketing-section {
    grid-template-columns: 1fr;
  }

  .marketing-hero-intro {
    min-height: auto;
    padding: 54px 0 46px;
  }

  .marketing-hero-intro .marketing-copy h1 {
    font-size: clamp(3.1rem, 11vw, 4.4rem);
  }

  .marketing-preview,
  .marketing-preview-wide {
    width: 100%;
  }

  .marketing-section {
    padding: 44px 0;
  }

  .marketing-section-copy.centered {
    text-align: left;
  }

  .marketing-overview {
    padding: 10px;
    border-radius: 22px;
  }

  .marketing-sample-cover {
    height: 172px;
  }

  .marketing-menu-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .marketing-menu-card img {
    width: 58px;
    height: 58px;
  }

  .marketing-menu-card strong {
    font-size: 0.84rem;
  }

  .marketing-menu-card span,
  .marketing-menu-card small {
    font-size: 0.7rem;
  }

  .marketing-card-instance > img,
  .marketing-detail-card-large .marketing-detail-image {
    height: 230px;
  }

  .marketing-points {
    grid-template-columns: 1fr;
  }

  .marketing-final-cta {
    justify-items: start;
    text-align: left;
  }
}
