/* Сгенерировано scripts/build-css.py — правьте файлы в css/src/, затем: python3 scripts/build-css.py */

/* --- base/normalize.css --- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* --- base/variables.css --- */
:root {
  /* Основной «чёрный» бренда — не pure black */
  --color-text: #242830;
  --color-ink: #242830;
  --color-muted: #73798c;
  --color-border: #e8eaef;
  --color-surface: #fff;
  --color-bg-muted: #f4f5f8;
  --color-accent: #f4b327;
  --color-accent-hover: #e3a41f;
  --color-link: #b97800;
  --container-max: 1280px;
  --page-gutter: clamp(1rem, 3vw, 1.5rem);
  --header-sticky-offset: 5.5rem;
  /* Заголовки страниц: О нас, Новости, Филиалы, Корзина */
  --page-title-size: clamp(1.5rem, 3vw, 2rem);
  --page-title-size-sm: 1.35rem;
  --page-title-weight: 800;
  --page-title-line-height: 1.2;
  --page-title-letter-spacing: -0.02em;
  --page-head-margin-bottom: 1.25rem;
  --radius-md: 0.65rem;
  --radius-lg: 1rem;
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06);
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --bp-sm: 480px;
  --bp-md: 640px;
  --bp-lg: 768px;
  --bp-xl: 900px;
  --bp-2xl: 980px;
}

/* --- base/layout.css --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  color-scheme: light;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background-color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

main {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  color: var(--color-text);
}

h1 {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: var(--color-text);
}

button {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}

/* --- components/header.css --- */
.header {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background-color: #fff;
}
.header--cart {
  border-bottom: 1px solid #E5E5E5;
}
.header__utilities {
  border-bottom: 1px solid #e5e5e5;
  padding: 0.55em 0;
}
.header__utilities-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.header__utilities-start {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
  flex-shrink: 0;
}
.header__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.2em 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125em;
  font-weight: 500;
  color: #5c6370;
  transition: color 0.2s;
}
.header__lang:hover {
  color: #242830;
}
.header__lang:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.header__lang-icon {
  flex-shrink: 0;
  width: 1.125em;
  height: 1.125em;
  opacity: 0.88;
}
.header__lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65em;
  padding: 0.1em 0.35em;
  border-radius: 0.35em;
  background: rgba(244, 179, 39, 0.18);
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #8a5a00;
}
.header__nav-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35em 1.35em;
  margin-left: auto;
}
.header__meta-link {
  font-size: 0.8125em;
  line-height: 1.3;
  font-weight: 500;
  color: #5c6370;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.header__meta-link:hover {
  color: #b97800;
}
.header__main {
  padding-top: 0.7em;
  padding-bottom: 0.45em;
}
.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}
.header__actions--order {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.75rem 1rem;
  min-width: 0;
}
.header__actions--order .status {
  flex: 1 1 auto;
  min-width: 0;
}
.header__actions--order .header__login {
  flex: 0 0 auto;
}
.header__btn {
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875em;
  line-height: 1.25;
  padding: 0.55em 1.2em;
  border: none;
  border-radius: 1000em;
  background: #f0f0f4;
  color: #242830;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.header__btn:hover {
  background: #e4e4eb;
  color: #242830;
}
.header__btn:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}

.logo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
}

.header__burger {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  color: #242830;
}
.header__burger:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.header__burger-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.35rem;
  height: 1rem;
}
.header__burger-line {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.2s ease;
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.header-menu-open {
  overflow: hidden;
}

.header-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}
.header-menu.is-open {
  pointer-events: auto;
}
.header-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.header-menu.is-open .header-menu__backdrop {
  opacity: 1;
}
.header-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 22rem);
  height: 100%;
  max-height: 100dvh;
  background: #fff;
  box-shadow: -8px 0 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}
.header-menu.is-open .header-menu__panel {
  transform: translateX(0);
}
.header-menu__body > * {
  opacity: 0;
  transform: translateX(0.75rem);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.header-menu.is-open .header-menu__body > * {
  opacity: 1;
  transform: translateX(0);
}
.header-menu.is-open .header-menu__body > *:nth-child(1) { transition-delay: 0.05s; }
.header-menu.is-open .header-menu__body > *:nth-child(2) { transition-delay: 0.08s; }
.header-menu.is-open .header-menu__body > *:nth-child(3) { transition-delay: 0.11s; }
.header-menu.is-open .header-menu__body > *:nth-child(4) { transition-delay: 0.14s; }
.header-menu:not(.is-open) .header-menu__body > * {
  transition-delay: 0s;
}
.header-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #ececf0;
  flex-shrink: 0;
}
.header-menu__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: inherit;
}
.header-menu__logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}
.header-menu__brand-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em;
  line-height: 1.15;
}
.header-menu__brand-title {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: #242830;
}
.header-menu__brand-sub {
  font-weight: 700;
  font-size: 1rem;
  color: #4a7ae8;
}
.header-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: #f4f5f8;
  color: #242830;
  cursor: pointer;
}
.header-menu__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.5rem 0 1rem;
}
.header-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: #242830;
}
.header-menu__row:hover {
  background: #f8fafc;
}
.header-menu__row-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.header-menu__row-main--lang {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.header-menu__row-label {
  font-size: 0.75rem;
  color: #73798c;
}
.header-menu__row-value {
  font-size: 1rem;
  font-weight: 700;
}
.header-menu__row-action {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b97800;
}
.header-menu__lang-icon {
  flex-shrink: 0;
}
.header-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0;
}
.header-menu__link {
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #242830;
  transition: background 0.15s, color 0.15s;
}
.header-menu__link:hover {
  background: #f8fafc;
  color: #b97800;
}
.header-menu__nav-divider {
  display: block;
  height: 1px;
  margin: 0.35rem 1rem;
  background: #ececf0;
}
.header-menu__nav-heading {
  padding: 0.65rem 1rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #73798c;
}
.header-menu__foot {
  margin-top: 0.5rem;
  padding: 1rem;
  border-top: 1px solid #ececf0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.header-menu__phone {
  font-size: 1.125rem;
  font-weight: 700;
  color: #242830;
}
.header-menu__login {
  width: 100%;
  min-height: 2.75rem;
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .header__utilities {
    display: block;
    padding: 0.35rem 0;
    border-bottom: 1px solid #ececf0;
  }
  .header__utilities > .container {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
  .header__utilities-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .header__utilities-start {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: space-between;
  }
  .header__nav-meta {
    display: none;
  }
  .header__city {
    max-width: none;
    flex: 0 1 auto;
    min-width: 5.75rem;
    justify-content: flex-start;
    padding: 0;
    font-size: 0.9375rem;
  }

  .header__city--loading {
    min-width: 5.75rem;
  }
  .header__lang {
    flex-shrink: 0;
    padding: 0;
  }
  .header__actions--desktop {
    display: none;
  }
  .header__burger {
    display: flex;
    margin-right: -0.15rem;
  }
  .header__main {
    padding-top: 0.45rem;
    padding-bottom: 0.4rem;
  }
  .header__main > .container {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
  .logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
  }
  .logo-link {
    min-width: 0;
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
  }
  .logo--brand {
    gap: 0.4rem;
    justify-content: flex-start;
  }
  .logo__splash {
    height: 2.85rem;
    max-height: 2.85rem;
  }
  .logo__brand-title,
  .logo__brand-sub {
    font-size: clamp(0.95rem, 4.2vw, 1.12rem);
  }
  .logo-wrapper:has(.header__actions--order) {
    flex-wrap: wrap;
  }
  .header__actions--order {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.65rem;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid #ececf0;
  }
  .header__actions--order .header__login {
    display: none;
  }
  .header__actions--order .status {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .logo__splash {
    height: 2.85rem;
    max-height: 2.85rem;
  }
  .logo__brand-title,
  .logo__brand-sub {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__burger-line,
  .header-menu__backdrop,
  .header-menu__panel,
  .header-menu__body > * {
    transition: none;
  }
  .header-menu__body > * {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 380px) {
  .logo__splash {
    height: 2.85rem;
    max-height: 2.85rem;
  }
  .logo__brand-title,
  .logo__brand-sub {
    font-size: 0.9rem;
  }
  .number__phone {
    font-size: 0.875rem;
  }
}

/* --- components/logo.css --- */
.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.logo-link:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 3px;
  border-radius: 0.35rem;
}

.logo {
  display: flex;
}
.logo--brand {
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.logo__splash {
  display: block;
  height: 5.35rem;
  width: auto;
  max-height: 5.35rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  object-fit: contain;
}
.logo__brand-text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.22em;
  line-height: 1.15;
  min-width: 0;
  white-space: nowrap;
}
.logo__brand-title {
  font-weight: 800;
  font-size: clamp(1rem, 2.35vw, 1.45rem);
  letter-spacing: -0.03em;
  color: #242830;
}
.logo__brand-sub {
  font-weight: 700;
  font-size: clamp(1rem, 2.35vw, 1.45rem);
  color: #4a7ae8;
  letter-spacing: 0.01em;
}
.logo__text {
  display: flex;
  flex-direction: column;
  margin-top: 0.18em;
}
.logo__letter {
  display: block;
  width: auto;
  max-width: 100%;
  min-height: 1.37em;
  height: auto;
  white-space: nowrap;
}
.logo__picture {
  display: block;
  width: 2.68em;
  height: 2.75em;
  margin-right: 0.93em;
}
.logo__img {
  display: block;
  width: 100%;
  height: auto;
}
.logo__sub {
  margin-top: 0.43em;
  line-height: 1em;
  font-size: 0.75em;
  color: #242830;
}

.number {
  display: flex;
  flex-direction: column;
  align-items: end;
}
.number__phone {
  font-weight: 600;
  font-size: 1.12em;
  line-height: 1.38em;
}
.number__sub {
  font-size: 0.93em;
  line-height: 1.33em;
  color: #999999;
}

/* --- components/navbar.css --- */
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 99;
  flex-shrink: 0;
  align-self: flex-start;
  width: 100%;
  padding: 0.35rem 0 0.5rem;
  background-color: #fff;
  transition: box-shadow 0.22s ease;
}

/* Фиксация через JS, если sticky не срабатывает (overflow на предках) */
.navbar--pinned {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.navbar-spacer {
  display: none;
  height: 0;
  pointer-events: none;
}
.navbar--raised {
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.08);
}

/* Одна строка: скролл категорий + корзина справа (как Dodo) */
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 var(--page-gutter);
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.navbar__track {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
}

/* Подсказка, что справа можно листать (над полосой скролла) */
.navbar__track::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0.65rem;
  width: 1.75rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 85%);
  pointer-events: none;
  z-index: 1;
}

.navbar__scroll,
.navbar__left {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: #c4cad3 transparent;
  padding: 0.3rem 0.35rem 0.55rem 0;
}

