/* Shared public-site header, 20 September review. The /flask task header is separate. */
/* Shared footer on the React-rendered public pages. */
.site-footer {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.2fr .8fr .8fr; gap: 48px;
  width: min(1320px, calc(100% - 80px)); margin: 0 auto;
  padding: 55px 0 max(55px, env(safe-area-inset-bottom));
  border-top: 1px solid #f2eee526; color: #f2eee5;
  font-family: "ALS Granate", sans-serif;
}
.site-footer > * { min-width: 0; }
.site-footer .footer-brand-logo { display: inline-flex; margin-bottom: 18px; }
.site-footer .footer-brand-logo img { display: block; width: 72px; height: 72px; object-fit: contain; }
.site-footer h2 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 520; line-height: 1.4; }
.site-footer p, .site-footer a { color: #c9c1b4; font-size: .85rem; line-height: 1.7; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #f1d79c; }
.site-footer a:focus-visible { outline: 2px solid #f1d79c; outline-offset: 4px; }
.site-footer__links { display: grid; align-content: start; gap: 7px; }
.site-footer__links a { width: fit-content; min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 860px) {
  .site-footer { width: calc(100% - 40px); grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 110px; }
  .site-footer > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .site-footer__links a { min-height: 44px; }
}
html[data-large-text="true"] .site-footer { grid-template-columns: minmax(0, 1fr); }
/* Compact mobile footer: one brand lockup, two useful link columns. */
@media (max-width: 860px) {
  body :is(.section-page__footer, .site-footer) {
    width: calc(100% - 40px); display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 24px 20px; padding: 32px 0 max(32px, env(safe-area-inset-bottom));
  }
  body .site-footer { padding-bottom: max(96px, env(safe-area-inset-bottom)); }
  body :is(.section-page__footer, .site-footer) > :first-child {
    grid-column: 1 / -1; display: grid;
    grid-template-columns: 52px minmax(0, 1fr); align-items: center;
    gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #f2eee526;
  }
  body :is(.section-page__footer, .site-footer) .footer-brand-logo { margin: 0; }
  body :is(.section-page__footer, .site-footer) .footer-brand-logo img { width: 52px; height: 52px; }
  body :is(.section-page__footer, .site-footer) h2 {
    margin: 0; font-size: 1.0625rem; font-weight: 560; line-height: 1.35; color: #f2eee5;
  }
  body :is(.section-page__footer, .site-footer) > :first-child p {
    grid-column: 1 / -1; margin: 0; color: #c9c1b4; font-size: .8125rem; line-height: 1.8;
  }
  body :is(.section-page__footer-links, .site-footer__links) { min-width: 0; gap: 0; }
  body :is(.section-page__footer-links, .site-footer__links) a {
    display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%;
    color: #c9c1b4; font-size: .8125rem; line-height: 1.5; padding: 6px 0;
    white-space: normal; overflow-wrap: anywhere;
  }
  body :is(.section-page__footer-links, .site-footer__links) a[href^="tel:"] { color: #f1d79c; font-weight: 600; }
  body :is(.section-page__footer-links, .site-footer__links) a:hover { color: #f1d79c; }
}
html[data-large-text="true"] body :is(.section-page__footer, .site-footer) { grid-template-columns: minmax(0, 1fr); }
html:root:has(.desktop-nav, .section-page__nav) { --header-h: 82px; --page-header: 82px; }
body :is(header.site-header:has(.desktop-nav), header.section-page__header) {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center; gap: 20px; height: var(--header-h); min-height: 82px;
  padding: 0 clamp(20px, 2.8vw, 48px); background: #080807;
  border-bottom: 1px solid #f2eee526;
}
body :is(header.site-header:has(.desktop-nav), header.site-header, header.section-page__header) > .header-extras { display: none; }
body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) {
  display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none;
}
body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) > img {
  width: 44px; height: 44px; object-fit: contain; flex-shrink: 0;
}
body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) > span { display: grid; gap: 4px; }
body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) strong {
  color: #f2eee5; font-size: .75rem; font-weight: 700; line-height: 1.2; letter-spacing: .16em;
}
body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) small {
  color: #d4ad67; font-size: .6rem; font-weight: 650; line-height: 1.35; letter-spacing: .19em;
}
body :is(.desktop-nav, .section-page__nav) { display: flex; justify-self: center; align-items: center; gap: clamp(12px, 1.4vw, 24px); }
body :is(.desktop-nav, .section-page__nav) > a {
  min-height: 44px; display: inline-flex; align-items: center;
  font-size: .68rem; font-weight: 650; letter-spacing: .06em; line-height: 1.35;
}
body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book, .header-mix) {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 0; min-height: 44px; height: auto; max-width: 100%; padding: 12px 16px;
  border: 1px solid #d4ad6780; border-radius: 999px;
  color: #f1d79c; background: #10100e; font: inherit;
  font-size: .68rem; font-weight: 750; letter-spacing: .035em; line-height: 1.3;
  white-space: normal; text-align: center; text-transform: uppercase; text-decoration: none;
}
body :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix { background: #f1d79c; color: #080807; border-color: #f1d79c; }
body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book, .header-mix):hover { border-color: #f1d79c; }
@media (min-width: 861px) and (max-width: 1199px) {
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) { gap: 12px; padding-inline: 20px; }
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) > span { display: none; }
  body :is(.desktop-nav, .section-page__nav) { gap: 12px; }
}
@media (max-width: 860px) {
  html:root:has(.desktop-nav, .section-page__nav) { --header-h: calc(84px + 2.75rem + env(safe-area-inset-top)); --page-header: var(--header-h); }
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 64px minmax(44px, 1fr);
    gap: 0 10px; padding: env(safe-area-inset-top) 20px 12px; height: var(--header-h);
  }
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.menu-toggle, .section-page__menu-toggle) { grid-column: 2; grid-row: 1; justify-self: end; display: grid; width: 44px; height: 44px; }
  body :is(.desktop-nav, .section-page__nav) { display: none; }
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix { grid-column: 1; grid-row: 2; }
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book) { grid-column: 2; grid-row: 2; }
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book, .header-mix) { display: block; padding: 8px 6px; font-size: .6875rem; letter-spacing: 0; overflow-wrap: anywhere; }
  body .mobile-nav-shell { padding-top: var(--header-h); }
}
/* Same whole-site motion setting, short visible label and explicit accessible name. */
body :is(.offers-motion, .public-motion, .space-motion, .motion-toggle) { font-size: .75rem; padding: 10px 13px; min-height: 44px; }
body .space-motion > span[aria-hidden] { display: none; }
/* One progress rule under the hero labels; no second decorative rule. */
.site .hookah-story:not(.hookah-story--static) .hookah-story__steps { border: 0; padding-top: 10px; background: #080807b3; }
.site .hookah-story__progress span { box-shadow: none; }
.site .hookah-story__steps li[aria-current=step] { color: #f1d79c; }
/* Fade only the empty photograph perimeter. The central flask is untouched. */
.odeon-mix-story .mix-story__frame--flask { display: flex; align-items: center; justify-content: center; }
.odeon-mix-story .mix-story__frame--flask img {
  flex: 0 1 auto; width: auto; height: 100%; max-width: 100%; aspect-ratio: 1; object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* Text enlargement keeps controls and content in normal flow. */
  html:root[data-large-text="true"]:has(.desktop-nav, .section-page__nav) { --header-h: calc(84px + 2.75rem + env(safe-area-inset-top)); --page-header: var(--header-h); }
  html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 64px minmax(44px, 1fr);
    gap: 0 10px; padding: env(safe-area-inset-top) 20px 12px; height: var(--header-h);
  }
  html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.menu-toggle, .section-page__menu-toggle) { grid-column: 2; grid-row: 1; justify-self: end; display: grid; width: 44px; height: 44px; }
  html[data-large-text="true"] body :is(.desktop-nav, .section-page__nav) { display: none; }
  html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix { grid-column: 1; grid-row: 2; }
  html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book) { grid-column: 2; grid-row: 2; }
  html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book, .header-mix) { display: block; padding: 8px 6px; font-size: .6875rem; letter-spacing: 0; overflow-wrap: anywhere; }
  html[data-large-text="true"] body .mobile-nav-shell { padding-top: var(--header-h); }

