:root {
  --ink: #161616;
  --muted: #6b6b6b;
  --line: #eceae6;
  --paper: #f6f5f2;
  --card: #fff;
  --accent: #e85d3a;
  --accent-soft: #fff1ec;
  --chip: #eef3fb;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 Manrope, sans-serif;
}
a { color: inherit; }
a:hover { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: 40px; line-height: 1.15; }
.h1_main { font-weight: 800; margin-bottom: 8px; }
.container { max-width: 1040px; }

.navbar {
  background: #fff !important;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar-brand {
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 18px;
  color: var(--ink) !important;
}
.navbar-brand span { color: var(--accent); }
.menu-brand{
  display:flex;align-items:center;gap:10px;margin-right:16px;flex-shrink:0;min-width:0;
}
.menu-brand-logo{display:flex;align-items:center;line-height:0;}
.menu-brand-logo img{height:28px;width:auto;display:block;}
.menu-brand-slash{color:#A29D93;font-size:22px;font-weight:500;line-height:1;}
.menu-brand-prod{
  font-weight:800;letter-spacing:-.03em;font-size:18px;color:var(--ink);line-height:1;
  white-space:nowrap;
}
.menu-brand-prod:hover{opacity:.72;}
.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: #3a3a3a !important;
  border-radius: 10px;
  padding: 8px 12px !important;
}
.nav-item.active .nav-link,
.nav-link:hover { background: var(--paper); color: var(--ink) !important; }
.navbar .form-control {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  height: 40px;
  min-width: 190px;
}
.navbar .form-control:focus {
  background: #fff;
  border-color: #ddd;
  box-shadow: none;
}
.navbar .btn-outline-success {
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  height: 40px;
  padding: 0 16px;
}
.navbar .btn-outline-success:hover { background: #000; color: #fff; }
.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  padding: 6px;
}
.dropdown-item { border-radius: 8px; font-weight: 600; font-size: 14px; }
.dropdown-item:hover { background: var(--paper); }

.home-block, .menu-page, .page-block { padding-top: 18px; }
h4 { font-size: 18px; margin: 22px 0 12px; }

.dish-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
}
.dish-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22,22,22,.08);
}
.foodimg1 {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
  background: #eee;
}
.food {
  font-size: 14px;
  font-weight: 600;
  margin: auto 0 0;
  padding: 12px 12px 14px;
}