.navbar__scroll::-webkit-scrollbar,
.navbar__left::-webkit-scrollbar {
  height: 3px;
}

.navbar__scroll::-webkit-scrollbar-track,
.navbar__left::-webkit-scrollbar-track {
  margin-top: 0.6rem;
  margin-inline: 1.25rem 0.5rem;
  background: #eef0f3;
  border-radius: 1000em;
}

.navbar__scroll::-webkit-scrollbar-thumb,
.navbar__left::-webkit-scrollbar-thumb {
  background: #b8bec8;
  border-radius: 1000em;
}

.navbar__scroll::-webkit-scrollbar-thumb:hover,
.navbar__left::-webkit-scrollbar-thumb:hover {
  background: #9aa3b0;
}

.navbar__aside,
.navbar__btn {
  flex: 0 0 auto;
  flex-shrink: 0;
  padding-left: 0.35rem;
  background: #fff;
  position: relative;
  z-index: 2;
}

.navbar__link {
  display: inline-flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35em;
  padding: 0.5rem 0.9rem;
  border-radius: 1000em;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  color: #242830;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.navbar__link:hover {
  color: #242830;
  background: #f3f4f6;
}

.navbar__link.is-active {
  background: #242830;
  color: #fff;
}

.navbar__link.is-active:hover {
  background: #242830;
  color: #fff;
}

.navbar__icon {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  object-fit: contain;
}

.navbar__link.is-active .navbar__icon {
  filter: brightness(0) invert(1);
}

.navbar__cart {
  padding: 0.58em 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Старый markup (если где-то остался) */
.navbar-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

@media (min-width: 901px) {
  .navbar__icon {
    display: block;
  }
  .navbar__link {
    font-size: 0.9375rem;
    padding: 0.45rem 0.85rem;
  }
  .navbar__cart {
    padding: 0.72em 1.35em;
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar {
    transition: none;
  }
}

/* --- components/modals.css --- */
.city-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.city-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.city-modal.is-open .city-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.city-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 40, 48, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.city-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24.5rem;
  max-height: min(88dvh, 34rem);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 24px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(0.65rem) scale(0.98);
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.city-modal__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f4b327 0%, #ffd56a 50%, #f4b327 100%);
}
.city-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f4f8;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.city-modal__close:hover {
  background: #e8eaf0;
  color: #242830;
  transform: scale(1.04);
}
.city-modal__close:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.city-modal__close[hidden] {
  display: none;
}
.city-modal__head {
  flex-shrink: 0;
  padding: 1.65rem 1.5rem 0.85rem;
  text-align: center;
}
.city-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b97800;
}
.city-modal__title {
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #242830;
  margin: 0 0 0.4rem;
}
.city-modal__subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #73798c;
  max-width: 16rem;
  margin-left: auto;
  margin-right: auto;
}
.city-modal__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 0.75rem 0.85rem 0.65rem;
}
.city-modal__list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0.85rem 0.45rem 0.4rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #d8dbe3 transparent;
}
.city-modal__list::-webkit-scrollbar {
  width: 6px;
}
.city-modal__list::-webkit-scrollbar-track {
  margin: 0.25rem 0.2rem 0.35rem 0;
  background: transparent;
}
.city-modal__list::-webkit-scrollbar-thumb {
  background: #d8dbe3;
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.city-modal__item {
  margin: 0 0 0.35rem;
}
.city-modal__item:last-child {
  margin-bottom: 0;
}
.city-modal__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid #eceef3;
  border-radius: 0.65rem;
  background: #fafbfc;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  color: #242830;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.city-modal__btn::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b97800' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5' fill='%23f4b327' stroke='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
}
.city-modal__btn::after {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #c4c9d4;
  border-top: 2px solid #c4c9d4;
  transform: rotate(45deg) translateX(-2px);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.city-modal__btn:hover {
  border-color: rgba(244, 179, 39, 0.45);
  background: #fffdf6;
  color: #242830;
  box-shadow: 0 4px 14px rgba(244, 179, 39, 0.12);
  transform: translateY(-1px);
}
.city-modal__btn:hover::after {
  opacity: 1;
  transform: rotate(45deg) translateX(0);
}
.city-modal__btn:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.city-modal__btn.is-selected {
  border-color: #f4b327;
  background: linear-gradient(135deg, #fff9eb 0%, #fff 100%);
  box-shadow: 0 2px 10px rgba(244, 179, 39, 0.15);
}
.city-modal__btn.is-selected::before {
  opacity: 1;
}
.city-modal__label {
  flex: 1;
  min-width: 0;
}
.city-modal__error {
  margin: 0.5rem 0.5rem 0.25rem;
  padding: 0.85rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #73798c;
  text-align: center;
  background: #f7f8fa;
  border-radius: 0.5rem;
}
.city-modal__error[hidden] {
  display: none;
}

body.city-modal-open {
  overflow: hidden;
}

body.site-loading-active {
  overflow: hidden;
}

.site-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.site-loading-overlay.is-visible {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.site-loading-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(248, 249, 252, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-loading-overlay__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e8eaef;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}
.site-loading-overlay__spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid #eceef3;
  border-top-color: #f4b327;
  border-radius: 50%;
  animation: site-loading-spin 0.75s linear infinite;
}
.site-loading-overlay__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #242830;
}
@keyframes site-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.city-modal--confirm .city-modal__head {
  text-align: center;
}

.city-modal--confirm .city-modal__subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #242830;
  max-width: none;
}

.city-modal__confirm {
  flex-shrink: 0;
  padding: 0 1.35rem max(1.35rem, env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.city-modal__confirm-title {
  display: none;
}
.city-modal__confirm-desc {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #73798c;
}
.city-modal__confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.city-modal__confirm-actions .btn {
  width: 100%;
  min-height: 2.85rem;
  font-size: 1rem;
  font-weight: 700;
}

.header__city {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.2em 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125em;
  font-weight: 600;
  color: #242830;
  transition: color 0.2s;
  max-width: 10rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header__city:hover {
  color: #b97800;
}
.header__city:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.header__city-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__city--loading {
  pointer-events: none;
  cursor: default;
  flex-shrink: 0;
}

.header__city--loading .header__city-label {
  display: inline-block;
  min-width: 5.75rem;
  height: 0.95em;
  vertical-align: middle;
  border-radius: 0.3rem;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .city-modal {
    transition: none;
  }
  .city-modal.is-open .city-modal__panel {
    transform: none;
    opacity: 1;
  }
  .city-modal__panel {
    transition: none;
  }
  .city-modal__btn {
    transition: none;
  }
  .city-modal__btn:hover {
    transform: none;
  }
}
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.login-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.login-modal.is-open .login-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 40, 48, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.login-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24.5rem;
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 36rem);
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 24px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(0.65rem) scale(0.98);
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.login-modal__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f4b327 0%, #ffd56a 50%, #f4b327 100%);
}
.login-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f4f8;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.login-modal__close:hover {
  background: #e8eaf0;
  color: #242830;
  transform: scale(1.04);
}
.login-modal__close:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.login-modal__close[hidden] {
  display: none;
}
.login-modal__head {
  padding: 1.65rem 1.5rem 0.85rem;
  text-align: center;
}
.login-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b97800;
}
.login-modal__title {
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #242830;
  margin: 0 0 0.4rem;
}
.login-modal__subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #73798c;
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
}
.login-modal__body {
  flex: 0 0 auto;
  padding: 0 1.35rem max(1.35rem, env(safe-area-inset-bottom, 0px));
}
.login-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.login-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.login-modal__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #242830;
}
.login-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e3e6ee;
  border-radius: 0.65rem;
  font-family: inherit;
  font-size: 1rem;
  color: #242830;
  background: #fafbfc;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-modal__input:focus {
  outline: none;
  border-color: rgba(244, 179, 39, 0.65);
  box-shadow: 0 0 0 3px rgba(244, 179, 39, 0.15);
  background: #fff;
}
.login-modal__phone-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.login-modal__phone-prefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  border: 1px solid #e3e6ee;
  border-radius: 0.65rem;
  background: #f3f4f8;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5c6370;
}
.login-modal__submit {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.95em 1.5em;
  margin-top: 0.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.login-modal__submit.is-loading {
  opacity: 0.75;
  cursor: wait;
}
.login-modal__back {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #73798c;
  cursor: pointer;
  margin-bottom: 0.25rem;
}
.login-modal__back:hover {
  color: #b97800;
}
.login-modal__resend {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b97800;
  cursor: pointer;
  text-align: center;
}
.login-modal__resend:hover {
  text-decoration: underline;
}
.login-modal__resend[hidden] {
  display: none;
}
.login-modal__resend-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: #73798c;
  text-align: center;
}
.login-modal__resend-hint[hidden] {
  display: none;
}
.login-modal__error {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #b42318;
  text-align: center;
  background: #fef3f2;
  border-radius: 0.5rem;
}
.login-modal__error[hidden] {
  display: none;
}

body.login-modal-open {
  overflow: hidden;
}

.header__login--user {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #fff7e6;
  color: #9a6700;
}
.header__login--user:hover {
  background: #ffefc2;
  color: #7a5200;
}

