/* ============================================================
   Matin - кав'ярня · стилі
   Напрям: тиха «редакційна» розкіш - тепла кремова бумага,
   еспресо-чорний, приглушена латунь, тонкі лінії замість тіней.
   ============================================================ */

/* ---------- CSS-змінні (палітра, типографіка) ---------- */
:root {
  /* Палітра */
  --paper: #F3EDE3;      /* тепла кремова основа */
  --paper-2: #EAE1D3;    /* глибший крем для поверхонь */
  --ink: #1E1814;        /* еспресо-чорний - текст */
  --ink-soft: #4A3F37;   /* вторинний текст */
  --muted: #8C8074;      /* підписи */
  --roast: #6B4A33;      /* обсмажене зерно */
  --brass: #A6814D;      /* латунь - акцент */
  --brass-soft: #CDB48D;
  --sage: #7F8670;
  --night: #17120F;      /* темні секції */
  --shade: #17120F;      /* тінь для накладань на фото */
  --line: rgba(30, 24, 20, 0.14);
  --line-light: rgba(243, 237, 227, 0.16);

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 48px);
  --gutter-wide: clamp(20px, 4.5vw, 96px);  /* шапка й головний екран — на всю ширину */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 76px;
}

/* ---------- Базове ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: var(--paper); }

img { display: block; max-width: 100%; }
img[hidden] { display: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}
em { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
}
/* Меню йде одразу після смуги з написами — зверху без великого порожнього місця */
.menu.section { padding-top: clamp(40px, 4.5vw, 64px); }

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 4px;
}

/* ---------- Заголовки секцій ---------- */
.shead {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 28px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
/* Лінія, що «прокреслюється» при появі */
.shead::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-in-out) 0.1s;
}
.shead.is-visible::before { transform: scaleX(1); }

.shead__kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.shead__title {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  color: var(--ink);
  max-width: 20ch;
}

/* ---------- Анімація появи (scroll reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Посилання зі стрілкою ---------- */
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: right;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.link-arrow:hover::after {
  animation: underline 0.8s var(--ease) forwards;
}
@keyframes underline {
  0% { transform: scaleX(1); transform-origin: right; opacity: 0.35; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; opacity: 1; }
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform 0.5s var(--ease);
}
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); }

/* ---------- Кнопка ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
/* Заливка «піднімається» знизу */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: currentColor;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform 0.5s var(--ease);
}
.btn:hover svg { transform: translate(3px, -3px); }

.btn--light { color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--night); border-color: var(--paper); }
.btn--light:hover::before { transform: translateY(0); }

/* Шапка й головний екран займають усю ширину екрана (без порожніх полів на великих моніторах) */
.nav .container,
.hero .container {
  max-width: none;
  padding-left: var(--gutter-wide);
  padding-right: var(--gutter-wide);
}

/* ============================================================
   Навігація
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 100;
  color: var(--paper);
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    transform 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__sub {
  display: block;
  margin-top: 6px;
  min-height: 1em;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
  max-height: 2em;
  overflow: hidden;
  transition: opacity 0.4s var(--ease), max-height 0.5s var(--ease), margin 0.5s var(--ease);
}
/* При скролі підпис ховається — шапка стає компактною */
.nav.is-scrolled .nav__sub { opacity: 0; max-height: 0; margin-top: 0; }
.nav.menu-open .nav__sub { opacity: 0.85; }
.nav__logo {
  position: relative;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: font-size 0.5s var(--ease);
}
.nav__links {
  display: flex;
  gap: 40px;
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.86;
  transition: opacity 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Стан при скролі */
.nav.is-scrolled {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav.is-scrolled .nav__logo { font-size: 1.6rem; }
/* Ховаємо при скролі вниз, показуємо при скролі вгору */
.nav.is-hidden { transform: translateY(-100%); }

/* Бургер */
.nav__burger {
  position: relative;
  z-index: 2;
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.nav__burger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  background: var(--night);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: -6% 0 0 0;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  animation: heroZoom 2.8s var(--ease) 0.05s forwards;
}
@keyframes heroZoom {
  to { transform: scale(1.02); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--shade) 50%, transparent) 0%, color-mix(in srgb, var(--shade) 30%, transparent) 30%, color-mix(in srgb, var(--shade) 72%, transparent) 62%, color-mix(in srgb, var(--shade) 90%, transparent) 100%),
    color-mix(in srgb, var(--shade) 12%, transparent);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(32px, 6vh, 64px);
}
.hero__title {
  font-size: clamp(5.5rem, 17vw, 16rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 0 -0.04em;
  padding: 0.06em 0 0.08em;
  overflow: hidden;
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}
.hero__tagline {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--paper);
  text-shadow: 0 1px 14px color-mix(in srgb, var(--shade) 55%, transparent);
}

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}
/* графік роботи — разом ліворуч, кнопка «Переглянути меню» — праворуч у тому ж рядку */
.hero__hours { display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(24px, 3vw, 48px); }