.cate1 {
  background: var(--card);
  border: 1px solid var(--line);
  width: 100%;
  min-height: 72px;
  border-radius: 14px;
  margin-top: 12px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
}
.cate1:hover { border-color: #f0c2b6; background: var(--accent-soft); }

.allmenu_button {
  background: var(--ink);
  color: #fff;
  width: 100%;
  border-radius: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
}
a:hover .allmenu_button { background: #000; color: #fff; }

.container-bg-5 {
  background: #1c1c1c;
  color: #fff;
  margin: 28px 16px 0;
  border-radius: 22px;
  padding: 36px 0;
}
.container-bg-5 h4 { color: #fff; }
.container-bg-5 a { color: #fff; }
.container-bg-5 img {
  width: 148px;
  height: auto;
  border-radius: 12px;
  margin: 8px 8px 0 0;
}
.r_mob, .r3 {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 800;
}
.r3 { background: #eceae6; }
.container-bg-3 {
  background: #fff;
  border: 1px solid var(--line);
  margin: 16px;
  border-radius: 22px;
  padding: 32px 0;
}
.pitch { text-align: center; padding: 36px 16px 12px; }
.pitch h1 { font-size: 28px; max-width: 720px; margin: 0 auto 10px; }
.pitch p { color: var(--muted); }
.btn_mail {
  border-radius: 12px;
  border: 0;
  background: var(--ink);
  padding: 12px 18px;
  color: #fff !important;
  margin-top: 8px;
  display: inline-block;
  font-weight: 700;
}
.btn_mail:hover { background: #000; color: #fff !important; }

.menu-page { padding-bottom: 24px; }
.menu-page .bl1 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
}
.menu-page .bl1 p { color: var(--muted); margin: 0 0 14px; }
.menu-page h1 { font-size: 34px; margin-bottom: 8px; }
.cat-nav-sticky {
  position: sticky;
  top: 64px;
  z-index: 14;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(246, 245, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 10px -8px 0;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
.cat-nav-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  white-space: nowrap;
}
.cat-nav-count b { color: var(--ink); }
.cat-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.ml {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  flex-shrink: 0;
  color: #444 !important;
  text-transform: none;
  font-weight: 600;
  font-size: 13px;
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 12px;
}
.ml.is-on,
.ml.is-on:hover {
  background: var(--ink);
  color: #fff !important;
}
.ml.is-on em {
  background: var(--accent-soft);
  color: var(--accent);
}
.ml em {
  font-style: normal;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 1px 6px;
}
.ml:hover { background: var(--accent-soft); color: var(--accent) !important; }
.cat-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  margin-top: 14px;
  scroll-margin-top: 140px;
}
.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.cat-head h2 {
  font-size: 20px;
  margin: 0;
}
.cat-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.dish-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.dish-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  background: var(--paper);
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid transparent;
}
.dish-tile:hover {
  background: #fff;
  border-color: #f0c2b6;
}
.dish-tile img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}
.dish-tile-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.dish-tile-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.dish-tile-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  min-width: 0;
}
.dish-tile-places {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.dish-tile-meta {
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}
@media (min-width: 768px) {
  .dish-grid { grid-template-columns: repeat(3, 1fr); }
}

.crumb { margin: 8px 0 14px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--accent); font-weight: 600; }
.cat { text-transform: lowercase; }

.offer-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.offer-row + hr { display: none; }
.offer-price { flex: 0 0 108px; min-width: 96px; }
.offer-row h4 {
  margin: 0;
  font-size: 18px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.offer-name { flex: 1; min-width: 0; }
.offer-name b { font-weight: 600; line-height: 1.35; }
.offer-place {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  max-width: 42%;
  min-width: 0;
  flex-shrink: 0;
}
.offer-net {
  margin-left: auto;
  max-width: 46%;
  min-width: 0;
  flex-shrink: 0;
}
.offer-net > summary.offer-place {
  margin-left: 0;
  max-width: 100%;
  width: 100%;
  list-style: none;
  cursor: pointer;
}
.offer-net > summary.offer-place::-webkit-details-marker { display: none; }
.offer-branches {
  margin: 8px 0 0;
  padding: 6px 0;
  list-style: none;
  max-height: 240px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.offer-branches a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
}
.offer-branches a:hover { background: #f7f5f0; }
.offer-branches b { font-size: 13.5px; font-weight: 600; }
.rest-net { margin-bottom: 8px; }
.rest-net > summary.rest-link {
  list-style: none;
  cursor: pointer;
  margin-bottom: 0;
}
.rest-net > summary.rest-link::-webkit-details-marker { display: none; }
.rest-branches { margin: 6px 0 10px; }
.offer-place:hover .offer-place-name { color: var(--accent); }
.offer-place-meta {
  min-width: 0;
  text-align: right;
}
.offer-place-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-place-meta .note {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-hist { margin-top: 8px; text-align: left; display: inline-block; }
.offer-hist summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  user-select: none;
}
.offer-hist summary:hover { color: var(--accent); }
.offer-hist ol { list-style: none; margin: 8px 0 0; padding: 0; }
.offer-hist li {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 8px;
  align-items: baseline;
  font-size: 12.5px;
  padding: 3px 0;
  color: var(--ink);
}
.offer-hist-date { color: var(--muted); font-variant-numeric: tabular-nums; }
.offer-hist-price em { font-style: normal; color: var(--muted); font-weight: 500; }
.offer-hist-diff { font-weight: 600; font-variant-numeric: tabular-nums; }
.offer-hist-diff.is-up { color: #c45c26; }
.offer-hist-diff.is-down { color: #1e7a50; }
.note { color: var(--muted); font-size: 13px; }

.rest1 {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 20px;
  border-radius: 18px;
}
.rest1 h1 { margin-bottom: 8px; }
.rest1 b {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.rest2 {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 20px 18px;
  border-radius: 18px;
  margin-top: 14px;
}
.rest2 h2 { font-size: 22px; margin: 14px 0; }
.menu-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.menu-line a:hover { color: var(--accent); }
.rest-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.rest-photo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}
.rest-hero {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
  background: #eee;
}
.offer-dish { display: flex; align-items: center; gap: 12px; }
.offer-photo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}
.offer-photo-empty { display: block; }
@media (max-width: 640px) {
  .offer-row { flex-wrap: wrap; gap: 10px 14px; }
  .offer-price { flex: 0 0 auto; }
  .offer-name { flex: 1 1 160px; }
  .offer-place { max-width: 100%; width: 100%; justify-content: flex-end; }
  .offer-net { max-width: 100%; width: 100%; }
  .offer-branches { left: 0; right: 0; min-width: 0; }
}
.rest-link:hover { border-color: #f0c2b6; }
.rest-link small {
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 8px;
  font-weight: 700;
  font-size: 12px;
}
.rest-link .addr { color: var(--muted); font-size: 13px; }

.footer {
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0 40px;
  margin-top: 12px;
}
.footer a { color: var(--ink); font-weight: 600; }
.accent { color: var(--accent); }

@media (max-width: 600px) {
  h1, .h1_main { font-size: 28px; }
  .pitch h1 { font-size: 22px; }
  .container-bg-3, .container-bg-5 { margin: 12px 8px; }
  .navbar .form-control { min-width: 0; width: 100%; margin-bottom: 8px; }
  .foodimg1 { height: 110px; }
}