@media (prefers-reduced-motion: reduce) {
  .login-modal {
    transition: none;
  }
  .login-modal.is-open .login-modal__panel {
    transform: none;
    opacity: 1;
  }
  .login-modal__panel {
    transition: none;
  }
}
.dish-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
@media (min-width: 640px) {
  .dish-modal {
    align-items: center;
    padding: 1.25rem;
  }
}
.dish-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.dish-modal.is-open .dish-modal__panel {
  transform: translateY(0);
}
.dish-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 40, 48, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dish-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: min(92dvh, 40rem);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 640px) {
  .dish-modal__panel {
    border-radius: 1.25rem;
    transform: translateY(1rem);
  }
  .dish-modal__panel.is-open {
    transform: translateY(0);
  }
}
.dish-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  cursor: pointer;
  color: #4b5563;
}
.dish-modal__title {
  flex-shrink: 0;
  padding: 1.15rem 3.25rem 1rem 1.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: #242830;
  border-bottom: 1px solid #f0f2f5;
}
.dish-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.dish-modal__footer {
  padding: 1rem 1.5rem max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid #eef0f3;
  background: #fafbfc;
  flex-shrink: 0;
}
.dish-modal__submit {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.95em 1.5em;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.dish-modal__hero {
  text-align: center;
  margin: 0 0 0.25rem;
  padding: 0.75rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-radius: 1rem;
}
.dish-modal__hero--compact .dish-modal__img {
  max-height: 9rem;
}
.dish-modal__img {
  max-width: 100%;
  max-height: 12.5rem;
  object-fit: contain;
  border-radius: 0.5rem;
}
.dish-modal__desc {
  color: #73798C;
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 0.5rem;
  padding: 0 0.15rem;
}
.dish-modal__section {
  margin: 0 0 1.35rem;
}
.dish-modal__section:last-child {
  margin-bottom: 0.25rem;
}
.dish-modal__section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #242830;
  margin: 0 0 0.75rem;
}
.dish-modal__tabs {
  display: flex;
  align-items: stretch;
  gap: 0.2rem;
  padding: 0.28rem;
  background: #eeeeee;
  border-radius: 2em;
}
.dish-modal__tab {
  flex: 1;
  min-height: 2.65rem;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: 2em;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  color: #7d7d7d;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.dish-modal__tab:hover:not(.is-active) {
  color: #4b5563;
}
.dish-modal__tab.is-active {
  background: #fff;
  color: #242830;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.dish-modal__tab-meta {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #73798C;
}
.dish-modal__price-breakdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #73798c;
}
.dish-modal__price-breakdown span:last-child {
  color: #b97800;
  font-weight: 700;
}
.dish-modal__mods-hint {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #73798c;
}
.dish-modal__mods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.dish-modal__mod {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.25rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e8eaef;
  border-radius: 0.85rem;
  background: #fff;
  font: inherit;
  color: #242830;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.dish-modal__mod:hover {
  border-color: #d1d5db;
}
.dish-modal__mod.is-selected {
  border-color: #f4b327;
  background: rgba(244, 179, 39, 0.1);
  box-shadow: 0 0 0 1px rgba(244, 179, 39, 0.2);
}
.dish-modal__mod.is-disabled,
.dish-modal__mod:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.dish-modal__mod.is-disabled:hover,
.dish-modal__mod:disabled:hover {
  border-color: #e8eaef;
  background: #fff;
}
.dish-modal__mod-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: #242830;
}
.dish-modal__mod-price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b97800;
}
.dish-modal__hint {
  margin: 0;
  text-align: center;
  color: #73798C;
  font-size: 0.875rem;
}
.dish-modal__unavailable {
  padding: 1.5rem 0;
  text-align: center;
  color: #73798C;
  line-height: 1.5;
}
.dish-modal__actiya-slots {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dish-modal__actiya-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid #e8eaef;
  border-radius: 0.85rem;
  background: #f9fafb;
  font: inherit;
  color: #242830;
  text-align: left;
  cursor: pointer;
}
.dish-modal__actiya-slot.is-filled {
  border-color: rgba(244, 179, 39, 0.45);
  background: rgba(244, 179, 39, 0.06);
}
.dish-modal__actiya-slot.is-fixed {
  cursor: default;
}
.dish-modal__actiya-slot-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}
.dish-modal__actiya-slot-title {
  font-weight: 600;
  color: #242830;
}
.dish-modal__actiya-slot-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #b97800;
  font-variant-numeric: tabular-nums;
}
.dish-modal__actiya-slot-hint {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: #73798C;
}
.dish-modal__actiya-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.dish-modal__actiya-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.65rem;
  border: 1.5px solid #e8eaef;
  border-radius: 0.85rem;
  background: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #242830;
  cursor: pointer;
}
.dish-modal__actiya-card-name {
  text-align: center;
  line-height: 1.3;
  color: #242830;
}
.dish-modal__actiya-card-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #b97800;
  font-variant-numeric: tabular-nums;
}
.dish-modal__actiya-card img {
  border-radius: 0.5rem;
  object-fit: cover;
}
.dish-modal__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: #b97800;
  cursor: pointer;
}

body.dish-modal-open {
  overflow: hidden;
}

.lang-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lang-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.lang-modal.is-open .lang-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.lang-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 40, 48, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 24px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(0.65rem) scale(0.98);
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.lang-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: #73798c;
  cursor: pointer;
}
.lang-modal__head {
  padding: 1.5rem 1.25rem 0.75rem;
  text-align: center;
}
.lang-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b97800;
}
.lang-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #242830;
}
.lang-modal__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem 1.5rem;
}
.lang-modal__option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e8eaef;
  border-radius: 0.85rem;
  background: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #242830;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-modal__option:hover {
  border-color: #f5c842;
  background: #fffdf5;
}
.lang-modal__option.is-selected {
  border-color: #f5c842;
  background: #fff8e1;
  box-shadow: inset 0 0 0 1px #f5c842;
}
body.lang-modal-open {
  overflow: hidden;
}

/* --- components/buttons.css --- */
.btn {
  cursor: pointer;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.37em;
  color: inherit;
  border: none;
  border-radius: 1000em;
}
.btn--orange {
  background-color: #f4b327;
  color: #FFF;
  transition: 0.2s;
}
.btn--orange:hover {
  background-color: #e3a41f;
  transition: 0.2s;
}
.btn--orange:active {
  color: #fff3d5;
}
.btn--light {
  background-color: #f4b327;
  color: #ffffff;
  transition: 0.2s;
}
.btn--light:hover {
  background-color: #e3a41f;
  transition: 0.2s;
}
.btn--light:active {
  color: #fff3d5;
  background-color: #cd9017;
}
.btn--item {
  width: 7.5em;
  height: 2.5em;
}
.btn--tocart {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.81em 2.56em 0.81em 1.12em;
  background-color: #F3F3F7;
  border-radius: 1000em;
  min-width: 14.625em;
  color: #73798C;
  text-decoration: none;
}
.btn--confirm {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.81em 1.125em 0.81em 1.6875em;
  background-color: #f4b327;
  border-radius: 1000em;
  min-width: 16.875em;
  color: #FFFFFF;
  border: none;
}
.tocart__picture,
.confirm__picture {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

/* --- components/toast.css --- */
.app-toast {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 400;
  max-width: min(22rem, calc(100vw - 2rem));
  transform: translate(-50%, 140%);
  padding: 0.85rem 1.15rem;
  background: #242830;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  pointer-events: none;
  opacity: 0;
}

.app-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.app-toast--error {
  background: #3d1512;
  color: #fff;
  box-shadow: 0 8px 28px rgba(180, 35, 24, 0.28);
}

.app-toast--ok {
  background: #1a3d24;
  box-shadow: 0 8px 28px rgba(22, 101, 52, 0.22);
}

.cart-toast {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 300;
  max-width: min(22rem, calc(100vw - 2rem));
  transform: translate(-50%, 140%);
  padding: 0.75rem 1.25rem;
  background: #242830;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.cart-toast.is-visible {
  transform: translate(-50%, 0);
}

/* --- components/active-order-banner.css --- */
.active-order-banner {
  position: -webkit-sticky;
  position: sticky;
  top: var(--active-order-banner-top, 3.1rem);
  z-index: 98;
  background: linear-gradient(90deg, #fff9eb 0%, #fff 100%);
  border-bottom: 1px solid rgba(244, 179, 39, 0.25);
  box-shadow: 0 4px 12px -8px rgba(36, 40, 48, 0.18);
}

.active-order-banner[hidden] {
  display: none;
}

.active-order-banner__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  text-decoration: none;
  color: inherit;
}

.active-order-banner__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
}

.active-order-banner__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.active-order-banner__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #242830;
}

.active-order-banner__status {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b97800;
}

.active-order-banner__arrow {
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #b97800;
}

@media (max-width: 768px) {
  .active-order-banner__link {
    padding: 0.6rem 0;
    gap: 0.55rem;
  }

  .active-order-banner__title {
    font-size: 0.8125rem;
  }

  .active-order-banner__status {
    font-size: 0.75rem;
  }
}

/* --- components/footer.css --- */
/* Футер — в одной сетке с .container (1280px + --page-gutter) */

.footer {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding-top: 3.125em;
  padding-bottom: 2.25em;
  background-color: #464c55;
  box-sizing: border-box;
}

.footer > .container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.footer__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 0;
  width: 100%;
  text-align: left;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  flex-grow: 1;
  flex-wrap: wrap;
  column-gap: clamp(1.5rem, 4vw, 2.75rem);
  row-gap: 1.25rem;
  margin-right: clamp(1rem, 3vw, 4.875rem);
}

.nav__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.nav__title {
  font-weight: 600;
  font-size: 1.125em;
  color: #fff;
  line-height: 1.44em;
  margin-bottom: 0.55em;
}

.nav__link {
  font-weight: 400;
  font-size: 1.125em;
  line-height: 1.44em;
  color: #fff;
  opacity: 0.7;
  margin-bottom: 0.55em;
  transition: 0.3s;
}

.nav__link:hover {
  opacity: 0.9;
}

@media (min-width: 901px) {
  .nav__link:hover {
    transform: translateX(0.31em);
  }
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
  flex-shrink: 0;
  gap: 1.25rem;
}

.footer-contacts .down {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}

.footer-contacts .down__gplay {
  margin-right: 0;
}

.footer-contacts .down__link {
  display: block;
  line-height: 0;
}

.footer__mid {
  display: flex;
  margin-bottom: 5em;
  position: relative;
}

.footer__mid::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 100%;
  background-color: #fff;
  opacity: 0.2;
  top: 7.62em;
  left: 0;
  z-index: 3;
}

.bottom__link {
  margin-right: 1.25em;
  line-height: 1.375em;
  color: #fff;
  opacity: 0.7;
}

.down {
  display: flex;
  margin-bottom: 1.81em;
}

.down__gplay {
  margin-right: 0.31em;
  display: block;
  width: 100%;
  height: auto;
}

.down__appstore {
  display: block;
  width: 100%;
  height: auto;
}

.contacts {
  text-align: right;
}

.contacts__tel {
  font-weight: 600;
  font-size: 1.625em;
  line-height: 1em;
  margin-bottom: 0.23em;
  color: #fff;
  display: block;
}

.contacts__free {
  font-weight: 400;
  color: #fff;
  font-size: 0.9375em;
  line-height: 1.33em;
  display: block;
  opacity: 0.5;
  margin-bottom: 1.1em;
}

.info {
  margin-right: 9.75em;
}

.info__sum {
  font-weight: 600;
  font-size: 1.625em;
  line-height: 1em;
  color: #fff;
  margin-bottom: 0.46em;
  display: block;
}

.info__desc {
  display: block;
  font-weight: 400;
  line-height: 1.375em;
  color: #fff;
  opacity: 0.7;
}

.gray-logo {
  display: block;
  margin-right: 1.8125em;
}

.icons {
  display: flex;
  margin-left: auto;
  gap: 0.37em;
}