html:root[data-large-text="true"]:has(.desktop-nav, .section-page__nav) {
  --header-h: calc(4.75rem + 70px + env(safe-area-inset-top)); --page-header: var(--header-h);
}
html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) {
  grid-template-rows: minmax(3rem, 1fr) minmax(2.75rem, auto);
  padding-inline: 20px; gap: 6px 10px;
}
html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) {
  max-width: calc(100% - 56px); justify-self: start;
}
html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) > span {
  display: grid; min-width: 0; white-space: normal;
}
html[data-large-text="true"] body :is(.brand, .section-page__brand) :is(strong, small) { white-space: normal; overflow-wrap: anywhere; }
html[data-large-text="true"] .site .hookah-story {
  height: auto; padding-top: var(--header-h);
}
html[data-large-text="true"] .site .hookah-story__sticky {
  position: relative; top: auto; height: auto; min-height: 0;
  display: flex; flex-direction: column; gap: 28px; padding: 28px 20px;
  overflow: visible;
}
html[data-large-text="true"] .site .hookah-story__intro {
  position: relative; inset: auto; width: min(100%, 960px); margin: 0 auto;
  opacity: 1 !important; transform: none !important; pointer-events: auto !important;
}
html[data-large-text="true"] .site .hookah-story__weekly {
  position: relative; inset: auto; width: min(100%, 960px); margin: 0 auto;
}
html[data-large-text="true"] .site .hookah-story__steps {
  position: relative; inset: auto; width: min(100%, 960px); margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr)); opacity: 1 !important; transform: none;
}
html[data-large-text="true"] .site .hookah-story__steps li > div { position: static; width: auto; height: auto; clip: auto; clip-path: none; }
html[data-large-text="true"] .site .hookah-story__steps p { display: none; }
html[data-large-text="true"] .site :is(.hookah-story__current, .hookah-story__preview-strip, .hookah-story__scroll-cue, .hookah-story__stage-cta, .hookah-story__progress) { display: none; }
html[data-large-text="true"] .site .hookah-story__sticky::after { background: #080807c9; }
html[data-large-text="true"] .mix-page .mix-app { padding-top: var(--header-h); }

/* The compact menu must remain visible and scrollable on wide text-enlarged pages. */
html[data-large-text="true"] .menu-toggle{border:1px solid var(--line-gold);cursor:pointer;background:#08080773;border-radius:50%;place-content:center;gap:7px;width:44px;height:44px;padding:0;display:grid}
html[data-large-text="true"] .menu-toggle span{background:var(--ivory);width:17px;height:1px;transition:transform .18s;display:block}
html[data-large-text="true"] .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px)rotate(45deg)}
html[data-large-text="true"] .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px)rotate(-45deg)}
html[data-large-text="true"] .mobile-nav-shell{display:block}
html[data-large-text="true"] .mobile-nav-shell nav{max-width:540px;margin-inline:auto;display:grid}
html[data-large-text="true"] .mobile-nav-shell a{border-bottom:1px solid var(--line);min-height:76px;font-family:var(--serif);grid-template-columns:44px 1fr;align-items:center;font-size:2.2rem;display:grid}
html[data-large-text="true"] .mobile-nav-shell a small{color:var(--gold);font-family:var(--sans);font-size:.66rem;font-weight:800}
html[data-large-text="true"] .mobile-nav-shell button{border:1px solid var(--gold);background:var(--gold);min-height:58px;color:var(--ink);letter-spacing:.12em;text-transform:uppercase;justify-content:space-between;align-items:center;margin-top:34px;padding-inline:20px;font-size:.72rem;font-weight:800;display:flex}
html[data-large-text="true"] .mobile-nav-shell .mobile-nav-close{z-index:2;border:1px solid var(--line-gold);width:44px;height:44px;min-height:44px;color:var(--ivory);letter-spacing:0;background:#080807b8;border-radius:50%;place-content:center;margin:0;padding:0;font-size:1.35rem;font-weight:300;line-height:1;display:grid;position:absolute;top:14px;right:20px}
html[data-large-text="true"] .mobile-nav-shell .header-extras--menu{gap:0;margin-top:6px;display:grid}
html[data-large-text="true"] .mobile-nav-shell .header-extras--menu a{border:0;border-bottom:1px solid var(--line);min-height:60px;color:var(--ivory-soft);font-family:var(--sans);letter-spacing:.12em;text-transform:uppercase;background:0 0;border-radius:0;grid-template-columns:44px 1fr;align-items:center;gap:0;padding:0;font-size:.72rem;font-weight:800;display:grid}
html[data-large-text="true"] .mobile-nav-shell .header-extras--menu .header-rating span{color:var(--ivory-soft);white-space:normal;border-left:0;padding-left:0;font-size:.72rem;display:inline}
html[data-large-text="true"] .mobile-nav-shell .header-extras--menu .header-rating span:before{content:"5,0 · ";color:var(--gold-bright)}
html[data-large-text="true"] .mobile-nav-shell .header-extras--menu .header-social{width:auto;height:auto}
html[data-large-text="true"] .mobile-nav-shell .header-extras--menu svg{justify-self:start}
html[data-large-text="true"] .mobile-nav-shell { overflow-y: auto; overscroll-behavior: contain; max-height: 100dvh; }

/* Review annotation: center the anchor label just like the neighbouring button. */
@media (max-width: 860px) {
  body :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix {
    display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; align-content: center;
  }
}
html[data-large-text="true"] body :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; align-content: center;
}
/* The animated benefit rail sits at the lower frame, not above the empty preview-strip reserve. */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  html:not([data-large-text="true"]) .site .hookah-story:not(.hookah-story--static) .hookah-story__steps { bottom: 32px; }
  html:not([data-large-text="true"]) .site .hookah-story:not(.hookah-story--static) .hookah-story__progress { bottom: 26px; }
}