/* «Відчинено до 21:45» / «Зачинено» — з крапкою-індикатором */
.open-now { display: inline-flex; align-items: center; gap: 9px; color: var(--paper); }
.open-now[hidden] { display: none; }
.open-now::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 45%, transparent);
}
.open-now.is-open::before {
  background: #8FC28A;
  box-shadow: 0 0 0 3px rgba(143, 194, 138, 0.22);
}

/* Поява елементів hero при завантаженні */
.hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 1.2s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* ============================================================
   Меню
   ============================================================ */
.menu__cat {
  margin-bottom: clamp(72px, 9vw, 120px);
  /* при переході з кнопок категорій заголовок не ховається під шапкою */
  scroll-margin-top: calc(var(--nav-h) + var(--announce-h, 0px) + 90px);
}

/* --- Швидкий перехід по категоріях: смуга, що «прилипає» вгорі під час гортання меню --- */
.menu__jump {
  position: sticky;
  top: calc(var(--announce-h, 0px) + var(--nav-h));
  z-index: 40;
  display: flex;
  gap: 8px;
  margin: 0 calc(-1 * var(--gutter)) clamp(40px, 5vw, 64px);
  padding: 12px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: top 0.6s var(--ease);
}
.menu__jump::-webkit-scrollbar { display: none; }
.menu__jump[hidden] { display: none; }
/* шапка сховалась при гортанні вниз — смуга піднімається до самого верху */
body:has(.nav.is-hidden) .menu__jump { top: var(--announce-h, 0px); }
.menu__jump a {
  flex: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.menu__jump a:hover { border-color: var(--ink-soft); color: var(--ink); }
.menu__jump a.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* --- Плитка фото в «Соцмережах» --- */
.contact__insta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  width: 100%;
  margin: 28px 0 32px;
}
.contact__insta img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.contact__insta:hover img { filter: brightness(0.92); }
.contact__insta img:hover { transform: scale(1.03); }

/* --- Карта в «Контактах» --- */
.contact__map {
  width: 100%;
  margin-top: 28px;
  /* не нижче 320px — інакше Google ховає картку закладу з назвою та рейтингом */
  height: 320px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper-2);
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* приглушені кольори карти — в тон сайту */
  filter: grayscale(0.55) sepia(0.18) contrast(0.95);
}
.menu__cat:last-child { margin-bottom: 0; }

.menu__cat-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 40px;
}
.menu__cat-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
.menu__cat-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
  align-self: center;
}
.menu__cat-count {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 56px 28px;
}

.card {
  position: relative;
  cursor: pointer;
  outline: none;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--shade) 45%, transparent));
  opacity: 0;
}
.card__more {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
}
.card:hover .card__media img,
.card:focus-visible .card__media img { filter: saturate(1); }
.card:hover .card__media::after,
.card:focus-visible .card__media::after { opacity: 1; }
.card:hover .card__more,
.card:focus-visible .card__more { opacity: 1; }
.card:focus-visible .card__media { outline: 1px solid var(--brass); outline-offset: 4px; }