.icons.icons--contacts {
  margin-left: 0;
  margin-right: 0;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.icons__link {
  transition: 0.3s;
}

.icons__link:hover {
  transform: translateY(-0.2em);
}

/* Мобилка: та же ширина контейнера, блоки по центру */
@media (max-width: 900px) {
  .footer > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.35rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    width: 100%;
    margin-right: 0;
    gap: 1.35rem;
  }

  .nav__column {
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .nav__title,
  .nav__link {
    text-align: center;
    width: 100%;
  }

  .footer-contacts {
    align-items: center;
    align-self: center;
    width: 100%;
  }

  .contacts {
    text-align: center;
    width: 100%;
  }

  .footer-contacts .down {
    justify-content: center;
    width: 100%;
  }

  .icons.icons--contacts {
    justify-content: center;
    width: 100%;
  }

  .nav__link:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .footer {
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }

  .nav__title,
  .nav__link {
    font-size: 1rem;
  }
}

/* --- pages/catalog.css --- */
.slider {
  display: flex;
  justify-content: center;
  padding-top: 1.25em;
  padding-bottom: 1.25em;
}
.slider .container {
  width: 100%;
}
.slider__wrapper {
  display: block;
  width: auto;
  height: auto;
}
.slider__img {
  border-radius: 1.33em;
}

.hero-banners {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  background: transparent;
}
.hero-banners__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd3da;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
  min-height: clamp(16rem, 46vw, 32rem);
}
.hero-banners__track {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  min-height: 0;
  transition: transform 0.45s ease;
  will-change: transform;
}
.hero-banners__slide {
  flex: 0 0 auto;
  height: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.hero-banners__link {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}
button.hero-banners__link--dish {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
button.hero-banners__link--dish:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 3px;
  border-radius: 0.35rem;
}
button.hero-banners__link--dish .hero-banners__img {
  cursor: pointer;
}
.hero-banners__tap-hint {
  position: absolute;
  right: clamp(0.55rem, 3vw, 1rem);
  bottom: clamp(0.55rem, 3vw, 1rem);
  z-index: 2;
  padding: 0.4rem 0.85rem;
  border-radius: 1000em;
  background: rgba(36, 40, 48, 0.78);
  color: #fff;
  font-size: clamp(0.75rem, 2.2vw, 0.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
button.hero-banners__link--dish:hover .hero-banners__tap-hint,
button.hero-banners__link--dish:focus-visible .hero-banners__tap-hint {
  background: rgba(36, 40, 48, 0.9);
}
.hero-banners__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.hero-banners--ready .hero-banners__img {
  opacity: 1;
}
.hero-banners--loading .hero-banners__viewport:not(.hero-banners__viewport--skeleton) {
  background: #eef0f4;
}
.hero-banners--loading .hero-banners__viewport:not(.hero-banners__viewport--skeleton)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: hero-skel-shine 1.35s ease-in-out infinite;
}
.hero-banners__nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.35rem;
  pointer-events: none;
}
.hero-banners__arrow {
  pointer-events: auto;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #242830;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.hero-banners__arrow:hover {
  background: #fff;
  color: #f4b327;
  transform: scale(1.06);
}
.hero-banners__arrow:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.hero-banners__dots {
  display: flex;
  justify-content: center;
  gap: 0.45em;
  padding: 0.55em 0 0.25em;
}
.hero-banners__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero-banners__dot.is-active {
  background: #f4b327;
  transform: scale(1.15);
}
.hero-banners__mascot {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.35rem 0 0.65rem;
  min-height: 0;
}
.hero-banners__mascot-img {
  display: block;
  height: auto;
  max-height: 7.5rem;
  width: auto;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-banners__track {
    transition: none;
  }
  .hero-banners--loading .hero-banners__viewport--skeleton::after {
    animation: none;
    opacity: 0;
  }
}
.hero-banners--loading .hero-banners__viewport--skeleton {
  min-height: clamp(16rem, 46vw, 32rem);
  background: #eef0f4;
  position: relative;
  overflow: hidden;
}
.hero-banners--loading .hero-banners__viewport--skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: hero-skel-shine 1.35s ease-in-out infinite;
}
.hero-banners--loading .hero-banners__dots--skeleton {
  pointer-events: none;
}
.hero-banners--loading .hero-banners__dots--skeleton span {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
}
.hero-banners--loading .hero-banners__dots--skeleton span:last-child {
  background: #dfe2e8;
}

@keyframes hero-skel-shine {
  0% {
    background-position: 130% 0;
  }
  100% {
    background-position: -130% 0;
  }
}
.pizza {
  padding-top: 3.125em;
  padding-bottom: 1.25em;
}

.catalog-category {
  padding-top: 3.125em;
  padding-bottom: 1.25em;
}
.catalog-category:last-of-type {
  padding-bottom: 8.375em;
}

.grid-title {
  font-weight: 700;
  font-size: 1.5em;
  line-height: 1.375em;
  margin-bottom: 1.66em;
  text-align: center;
  width: 100%;
  color: var(--color-text);
}

/* Карточка каталога — десктоп (как было); мобильный Dodo-вид в base/responsive.css */
.item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  height: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.item:focus {
  outline: none;
}
.item:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 4px;
  border-radius: 0.5rem;
}
.item__picture {
  margin: 0 auto;
  margin-bottom: 0.3125em;
  position: relative;
  width: 100%;
  height: 13.75em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-out;
}
.item__picture:hover {
  transform: translateY(0.1875em);
}
.item__img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 13.75em;
  height: auto;
  object-fit: contain;
}
.item__title {
  font-size: 1.25em;
  line-height: 1.35em;
  margin-bottom: 0.5em;
  margin-right: 0;
  min-height: 2.7em;
  color: var(--color-text);
}
.item__desc {
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.35em;
  color: #73798c;
  margin-bottom: 0.78em;
  margin-right: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  overflow-wrap: break-word;
}
.item__price--mobile {
  display: none;
}
.item__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.item__price {
  line-height: 1.375em;
  color: var(--color-text);
  font-weight: 600;
}
.btn--item {
  margin-right: 1.25em;
  flex-shrink: 0;
}

.snack {
  padding-top: 3.125em;
  padding-bottom: 1.25em;
}
.snack__item p {
  margin-bottom: 1.42em;
}

.desserts {
  padding-top: 3.125em;
  padding-bottom: 1.25em;
}
.desserts__item p {
  margin-bottom: 1.42em;
}

.drinks {
  padding-top: 3.125em;
  padding-bottom: 8.375em;
}
.drinks__item p {
  margin-bottom: 1.42em;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 160% 0;
  }
  100% {
    background-position: -160% 0;
  }
}
.skeleton-shimmer {
  background: linear-gradient(90deg, #e6e9ef 0%, #f2f3f7 42%, #e6e9ef 88%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.35s ease-in-out infinite;
}

.catalog-category--skeleton {
  pointer-events: none;
  user-select: none;
}

.catalog-skeleton__title {
  height: 1.35em;
  width: 38%;
  max-width: 11rem;
  border-radius: 0.35rem;
  margin-bottom: 1.66em;
}

.item-skeleton {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.item-skeleton__pic {
  width: 100%;
  height: 13.75em;
  border-radius: 0.45rem;
  margin-bottom: 0.3125em;
  overflow: hidden;
}
.item-skeleton__line {
  height: 0.85em;
  border-radius: 0.25rem;
  margin-bottom: 0.42em;
  width: 100%;
}
.item-skeleton__line--title {
  height: 1.1em;
  width: 70%;
  margin-bottom: 0.5em;
}
.item-skeleton__line--short {
  width: 52%;
}
.item-skeleton__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.35em;
}
.item-skeleton__price {
  width: 4.25rem;
  height: 1.05em;
  border-radius: 0.25rem;
}
.item-skeleton__btn {
  width: 5rem;
  height: 2.25em;
  border-radius: 1000em;
}

.catalog-empty,
.catalog-error {
  text-align: center;
  color: #73798C;
  padding: 2.25em 1em;
  font-size: 1em;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-shimmer {
    animation: none;
    background: #e6e9ef;
  }
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.75em 1.25em;
  justify-content: space-between;
}

/* --- pages/cart.css --- */
.navbar__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.4em;
  padding: 0 0.4em;
  border-radius: 1em;
  background: #e53935;
  color: #fff;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgba(229, 57, 53, 0.35);
}

.page-cart {
  background: #f4f5f8;
}

.cart-page {
  padding: 2rem 0 3.5rem;
  min-height: 40vh;
}
.cart-page__title {
  margin: 0 0 var(--page-head-margin-bottom);
  font-size: var(--page-title-size);
  line-height: var(--page-title-line-height);
  font-weight: var(--page-title-weight);
  letter-spacing: var(--page-title-letter-spacing);
}
.cart-page__layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 900px) {
  .cart-page__layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2rem;
  }
}
.cart-page__main {
  min-width: 0;
}
.cart-page__list {
  display: flex;
  flex-direction: column;
}
.cart-page__list--has-items {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

/* Допродажа в корзине */
.cart-upsell {
  padding: 1.35rem 1.15rem 1.5rem;
  background: linear-gradient(180deg, #fffdf6 0%, #fff 2.5rem);
  border: 1px solid #e8eaef;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.cart-upsell[hidden] {
  display: none;
}
.cart-upsell__title {
  margin: 0 0 0.3rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #242830;
}
.cart-upsell__subtitle {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #73798c;
}
.cart-upsell__sections {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}
.cart-upsell__loading,
.cart-upsell__error {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #73798c;
}
.cart-upsell__error {
  color: #c62828;
}
.cart-upsell-group {
  min-width: 0;
}
.cart-upsell-group__title {
  margin: 0 0 0.7rem;
  padding-left: 0.1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #242830;
}
.cart-upsell-group__scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.2rem 0.15rem 1.05rem;
  margin-bottom: 0.2rem;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cfd3dc #f0f2f5;
}
.cart-upsell-group__scroll::-webkit-scrollbar {
  height: 6px;
}
.cart-upsell-group__scroll::-webkit-scrollbar-track {
  margin-top: 0.45rem;
  background: #f0f2f5;
  border-radius: 999px;
}
.cart-upsell-group__scroll::-webkit-scrollbar-thumb {
  background: #cfd3dc;
  border-radius: 999px;
}
.cart-upsell-group__scroll::-webkit-scrollbar-thumb:hover {
  background: #b8bec9;
}
.cart-upsell-card {
  flex: 0 0 clamp(7.75rem, 28vw, 10rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 100%;
  padding: 0.6rem;
  border: 1px solid #eceef3;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.cart-upsell-card:hover {
  border-color: rgba(244, 179, 39, 0.55);
  box-shadow: 0 6px 18px rgba(244, 179, 39, 0.14);
  transform: translateY(-2px);
}
.cart-upsell-card:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.cart-upsell-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f5f8 0%, #eef0f3 100%);
}
.cart-upsell-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-upsell-card__name {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.32;
  color: #242830;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-upsell-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.15rem;
}
.cart-upsell-card__price {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #b97800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.cart-upsell-card__add {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 1000em;
  background: #f4b327;
  color: #242830;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(244, 179, 39, 0.35);
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
}
.cart-upsell-card__add:hover {
  background: #e3a41f;
  box-shadow: 0 3px 10px rgba(244, 179, 39, 0.4);
}
.cart-upsell-card__add:active {
  transform: scale(0.94);
}
.cart-page__empty {
  padding: 3.5rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}
.cart-page__empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.cart-page__empty-text {
  margin: 0 0 1.25rem;
  color: #73798C;
  font-size: 0.9375rem;
}
.cart-page__empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75em 1.75em;
  font-size: 1rem;
  font-weight: 700;
}
.cart-page__summary {
  position: sticky;
  top: 5rem;
  padding: 1.5rem 1.35rem 1.35rem;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
.cart-page__summary-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.cart-page__sum-label {
  display: block;
  margin-bottom: 0.25rem;
  color: #73798C;
  font-size: 0.875rem;
}
.cart-page__sum {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.cart-page__summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #f0f2f5;
}
.cart-page__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.9em 1.25em;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
}
.cart-page__checkout--disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}
.cart-page__back {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #b97800;
  text-decoration: none;
  padding: 0.35rem;
}
.cart-page__back:hover {
  text-decoration: underline;
}