/* 26.10.2026 (Farid): «Меню» button in the header + one-line header on scroll.
   /menu (.mp-page) and /constructor (.hk-page) already have a one-line header. */
body :is(header.site-header:has(.desktop-nav), header.section-page__header) > .header-menu-btn {
  display: none; align-items: center; justify-content: center;
  min-width: 0; min-height: 44px; padding: 8px 4px;
  border: 1px solid #d4ad6780; border-radius: 999px;
  color: #f1d79c; background: #10100e; font: inherit;
  font-size: .6875rem; font-weight: 750; letter-spacing: 0; line-height: 1.25;
  text-transform: uppercase; text-align: center; text-decoration: none; white-space: nowrap;
}
body :is(header.site-header:has(.desktop-nav), header.section-page__header) > .header-menu-btn:hover { border-color: #f1d79c; }
body :is(header.site-header:has(.desktop-nav), header.section-page__header) > .header-menu-btn:focus-visible { outline: 2px solid #f1d79c; outline-offset: 3px; }
/* Desktop: «Меню» is already in the top line, it gets the button frame there. */
@media (min-width: 861px) {
  body :is(.desktop-nav, .section-page__nav) > a[href="/menu"] {
    min-height: 40px; padding: 0 14px;
    border: 1px solid #d4ad6780; border-radius: 999px; color: #f1d79c;
  }
  body :is(.desktop-nav, .section-page__nav) > a[href="/menu"]:hover { border-color: #f1d79c; }
}
/* Phone and tablet, full header: second row is Меню | Собрать свою чашу | Забронировать. */
@media (max-width: 860px) {
  html:root:not(.hdr-compact):not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1.25fr); gap: 0 8px;
  }
  html:root:not(.hdr-compact):not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.menu-toggle, .section-page__menu-toggle) { grid-column: 3; }
  html:root:not(.hdr-compact):not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) > .header-menu-btn { display: flex; grid-column: 1; grid-row: 2; }
  html:root:not(.hdr-compact):not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix { grid-column: 2; grid-row: 2; }
  html:root:not(.hdr-compact):not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book) { grid-column: 3; grid-row: 2; }
  html:root:not(.hdr-compact):not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book, .header-mix, .header-menu-btn) {
    padding: 8px 4px; overflow-wrap: normal; align-self: stretch;
  }
  /* /constructor: logo · Меню · Забронировать · ☰ in its one-line header. */
  html body.hk-page header.section-page__header { grid-template-columns: minmax(0, 1fr) auto auto 44px; }
  html body.hk-page header.section-page__header > .header-menu-btn { display: inline-flex; grid-column: 2; grid-row: 1; padding: 0 14px; }
  html body.hk-page header.section-page__header .section-page__book { grid-column: 3; }
  html body.hk-page header.section-page__header .section-page__menu-toggle { grid-column: 4; }
}
@media (max-width: 374px) {
  html:root:not(.hdr-compact):not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book, .header-mix, .header-menu-btn) { font-size: .625rem; }
  html body.hk-page header.section-page__header { gap: 0 6px; }
  html body.hk-page header.section-page__header :is(.header-menu-btn, .section-page__book) { padding: 0 10px; font-size: .625rem; }
}