.card__body {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 18px;
}
.card__name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
/* Крапкова «лідер-лінія» між назвою і ціною, як у меню ресторану */
.card__leader {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted color-mix(in srgb, var(--ink) 28%, transparent);
  transform: translateY(-5px);
}
.card__price {
  font-size: 0.92rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--roast);
  white-space: nowrap;
}
.card__ing {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   Модальне вікно
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.6s;
}
.modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--shade) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 40px 120px color-mix(in srgb, var(--shade) 35%, transparent);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.modal.is-open .modal__dialog {
  opacity: 1;
  transform: none;
}
.modal__media {
  overflow: hidden;
  background: var(--paper-2);
}
.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
}
.modal.is-open .modal__media img { transform: scale(1); }
.modal__body {
  padding: 56px 48px 48px;
  overflow-y: auto;
}
.modal__body > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.modal.is-open .modal__body > * { opacity: 1; transform: none; }
.modal.is-open .modal__body > :nth-child(2) { transition-delay: 0.06s; }
.modal.is-open .modal__body > :nth-child(3) { transition-delay: 0.12s; }
.modal.is-open .modal__body > :nth-child(4) { transition-delay: 0.18s; }
.modal.is-open .modal__body > :nth-child(n+5) { transition-delay: 0.24s; }

.modal__cat {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}
.modal__title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--ink);
  margin: 14px 0 6px;
}
.modal__price {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--roast);
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.modal__desc {
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.modal__sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.modal__ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal__ingredients li {
  font-size: 0.84rem;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.6s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.modal__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.modal__close:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(90deg);
}

/* ============================================================
   Відгуки
   ============================================================ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 56px);
}
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.review::before {
  content: "\201C";
  position: absolute;
  top: -2px;
  left: 0;
  font-family: var(--font-head);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--brass);
  transform: translateY(-50%);
  background: var(--paper);
  padding-right: 10px;
}
.review__text {
  flex: 1;
  margin: 0 0 28px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.review__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review__name {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.review__stars {
  color: var(--brass);
  letter-spacing: 3px;
  font-size: 0.72rem;
}
.review__star-off { opacity: 0.3; }

/* ============================================================
   Найм
   ============================================================ */
.hiring {
  background: var(--night);
  color: var(--paper);
  overflow: hidden;
}
/* М'яке латунне світіння в куті - без різких градієнтів */
.hiring::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -20vw;
  top: -30vw;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brass) 16%, transparent), transparent);
  pointer-events: none;
}
.hiring__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
}
.hiring__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.hiring__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-soft);
}
.hiring__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--brass-soft);
  animation: ring 2.8s var(--ease) infinite;
}
@keyframes ring {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.hiring__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
}
.hiring__text {
  margin: 0 0 36px;
  max-width: 38ch;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: 1.02rem;
}

/* ============================================================
   Контакти
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.contact__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px clamp(24px, 3vw, 48px) 8px;
  border-left: 1px solid var(--line);
}
.contact__col:first-child { padding-left: 0; border-left: 0; }
.contact__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.contact__value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 28px;
}
.contact__hours {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.contact__hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact__hours li:first-child { padding-top: 0; }
.contact__hours li:last-child { border-bottom: 0; }
.contact__hours span:first-child { color: var(--ink-soft); font-size: 0.92rem; }
.contact__hours span:last-child {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.contact__col .link-arrow { margin-top: auto; }
/* в «Адресі» посилання одразу під адресою, а карта під ним */
.contact__col:first-child .link-arrow { margin-top: 8px; }

/* ============================================================
   Підвал
   ============================================================ */
.footer {
  background: var(--night);
  color: color-mix(in srgb, var(--paper) 55%, transparent);
  padding: 32px 0;
  text-align: center;
}
.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   Анімації в дусі «живого» бренду
   ============================================================ */

/* Сезонна іконка-роздільник (зерно / сніжинка / квітка / сонце / листок) */
.tick {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--tick-icon) center / contain no-repeat;
  mask: var(--tick-icon) center / contain no-repeat;
}