.navbar--cart .navbar__cart--current {
  cursor: default;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.cart-line {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr) auto;
  gap: 1rem 1.15rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #f0f2f5;
  align-items: center;
}
.cart-line:last-child {
  border-bottom: 0;
}
.cart-line__img {
  width: 5.25rem;
  height: 5.25rem;
  object-fit: cover;
  border-radius: 0.65rem;
  background: #f3f4f6;
  border: 1px solid #eef0f3;
}
.cart-line__body {
  min-width: 0;
}
.cart-line__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.cart-line__mod-price {
  color: #b97800;
  font-weight: 600;
  white-space: nowrap;
}

/* Только допы/размер мельче — название блюда в .cart-line__title / .order-line__name */
.dish-mods--compact {
  margin: 0.2rem 0 0.15rem;
}
.dish-mods__line {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #73798c;
}
.dish-mods__line + .dish-mods__line {
  margin-top: 0.12rem;
}
.dish-mods__line--option,
.dish-mods__line--extras {
  color: #73798c;
}
.dish-mods__line--sum {
  font-size: 0.875rem;
  font-weight: 600;
  color: #b97800;
}
.cart-line__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1.5px solid #e8eaef;
  border-radius: 2em;
  padding: 0.2rem;
  background: #fafbfc;
}
.cart-line__qty-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 1.1rem;
  line-height: 1;
  color: #4b5563;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background 0.15s;
}
.cart-line__qty-btn:hover {
  background: #f3f4f6;
}
.cart-line__qty {
  min-width: 1.75rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #242830;
}
.cart-line__aside {
  text-align: right;
  align-self: start;
  padding-top: 0.15rem;
}
.cart-line__price {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  white-space: nowrap;
  margin-bottom: 0.5rem;
}
.cart-line__remove {
  padding: 0.25rem 0.35rem;
  border: 0;
  background: none;
  font-size: 1.35rem;
  line-height: 1;
  color: #b0b5c0;
  cursor: pointer;
  border-radius: 0.35rem;
  transition: color 0.15s, background 0.15s;
}
.cart-line__remove:hover {
  color: #e53935;
  background: rgba(229, 57, 53, 0.08);
}

/* --- pages/offer.css --- */
/* Публичная оферта — та же сетка .container (1280px), что и на остальных страницах */

.legal-page {
  padding: 1.75rem 0 4rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.legal-page__head {
  width: 100%;
  margin: 0 0 1.5rem;
  text-align: left;
}

.legal-page__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-page__subtitle {
  margin: 0;
  color: #5c6370;
  font-size: 1rem;
  line-height: 1.5;
}

.legal-page__body {
  width: 100%;
  color: #242830;
  font-size: 0.9375rem;
  line-height: 1.65;
  text-align: left;
}

.legal-page__loading,
.legal-page__error {
  margin: 0;
  padding: 1rem 0;
  color: #5c6370;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.legal-page__error {
  color: #9a3412;
}

.legal-page__body p,
.legal-page__body .legal-page__heading,
.legal-page__body .legal-page__lead {
  text-align: left;
}

.legal-page__lead {
  margin: 0 0 1.5rem;
  color: #434956;
}

.legal-page__section {
  margin-bottom: 1.75rem;
}

.legal-page__section:last-child {
  margin-bottom: 0;
}

.legal-page__heading {
  margin: 0 0 0.85rem;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.legal-page__body p {
  margin: 0 0 0.75rem;
}

.legal-page__body ul {
  display: block;
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  text-align: left;
}

.legal-page__body li {
  margin-bottom: 0.35rem;
}

.legal-page__body li:last-child {
  margin-bottom: 0;
}

.legal-page__loading,
.legal-page__error {
  margin: 0;
  color: #73798c;
}

/* --- pages/contacts.css --- */
.branches-section {
  padding: 1.5rem 0 2.5rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  max-width: 100%;
  overflow-x: clip;
}
.branches-section__head {
  margin-bottom: 1.25rem;
}
.branches-section__title {
  margin: 0 0 0.45rem;
  font-size: var(--page-title-size);
  line-height: var(--page-title-line-height);
  font-weight: var(--page-title-weight);
  letter-spacing: var(--page-title-letter-spacing);
}
.branches-section__subtitle {
  margin: 0;
  color: #5c6370;
  font-size: 0.98rem;
  line-height: 1.55;
}
.branches-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 22rem);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  align-items: stretch;
  max-width: 100%;
  --branches-panel-height: clamp(22rem, 52vh, 30rem);
}
.branches-map-host {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: var(--branches-panel-height);
  border-radius: 1rem;
  border: 1px solid #dbe0e8;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(15, 23, 42, 0.08);
}
.branches-map {
  width: 100%;
  max-width: 100%;
  height: 100%;
}
.branches-map .leaflet-container {
  max-width: 100%;
}
.branches-list-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  height: var(--branches-panel-height);
  min-height: 0;
}
.branches-list__hint,
.branches-list__scroll-hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #73798c;
  text-align: center;
  padding: 0 0.45rem;
  flex-shrink: 0;
}
.branches-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.5rem 0.65rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #d8dbe3 transparent;
}
.branches-list::-webkit-scrollbar {
  width: 6px;
}
.branches-list::-webkit-scrollbar-thumb {
  background: #d8dbe3;
  border-radius: 100px;
}
.branch-card {
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.branch-card:hover {
  border-color: rgba(244, 179, 39, 0.6);
  box-shadow: 0 8px 22px rgba(244, 179, 39, 0.16);
  transform: translateY(-1px);
}
.branch-card.is-active {
  border-color: #f4b327;
  box-shadow: 0 8px 24px rgba(244, 179, 39, 0.2);
  background: #fffdf7;
}
.branch-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #242830;
}
.branch-card__meta {
  margin: 0 0 0.35rem;
  color: #5c6370;
  font-size: 0.9rem;
  line-height: 1.45;
}
.branch-card__hours {
  margin: 0 0 0.45rem;
  color: #242830;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.branch-card__phone {
  font-size: 0.95rem;
  font-weight: 700;
  color: #b97800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.branch-card__phone:hover {
  text-decoration: underline;
}
.branches-map .leaflet-control-attribution {
  font-size: 0.6875rem;
}

.branch-map-popup {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 5;
  padding: 0.8rem 0.95rem 0.9rem;
  background: #fff;
  border-radius: 0.9rem;
  border: 1px solid rgba(244, 179, 39, 0.28);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.16);
}
.branch-map-popup[hidden] {
  display: none;
}
.branch-map-popup__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f4f8;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.branch-map-popup__close:hover {
  background: #e8eaf0;
  color: #242830;
}
.branch-map-popup__close:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}

.branch-popup {
  padding: 0;
  font-family: "Nunito", sans-serif;
  color: #242830;
}
.branch-popup__title {
  margin: 0 0 0.35rem;
  padding-right: 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #242830;
}
.branch-popup__address {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #5c6370;
}
.branch-popup__hours {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #242830;
  font-variant-numeric: tabular-nums;
}
.branch-popup__phone {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 1000em;
  background: #fff7e6;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #b97800;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.branch-popup__phone:hover {
  background: #ffefc2;
  color: #9a6700;
}
.branch-popup__phone:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}

/* Филиалы: заполняем высоту main, контент по-прежнему в .container 1280px */
@media (min-width: 981px) {
  main:has(.branches-section) {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .branches-section {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .branches-section > .container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .branches-section__head {
    flex-shrink: 0;
  }

  .branches-section__layout {
    flex: 1 1 auto;
    min-height: 0;
    --branches-panel-height: clamp(24rem, calc(100dvh - 17rem), 34rem);
  }
}

@media (max-width: 980px) {
  .branches-section__layout {
    grid-template-columns: 1fr;
    --branches-panel-height: clamp(16rem, 42vw, 21rem);
  }
  .branches-map-host {
    height: var(--branches-panel-height);
  }
  .branches-map {
    height: 100%;
  }
  .branches-list-panel {
    height: auto;
  }
  .branches-list {
    flex: none;
    max-height: none;
    overflow: visible;
    padding: 0.35rem 0;
    align-items: center;
  }
  .branch-card {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .branch-card__phone {
    display: inline-block;
  }
  .branches-list__scroll-hint {
    display: none;
  }
}

@media (max-width: 640px) {
  .branches-section {
    padding: 1rem 0 1.75rem;
  }
  .branches-section__head {
    margin-bottom: 0.75rem;
    text-align: center;
  }
  .branches-section__title {
    font-size: var(--page-title-size-sm);
  }
  .branches-section__layout {
    --branches-panel-height: 17.5rem;
    gap: 0.65rem;
  }
  .branches-list__hint {
    font-size: 0.75rem;
  }
  .branch-card {
    padding: 0.8rem 0.85rem;
  }
  .branch-card__title {
    font-size: 0.95rem;
  }
  .branch-map-popup {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .branches-section__layout {
    --branches-panel-height: 15rem;
  }
  .branches-map-host {
    border-radius: 0.75rem;
  }
}

/* --- pages/news.css --- */
/* Страница новостей */

.page-news {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(244, 179, 39, 0.14), transparent 55%),
    linear-gradient(180deg, #f8f9fc 0%, var(--color-bg-muted) 45%, #eef0f5 100%);
}

.news-page {
  padding: 1.5rem 0 4.5rem;
  min-height: 55vh;
}

.news-page__head {
  margin: 0 0 var(--page-head-margin-bottom);
  text-align: left;
}

.news-page__title {
  margin: 0 0 0.45rem;
  font-size: var(--page-title-size);
  line-height: var(--page-title-line-height);
  font-weight: var(--page-title-weight);
  letter-spacing: var(--page-title-letter-spacing);
  color: var(--color-text);
}

.news-page__subtitle {
  margin: 0;
  max-width: 36rem;
  color: #5c6370;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.55;
}

.news-page__list {
  display: grid;
  gap: 1.25rem;
}

.news-page__empty {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 3.75rem) clamp(1.5rem, 5vw, 2.5rem) clamp(2.25rem, 6vw, 3rem);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.news-page__empty::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #ffd56a 50%, var(--color-accent) 100%);
}

.news-page__empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(36, 40, 48, 0.04) 1px, transparent 0);
  background-size: 1.25rem 1.25rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.news-page__empty-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.8vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.news-page__empty-text {
  position: relative;
  z-index: 1;
  margin: 0 auto 1.75rem;
  max-width: 20rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.news-page__empty-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75em 2em;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 2em;
  box-shadow: 0 4px 14px rgba(244, 179, 39, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.news-page__empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 179, 39, 0.4);
}

.news-page__empty-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .news-page {
    padding: 1.35rem 0 2.75rem;
  }

  .news-page__title {
    font-size: var(--page-title-size-sm);
  }

  .news-page__empty {
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-page__empty-btn:hover {
    transform: none;
  }
}

/* --- pages/about.css --- */
/* Страница «О нас» — по бренд-презентации Sariq Bola */

.page-about {
  --about-blue: #1a4fb8;
  --about-blue-dark: #153d8f;
  --about-yellow: #ffc800;
  --about-line: 3px;
  background: #fff;
}

.about-page {
  overflow-x: hidden;
}

/* ——— Заголовок страницы (как на «Филиалы») ——— */
.about-intro {
  padding: 1.5rem 0 0.25rem;
}

.about-intro__title {
  margin: 0 0 0.45rem;
  font-size: var(--page-title-size);
  line-height: var(--page-title-line-height);
  font-weight: var(--page-title-weight);
  letter-spacing: var(--page-title-letter-spacing);
  color: var(--about-blue);
}

.about-intro__title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--about-yellow) 0%, #ffd56a 100%);
}