/* One-line header after scrolling (html.hdr-compact is set by site-navigation-v2.js). */
body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) {
  overflow: hidden;
  transition: height .32s cubic-bezier(.22,.61,.36,1), min-height .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease;
}
body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) > img {
  transition: width .32s cubic-bezier(.22,.61,.36,1), height .32s cubic-bezier(.22,.61,.36,1);
}
html.hdr-instant body :is(header.site-header:has(.desktop-nav), header.site-header, header.section-page__header),
html.hdr-instant body :is(header.site-header:has(.desktop-nav), header.site-header, header.section-page__header) * { transition: none !important; animation: none !important; }
@keyframes hdr-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) {
    grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-rows: 60px; gap: 0 10px;
    height: calc(60px + env(safe-area-inset-top)); min-height: 0;
    padding: env(safe-area-inset-top) 16px 0;
    box-shadow: 0 10px 24px rgb(0 0 0 / 35%);
  }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) { grid-column: 1; grid-row: 1; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) > img { width: 38px; height: 38px; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix { display: none; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-menu-btn, .header-book, .section-page__book) {
    display: inline-flex; align-items: center; gap: 6px; grid-row: 1; justify-self: end;
    min-height: 40px; height: 40px; padding: 0 14px;
    font-size: .66rem; letter-spacing: .08em; white-space: nowrap;
  }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) > .header-menu-btn { grid-column: 3; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book) { grid-column: 4; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.menu-toggle, .section-page__menu-toggle) { grid-column: 5; grid-row: 1; width: 44px; height: 44px; }
  html.hdr-compact.hdr-anim:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-menu-btn, .header-book, .section-page__book) { animation: hdr-pop .3s cubic-bezier(.22,.61,.36,1) both; }
  html.hdr-anim:not(.hdr-compact):not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-menu-btn, .header-mix, .header-book, .section-page__book) { animation: hdr-pop .3s cubic-bezier(.22,.61,.36,1) both; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) .section-page__mobile-nav { top: calc(60px + env(safe-area-inset-top)); }
  /* The one-line header already has «Забронировать»: no floating copy while it is shown. */
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(.section-page__floating-book, .mobile-book) { display: none !important; }
}
@media (max-width: 480px) {
  /* On a phone the one-line header shows only the logo mark, like /menu. */
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) > span { display: none; }
}
@media (max-width: 374px) {
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) { gap: 0 6px; padding-inline: 12px; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-menu-btn, .header-book, .section-page__book) { padding: 0 10px; letter-spacing: .02em; font-size: .625rem; }
}
@media (min-width: 861px) {
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) {
    height: 60px; min-height: 60px; box-shadow: 0 10px 28px rgb(0 0 0 / 35%);
  }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) > img { width: 36px; height: 36px; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.brand, .section-page__brand) small { display: none; }
  /* The bright pill becomes a quiet text link; desktop has no burger. */
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix {
    min-height: 36px; padding: 6px 10px;
    background: transparent; border-color: transparent; color: rgb(242 238 229 / 72%); font-size: .64rem;
  }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) .header-mix:hover { color: #f1d79c; border-color: transparent; }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(header.site-header:has(.desktop-nav), header.section-page__header) :is(.header-book, .section-page__book) {
    min-height: 38px; padding: 8px 18px; font-size: .64rem;
  }
  html.hdr-compact:not([data-large-text="true"]) body:not(.mp-page):not(.hk-page) :is(.desktop-nav, .section-page__nav) > a { min-height: 40px; }
}
/* Home: the sticky ODEON MIX scene sits right under the one-line header. */
html.hdr-compact:not([data-large-text="true"]) .mix-story__sticky { top: 60px; height: calc(100svh - 60px); }
@media (max-width: 860px) {
  html.hdr-compact:not([data-large-text="true"]) .mix-story__sticky { top: calc(60px + env(safe-area-inset-top)); height: calc(100svh - 60px - env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion: reduce) {
  body :is(header.site-header:has(.desktop-nav), header.site-header, header.section-page__header), body :is(header.site-header, header.section-page__header) * { transition: none !important; animation: none !important; }
}

/* 08.11.2026, Фарид: подсветка у «Забронировать», «Собрать свою чашу» — контурная */
body :is(header.site-header:has(.desktop-nav), header.site-header, header.section-page__header) :is(.header-book, .section-page__book) { background: #f1d79c; color: #080807; border-color: #f1d79c; }
body :is(header.site-header:has(.desktop-nav), header.site-header, header.section-page__header) :is(.header-book, .section-page__book):hover { background: #080807; color: #f1d79c; border-color: #f1d79c; }
body :is(header.site-header:has(.desktop-nav), header.site-header, header.section-page__header) .header-mix { background: rgba(212,173,103,.08); color: #f1d79c; border-color: rgba(212,173,103,.5); }
body :is(header.site-header:has(.desktop-nav), header.site-header, header.section-page__header) .header-mix:hover { background: #f1d79c; color: #080807; border-color: #f1d79c; }