/* --- Друкарська машинка: курсор --- */
.caret {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -0.12em;
  animation: blink 1s steps(1) infinite;
}
.caret.is-done { animation: blink 1s steps(1) 3, caretOut 0.4s ease 3s forwards; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes caretOut { to { opacity: 0; } }

@keyframes spin { to { transform: rotate(360deg); } }

/* --- Бігучий рядок --- */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
  border-top: 1px solid var(--line-light);
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee .tick { color: var(--brass-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Заголовки секцій: слова піднімаються з-під маски --- */
.shead__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.shead__title .w__in {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(0.15s + var(--wi) * 0.07s);
}
.shead.is-visible .w__in { transform: none; }


/* --- Стрілка індикатора скролу — м'який відскок --- */
.link-arrow--light svg { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge {
  0%, 60%, 100% { transform: none; }
  30% { transform: translateX(5px); }
}

/* ============================================================
   Дані з таблиці: оголошення, мітки, десерт дня
   ============================================================ */

/* --- Смужка оголошення --- */
:root { --announce-h: 0px; }
.has-announce { --announce-h: 38px; }
.announce {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  background: var(--paper-2);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.announce[hidden] { display: none; }
.announce__text {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav { top: var(--announce-h); }
.has-announce { scroll-padding-top: calc(var(--nav-h) + var(--announce-h)); }

/* --- Позначка попереднього перегляду --- */
.preview-badge {
  position: fixed;
  right: 12px;
  bottom: 12px;
  opacity: 0.85;
  z-index: 300;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px color-mix(in srgb, var(--shade) 25%, transparent);
  pointer-events: none;
}
.preview-badge[hidden] { display: none; }

/* --- Підзаголовок групи («зима» біля «Сезонні напої») --- */
.menu__cat-sub {
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  align-self: center;
}

/* --- Повідомлення замість карток («уточнюйте у бариста») --- */
.menu__note {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--ink-soft);
}

/* --- Мітки на фото --- */
.card__tags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card__tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.card__tag--day { background: var(--ink); color: var(--paper); }
.card__tag--few { background: #F1DCC9; color: #6A3418; }
.card__tag--vegan { background: #DCE6D3; color: #2F4A26; }

/* --- Десерт дня: першим і більшим --- */
.card--featured {
  grid-column: span 2;
}
.card--featured .card__media { aspect-ratio: 16 / 10; }
.card--featured .card__name { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.card__desc {
  margin: 8px 0 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}


/* --- Картка з варіантами (шейки, смузі, лимонади…) --- */
.card__variants {
  margin: 6px 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.card__variants span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
/* У вікні товару — смаки з цінами рядками */
.modal__ingredients.modal__variants {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}
.modal__ingredients.modal__variants li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.modal__ingredients.modal__variants li:last-child { border-bottom: 0; }
.modal__variant-price {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--roast);
  white-space: nowrap;
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 960px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .hiring__inner { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__col,
  .contact__col:first-child { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .modal__dialog { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .modal__media { aspect-ratio: 16 / 10; }
  .modal__body { padding: 36px 28px 32px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }

  .shead { grid-template-columns: 1fr; gap: 10px; }

  .nav__burger { display: block; }
  .nav.is-scrolled .nav__logo { font-size: 1.5rem; }
  /* absolute від .nav (а не fixed) - щоб transform/blur шапки не обрізали оверлей */
  .nav__links {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
    overflow-y: auto;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .nav__links a {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    gap: 16px;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after { display: none; }
  .nav__links.is-open a { opacity: 1; transform: none; }
  .nav__links.is-open a:nth-child(2) { transition-delay: 0.06s; }
  .nav__links.is-open a:nth-child(3) { transition-delay: 0.12s; }
  .nav__links.is-open a:nth-child(4) { transition-delay: 0.18s; }
  /* Коли меню відкрите - логотип і бургер темні */
  .nav.menu-open { color: var(--ink); background: transparent; border-bottom-color: transparent; backdrop-filter: none; }

  .hero__row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .marquee { padding: 14px 0; }
  .marquee__group { font-size: 0.7rem; gap: 20px; padding-right: 20px; }
  /* на телефоні: кнопка, а під нею графік роботи */
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__foot .link-arrow { order: -1; }
  .hero__hours { gap: 10px 22px; font-size: 0.66rem; letter-spacing: 0.14em; }

  .menu__cat-head { flex-wrap: wrap; row-gap: 4px; }
  .menu__cat-rule { display: none; }
  .menu__cat-count { flex-basis: 100%; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .card__name { font-size: 1.2rem; }
  .card__body { flex-wrap: wrap; row-gap: 2px; }
  .card__leader { display: none; }
  .card__price { flex-basis: 100%; }
  .card__ing { display: none; }

  /* Відгуки - горизонтальний скрол */
  .reviews__grid {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 24px 0 14px;
    margin-top: -24px;
    scrollbar-width: none;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }

}

@media (max-width: 760px) and (max-height: 520px) {
  .nav__links { justify-content: flex-start; }
  .nav__links a { font-size: 1.8rem; padding: 6px 0; }
}

@media (max-width: 420px) {
  .menu__grid { grid-template-columns: 1fr; }
  .card--featured { grid-column: auto; }
}

/* ---------- Повага до зменшеного руху ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .leaves { display: none; }
}

/* ============================================================
   Багатосторінковий сайт: шапки сторінок, «Сьогодні», «Про нас», підвал
   ============================================================ */

/* --- Шапка внутрішньої сторінки (Меню / Про нас / Контакти) --- */
.hero--page { min-height: 0; height: clamp(360px, 52vh, 520px); }
.hero--page .hero__media img { transform: scale(1.06); }
.page-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(36px, 6vh, 64px);
}
.page-hero__kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}
.page-hero__title {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.page-hero__lead {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: color-mix(in srgb, var(--paper) 88%, transparent);
}
.hero--page + .menu.section { padding-top: 28px; }
.hero--page + .contact.section,
.hero--page + .story.section { padding-top: clamp(56px, 7vw, 96px); }

/* --- Активний пункт навігації --- */
.nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* --- Головна: «Сьогодні в Matin» --- */
.today .menu__grid { grid-template-columns: repeat(4, 1fr); }
/* у «Сьогодні» десерт дня такого ж розміру, як інші картки */
.today .card--featured { grid-column: auto; grid-row: auto; }
.today .card--featured .card__media { aspect-ratio: 4 / 5; }
.today .card--featured .card__name { font-size: 1.45rem; }
.today__more { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: center; }

/* --- Рейтинг Google біля відгуків --- */
.reviews .shead { grid-template-columns: 1fr auto; align-items: end; }
.rating {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 12px;
  align-items: baseline;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.rating:hover { border-color: var(--ink-soft); background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
.rating__score { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; grid-row: span 2; }
.rating__stars { color: var(--brass); letter-spacing: 0.12em; font-size: 0.95rem; }
.rating__meta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* --- Головна: смуга «Чекаємо на каву» --- */
.visit { padding: 0 0 clamp(72px, 9vw, 120px); }
.visit__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 56px);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.visit__kicker { margin: 0 0 8px; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.visit__addr { margin: 0; font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink); }
.visit__status { margin: 12px 0 0; }
.open-now--ink { color: var(--ink-soft); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.open-now--ink::before { background: var(--muted); }
.open-now--ink.is-open::before { background: #5E9A59; box-shadow: 0 0 0 3px rgba(94, 154, 89, 0.18); }
.btn--dark { color: var(--ink); }
.btn--dark::before { background: var(--ink); }
.btn--dark:hover { color: var(--paper); }
.btn--dark:hover::before { transform: translateY(0); }

/* --- Про нас --- */
.story__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.story__title { margin: 8px 0 28px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 400; line-height: 1.05; }
.story__text p:not(.shead__kicker) { max-width: 54ch; color: var(--ink-soft); line-height: 1.75; }
.story__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.story__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story__photos img:last-child { margin-top: 18%; }
.values { padding-top: 0; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { padding: 36px clamp(20px, 3vw, 44px) 8px; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; padding-left: 0; }
.value__num { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }
.value__title { margin: 14px 0 12px; font-size: 1.6rem; font-weight: 400; }
.value p { margin: 0; color: var(--ink-soft); line-height: 1.7; }

/* --- Підвал з навігацією --- */
.footer { text-align: left; padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}
.footer__logo { font-family: var(--font-head); font-size: 2rem; color: var(--paper); }
.footer__brand p, .footer__info p { margin: 8px 0 0; font-size: 0.9rem; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__info a { color: color-mix(in srgb, var(--paper) 80%, transparent); transition: color 0.3s var(--ease); }
.footer__nav a:hover, .footer__info a:hover { color: var(--paper); }
.footer__info a { display: inline-block; margin-top: 8px; font-size: 0.9rem; }

@media (max-width: 960px) {
  .today .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .story__inner { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .value, .value:first-child { padding: 28px 0 0; border-left: 0; }
  .value + .value { border-top: 1px solid var(--line); margin-top: 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__info { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .reviews .shead { grid-template-columns: 1fr; }
  .rating { justify-self: start; margin-top: 18px; }
  .today .menu__grid { gap: 40px 16px; }
  .visit__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Друк (Ctrl+P): чисте світле меню без анімацій і фонових фото
   ============================================================ */
@media print {
  @page { margin: 14mm 12mm; }
  html, body { background: #fff !important; color: #2B211B !important; }

  /* прибираємо все «живе» й службове */
  .site-particles, .nav, .announce, .preview-badge, .hero__media, .hero__overlay, .hero__decor,
  .menu__festive, .festive-corner, .xmas, .marquee, .menu__jump, .modal, .card__more, .card__tags,
  .today__more, .visit .btn, .hero__foot .link-arrow, .contact__map, .contact__insta,
  .hiring .btn, .footer__nav, .rating, .reviews { display: none !important; }

  /* усе, що зʼявляється анімацією, — одразу видно */
  .reveal, .hero-in, .w__in, .shead::before { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }

  /* шапка сторінки: просто назва темним текстом */
  .hero, .hero--page { min-height: 0 !important; height: auto !important; background: none !important; color: #2B211B !important; padding: 0 0 6mm; }
  .hero__content, .page-hero__content, .hero__foot { padding: 0 !important; }
  .hero__title { font-size: 44pt !important; color: #2B211B !important; }
  .page-hero__title { font-size: 34pt !important; color: #2B211B !important; }
  .hero__tagline, .page-hero__lead, .page-hero__kicker, .open-now { color: #6B5A4A !important; text-shadow: none !important; }
  .page-hero__lead, .hero__row { border-color: #DCCFBD !important; }
  .open-now::before { display: none; }

  .section { padding: 6mm 0 !important; }
  .container { max-width: none !important; padding: 0 !important; }

  /* меню: 4 картки в рядок, фото невеликі, картки не розриваються між сторінками */
  .menu__grid, .today .menu__grid { grid-template-columns: repeat(4, 1fr) !important; gap: 6mm 5mm !important; }
  .card--featured { grid-column: auto !important; }
  .card--featured .card__media { aspect-ratio: 1 !important; }
  .card { break-inside: avoid; page-break-inside: avoid; }
  .card__media { aspect-ratio: 1 !important; }
  .card__media img { transform: none !important; }
  .card__name { font-size: 12pt !important; }
  .card__price { color: #8A3B2E !important; }
  .card__ing, .card__variants, .card__desc { display: block !important; font-size: 8.5pt !important; }
  /* категорія (заголовок + картки) цілком на одній сторінці */
  .menu__cat { margin-bottom: 8mm !important; break-inside: avoid; page-break-inside: avoid; }
  .menu__cat-head { break-after: avoid; page-break-after: avoid; margin-bottom: 4mm !important; }
  .menu__cat-title { font-size: 18pt !important; }

  .reviews__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .review { break-inside: avoid; }

  .footer { background: none !important; color: #6B5A4A !important; padding: 6mm 0 0 !important; border-top: 1px solid #DCCFBD; }
  .footer__logo { color: #2B211B !important; }
  .footer__inner { border: 0 !important; grid-template-columns: 1fr 1fr !important; }
  .footer__info a { color: #6B5A4A !important; }
  a { text-decoration: none !important; color: inherit; }
}