/* ——— Контент с водяным знаком ——— */
.about-page__body {
  position: relative;
  background-color: #fff;
}

.about-page__pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='120' viewBox='0 0 200 120'%3E%3Ctext x='10' y='70' fill='%231a4fb8' fill-opacity='0.04' font-family='Nunito,Arial,sans-serif' font-size='18' font-weight='800' transform='rotate(-18 60 50)'%3ESARIQ BOLA%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
}

.about-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  scroll-margin-top: var(--header-sticky-offset, 5.5rem);
}

.about-page__body > .about-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0) 100%);
}

.about-section__inner {
  position: relative;
}

.about-section__frame {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-top: var(--about-line) solid var(--about-blue);
  border-bottom: var(--about-line) solid var(--about-blue);
}

.about-page__body > .about-section:first-of-type .about-section__frame {
  border-top: none;
  padding-top: 0;
}

.about-section__logo {
  position: absolute;
  top: clamp(0.5rem, 2vw, 1rem);
  right: 0;
  z-index: 2;
  width: clamp(5.5rem, 14vw, 9rem);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 4px 12px rgba(26, 79, 184, 0.12));
  pointer-events: none;
}

.about-section__title {
  margin: 0 0 1rem;
  padding: 0.15rem 0 0.15rem 1rem;
  padding-right: clamp(5rem, 18vw, 10rem);
  border-left: 4px solid var(--about-yellow);
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--about-blue);
}

.about-section__title--lg {
  font-size: clamp(1.35rem, 3.8vw, 2rem);
}

.about-section__lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--about-blue);
  font-weight: 600;
}

.about-section__text {
  margin: 0;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--about-blue);
}

.about-section__intro {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.55;
  color: var(--about-blue);
  font-weight: 600;
}

/* ——— Две колонки ——— */
.about-split {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .about-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .about-split--reverse .about-split__media {
    order: -1;
  }
}

.about-split__media {
  margin: 0;
}

.about-split__media--frame {
  padding: 0.35rem;
  background: var(--about-blue);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(26, 79, 184, 0.18);
  transition: transform 0.35s var(--ease-out, ease), box-shadow 0.35s ease;
}

@media (hover: hover) {
  .about-split__media--frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(26, 79, 184, 0.22);
  }
}

.about-split__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.2rem;
}

.about-split__img--contain {
  max-height: 22rem;
  margin: 0 auto;
  object-fit: contain;
}

.about-split__img--wide {
  max-height: none;
}

/* ——— Цель + Halal ——— */
.about-goal__halal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.about-goal__halal-img {
  width: min(100%, 18rem);
  height: auto;
}

/* ——— Сетка ценностей ——— */
.about-values__grid {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 520px) {
  .about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .about-values__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.about-values__card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  min-height: 5.5rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(145deg, var(--about-blue) 0%, var(--about-blue-dark) 100%);
  border-radius: 0.65rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 79, 184, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .about-values__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(26, 79, 184, 0.32);
  }
}

.about-values__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: #fff;
  border-radius: 50%;
  color: var(--about-blue);
}

.about-values__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.about-values__name {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.about-values__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  opacity: 0.95;
}

/* ——— Детальные блоки ценностей ——— */
.about-value-detail {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid rgba(26, 79, 184, 0.12);
}

.about-value-detail:last-child {
  border-bottom: 0;
}

.about-value-detail__heading {
  margin: 0 0 0.85rem;
  padding-left: 1rem;
  border-left: 3px solid var(--about-yellow);
  font-size: clamp(1.125rem, 2.8vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--about-blue);
}

.about-value-detail__text {
  margin: 0 0 1.25rem;
  max-width: 52rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--about-blue);
}

.about-value-detail__illustration {
  margin: 0;
  text-align: center;
}

.about-value-detail__img {
  display: block;
  width: 100%;
  max-width: 42rem;
  height: auto;
  margin: 0 auto;
}

.about-value-detail__img--full {
  max-width: none;
}

.about-value-detail--row {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-value-detail--row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .about-value-detail--row-reverse .about-value-detail__illustration {
    order: -1;
  }
}

/* ——— Баннер «интересы команды» ——— */
.about-banner {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: transparent;
}

.about-banner__inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
  background: linear-gradient(135deg, var(--about-blue) 0%, #2563c7 55%, var(--about-blue-dark) 100%);
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 16px 48px rgba(26, 79, 184, 0.28);
}

.about-banner__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--about-yellow) 0%, #ffd56a 50%, var(--about-yellow) 100%);
}

@media (min-width: 768px) {
  .about-banner__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3rem);
  }
}

.about-banner__title {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 3.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.about-banner__text {
  margin: 0;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.6;
  opacity: 0.95;
}

.about-banner__mascot {
  justify-self: center;
  width: clamp(6rem, 18vw, 10rem);
  height: clamp(6rem, 18vw, 10rem);
  padding: 0.35rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-banner__mascot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ——— О команде + пицца-сердце ——— */
.about-team__quote {
  margin: 0;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--about-blue);
  letter-spacing: 0.01em;
}

.about-team__heart {
  margin: 0;
  padding: 0.35rem;
  background: var(--about-blue);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(26, 79, 184, 0.18);
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .about-team__heart:hover {
    transform: translateY(-4px);
  }
}

.about-outro {
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.about-outro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75em 2em;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 2em;
  box-shadow: 0 4px 14px rgba(244, 179, 39, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .about-split__media--frame,
  .about-values__card,
  .about-team__heart {
    transition: none;
  }

  .about-split__media--frame:hover,
  .about-values__card:hover,
  .about-team__heart:hover {
    transform: none;
  }
}

.about-team__heart-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.2rem;
}

@media (max-width: 768px) {
  .about-intro__title {
    font-size: var(--page-title-size-sm);
  }
}

@media (max-width: 767px) {
  .about-section__logo {
    position: static;
    display: block;
    margin: 0 0 1rem auto;
    width: 5rem;
  }

  .about-section__title {
    padding-right: 0;
  }
}

/* --- pages/order.css --- */
.order {
  padding-top: 4.37em;
  padding-bottom: 4.37em;
}
.order__title {
  font-size: 2.25em;
  line-height: 1.36em;
  margin-bottom: 0.83em;
}
.order__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.order__textbtn {
  font-weight: 600;
  line-height: 1.37em;
  text-align: center;
}
.order__wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 21.25rem);
  gap: 2rem;
  align-items: start;
  width: 100%;
}
@media (max-width: 720px) {
  .order__wrapper {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
.order__data {
  min-width: 0;
  --order-panel-max: 44rem;
}
.order__list {
  min-width: 0;
}
@media (min-width: 721px) {
  .order__list {
    position: sticky;
    top: 1.25rem;
  }
}

.status {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}
.status__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  gap: 0.35rem;
}
.status__line {
  flex: 1 1 1.5rem;
  min-width: 1rem;
  max-width: 3.25rem;
  height: 2px;
  margin-top: 1em;
  align-self: flex-start;
  border: 0;
  background: #242830;
}
.status__line.is-pending {
  height: 0;
  background: none;
  border-top: 2px dashed rgba(36, 40, 48, 0.35);
}
.status__round {
  width: 2em;
  height: 2em;
  border-radius: 1000em;
  border: 1px solid #424242;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}
.status__symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  line-height: 1;
  font-size: 0.875em;
  font-weight: 700;
}
.status__symbol img {
  display: block;
}
.status__text {
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: center;
  max-width: 5.25rem;
  white-space: nowrap;
}
.status__accepted {
  opacity: 0.45;
}
.status__accepted .status__round {
  border-color: #c5c9d2;
}

.order__form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
}
.order__field, .order__name, .order__number {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.order__name, .order__number, .order__address, .order__nav {
  width: 100%;
  max-width: var(--order-panel-max, 36rem);
}
.order__name, .order__number {
  margin-bottom: 0;
}
.order__label, .order__text {
  display: block;
  width: auto;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: #242830;
}
.order__input {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #d1d3d9;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  min-height: 2.75rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.35;
  color: #242830;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.order__input--locked {
  background: #f7f8fa;
  color: #242830;
  cursor: default;
}
.order__input--locked:focus {
  outline: none;
  border-color: #d1d3d9;
  box-shadow: none;
}
.order__input--address {
  min-height: 2.75rem;
  height: auto;
  padding: 0.75rem 1rem;
  line-height: 1.45;
}

.order-address-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.order-address-details[hidden] {
  display: none;
}
.order-address-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
}
.order-address-details__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.order-address-details__field--wide {
  grid-column: 1 / -1;
}
.order-address-details__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #5c6370;
}
.order-address-details__req {
  color: #c9921a;
}
.order-address-details__field .order__input.is-invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.12);
}
@media (min-width: 480px) {
  .order-address-details__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .order-address-details__field--wide {
    grid-column: span 1;
  }
}
@media (min-width: 640px) {
  .order-address-details__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .order-address-details__field--wide {
    grid-column: span 2;
  }
}

.order__address {
  margin-bottom: 0;
  width: 100%;
}
.order__address .order__label,
.order__address .order__text {
  margin-bottom: 0.15rem;
}

