/* Favorit: consistent page opening width, heading type scale and grid alignment.
   Based on the existing homepage 1620px canvas; no changes to menu/cards/forms. */
:root {
  --fv-grid-max:1620px;
  --fv-grid-inset:clamp(18px,3.5vw,52px);
  --fv-page-h1:clamp(48px,5.2vw,85px);
  --fv-section-h2:clamp(34px,3.2vw,54px);
}

/* First-screen and subsequent main content: share the homepage outer grid. */
.hero .hero-inner.wrap,
.catalog-shell.wrap,
.fv-site .site-wrap,
.fv-contacts-page .wrap:not(.hero),
body#top .wrap:not(.hero) {
  box-sizing:border-box;
  width:100%;
  max-width:var(--fv-grid-max);
  margin-inline:auto;
  padding-inline:var(--fv-grid-inset);
}
/* Business lunch intro is an inset grid inside a 1620px photo canvas. */
.fv-site main > section.hero .hero-grid {
  box-sizing:border-box;
  width:100%;
  max-width:var(--fv-grid-max);
  padding-inline:var(--fv-grid-inset);
}
/* Contacts already has the correct photo canvas: align content underneath. */
.fv-contacts-page > .hero.wrap {
  width:100%;
  max-width:var(--fv-grid-max);
  padding-inline:var(--fv-grid-inset);
}

/* Match the main headings to the homepage's fluid H1 scale. */
.hero h1,
.fv-site .fv-banquet-title,
.fv-site .fv-extra-title {
  font-family:"Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  font-size:var(--fv-page-h1);
  font-weight:400;
  line-height:.99;
  letter-spacing:-.055em;
}

/* Main H2 headings, but not menu categories, carts, card labels or subheads. */
.section-title,
.fv-site .fv-section-heading,
.buffet.wrap h2,
.blockhead h2,
.fv-site .lunch-plans-head h2,
.fv-site .menu-intro > h2,
.fv-site .restaurant-note > h2,
.contact-titlebar h2,
.social-head h2,
.map-info > h2,
.fv-site .fv-app .fv-hero-text > h2 {
  font-family:"Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  font-size:var(--fv-section-h2);
  font-weight:400;
  line-height:1.12;
  letter-spacing:-.04em;
}

@media(max-width:1250px) and (min-width:1001px) {
  :root{--fv-page-h1:clamp(46px,5vw,72px)}
}
@media(max-width:1000px) and (min-width:581px) {
  :root{--fv-page-h1:clamp(54px,6.5vw,80px)}
}
@media(max-width:580px) {
  :root{--fv-page-h1:clamp(45px,10.5vw,66px);--fv-section-h2:clamp(32px,8.8vw,42px)}
}
/* Keep small-screen photo blends and their text content grid in sync. */
@media(max-width:760px) {
  .fv-site main > section.hero .hero-grid {
    width:100%;
    max-width:var(--fv-grid-max);
    padding-inline:var(--fv-grid-inset);
  }
}

/* Menu redesign has a more specific legacy title rule; use common H2 scale. */
.catalog-shell .section-title{font-size:var(--fv-section-h2)}

































































/* Favorit v2: one elegant serif family and the same typography scale as RU.
 * CJK web font subsets are self-hosted, never fetched from Google Fonts.
 * Chinese text gets consistent fonts even on page areas outside .fv-site.
 * No change to Russian or English CSS.
 */
html[lang="zh-CN"] body,
html[lang="zh-CN"] body *:not(svg):not(path) {
    font-family:"Favorit Serif CN", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif !important;
}
html[lang="zh-CN"] h1,
html[lang="zh-CN"] .fv-site h1,
html[lang="zh-CN"] .fv-site .fv-home-title,
html[lang="zh-CN"] .fv-site .fv-banquet-title,
html[lang="zh-CN"] .fv-site .fv-extra-title {
    font-size:var(--fv-page-h1) !important;
    line-height:.99 !important;
    font-weight:400 !important;
    letter-spacing:-.02em !important;
}
/* H2, body copy and card text retain the original RU sizes and spacing;
 * we only unify their Chinese font family, not their layout. */
html[lang="zh-CN"] .fv-site .fv-lang-control button {
    font-family:Arial,"Favorit Serif CN",sans-serif !important;
}
html[lang="zh-CN"] .fv-site .fv-zh-approx-note {
    font-family:"Favorit Serif CN",Georgia,serif !important;
}

.fv-site[data-fv-lang="zh"] .fv-en {display:none !important}
.fv-site[data-fv-lang="zh"] .fv-ru {display:inline}
.fv-site .fv-lang-control button[data-fv-set-lang="zh"] {min-width:37px;white-space:nowrap;font-size:13px}
.fv-site .fv-zh-approx-note {
  display:flex;align-items:flex-start;gap:9px;
  margin:0 auto 10px;
  max-width:1620px;
  padding:10px clamp(18px,3.5vw,52px);
  border-top:1px solid #dac8a8;
  border-bottom:1px solid #dac8a8;
  background:#fff5dc;
  color:#68451f;
  font:500 13px/1.55 "Noto Sans CJK SC","Microsoft YaHei","PingFang SC",Arial,sans-serif;
}
.fv-site .fv-zh-approx-note[hidden] {display:none !important}
.fv-site .fv-zh-approx-note strong {font-weight:700}
.fv-site .fv-zh-note-mark {display:flex;align-items:center;justify-content:center;
  flex:none;width:24px;height:24px;background:#8a632c;color:#fff;border-radius:5px}
@media(max-width:580px){
 .fv-site .fv-lang-control{gap:3px}
 .fv-site .fv-lang-control button {padding:8px 2px;min-width:22px}
 .fv-site .fv-lang-control button[data-fv-set-lang="zh"]{min-width:34px}
 .fv-site .fv-zh-approx-note {font-size:12px;gap:7px;padding-block:8px;margin-bottom:6px}
}