.order__address {
  display: block;
  width: 100%;
}
.order__address .order__label,
.order__address .order__text {
  display: block;
  width: auto;
  margin-bottom: 0.5rem;
}

.order__map-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.order-map__wrap {
  position: relative;
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid #d1d3d9;
  overflow: hidden;
  background: #eef0f3;
}

.order-map {
  width: 100%;
  height: 26rem;
  background: #eef0f3;
}
@media (min-width: 768px) {
  .order-map {
    height: 30rem;
  }
}

.order-map__locate {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  z-index: 2;
  max-width: calc(100% - 1.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6em 1.15em;
  border: 2px solid #c9921a;
  border-radius: 1000em;
  background: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: #242830;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(15, 23, 42, 0.18);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.order-map__locate:hover {
  border-color: #f4b327;
  background: #fffdf6;
  box-shadow: 0 4px 8px rgba(244, 179, 39, 0.25), 0 8px 24px rgba(15, 23, 42, 0.2);
}
.order-map__locate:disabled {
  opacity: 0.75;
  cursor: wait;
}
.order-map__locate:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
@media (max-width: 380px) {
  .order-map__locate {
    font-size: 0.75rem;
    padding: 0.5em 0.85em;
    bottom: 0.55rem;
  }
}
.order-map__locate__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: #73798c;
  line-height: 1.4;
}
.order-map__locate__status {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
}
.order-map__locate__status[hidden] {
  display: none;
}
.order-map__locate__status--loading {
  color: #5c6370;
  background: #f4f5f8;
}
.order-map__locate__status--ok {
  color: #1a5c2e;
  background: #edf7f0;
}
.order-map__locate__status--error {
  color: #9a3412;
  background: #fff4ed;
}

.order-map__status {
  max-width: var(--order-panel-max, 44rem);
}
.order-map__status[hidden] {
  display: none;
}
.order-map__status--loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #5c6370;
  background: #f4f5f8;
}
.order-map__status--ok {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #1a5c2e;
  background: #edf7f0;
}
.order-map__status__spinner {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(92, 99, 112, 0.2);
  border-top-color: #5c6370;
  border-radius: 50%;
  animation: order-pickup-spin 0.7s linear infinite;
}

.order-delivery-status {
  margin: 0;
  padding: 0;
  background: none;
}
.order-delivery-status__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #86c89a;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #edf7f0 0%, #fff 58%);
  box-shadow: 0 3px 14px rgba(26, 92, 46, 0.1);
}
.order-delivery-status__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: #2d9f5a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(45, 159, 90, 0.3);
}
.order-delivery-status__content {
  flex: 1;
  min-width: 0;
  padding-top: 0.1rem;
}
.order-delivery-status__badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(45, 159, 90, 0.14);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a5c2e;
  line-height: 1.2;
}
.order-delivery-status__meta {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: #242830;
}

.order-min-banner {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 600;
}
.order-min-banner[hidden] {
  display: none;
}
.order-min-banner--warn {
  color: #9a3412;
  background: #fff4ed;
  border: 1px solid #fed7aa;
}

.order-map-zone-tip {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
}

.list__wrapper {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid #e8eaef;
  border-radius: 1rem;
  padding: 1.25rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.list__title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.list__items {
  flex: 0 0 auto;
  overflow: visible;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.list__price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef0f3;
}
.list__pricetext {
  font-size: 0.9375rem;
  line-height: 1.35;
  font-weight: 600;
  color: #5c6370;
}
.list__sum {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #242830;
  white-space: nowrap;
}

.order-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f0f2f5;
}
.order-line:last-child {
  border-bottom: 0;
}
.order-line__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.order-line__name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: #242830;
}
.order-line__qty {
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 500;
  color: #73798c;
}
.order-line__price {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: #242830;
  white-space: nowrap;
  padding-top: 0.05rem;
}

.list__empty {
  margin: 0;
  padding: 1rem 0;
  font-size: 0.9375rem;
  color: #73798c;
  text-align: center;
}

.order-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: #f0f2f5;
  max-width: var(--order-panel-max, 36rem);
}
.order-type__btn {
  border: 0;
  border-radius: 0.65rem;
  padding: 0.7rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #5c6370;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.order-type__btn.is-active {
  background: #fff;
  color: #242830;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.order-type__btn:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}

.order__pickup[hidden] {
  display: none;
}
.order-pickup__hint {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #73798c;
}
.order-pickup-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: var(--order-panel-max, 36rem);
}
.order-pickup-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e8eaef;
  border-radius: 0.85rem;
  background: #fff;
  text-align: left;
  font: inherit;
  color: #242830;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.order-pickup-card:hover {
  border-color: rgba(244, 179, 39, 0.5);
  background: #fffdf6;
}
.order-pickup-card.is-selected {
  border-color: #f4b327;
  background: linear-gradient(135deg, #fff9eb 0%, #fff 100%);
  box-shadow: 0 2px 10px rgba(244, 179, 39, 0.15);
}
.order-pickup-card:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
}
.order-pickup-card__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.order-pickup-card__meta {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #73798c;
}

.order-pickup-feedback {
  max-width: var(--order-panel-max, 36rem);
}
.order-pickup-feedback[hidden] {
  display: none;
}

.order-pickup-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
}
.order-pickup-status--loading {
  color: #5c6370;
  background: #f4f5f8;
}
.order-pickup-status--ok {
  color: #1a5c2e;
  background: #edf7f0;
}
.order-pickup-status__spinner {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(92, 99, 112, 0.2);
  border-top-color: #5c6370;
  border-radius: 50%;
  animation: order-pickup-spin 0.7s linear infinite;
}
@keyframes order-pickup-spin {
  to {
    transform: rotate(360deg);
  }
}

.order-pickup-selected {
  margin-top: 0.15rem;
}
.order-pickup-selected__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #f4b327;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #fff9eb 0%, #fff 58%);
  box-shadow: 0 3px 14px rgba(244, 179, 39, 0.14);
}
.order-pickup-selected__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: #f4b327;
  color: #fff;
  box-shadow: 0 2px 8px rgba(244, 179, 39, 0.35);
}
.order-pickup-selected__content {
  flex: 1;
  min-width: 0;
}
.order-pickup-selected__badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(244, 179, 39, 0.18);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a7b1a;
  line-height: 1.2;
}
.order-pickup-selected__name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.3;
  color: #242830;
  letter-spacing: -0.01em;
}
.order-pickup-selected__line {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #5c6370;
}
.order-pickup-selected__hours {
  color: #73798c;
}
.order-pickup-selected__change {
  margin: 0.75rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #9a7b1a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.order-pickup-selected__change:hover {
  color: #7a6214;
}
.order-pickup-selected__change:focus-visible {
  outline: 2px solid #f4b327;
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.order__textarea {
  display: block;
  width: 100%;
  max-width: var(--order-panel-max, 36rem);
  box-sizing: border-box;
  min-height: 5.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d3d9;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.45;
  color: #242830;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.order__textarea:focus {
  outline: none;
  border-color: #f4b327;
  box-shadow: 0 0 0 2px rgba(244, 179, 39, 0.2);
}

.order-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--order-panel-max, 36rem);
  padding: 0.85rem 1rem;
  border: 1px solid #e8eaef;
  border-radius: 0.75rem;
  background: #fafbfc;
}
.order-payment__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5c6370;
}
.order-payment__value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #242830;
}

.order__confirm.is-loading {
  opacity: 0.75;
  pointer-events: none;
  cursor: wait;
}

/* --- pages/order-status.css --- */
.page-order-status {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(244, 179, 39, 0.1), transparent 55%),
    linear-gradient(180deg, #f8f9fc 0%, var(--color-bg-muted) 45%, #eef0f5 100%);
}

.order-status-page {
  padding: 2rem 0 3.5rem;
  min-height: 50vh;
}

.order-status-card {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.order-status-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.order-status-card__logo {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-status-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-status-card__head-main {
  flex: 1;
  min-width: 0;
}

.order-status-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b97800;
}

.order-status-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #242830;
}

.order-status-card__meta {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #73798c;
}

.order-status-card__status {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #242830;
}

.order-status-card__eta {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #73798c;
}

.order-status-card__address {
  margin: 0 0 1.15rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #242830;
  background: #f7f8fa;
  border-radius: 0.65rem;
}

.order-status-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 1rem;
  border-top: 1px solid #f0f2f5;
}

.order-status-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f0f2f5;
}

.order-status-item:last-child {
  border-bottom: 0;
}

.order-status-item__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.order-status-item__name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #242830;
}

.order-status-item__qty {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: #73798c;
}

.order-status-item__main .dish-mods--compact {
  margin-top: 0.1rem;
}

.order-status-item__mods {
  margin: 0.1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #73798c;
}

.order-status-item__price {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #242830;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-top: 0.05rem;
}

.order-status-card__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding-top: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #242830;
}

.order-status-card__total span:last-child {
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}

.order-status-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.order-status-card__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 1000em;
}

.order-status-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 1000em;
}

.order-status-card__btn--secondary {
  background: #f3f4f6;
  color: #242830;
  transition: background 0.18s;
}

.order-status-card__btn--secondary:hover {
  background: #e8eaef;
}

.order-status-card__btn--map {
  background: #fff;
  border: 1px solid #e8eaef;
  color: #242830;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.order-status-card__btn--map:hover {
  background: #fffdf6;
  border-color: rgba(244, 179, 39, 0.45);
}

.order-status-map-panel {
  padding: 1rem;
  background: #f7f8fa;
  border-radius: 0.75rem;
}

.order-status-map-panel[hidden] {
  display: none;
}

.order-status-map-panel__text {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #5c6370;
}

.order-status-map-panel__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
}

.order-status-card__error,
.order-status-card__loading {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #73798c;
  text-align: center;
}
.order-status-card--loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.order-status-card__error {
  padding: 0.75rem 0.85rem;
  color: #b42318;
  background: #fef3f2;
  border-radius: 0.65rem;
}

.order-status-spinner {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.75rem;
  border: 3px solid #eceef3;
  border-top-color: #f4b327;
  border-radius: 50%;
  animation: order-status-spin 0.75s linear infinite;
}

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

.order-status-empty {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 3.25rem) clamp(1.5rem, 5vw, 2.25rem) clamp(2rem, 6vw, 2.75rem);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.order-status-empty::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #ffd56a 50%, var(--color-accent) 100%);
}

.order-status-empty__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff9eb 0%, #fff 100%);
  box-shadow: 0 4px 16px rgba(244, 179, 39, 0.15);
}

.order-status-empty__icon img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.order-status-empty__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.8vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.order-status-empty__text {
  position: relative;
  z-index: 1;
  margin: 0 auto 1.75rem;
  max-width: 20rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.order-status-empty__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 1000em;
  box-shadow: 0 4px 14px rgba(244, 179, 39, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.order-status-empty__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 179, 39, 0.4);
}

.order-status-empty__btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .order-status-page {
    padding: 1.25rem 0 2.5rem;
  }

  .order-status-card {
    padding: 1.25rem 1rem 1.15rem;
    border-radius: 0.9rem;
  }

  .order-status-card__head {
    gap: 0.75rem;
  }

  .order-status-card__logo {
    width: 3.75rem;
    height: 3.75rem;
  }

  .order-status-card__title {
    font-size: 1.25rem;
  }

  .order-status-map-panel__stores {
    flex-direction: column;
    align-items: center;
  }

  .order-status-card__actions {
    flex-direction: column;
  }

  .order-status-card__btn {
    width: 100%;
    justify-content: center;
  }

  .page-order-status .header__actions--order .header__login {
    display: none;
  }

  .order-status-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .order-status-item__price {
    align-self: flex-end;
    font-size: 0.9375rem;
  }

  .order-status-item__name {
    font-size: 0.9375rem;
  }

  .order-status-empty {
    border-radius: 1rem;
    padding: 2.25rem 1.25rem 2rem;
  }

  .order-status-empty__btn {
    width: 100%;
    max-width: 16rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-status-empty__btn:hover {
    transform: none;
  }
}

/* --- pages/profile.css --- */
.page-profile {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(244, 179, 39, 0.14), transparent 55%),
    linear-gradient(180deg, #f8f9fc 0%, var(--color-bg-muted) 45%, #eef0f5 100%);
}

.profile-page {
  padding: 2rem 0 3.5rem;
}

.profile-page .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-page__title {
  width: 100%;
  max-width: 32rem;
  margin: 0 0 var(--page-head-margin-bottom);
  font-size: var(--page-title-size);
  line-height: var(--page-title-line-height);
  font-weight: var(--page-title-weight);
  text-align: center;
}

.profile-layout {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}

.profile-card {
  padding: 1.25rem 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.profile-card--personal {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.08);
}

.profile-card--personal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #ffd56a 50%, var(--color-accent) 100%);
}

.profile-card__title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #242830;
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.profile-field:last-child {
  margin-bottom: 0;
}

.profile-field__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5c6370;
}

.profile-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.profile-field__value {
  font-size: 1rem;
  font-weight: 600;
  color: #242830;
}

.profile-field__value--locked {
  padding: 0.75rem 1rem;
  background: #f7f8fa;
  border: 1px solid #e8eaef;
  border-radius: 0.65rem;
  color: #73798c;
  width: 100%;
  box-sizing: border-box;
}

.profile-field__change {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: #b97800;
  cursor: pointer;
}

.profile-field__change:hover {
  color: #8f5e00;
}

.profile-field__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d3d9;
  border-radius: 0.65rem;
  font-family: inherit;
  font-size: 1rem;
  color: #242830;
}

.profile-field__input:focus {
  outline: none;
  border-color: #f4b327;
  box-shadow: 0 0 0 2px rgba(244, 179, 39, 0.2);
}

.profile-field__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.profile-field__actions .btn {
  min-height: 2.5rem;
  padding: 0.5rem 1.15rem;
}

.profile-order-empty {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #73798c;
}

.profile-order-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid #eceef3;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #fffdf6 0%, #fff 100%);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.profile-order-card:hover {
  border-color: #f4b327;
  box-shadow: 0 4px 14px rgba(244, 179, 39, 0.12);
}

.profile-order-card--loading {
  color: #73798c;
  background: #f7f8fa;
}

.profile-order-card__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #73798c;
}

.profile-order-card__status {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #242830;
}

.profile-order-card__sum {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #b97800;
}

.profile-order-card__cta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #b97800;
}

.profile-history-btn {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  border: 1px solid #e8eaef;
  border-radius: 0.75rem;
  background: #fafbfc;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #242830;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.profile-history-btn:hover {
  background: #fffdf6;
  border-color: rgba(244, 179, 39, 0.45);
}

.profile-history-panel {
  margin-top: 0.85rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #f7f8fa;
}

.profile-history-panel[hidden] {
  display: none;
}

.profile-history-panel__text {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #5c6370;
}

.profile-history-panel__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
}

.profile-logout {
  width: 100%;
  margin-top: 0.75rem;
}

.profile-logout__btn {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid #dce0e8;
  border-radius: 0.85rem;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #5c6370;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.profile-logout__btn:hover {
  border-color: #c5cad6;
  background: #fafbfc;
  color: #242830;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.profile-logout__btn:active {
  background: #f4f5f8;
}

@media (max-width: 768px) {
  .profile-page {
    padding: 1.35rem 0 2.75rem;
  }

  .profile-page__title {
    font-size: var(--page-title-size-sm);
  }

  .profile-card {
    padding: 1.1rem 1rem 1.05rem;
    border-radius: 0.9rem;
  }

  .profile-field__row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .profile-field__change {
    margin-left: auto;
  }

  .profile-field__actions {
    flex-direction: column;
  }

  .profile-field__actions .btn {
    width: 100%;
  }

  .profile-history-panel__stores {
    flex-direction: column;
    align-items: center;
  }

  .profile-logout__btn {
    min-height: 3rem;
    font-size: 0.9375rem;
  }
}

/* --- base/responsive.css --- */
/* Глобальная адаптивность: каталог, корзина, заказ, оферта, модалки */

@media (max-width: 768px) {
  :root {
    --page-gutter: 0.75rem;
    --container-max: 1280px;
  }

  .slider {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .hero-banners__mascot {
    justify-content: flex-start;
    padding: 0.25rem 0 0.5rem;
  }

  .hero-banners__mascot-img {
    max-height: 6.5rem;
  }

  .item__picture {
    justify-content: center;
    align-items: center;
  }

  .item__img {
    width: 88%;
    height: 88%;
  }

  .city-modal__head {
    padding: 1.15rem var(--page-gutter) 0.65rem;
    text-align: center;
  }

  .city-modal__body {
    padding: 0 var(--page-gutter) 0.75rem;
  }

  .city-modal__list {
    padding: 0.15rem 0.25rem 0.35rem 0;
  }
}

/* ——— Каталог (главная) ——— */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 2.5rem 1rem;
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 0.65rem;
  }
  .pizza,
  .snack,
  .desserts,
  .drinks,
  .catalog-category {
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
  }
  .catalog-category:last-of-type,
  .drinks {
    padding-bottom: 3rem;
  }
  .grid-title {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.85rem;
    text-align: center;
    color: var(--color-text);
  }
  .hero-banners__arrow {
    width: 2.15rem;
    height: 2.15rem;
  }
  .slider {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  /* Карточки меню — только мобилка: фото → название → цена → кнопка */
  .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
  }
  .item__picture {
    margin: 0 auto 0.15rem;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #f7f8fa;
    overflow: hidden;
  }
  .item__picture:hover {
    transform: scale(1.02);
  }
  .item__img {
    width: 92%;
    height: 92%;
    max-height: none;
    object-fit: contain;
  }
  .item__title {
    margin: 0;
    width: 100%;
    min-height: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .item__desc {
    display: none;
  }
  .item__price--mobile {
    display: block;
    margin: 0;
    width: 100%;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #73798c;
  }
  .item__price--desktop {
    display: none;
  }
  .item__footer {
    margin-top: 0.15rem;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  .item .btn--item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7.5em;
    height: 2.5em;
    margin: 0;
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .item-skeleton {
    align-items: center;
    text-align: center;
  }
  .item-skeleton__pic {
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-bottom: 0.35rem;
  }
  .item-skeleton__line:not(.item-skeleton__line--title):not(.item-skeleton__line--short) {
    display: none;
  }
  .item-skeleton__line--title {
    width: 78%;
    margin-left: auto;
    margin-right: auto;
  }
  .item-skeleton__line--short {
    display: block;
    width: 42%;
    height: 0.75em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.35rem;
  }
  .item-skeleton__price {
    display: none;
  }
  .item-skeleton__footer {
    justify-content: center;
    width: 100%;
  }
  .item-skeleton__btn {
    width: 5rem;
    margin: 0 auto;
  }
}

@media (max-width: 380px) {
  .grid {
    gap: 1.1rem 0.5rem;
  }
  .item__title {
    font-size: 0.875rem;
  }
  .item__price--mobile {
    font-size: 0.75rem;
  }
}

/* ——— Корзина ——— */
@media (max-width: 899px) {
  .cart-page__summary {
    position: static;
    top: auto;
  }
}

@media (max-width: 640px) {
  .cart-page {
    padding: 1.25rem 0 2.5rem;
  }
  .cart-page__title {
    margin-bottom: 1.15rem;
    font-size: var(--page-title-size-sm);
  }
  .cart-line {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    gap: 0.65rem 0.75rem;
    padding: 0.9rem 1rem;
  }
  .cart-line__img {
    width: 4rem;
    height: 4rem;
  }
  .cart-line__title {
    font-size: 0.95rem;
  }
  .cart-line__price {
    font-size: 0.95rem;
  }
}

/* ——— Заказ ——— */
@media (max-width: 768px) {
  .order {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  .order__title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    margin-bottom: 0.65rem;
  }
  .order__nav {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.65rem;
  }
  .btn--tocart,
  .btn--confirm {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .order-map {
    height: min(22rem, 52vh);
  }
  .status__text {
    font-size: 0.6875rem;
    max-width: 4.5rem;
  }
  .status__line {
    min-width: 0.65rem;
    max-width: 2.5rem;
  }
}

@media (max-width: 480px) {
  .header__actions--order .status {
    display: none;
  }
  .list__wrapper {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .legal-page {
    padding: 1.25rem 0 2.5rem;
  }

  .legal-page__title {
    font-size: 1.35rem;
  }

  .legal-page__body {
    font-size: 0.9rem;
  }
}

/* ——— Модалки ——— */
@media (max-width: 640px) {
  .city-modal,
  .login-modal {
    align-items: flex-end;
    padding: 0;
  }

  .city-modal__backdrop,
  .login-modal__backdrop,
  .dish-modal__backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(36, 40, 48, 0.68);
  }

  .city-modal__panel,
  .login-modal__panel {
    width: 100%;
    max-width: none;
    min-height: 0;
    max-height: min(92dvh, 36rem);
    border-radius: 1.25rem 1.25rem 0 0;
    margin-top: auto;
  }

  .city-modal__body {
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  }

  .dish-modal__panel {
    width: 100%;
    max-width: none;
    max-height: min(92dvh, 40rem);
    border-radius: 1rem 1rem 0 0;
    margin-top: auto;
  }

  .dish-modal {
    align-items: flex-end;
    padding: 0;
  }

  .dish-modal__mods {
    grid-template-columns: 1fr;
  }

  .dish-modal__actiya-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .list__wrapper {
    padding: 1rem;
  }
}

