:root {
  --bg: #f6efe4;
  --paper: #fffaf3;
  --paper-2: #f0dfcc;
  --ink: #201612;
  --muted: #75665c;
  --line: rgba(32, 22, 18, 0.1);
  --red: #d82028;
  --red-dark: #9f161b;
  --cream: #fff3df;
  --sand: #d9b98f;
  --green: #294335;
  --shadow: 0 24px 70px rgba(79, 45, 27, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1300px;
  --header-height: 72px;
  --ui-scale: 0.92;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 34px);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 32, 40, 0.08), transparent 30%),
    linear-gradient(180deg, #fff7ec 0%, var(--bg) 46%, #efe1d0 100%);
  font-family: "Onest", sans-serif;
  -webkit-overflow-scrolling: touch;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(216, 32, 40, 0.08), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(217, 185, 143, 0.22), transparent 24%),
    repeating-linear-gradient(115deg, rgba(32, 22, 18, 0.025) 0 1px, transparent 1px 22px);
  opacity: 0.8;
}

body.is-dialog-open {
  overflow: hidden;
}

body.is-app-loading {
  overflow: hidden;
}

.app-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  gap: 12px;
  background:
    radial-gradient(circle at 14% 18%, rgba(216, 32, 40, 0.1), transparent 24%),
    linear-gradient(180deg, #fff7ec 0%, var(--bg) 55%, #efe1d0 100%);
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
}

.app-loader__spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(32, 22, 18, 0.14);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: app-loader-spin 0.9s linear infinite;
}

.app-loader p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.02em;
}

body:not(.is-app-loading) .app-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

img {
  display: block;
  max-width: 100%;
}

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

[hidden] {
  display: none !important;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header,
.page-shell,
.admin-header,
.admin-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: var(--header-height);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(32, 22, 18, 0.42);
  color: #fffaf3;
  box-shadow: 0 18px 50px rgba(13, 6, 4, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(22px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-lockup__mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 34%),
    var(--red);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.brand-lockup__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-lockup__name {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  border-radius: 999px;
  padding: 4px;
  background: rgba(16, 8, 5, 0.16);
}

.site-nav a,
.header-account {
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 250, 243, 0.86);
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.header-account:hover,
.header-account.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
  animation: page-in 340ms ease both;
}

body[data-page="about"] main {
  display: flex;
  flex-direction: column;
}

body[data-page="about"] .contacts-page[data-page="about"].is-active {
  order: 1;
}

body[data-page="about"] .info-page[data-page="about"].is-active {
  order: 2;
}

.site-nav__service {
  opacity: 0.68;
}

.header-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  white-space: nowrap;
}

.header-account__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.header-account__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-account__label {
  display: inline-block;
}

.cafe-hero {
  position: relative;
  min-height: 720px;
  height: 76svh;
  overflow: hidden;
  background: #2b1711;
}

.cafe-hero__marquee {
  position: absolute;
  inset: -6% -14%;
  display: grid;
  align-content: center;
  gap: 20px;
  opacity: 0;
  transform: rotate(-2.2deg) scale(1.04);
  transition: opacity 180ms ease;
}

.cafe-hero__marquee.is-ready {
  opacity: 0.88;
}

.cafe-hero__marquee[data-layout="mobile"] .hero-marquee__row:nth-child(n + 2) {
  display: none;
}

.hero-marquee__row {
  display: flex;
  width: max-content;
  gap: 20px;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.hero-food-card,
.hero-food-card img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.hero-marquee__row--2 {
  margin-left: -160px;
}

.hero-marquee__row--3 {
  margin-left: -80px;
}

.hero-food-card {
  position: relative;
  flex: 0 0 clamp(240px, 24vw, 380px);
  height: clamp(150px, 17vw, 248px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #382016;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.hero-food-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-food-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fffaf3;
  background: rgba(32, 22, 18, 0.62);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 800;
}

.cafe-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 8, 5, 0.74) 0%, rgba(16, 8, 5, 0.42) 46%, rgba(16, 8, 5, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.58) 100%);
}

.cafe-hero__content {
  position: absolute;
  left: max(24px, calc((100vw - var(--max-width)) / 2));
  bottom: 112px;
  width: min(620px, calc(100% - 48px));
  color: #fffaf3;
  animation: rise-in 680ms ease both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cafe-hero .eyebrow {
  display: none;
  color: #ffd7be;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.cafe-hero h1,
.menu-heading h2,
.category-section__header h2,
.cart-panel h3,
.visit-strip h2,
.contact-map-layout h2,
.yandex-reviews-board h2,
.inner-page-hero h1,
.checkout-card h1,
.checkout-summary h2,
.account-nudge h2,
.local-order-card h3,
.admin-header h1,
.orders-board__header h2,
.catalog-editor__header h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  line-height: 0.92;
}

.cafe-hero h1 {
  margin-top: 14px;
  font-size: clamp(5rem, 13vw, 10.8rem);
}

.cafe-hero p {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 250, 243, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.button--primary {
  color: #fffaf3;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 34px rgba(159, 22, 27, 0.26);
}

.button--success {
  color: #fffaf3;
  border-color: transparent;
  background: linear-gradient(135deg, #148542, var(--green));
  box-shadow: 0 16px 34px rgba(35, 126, 76, 0.2);
}

.button--light {
  color: #241612;
  background: rgba(255, 250, 243, 0.92);
}

.button--outline,
.button--ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.button--small {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.button--wide {
  width: 100%;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ink);
  animation: rise-in 700ms 160ms ease both;
}

.hero-meta span {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 13px 16px;
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 14px 34px rgba(79, 45, 27, 0.08);
  font-weight: 900;
}

.page-shell {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 18px;
  padding-bottom: 80px;
}

.order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.order-mode {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-width: 0;
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #eadac7;
}

.mode-tabs button,
.mode-tabs a,
.yandex-delivery-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 16px 18px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.mode-tabs button.is-active {
  color: #fffaf3;
  background: var(--red);
}

.mode-tabs a {
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink);
}

.mode-tabs a:hover {
  background: #fffaf3;
  transform: translateY(-1px);
}

.yandex-delivery-button {
  border: 1px solid var(--line);
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 12px 28px rgba(79, 45, 27, 0.1);
  text-decoration: none;
  white-space: nowrap;
}

.mode-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pickup-mode-note {
  display: none;
  grid-column: 1 / -1;
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.queue-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(41, 67, 53, 0.16);
  border-radius: 24px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(41, 67, 53, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.54);
}

.queue-note span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.queue-note strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.queue-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.queue-note.is-busy {
  border-color: rgba(164, 94, 16, 0.28);
  background:
    linear-gradient(135deg, rgba(227, 155, 40, 0.16), transparent 56%),
    rgba(255, 255, 255, 0.58);
}

.queue-note.is-busy span {
  color: #a45e10;
}

.queue-note.is-closed {
  border-color: rgba(216, 32, 40, 0.28);
  background:
    linear-gradient(135deg, rgba(216, 32, 40, 0.12), transparent 56%),
    rgba(255, 255, 255, 0.64);
}

.queue-note.is-closed span {
  color: var(--red);
}

.queue-note--checkout {
  margin-top: 16px;
}

.ordering-banner {
  margin: 16px 0 18px;
}

.pickup-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.pickup-summary div,
.promo-card,
.cart-panel,
.review-card,
.visit-strip,
.metric-card,
.orders-board,
.catalog-editor,
.status-column,
.catalog-row,
.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.84);
}

.pickup-summary div {
  padding: 16px 18px;
}

.pickup-summary span,
.cart-panel__summary span,
.visit-strip__facts span,
.metric-card span,
.order-card__contact span,
.catalog-row small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.pickup-summary strong,
.cart-panel__summary strong,
.visit-strip__facts strong,
.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.promo-card {
  min-height: 188px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(245, 229, 208, 0.88)),
    radial-gradient(circle at right top, rgba(216, 32, 40, 0.18), transparent 44%);
}

.promo-card span,
.featured-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.promo-card h3 {
  margin: 18px 0 0;
  font-size: 1.45rem;
}

.promo-card p,
.menu-heading p,
.cart-panel p,
.product-tile p,
.review-card p,
.visit-strip p,
.catalog-editor__header p,
.catalog-group__hint,
.admin-header p {
  color: var(--muted);
  line-height: 1.65;
}

.promotions-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.promotion-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 250, 243, 0.93) 0 48%, rgba(255, 228, 205, 0.9) 100%),
    radial-gradient(circle at 88% 8%, rgba(216, 32, 40, 0.18), transparent 34%);
  box-shadow: var(--shadow);
}

.promotion-card::before {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -74px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, rgba(255, 255, 255, 0.8), transparent 22%),
    repeating-conic-gradient(from 10deg, rgba(216, 32, 40, 0.16) 0deg 18deg, rgba(217, 185, 143, 0.2) 18deg 36deg);
  opacity: 0.7;
}

.promotion-card > * {
  position: relative;
}

.promotion-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 9px 12px;
  color: #fffaf3;
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promotion-card h2 {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.promotion-card p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.promotion-card__copy {
  position: relative;
  z-index: 1;
  max-width: min(100%, 620px);
}

.promotion-card__image {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: end;
  width: min(100%, 240px);
  max-height: 240px;
  object-fit: cover;
  border: 1px solid rgba(32, 22, 18, 0.08);
  border-radius: 30px;
  box-shadow: 0 20px 34px rgba(32, 22, 18, 0.12);
}

.promotion-card:has(.promotion-card__image) {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 240px);
  gap: 18px 24px;
}

.promotion-card:has(.promotion-card__image) .promotion-card__copy,
.promotion-card:has(.promotion-card__image) .button {
  grid-column: 1;
}

.promotion-card:has(.promotion-card__image) .promotion-card__image {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.promotion-card .button {
  align-self: end;
  justify-self: start;
  margin-top: 34px;
}

.promotion-card--2 {
  background:
    linear-gradient(145deg, rgba(255, 250, 243, 0.93) 0 50%, rgba(231, 210, 181, 0.82) 100%),
    radial-gradient(circle at 90% 14%, rgba(41, 67, 53, 0.18), transparent 34%);
}

.menu-section,
.reviews-section,
.visit-strip {
  margin-top: 76px;
}

.menu-heading {
  max-width: 760px;
}

.menu-heading h2 {
  margin-top: 10px;
  font-size: clamp(2.55rem, 5.1vw, 4.95rem);
}

.menu-heading p {
  margin: 14px 0 0;
  font-size: 1.05rem;
}

.category-list {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  z-index: 16;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.88);
  box-shadow: 0 14px 36px rgba(79, 45, 27, 0.1);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.category-scroll {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.courier-body {
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(216, 32, 40, 0.1), transparent 28%),
    linear-gradient(180deg, #fff4e8 0%, #fffaf4 42%, #f5ecdf 100%);
}

.courier-login,
.courier-shell {
  width: min(100% - 22px, 460px);
  margin: 0 auto;
}

.courier-login {
  display: grid;
  min-height: 100svh;
  place-items: center;
}

.courier-login__panel {
  width: min(100%, 440px);
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: 34px;
  padding: 34px;
  background: rgba(255, 250, 243, 0.92);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.courier-login__panel h1 {
  margin: 10px 0 8px;
  font-size: clamp(2.6rem, 8vw, 4rem);
}

.courier-login__panel p {
  color: var(--muted);
  line-height: 1.55;
}

.courier-login__panel label {
  display: block;
  margin-top: 16px;
}

.courier-login__panel input {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
}

.courier-shell {
  padding: 0 0 28px;
}

.courier-hero {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  margin-inline: -11px;
  border-radius: 0 0 22px 22px;
  padding: max(12px, env(safe-area-inset-top)) 16px 14px;
  color: #fffaf3;
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(150deg, #e21e2a 0%, #b80f1b 58%, #7c0b13 100%);
  box-shadow: 0 16px 34px rgba(184, 15, 27, 0.22);
}

.courier-hero__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.courier-hero__brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.2);
}

.courier-hero__brand strong,
.courier-hero__brand span {
  display: block;
}

.courier-hero__brand strong {
  font-size: 1.02rem;
  font-weight: 950;
}

.courier-hero__brand span {
  margin-top: 0;
  color: rgba(255, 250, 243, 0.78);
  font-size: 0.88rem;
  font-weight: 850;
}

.courier-hero p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 250, 243, 0.78);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.35;
}

.courier-icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fffaf3;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
}

.courier-refresh-button {
  grid-column: 1 / -1;
  justify-self: stretch;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: #b80f1b;
  background: rgba(255, 250, 243, 0.94);
  cursor: pointer;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(42, 13, 13, 0.14);
}

.courier-profile-card {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 1fr;
  gap: 8px;
  margin: 10px 0;
  border: 1px solid rgba(32, 22, 18, 0.08);
  border-radius: 22px;
  padding: 10px;
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 14px 28px rgba(79, 45, 27, 0.1);
}

.courier-profile-card > div {
  min-width: 0;
  border-radius: 17px;
  padding: 9px 10px;
  background: rgba(32, 22, 18, 0.045);
}

.courier-profile-card small,
.courier-profile-card span {
  display: block;
  color: #8d7668;
  font-weight: 900;
}

.courier-profile-card small {
  margin-bottom: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.courier-profile-card strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.courier-profile-card span {
  margin-top: 3px;
  overflow: hidden;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.courier-tabs {
  display: flex;
  gap: 6px;
  margin: 8px 0 10px;
  padding: 6px;
  overflow-x: auto;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 16px 34px rgba(79, 45, 27, 0.12);
  scroll-padding-inline: 8px;
  scrollbar-width: none;
}

.courier-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: #7a6455;
  background: rgba(32, 22, 18, 0.05);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.courier-tabs button.is-active {
  color: #fffaf3;
  background: var(--red);
  box-shadow: 0 10px 22px rgba(216, 32, 40, 0.18);
}

.courier-tabs span {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 0.68rem;
}

.courier-feed {
  display: grid;
  gap: 12px;
  padding-bottom: env(safe-area-inset-bottom);
}

.courier-task {
  position: relative;
  display: grid;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(32, 22, 18, 0.08);
  border-radius: 21px;
  padding: 12px;
  background: rgba(255, 250, 243, 0.96);
  box-shadow: 0 14px 30px rgba(87, 51, 27, 0.1);
  animation: courierTaskIn 0.22s ease both;
}

.courier-task__stripe {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--red);
}

.courier-task--cooking .courier-task__stripe {
  background: #f3b33f;
}

.courier-task--ready .courier-task__stripe {
  background: var(--red);
}

.courier-task--picked .courier-task__stripe,
.courier-task--completed .courier-task__stripe {
  background: var(--green);
}

.courier-task__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 8px;
  align-items: center;
  padding-left: 5px;
  cursor: pointer;
  list-style: none;
}

.courier-task__summary::-webkit-details-marker {
  display: none;
}

.courier-task__summary strong {
  color: var(--red);
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1;
}

.courier-task__summary span {
  justify-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  color: #fffaf3;
  background: var(--red);
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.courier-task--cooking .courier-task__summary span {
  background: #f0a51d;
}

.courier-task--picked .courier-task__summary span,
.courier-task--completed .courier-task__summary span {
  background: var(--green);
}

.courier-task__summary time {
  grid-column: 1 / 3;
  color: #7a6455;
  font-size: 0.86rem;
  font-weight: 950;
}

.courier-task__summary em {
  grid-row: 1 / 3;
  grid-column: 3;
  align-self: center;
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--ink);
  background: rgba(32, 22, 18, 0.06);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
}

.courier-task[open] .courier-task__summary em {
  color: #fffaf3;
  background: var(--ink);
}

.courier-task__content {
  display: grid;
  gap: 9px;
}

.courier-task__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.courier-task__head strong {
  color: var(--red);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.courier-task__head span {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fffaf3;
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.courier-task--cooking .courier-task__head span {
  background: #f0a51d;
}

.courier-task--picked .courier-task__head span,
.courier-task--completed .courier-task__head span {
  background: var(--green);
}

.courier-task__head time {
  color: #7a6455;
  font-weight: 900;
}

.courier-task__hint {
  margin: 0;
  color: #7a6455;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
}

.courier-task__times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.courier-task__times span {
  border-radius: 15px;
  padding: 9px 10px;
  background: rgba(216, 32, 40, 0.07);
}

.courier-task__times small {
  display: block;
  margin-bottom: 3px;
  color: #8d7668;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.courier-task__times strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.2;
}

.courier-task__assignee {
  margin: 0;
  border-radius: 14px;
  padding: 8px 10px;
  color: #8d7668;
  background: rgba(32, 22, 18, 0.04);
  font-size: 0.78rem;
  font-weight: 900;
}

.courier-task__assignee.is-assigned {
  color: #155a34;
  background: rgba(30, 122, 77, 0.1);
}

.courier-task__main {
  display: grid;
  gap: 10px;
}

.courier-task__main > div,
.courier-task__details {
  border-radius: 16px;
  padding: 10px 11px;
  background: rgba(32, 22, 18, 0.045);
}

.courier-task__main small,
.courier-task__details small {
  display: block;
  margin-bottom: 4px;
  color: #8d7668;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.courier-task__main a,
.courier-task__main strong {
  display: block;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.courier-task__details {
  color: #7a6455;
  font-weight: 850;
  line-height: 1.45;
}

.courier-task__details p {
  margin: 8px 0 0;
  color: #8a4a15;
}

.courier-task__details strong {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-size: 1.05rem;
}

.courier-task__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.courier-mini-action,
.courier-secondary-action,
.courier-primary-action {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.courier-mini-action {
  color: var(--ink);
  background: rgba(32, 22, 18, 0.06);
}

.courier-secondary-action {
  grid-column: 1 / -1;
  color: var(--ink);
  background: rgba(32, 22, 18, 0.08);
}

.courier-primary-action {
  grid-column: 1 / -1;
  color: #fffaf3;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(216, 32, 40, 0.2);
}

.courier-primary-action:disabled {
  cursor: wait;
  opacity: 0.7;
}

.courier-empty {
  border: 1px dashed rgba(32, 22, 18, 0.16);
  border-radius: 24px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 250, 243, 0.66);
  font-weight: 900;
}

@keyframes courierTaskIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .courier-shell {
    width: min(100% - 44px, 760px);
  }

  .courier-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .courier-hero {
    margin-inline: 0;
    border-radius: 24px;
  }
}

.menu-search {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin: 16px 0 0;
  font-weight: 900;
}

.menu-search span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 15px 20px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.88);
  box-shadow: 0 14px 30px rgba(79, 45, 27, 0.08);
  font: inherit;
  font-weight: 900;
}

.category-list::after {
  display: none;
}

.category-more-chip {
  position: static;
  z-index: 2;
  display: none;
  flex: 0 0 auto;
  align-self: center;
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  color: rgba(32, 22, 18, 0.78);
  background: rgba(32, 22, 18, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.category-list::-webkit-scrollbar,
.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.category-chip:hover,
.category-chip.is-active {
  color: #fffaf3;
  background: var(--red);
  transform: translateY(-1px);
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}

.featured-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.featured-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 10px 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.88);
  box-shadow: 0 18px 44px rgba(79, 45, 27, 0.08);
}

.featured-card img {
  grid-row: 1 / 3;
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 17px;
}

.featured-card h3 {
  margin: 6px 0 0;
  font-size: 0.98rem;
  line-height: 1.18;
}

.featured-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.featured-card__price {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: #fffaf3;
  background: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.product-grid {
  display: grid;
  gap: 40px;
}

.category-section {
  scroll-margin-top: 224px;
}

.category-section__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.category-section__header h2 {
  font-size: clamp(2.15rem, 3.4vw, 3.55rem);
}

.category-section__header span {
  color: var(--muted);
  font-weight: 800;
}

.product-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 18px 48px rgba(79, 45, 27, 0.08);
  cursor: pointer;
}

.product-tile__media {
  position: relative;
  width: 100%;
  height: 214px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #eadac7;
  cursor: pointer;
}

.product-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.product-tile:hover .product-tile__media img {
  transform: scale(1.05);
}

.product-tile__tags {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tile__tags span {
  border-radius: 999px;
  padding: 8px 10px;
  color: #fffaf3;
  background: rgba(32, 22, 18, 0.66);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-tile__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 16px;
}

.product-tile__topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.product-tile h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.25;
}

.product-tile__topline span {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 700;
}

.product-tile p {
  min-height: 66px;
  margin: 0;
  font-size: 0.9rem;
}

.product-tile__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-tile__footer strong {
  font-size: 1.16rem;
}

.product-tile__footer .button {
  color: #fffaf3;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 28px rgba(216, 32, 40, 0.2);
}

.product-tile__footer .button:hover {
  transform: translateY(-1px);
}

.product-dialog,
.mobile-cart-drawer,
.auth-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.admin-login {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 22% 18%, rgba(220, 24, 36, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(32, 22, 18, 0.58), rgba(32, 22, 18, 0.22)),
    var(--paper);
  backdrop-filter: blur(12px);
}

.admin-login[hidden],
.admin-app-shell[hidden] {
  display: none;
}

.admin-login__panel {
  display: grid;
  gap: 14px;
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 30px;
  background: rgba(255, 250, 243, 0.94);
  box-shadow: var(--shadow);
}

.admin-login__panel h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.06em;
}

.admin-login__panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.admin-login__panel label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.admin-login__panel input {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.14);
  border-radius: 17px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-weight: 900;
}

.admin-users-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.admin-user-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-user-card > div,
.admin-user-card button {
  grid-column: 1 / -1;
}

.admin-user-card label {
  display: grid;
  gap: 6px;
}

.admin-user-card input,
.admin-user-card select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-weight: 850;
}

.display-body {
  height: 100vh;
  overflow: hidden;
  padding: clamp(10px, 1.5vw, 24px) clamp(16px, 2.5vw, 36px) clamp(14px, 2vw, 28px);
  color: #fffaf3;
  background:
    radial-gradient(circle at 18% 20%, rgba(220, 24, 36, 0.38), transparent 28%),
    linear-gradient(135deg, #1f1612, #3a241e 54%, #241612);
}

.display-board {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(10px, 1.7vw, 22px);
  height: calc(100vh - clamp(22px, 3.8vw, 56px));
  overflow: hidden;
}

.display-body.display-app-scaled .display-board {
  transform: scale(var(--tv-app-scale, 1));
  transform-origin: top left;
}

.display-board header {
  display: flex;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 250, 243, 0.2);
  padding-bottom: clamp(8px, 1.3vw, 16px);
}

.display-head-left {
  display: grid;
  gap: clamp(6px, 0.9vw, 12px);
  min-width: 0;
  flex: 1 1 auto;
}

.display-brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
}

.display-brand__logo {
  width: clamp(42px, 4vw, 74px);
  height: clamp(42px, 4vw, 74px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.display-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.display-board header span {
  color: #ffdfd3;
  font-size: clamp(1.05rem, 1.7vw, 1.6rem);
  font-weight: 950;
}

.display-board h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.display-board p {
  margin: 2px 0 0;
  color: rgba(255, 250, 243, 0.68);
  font-weight: 900;
}

.display-aside {
  display: grid;
  align-content: start;
  gap: clamp(8px, 1vw, 14px);
}

.display-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  min-height: 0;
  overflow: hidden;
}

.display-columns article {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: clamp(14px, 1.7vw, 22px);
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: 36px;
  min-height: 0;
  overflow: hidden;
  padding: clamp(20px, 2.5vw, 34px);
  background: rgba(255, 250, 243, 0.08);
}

.display-columns h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.9rem);
  letter-spacing: -0.06em;
}

.display-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  justify-content: stretch;
  align-content: start;
  grid-auto-rows: 72px;
  gap: clamp(8px, 0.85vw, 12px);
  grid-auto-flow: row dense;
  min-height: 0;
  overflow: hidden;
  padding-right: 0;
  scrollbar-width: none;
}

.display-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.display-order {
  display: grid;
  gap: 3px;
  align-content: center;
  border-radius: 14px;
  min-height: 0;
  max-width: none;
  height: 100%;
  padding: 10px 11px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.94);
}

.display-order span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.display-order strong {
  font-size: 1.6rem;
  line-height: 0.9;
}

.display-list[data-density="compact"] .display-order {
  padding: 9px 10px;
}

.display-list[data-density="compact"] {
  grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
  grid-auto-rows: 66px;
}

.display-list[data-density="compact"] .display-order span {
  font-size: 0.72rem;
}

.display-list[data-density="compact"] .display-order strong {
  font-size: 1.38rem;
}

.display-list[data-density="tight"] .display-order {
  padding: 8px 9px;
  border-radius: 12px;
}

.display-list[data-density="tight"] {
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  grid-auto-rows: 60px;
}

.display-list[data-density="tight"] .display-order span {
  font-size: 0.64rem;
}

.display-list[data-density="tight"] .display-order strong {
  font-size: 1.2rem;
}

.display-order--new {
  color: #fffaf3;
  background: linear-gradient(135deg, #b41f1a, #e11c2a);
  box-shadow: 0 0 0 1px rgba(255, 250, 243, 0.16) inset;
}

.display-order--new span {
  color: rgba(255, 250, 243, 0.78);
}

.is-ready .display-order {
  color: #fffaf3;
  background: linear-gradient(135deg, #148542, var(--green));
}

.is-ready .display-order span {
  color: rgba(255, 250, 243, 0.76);
}

.display-empty {
  border: 1px dashed rgba(255, 250, 243, 0.22);
  border-radius: 24px;
  padding: 24px;
  color: rgba(255, 250, 243, 0.64);
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  font-weight: 900;
  text-align: center;
  grid-column: 1 / -1;
}

.display-stats {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: min(230px, 20vw);
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: 24px;
  padding: clamp(12px, 1.8vw, 22px);
  background: rgba(255, 250, 243, 0.1);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.display-stats span {
  color: rgba(255, 250, 243, 0.7);
  font-size: clamp(0.86rem, 1.1vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.display-stats strong {
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  line-height: 0.85;
}

.display-columns article.is-showcase {
  display: block;
  position: relative;
  background: transparent !important;
  padding: 0 !important;
  gap: 0 !important;
  border: 0 !important;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: none !important;
}

.display-columns article.is-showcase .display-showcase {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.display-columns article.is-showcase .display-showcase__slide {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.display-columns article.is-showcase .display-showcase__image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.display-columns article.is-showcase .display-showcase__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
}

.display-qr {
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 20px;
  padding: 10px;
  color: #fffaf3;
  text-decoration: none;
  background: rgba(255, 250, 243, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.display-qr img {
  width: clamp(84px, 8vw, 140px);
  height: clamp(84px, 8vw, 140px);
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.display-qr span {
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  font-weight: 900;
}

.display-qr small {
  color: rgba(255, 250, 243, 0.66);
  font-weight: 800;
  font-size: clamp(0.72rem, 0.85vw, 0.95rem);
}

.product-dialog[hidden],
.mobile-cart-drawer[hidden],
.auth-dialog[hidden] {
  display: none;
}

.dialog-backdrop,
.mobile-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 12, 9, 0.56);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.product-dialog__panel,
.mobile-cart-drawer__panel,
.auth-dialog__panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(960px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(20, 12, 9, 0.32);
}

.product-dialog__panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  max-height: min(760px, calc(100svh - 36px));
}

.auth-dialog__panel {
  display: grid;
  gap: 12px;
  width: min(440px, calc(100% - 28px));
  padding: 24px;
}

.auth-dialog__panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.auth-dialog__panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.yandex-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(32, 22, 18, 0.1);
  color: #201612 !important;
  background: linear-gradient(135deg, #ffffff, #f4f0eb);
  box-shadow: 0 16px 36px rgba(32, 22, 18, 0.12);
  text-decoration: none;
}

.yandex-auth-button span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #ffffff;
  background: #fc3f1d;
  font-weight: 950;
  line-height: 1;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(32, 22, 18, 0.12);
}

.auth-form label,
.profile-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.profile-form label small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.auth-form input,
.profile-form input {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.14);
  border-radius: 15px;
  padding: 11px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-weight: 850;
}

.auth-form input:user-invalid {
  border-color: rgba(220, 24, 36, 0.36);
  background: rgba(255, 239, 231, 0.9);
}

.auth-form input.is-invalid,
.auth-consent input.is-invalid,
.checkout-form input.is-invalid,
.checkout-form select.is-invalid,
.checkout-form textarea.is-invalid {
  border-color: rgba(220, 24, 36, 0.6);
  background: rgba(255, 239, 231, 0.95);
  box-shadow: 0 0 0 3px rgba(220, 24, 36, 0.12);
}

.auth-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.auth-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.auth-consent a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auth-form .form-status {
  font-size: 0.86rem;
  line-height: 1.45;
}

.product-dialog__panel > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.product-dialog__body {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  padding: 34px;
}

.product-dialog__body h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.product-dialog__body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.product-dialog__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-dialog__meta span {
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(32, 22, 18, 0.07);
  font-size: 0.86rem;
  font-weight: 900;
}

.product-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
}

.product-dialog__footer strong {
  font-size: 1.65rem;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.88);
  box-shadow: 0 10px 24px rgba(32, 22, 18, 0.12);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.mobile-cart-drawer {
  align-items: end;
  padding: 0;
}

.mobile-cart-drawer__panel {
  width: 100%;
  max-height: min(78svh, 680px);
  overflow: auto;
  border-radius: 30px 30px 0 0;
  padding: 18px;
}

.mobile-cart-drawer__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.mobile-cart-drawer__header h2 {
  margin: 8px 0 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.mobile-cart-drawer .dialog-close {
  position: static;
  flex: 0 0 auto;
}

.cart-panel {
  position: sticky;
  top: calc(var(--header-height) + 112px);
  max-height: calc(100svh - var(--header-height) - 136px);
  overflow: auto;
  padding: 20px;
  box-shadow: var(--shadow);
  scrollbar-width: thin;
}

.cart-panel h3 {
  margin-top: 8px;
  font-size: 2.15rem;
}

.cart-panel p {
  margin: 8px 0 0;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.cart-panel .cart-items {
  max-height: none;
  overflow: visible;
  padding-right: 3px;
}

.empty-state {
  padding: 18px;
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
}

.cart-item--gift {
  border-color: rgba(41, 67, 53, 0.24);
  background: linear-gradient(135deg, rgba(41, 67, 53, 0.1), rgba(255, 255, 255, 0.72));
}

.cart-item--delivery {
  grid-template-columns: 1fr;
  border-color: rgba(216, 32, 40, 0.2);
  background: linear-gradient(135deg, rgba(216, 32, 40, 0.08), rgba(255, 255, 255, 0.74));
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
}

.cart-item__body {
  display: grid;
  gap: 10px;
}

.cart-item__title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 10px;
  font-weight: 800;
}

.cart-item__title span {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.cart-item__title strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  min-width: max-content;
  text-align: right;
  white-space: nowrap;
}

.cart-item--gift .cart-item__title strong {
  font-size: 0.92rem;
}

.cart-item__badge,
.cart-item__gift-note {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
}

.cart-item__badge {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.counter button,
.remove-button,
.mobile-cart-bar,
.status-actions button,
.catalog-row button {
  border: 0;
  cursor: pointer;
}

.counter button {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--red);
  background: rgba(216, 32, 40, 0.1);
  font-weight: 800;
}

.remove-button {
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.cart-panel__summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.checkout-form > :not(.checkout-name-field):not(.checkout-phone-field) {
  grid-column: 1 / -1;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.checkout-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(32, 22, 18, 0.12);
  border-radius: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.58);
}

.checkout-profile-card span,
.checkout-profile-card small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.checkout-profile-card strong {
  display: block;
  margin: 4px 0;
  font-size: 1.02rem;
}

.checkout-name-field[hidden],
.checkout-phone-field[hidden],
.fulfillment-picker[hidden],
.delivery-fields[hidden] {
  display: none;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.catalog-row input[type="number"] {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
}

.checkout-form textarea {
  min-height: 72px;
  resize: vertical;
}

.checkout-form textarea::placeholder,
.checkout-form input::placeholder {
  color: rgba(122, 101, 87, 0.5);
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus,
.catalog-row input[type="number"]:focus {
  outline: 3px solid rgba(216, 32, 40, 0.14);
  border-color: rgba(216, 32, 40, 0.42);
}

.pickup-time-picker,
.fulfillment-picker,
.delivery-fields {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.pickup-time-picker,
.fulfillment-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pickup-time-picker legend,
.fulfillment-picker legend,
.pickup-slot-field {
  grid-column: 1 / -1;
}

.delivery-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(104px, 0.65fr);
  gap: 10px;
}

.delivery-details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.delivery-combobox {
  position: relative;
  min-width: 0;
}

.delivery-suggestions {
  position: absolute;
  right: 0;
  left: 0;
  top: calc(100% + 8px);
  z-index: 22;
  display: grid;
  gap: 5px;
  max-height: 290px;
  overflow-y: auto;
  border: 1px solid rgba(32, 22, 18, 0.1);
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 20px 44px rgba(79, 45, 27, 0.16);
}

.delivery-suggestions[hidden] {
  display: none;
}

.delivery-suggestions button,
.delivery-suggestions span {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 11px 13px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.delivery-suggestions button {
  cursor: pointer;
}

.delivery-suggestions button:hover,
.delivery-suggestions button:focus-visible {
  outline: 0;
  background: rgba(216, 32, 40, 0.1);
  color: var(--red);
}

.delivery-suggestions span {
  color: var(--muted);
}

.pickup-time-picker legend,
.fulfillment-picker legend {
  margin-bottom: 8px;
  padding: 0;
  font-weight: 800;
}

.pickup-time-option,
.fulfillment-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  border: 1px solid rgba(32, 22, 18, 0.1);
  border-radius: 999px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-align: center;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.pickup-time-option:hover,
.fulfillment-option:hover {
  border-color: rgba(216, 32, 40, 0.28);
  transform: translateY(-1px);
}

.pickup-time-option:has(input:checked),
.fulfillment-option:has(input:checked) {
  border-color: rgba(216, 32, 40, 0.42);
  background:
    linear-gradient(135deg, rgba(216, 32, 40, 0.09), transparent),
    rgba(255, 255, 255, 0.72);
}

.pickup-time-option input,
.fulfillment-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.pickup-time-option span,
.pickup-time-option strong,
.pickup-time-option small,
.fulfillment-option span,
.fulfillment-option strong,
.fulfillment-option small {
  display: block;
}

.pickup-time-option small,
.fulfillment-option small,
.delivery-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.delivery-note {
  margin: 0;
  font-weight: 800;
}

.pickup-slot-field {
  margin-top: 2px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.pickup-time-picker:not(.is-scheduled) .pickup-slot-field {
  opacity: 0.5;
}

.pickup-time-picker:not(.is-scheduled) .pickup-slot-field select {
  cursor: not-allowed;
}

.pickup-time-picker.is-disabled .pickup-time-option,
.pickup-time-picker.is-disabled .pickup-slot-field {
  opacity: 0.58;
}

.pickup-time-picker.is-disabled .pickup-time-option {
  cursor: not-allowed;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.inner-page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
  padding: 132px 0 90px;
}

.inner-page-hero {
  max-width: 820px;
  margin-bottom: 34px;
}

.inner-page-hero h1 {
  margin-top: 10px;
  font-size: clamp(3.15rem, 6.8vw, 6.5rem);
}

.inner-page-hero p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.checkout-layout,
.orders-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.checkout-card,
.checkout-summary,
.account-nudge,
.orders-history,
.local-order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.88);
  box-shadow: var(--shadow);
}

.checkout-card,
.checkout-summary,
.account-nudge,
.orders-history {
  min-width: 0;
  padding: 26px;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.checkout-card h1,
.checkout-summary h2,
.account-nudge h2 {
  margin-top: 10px;
  font-size: clamp(2.65rem, 4.4vw, 4.35rem);
  overflow-wrap: anywhere;
}

.orders-lookup-card h2 {
  font-family: "Onest", sans-serif;
  font-size: clamp(1.75rem, 2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.checkout-card p,
.account-nudge p,
.local-order-card p {
  color: var(--muted);
  line-height: 1.65;
}

.register-nudge {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid rgba(216, 32, 40, 0.16);
  border-radius: 22px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(216, 32, 40, 0.08), transparent),
    rgba(255, 255, 255, 0.52);
}

.register-nudge input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--red);
}

.register-nudge small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.orders-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.orders-layout.is-authorized {
  grid-template-columns: 220px minmax(0, 1fr);
}

.orders-workspace {
  display: grid;
  gap: 18px;
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 250, 243, 0.84);
  box-shadow: 0 14px 36px rgba(79, 45, 27, 0.08);
}

.profile-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 13px 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.profile-tabs button.is-active {
  color: #fffaf3;
  background: var(--ink);
}

.profile-panel {
  display: none;
  gap: 18px;
}

.profile-panel.is-active {
  display: grid;
}

.account-nudge {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.account-nudge label,
.orders-lookup-form label {
  display: grid;
  gap: 8px;
  margin: 18px 0 14px;
  font-weight: 800;
}

.account-nudge input,
.orders-lookup-form input {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
}

.orders-lookup-form {
  display: grid;
  gap: 4px;
}

.auth-code-panel {
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
  border: 1px solid rgba(216, 32, 40, 0.18);
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(216, 32, 40, 0.08), rgba(255, 255, 255, 0.72));
}

.auth-code-panel[hidden] {
  display: none;
}

.auth-guest-button[hidden] {
  display: none;
}

.auth-guest-button {
  justify-self: center;
  border: 0;
  max-width: 31ch;
  padding: 4px 2px;
  color: rgba(32, 22, 18, 0.62);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
  appearance: none;
}

.auth-code-panel label {
  margin: 0;
}

.auth-retry-timer {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

.auth-retry-timer[hidden] {
  display: none;
}

.auth-code-panel input {
  font-size: 1.3rem;
  font-weight: 950;
  letter-spacing: 0.32em;
  text-align: center;
}

.orders-login-note {
  margin-top: 16px;
  border-radius: 20px;
  padding: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.orders-profile {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  border: 1px solid rgba(216, 32, 40, 0.16);
  border-radius: 20px;
  padding: 14px;
  background: rgba(216, 32, 40, 0.06);
}

.orders-profile strong {
  font-size: 0.95rem;
}

.orders-profile span {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.orders-profile button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--ink);
  background: rgba(32, 22, 18, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.orders-profile button.is-danger {
  color: var(--red);
  background: rgba(225, 28, 42, 0.1);
}

.orders-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.logout-dialog__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.orders-lookup-card.is-authorized {
  padding: 16px;
}

.orders-lookup-card.is-authorized > p:not(.form-status) {
  display: none;
}

.orders-lookup-card.is-authorized .form-status {
  display: none;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-form label:nth-child(3) {
  grid-column: span 2;
}

.customer-notify-button {
  margin-top: 12px;
}

.customer-notify-button.is-active {
  color: #fffaf3;
  border-color: transparent;
  background: var(--green);
}

.orders-history__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.orders-history__list {
  display: grid;
  gap: 14px;
}

.local-order-card,
.customer-order-card {
  padding: 18px;
  box-shadow: none;
}

.customer-order-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
}

.customer-order-card:has(.order-stage--ready) {
  border-color: rgba(41, 67, 53, 0.24);
  background: rgba(248, 255, 240, 0.74);
}

.customer-order-card__top,
.local-order-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.customer-order-card__top > strong,
.local-order-card__top strong {
  border-radius: 999px;
  padding: 9px 12px;
  color: #fffaf3;
  background: var(--green);
  font-size: 0.9rem;
}

.customer-order-card h3,
.local-order-card h3 {
  margin-top: 8px;
  font-size: 2.2rem;
}

.customer-order-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.order-stage {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  border-radius: 24px;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 20%, rgba(216, 32, 40, 0.14), transparent 34%),
    rgba(255, 250, 243, 0.9);
}

.order-stage strong {
  display: block;
  font-size: 1.15rem;
}

.order-stage p {
  margin-top: 5px;
}

.order-stage__sticker {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 34px rgba(159, 22, 27, 0.24);
  overflow: hidden;
}

.order-stage__sticker span {
  width: 42px;
  height: 30px;
  border: 5px solid #fffaf3;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  transform: translateY(8px);
}

.order-stage__sticker i,
.order-stage__sticker b {
  position: absolute;
  top: 17px;
  width: 9px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.82);
  animation: steam-rise 1.6s ease-in-out infinite;
}

.order-stage__sticker i {
  left: 28px;
}

.order-stage__sticker b {
  right: 28px;
  animation-delay: 0.28s;
}

.order-stage--ready .order-stage__sticker {
  background: linear-gradient(145deg, #294335, #3b6a4d);
  animation: ready-pulse 1.45s ease-in-out infinite;
}

.order-stage--delayed .order-stage__sticker {
  background: linear-gradient(145deg, #e39b28, #a45e10);
}

.customer-order-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.customer-order-card__meta span {
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(255, 250, 243, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.order-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.order-timeline li {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.order-timeline span {
  height: 7px;
  border-radius: 999px;
  background: rgba(32, 22, 18, 0.1);
}

.order-timeline li.is-done span {
  background: var(--red);
}

.order-timeline li.is-current strong {
  color: var(--ink);
}

.customer-order-card ul,
.local-order-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.customer-order-card li,
.local-order-card li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.customer-order-card li small,
.local-order-card li small {
  display: block;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.customer-order-card__help {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid rgba(216, 32, 40, 0.18);
  border-radius: 18px;
  padding: 12px;
  background: rgba(216, 32, 40, 0.07);
}

.customer-order-card__help span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.customer-order-card .customer-order-card__help .button {
  justify-self: start;
  margin-top: 0;
}

.customer-order-card .button {
  margin-top: 16px;
}

.customer-order-card__help + .button {
  margin-top: 12px;
}

.customer-order-card--compact .order-timeline,
.customer-order-card--compact p {
  display: none;
}

.yandex-reviews-section {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.yandex-rating-card,
.yandex-reviews-board,
.contact-map-layout {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.9);
  box-shadow: var(--shadow);
}

.yandex-rating-card {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  padding: 26px;
}

.yandex-rating-card__source,
.yandex-badge {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 8px 12px;
  color: #3b2a16;
  background: #ffd54a;
  font-size: 0.82rem;
  font-weight: 900;
}

.yandex-rating-card__score {
  margin-top: 18px;
  font-size: clamp(4.8rem, 9vw, 7.4rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.yandex-stars {
  color: #ffcc00;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.yandex-rating-card p {
  margin: 8px 0 22px;
  color: var(--muted);
  font-weight: 800;
}

.rating-bars {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.rating-bars div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.rating-bars strong {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(32, 22, 18, 0.08);
}

.rating-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffcc00;
}

.yandex-reviews-board {
  padding: 26px;
}

.yandex-reviews-board__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.yandex-reviews-board h2 {
  margin-top: 10px;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.review-list {
  display: grid;
  gap: 14px;
}

.reviews-more-button {
  margin-top: 18px;
}

.reviews-more-button[hidden] {
  display: none;
}

.reviews-photos {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: var(--shadow);
}

.reviews-photos__head h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.reviews-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reviews-photo-tile {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.reviews-photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.reviews-photo-tile:hover img {
  transform: scale(1.04);
}

.yandex-review-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(32, 22, 18, 0.08);
  border-radius: 24px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(79, 45, 27, 0.06);
}

.yandex-review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #495d46, #d82028);
  font-weight: 900;
}

.yandex-review-card strong,
.yandex-review-card span {
  display: block;
}

.yandex-review-card span {
  margin-top: 3px;
  color: #8a817a;
  font-size: 0.9rem;
}

.yandex-review-card p {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  line-height: 1.62;
}

.review-like {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  background: #f3f1ed;
  cursor: pointer;
  font-weight: 800;
}

.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  padding: 26px;
}

.visit-strip__copy {
  min-width: 0;
}

.visit-strip__copy h2 {
  margin-top: 10px;
  font-size: clamp(2.7rem, 3.9vw, 4.2rem);
  overflow-wrap: anywhere;
}

.visit-strip__copy p {
  margin: 12px 0 0;
  max-width: 32ch;
}

.visit-strip__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contacts-phone-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contacts-phone-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contacts-phone-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contacts-phone-card strong {
  display: block;
  margin-top: 7px;
  font-size: 1.24rem;
  letter-spacing: 0.01em;
}

.contacts-phone-card:hover {
  border-color: rgba(216, 32, 40, 0.28);
  box-shadow: 0 10px 24px rgba(32, 22, 18, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .reviews-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .reviews-photo-grid {
    grid-template-columns: 1fr;
  }
}

.contact-mini-facts {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-mini-facts div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.contact-mini-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-mini-facts strong {
  display: block;
  margin-top: 5px;
}

.map-widget-shell {
  position: relative;
  min-width: 0;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(32, 22, 18, 0.1);
  border-radius: 28px;
  background: #eadac7;
}

.map-widget-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  pointer-events: none;
  transition: filter 180ms ease;
}

.map-widget-shell.is-map-active iframe {
  pointer-events: auto;
}

.map-widget-shell::after {
  content: "Карта активна";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  border-radius: 999px;
  padding: 9px 12px;
  color: #fffaf3;
  background: rgba(32, 22, 18, 0.74);
  font-size: 0.82rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.map-widget-shell.is-map-active::after {
  opacity: 1;
  transform: translateY(0);
}

.map-interaction-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  max-width: min(320px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 18px 48px rgba(32, 22, 18, 0.2);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.map-interaction-card strong,
.map-interaction-card span {
  display: block;
}

.map-interaction-card strong {
  font-size: 1rem;
}

.map-interaction-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.map-interaction-card:hover {
  transform: translateY(-2px);
}

.map-widget-shell.is-map-active .map-interaction-card {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.venue-photo-stack {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, 180px);
  gap: 12px;
  margin-top: 20px;
}

.venue-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.venue-photo-stack img:first-child {
  grid-row: span 2;
}

.visit-strip__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.visit-strip__facts div {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.48);
}

.mobile-cart-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 18px;
  color: #fffaf3;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 38px rgba(159, 22, 27, 0.28);
  font-weight: 800;
}

.mobile-cart-bar.is-visible {
  display: none;
}

.order-status-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: min(176px, calc(100vw - 34px));
  animation: privacy-toast-in 320ms ease both;
}

.order-status-float__button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.14);
  border-radius: 14px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 8px 24px rgba(32, 22, 18, 0.14);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(18px);
}

.order-status-float__text {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.12;
  white-space: nowrap;
}

.order-status-float__pulse {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(220, 24, 36, 0.1);
  animation: status-pulse 1.6s ease infinite;
  flex: 0 0 12px;
}

.order-status-float--ready .order-status-float__pulse {
  background: var(--green);
}

@keyframes status-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
  }
}

body[data-page="checkout"] .mobile-cart-bar.is-visible {
  display: none;
}

.mobile-tabbar {
  display: none;
}

.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 24px auto 34px;
  padding: 28px 0 10px;
  border-top: 1px solid rgba(32, 22, 18, 0.16);
  color: rgba(32, 22, 18, 0.62);
}

.site-footer__inner {
  display: grid;
  gap: 20px;
}

.site-footer__topline,
.site-footer__legal,
.site-footer__payments {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer__topline {
  justify-content: space-between;
  color: var(--ink);
  font-weight: 800;
}

.site-footer__menu-link {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-footer__menu-link:hover,
.site-footer__credit a:hover,
.site-footer__legal a:hover {
  color: var(--red);
}

.site-footer__menu-link:hover {
  transform: translateY(-1px);
}

.site-footer__legal {
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer__credit {
  justify-self: end;
  margin: -8px 0 0;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: right;
}

.site-footer__credit a {
  color: var(--ink);
  transition: color 180ms ease;
}

.site-footer__legal a {
  color: rgba(32, 22, 18, 0.58);
  transition: color 180ms ease;
}

.site-footer__payments span {
  color: rgba(32, 22, 18, 0.28);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.legal-document {
  max-width: 980px;
  margin-inline: auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.86);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.95rem, 5.9vw, 5.9rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.legal-document__lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.legal-document__body {
  display: grid;
  gap: 16px;
}

.legal-document__body section,
.legal-placeholder-note,
.legal-sitemap a {
  border: 1px solid rgba(32, 22, 18, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
}

.legal-document__body section {
  padding: 22px;
}

.legal-document__body h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.legal-document__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-placeholder-note {
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(216, 32, 40, 0.08), rgba(255, 255, 255, 0.64));
}

.legal-placeholder-note strong {
  display: block;
  margin-bottom: 6px;
}

.legal-sitemap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-sitemap a {
  padding: 18px 20px;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.legal-sitemap a:hover {
  border-color: rgba(216, 32, 40, 0.35);
  color: var(--red);
  transform: translateY(-1px);
}

.privacy-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: min(480px, calc(100% - 36px));
  padding: 10px 10px 10px 12px;
  border: 1px solid rgba(32, 22, 18, 0.12);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 14px 42px rgba(79, 45, 27, 0.13);
  backdrop-filter: blur(14px);
  animation: privacy-toast-in 360ms ease both;
}

.privacy-toast strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.84rem;
}

.privacy-toast p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.privacy-toast__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.privacy-toast__actions .button {
  min-height: 0;
  padding: 8px 11px;
  font-size: 0.76rem;
}

@keyframes privacy-toast-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.admin-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 32, 40, 0.09), transparent 30%),
    linear-gradient(180deg, #fff7ec 0%, #efe1d0 100%);
  font-family: "Manrope", sans-serif;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  color: #fffaf3;
  background:
    linear-gradient(135deg, rgba(32, 22, 18, 0.94), rgba(72, 47, 37, 0.9)),
    radial-gradient(circle at top right, rgba(216, 32, 40, 0.22), transparent 46%);
  box-shadow: 0 16px 44px rgba(31, 17, 12, 0.12);
}

.admin-header__main {
  min-width: 0;
}

.admin-header h1 {
  margin: 4px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.admin-header p {
  margin: 8px 0 0;
  max-width: 580px;
  color: rgba(255, 250, 243, 0.82);
  font-size: 0.98rem;
  line-height: 1.45;
}

.admin-live-status {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255, 250, 243, 0.86);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-header__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: min(430px, 100%);
  gap: 10px;
}

.admin-header__facts span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 10px 12px;
  color: rgba(255, 250, 243, 0.78);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-header__facts strong {
  color: #fffaf3;
}

.admin-tabs {
  position: sticky;
  top: 12px;
  z-index: 18;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 12px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: 0 18px 42px rgba(79, 45, 27, 0.12);
  backdrop-filter: blur(18px);
}

.admin-tabs button {
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 13px 16px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.admin-tabs button:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.admin-tabs button.is-active {
  color: #fffaf3;
  background: var(--ink);
}

.admin-shell {
  padding: 18px 0 80px;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.is-active {
  display: block;
  animation: page-in 220ms ease both;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card,
.orders-board,
.catalog-editor,
.ordering-control,
.promotions-editor,
.analytics-card,
.customers-board {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.84);
  box-shadow: 0 16px 42px rgba(79, 45, 27, 0.08);
}

.ordering-control {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.ordering-control h2 {
  margin: 8px 0 8px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  letter-spacing: -0.055em;
}

.ordering-control p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.ordering-control__form {
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(180px, 0.38fr);
  gap: 12px;
}

.ordering-control__form label {
  display: grid;
  gap: 6px;
}

.ordering-control__form input[type="time"],
.ordering-control__form input[type="datetime-local"],
.ordering-control__form input[type="text"],
.ordering-control__form textarea,
.ordering-control__form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.94);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 13px 14px;
}

.ordering-weekdays {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}

.ordering-weekdays legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.ordering-weekdays label {
  display: inline-flex;
  grid-auto-flow: column;
  align-items: center;
  gap: 6px;
  font-weight: 900;
}

.ordering-control__form textarea {
  min-height: 78px;
  resize: vertical;
}

.ordering-control__form .button,
.ordering-control__form label:has(textarea) {
  grid-column: 1 / -1;
}

.display-showcase-admin-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.display-showcase-admin-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.92);
  padding: 10px;
}

.display-showcase-admin-card img {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(41, 25, 18, 0.08);
  border: 1px solid rgba(41, 25, 18, 0.16);
}

.display-showcase-admin-card strong {
  display: block;
  font-size: 0.95rem;
}

.display-showcase-admin-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.display-showcase-admin-wide {
  grid-column: 1 / -1;
}

.ordering-control__toggle {
  align-self: center;
}

.metric-card {
  min-width: 0;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
}

.metric-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
}

.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr) minmax(260px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.analytics-export-header {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 250, 243, 0.72);
}

.analytics-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.analytics-card--report {
  margin-top: 18px;
}

.analytics-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.analytics-card__header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.analytics-card__header p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.report-card-header > div:first-child,
.customers-board__header > div:first-child {
  max-width: 620px;
}

.customers-board__header p {
  max-width: 420px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.report-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: end;
  border: 1px solid rgba(102, 78, 62, 0.16);
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.report-controls label {
  display: grid;
  gap: 5px;
  min-width: 150px;
}

.report-controls small {
  padding-left: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-controls select,
.report-controls input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(102, 78, 62, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.92);
  font: inherit;
  font-weight: 800;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.report-controls select:focus,
.report-controls input:focus {
  border-color: rgba(214, 28, 38, 0.48);
  background: #fffaf3;
  box-shadow: 0 0 0 4px rgba(214, 28, 38, 0.1);
}

.report-controls input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.report-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 900;
}

.report-summary span,
.report-summary small {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.46);
}

.report-summary strong {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.orders-report-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.orders-report-row {
  display: grid;
  grid-template-columns: 90px 126px minmax(150px, 1fr) minmax(260px, 1.7fr) 110px 90px;
  gap: 10px;
  align-items: center;
  min-width: 920px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.48);
}

.orders-report-row--head {
  color: var(--muted);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.orders-report-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.daily-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  min-height: 220px;
}

.daily-bar {
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.daily-bar div {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 120px;
  border-radius: 999px;
  background: rgba(32, 22, 18, 0.06);
  overflow: hidden;
}

.daily-bar i {
  width: 100%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
}

.daily-bar strong {
  color: var(--ink);
  font-size: 1rem;
}

.daily-bar small,
.daily-bar em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-bar em {
  font-style: normal;
}

.insight-list {
  display: grid;
  gap: 10px;
}

.insight-row {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.48);
}

.insight-row span,
.insight-row small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.insight-row strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  line-height: 1.25;
}

.insight-row small {
  margin-top: 5px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.orders-board__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.orders-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.orders-toolbar .button.is-active {
  color: #fffaf3;
  background: var(--ink);
}

.orders-board__header h2,
.catalog-editor__header h2,
.customers-board h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  letter-spacing: -0.05em;
}

.orders-board__header p {
  margin: 0;
  max-width: 320px;
  color: var(--muted);
  line-height: 1.45;
}

.orders-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.status-column {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.38);
}

.status-column.is-drag-over {
  border-color: rgba(216, 32, 40, 0.36);
  background: rgba(216, 32, 40, 0.06);
}

.status-column__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.status-column__header span {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fffaf3;
  background: var(--ink);
  font-weight: 900;
}

.status-column h3,
.order-card h3,
.catalog-group h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}

.status-column h3 {
  font-size: 1.9rem;
}

.order-column__list,
.catalog-group,
.catalog-editor__list {
  display: grid;
  gap: 10px;
}

.order-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 250, 243, 0.86);
}

.order-card.is-dragging {
  opacity: 0.55;
}

.order-card.is-hot {
  border-color: rgba(216, 32, 40, 0.38);
  box-shadow: 0 0 0 4px rgba(216, 32, 40, 0.08);
}

.order-card--ready {
  background: rgba(255, 248, 210, 0.78);
}

.order-card--delayed {
  border-color: rgba(227, 155, 40, 0.38);
  background: rgba(255, 244, 214, 0.78);
}

.order-card--cancelled {
  opacity: 0.72;
}

.order-card__topline,
.order-card__items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.order-card__topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
}

.order-card__topline .section-kicker {
  flex: 1 1 52px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card__drag {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: grab;
  user-select: none;
}

.order-card__warning {
  display: inline-grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #f7b733;
  color: #261914;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(247, 183, 51, 0.28);
}

.order-card__method {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 9px;
  color: #1e4e35;
  background: rgba(30, 122, 77, 0.12);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-card__method--delivery {
  color: #fff8ed;
  background: linear-gradient(135deg, #d81f2a, #9f161e);
  box-shadow: 0 10px 24px rgba(216, 31, 42, 0.24);
}

.order-card__method--pickup {
  color: #1e4e35;
  background: rgba(30, 122, 77, 0.14);
}

.order-card__delivery-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff8ed;
  background: linear-gradient(135deg, #d81f2a, #b31b24);
  box-shadow: 0 10px 24px rgba(216, 31, 42, 0.24);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-card--delivery {
  border-color: rgba(216, 31, 42, 0.24);
}

.order-card.is-dragging .order-card__drag {
  cursor: grabbing;
}

.order-card__toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 9px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  text-align: left;
}

.order-card__toggle span {
  min-width: 0;
}

.order-card__toggle strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.order-card__toggle small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.order-card__toggle em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 9px;
  color: #fffaf3;
  background: var(--ink);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.order-card__brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.order-card__brief--compact {
  grid-template-columns: 1fr;
}

.order-card__brief-address {
  grid-column: 1 / -1;
}

.order-card__brief span {
  min-width: 0;
  border-radius: 12px;
  padding: 7px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.order-card__brief b {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-card__focus {
  border-radius: 14px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.5);
}

.order-card__focus span {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-card__focus strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
}

.order-card__focus p {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.order-card__focus--attention {
  border: 1px solid rgba(216, 32, 40, 0.18);
  background: rgba(216, 32, 40, 0.08);
}

.order-card__focus--warning {
  border: 1px solid rgba(227, 155, 40, 0.22);
  background: rgba(227, 155, 40, 0.15);
}

.order-card__focus--success {
  border: 1px solid rgba(41, 67, 53, 0.18);
  background: rgba(41, 67, 53, 0.08);
}

.order-card__focus--muted {
  opacity: 0.78;
}

.order-card__details {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

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

.order-card__topline > strong {
  flex: 0 1 auto;
  min-width: 0;
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--red);
  background: rgba(216, 32, 40, 0.1);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card h3 {
  margin-top: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.order-card__contact {
  min-width: 0;
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.46);
}

.order-card__contact span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-card__contact a {
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.order-card__contact-warning {
  display: block;
  margin-top: 4px;
  color: #b15d00;
  font-size: 0.78rem;
  font-weight: 900;
}

.order-card__items {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-card__items li {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.order-card__items li > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.order-card__items strong {
  color: var(--ink);
}

.order-card__items small {
  display: block;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.order-card__comment {
  border-radius: 14px;
  padding: 10px;
  color: var(--ink);
  background: rgba(216, 32, 40, 0.08);
  line-height: 1.5;
}

.order-card__comment span {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-card__comment p {
  margin: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.order-card__delay {
  border-radius: 14px;
  padding: 10px;
  color: #754207;
  background: rgba(227, 155, 40, 0.16);
  font-weight: 800;
  line-height: 1.45;
}

.admin-note-form,
.delay-form {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.admin-note-form label,
.delay-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-note-form input,
.delay-form input {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.14);
  border-radius: 12px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.admin-note-form button,
.delay-form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(32, 22, 18, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.delay-form {
  border-radius: 18px;
  padding: 12px;
  background: rgba(227, 155, 40, 0.12);
}

.delay-form button {
  color: #fffaf3;
  background: #a45e10;
}

.status-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 2px;
}

.status-actions button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 8px 9px;
  color: #fffaf3;
  background: var(--red);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
  white-space: normal;
}

.catalog-row button {
  flex: 1 1 96px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #fffaf3;
  background: var(--red);
  cursor: pointer;
  font-weight: 800;
}

.status-actions button:disabled,
.catalog-row button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.status-actions button.is-danger {
  color: var(--ink);
  background: rgba(32, 22, 18, 0.08);
}

.status-actions button.is-warning {
  background: #a45e10;
}

.admin-sound-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-sound-button.is-active {
  color: #fffaf3;
  background: var(--green);
  border-color: rgba(20, 105, 65, 0.4);
}

.admin-sound-button:not(.is-active) {
  color: var(--red);
  background: rgba(225, 28, 42, 0.08);
  border-color: rgba(225, 28, 42, 0.22);
}

.sound-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.sound-icon svg {
  width: 100%;
  height: 100%;
}

.sound-icon path {
  fill: currentColor;
}

.sound-icon .sound-wave,
.sound-icon .sound-cross {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.has-new-order .admin-header {
  animation: new-order-flash 900ms ease both;
}

.admin-toast-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 90;
  display: grid;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.admin-toast {
  position: relative;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  padding: 18px;
  color: #fffaf3;
  background:
    radial-gradient(circle at 12% 10%, rgba(216, 32, 40, 0.42), transparent 34%),
    linear-gradient(135deg, #25120d, #130906);
  box-shadow: 0 26px 70px rgba(20, 12, 9, 0.38);
  pointer-events: auto;
  animation: toast-in 260ms ease both;
}

.admin-toast span {
  color: #ffd7be;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-toast strong {
  padding-right: 32px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.admin-toast p,
.admin-toast small {
  margin: 0;
  color: rgba(255, 250, 243, 0.78);
  line-height: 1.45;
}

.admin-toast small {
  font-weight: 900;
}

.admin-toast__action {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  margin-top: 4px;
  padding: 11px 14px;
  color: var(--ink);
  background: #fffaf3;
  cursor: pointer;
  font-weight: 900;
}

.admin-toast__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fffaf3;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.catalog-editor {
  overflow: hidden;
}

.catalog-editor__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.catalog-editor__header p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.catalog-editor__list {
  overflow: visible;
}

.catalog-stop-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(32, 22, 18, 0.1);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.catalog-stop-summary--active {
  border-color: rgba(216, 32, 40, 0.24);
  background:
    linear-gradient(135deg, rgba(216, 32, 40, 0.08), transparent 56%),
    rgba(255, 255, 255, 0.58);
}

.catalog-stop-summary h3 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  letter-spacing: -0.04em;
}

.catalog-stop-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.catalog-stop-list {
  display: grid;
  gap: 10px;
}

.catalog-stop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.catalog-stop-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.catalog-stop-item div:last-child,
.catalog-menu-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-stop-item button {
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  color: #fffaf3;
  background: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.catalog-group {
  align-content: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.catalog-group__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 4px;
}

.customers-board {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.customer-table {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.customer-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(5, minmax(90px, 1fr));
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.48);
}

.customer-row--head {
  color: var(--muted);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.customer-row strong,
.customer-row a,
.customer-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-row a,
.customer-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.catalog-group h3 {
  margin-top: 8px;
  font-size: 1.8rem;
}

.catalog-row {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 250, 243, 0.72);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.catalog-row.is-blocked {
  border-color: rgba(216, 32, 40, 0.26);
  background: rgba(255, 244, 240, 0.84);
}

.catalog-row__header,
.catalog-row__toggles,
.catalog-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-row__header strong {
  display: block;
  overflow-wrap: anywhere;
}

.catalog-row__header small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.catalog-status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  color: #25513a;
  background: rgba(41, 67, 53, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalog-status.is-blocked {
  color: var(--red-dark);
  background: rgba(216, 32, 40, 0.1);
}

.catalog-row__controls {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(190px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.catalog-row__controls label,
.catalog-block-fields {
  display: grid;
  gap: 6px;
}

.catalog-row__controls small,
.catalog-block-fields small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalog-row__controls input,
.catalog-block-fields textarea {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.12);
  border-radius: 14px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.catalog-block-fields textarea {
  min-height: 76px;
  resize: vertical;
}

.catalog-toggle {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.catalog-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.catalog-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.catalog-menu-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: 0 18px 42px rgba(79, 45, 27, 0.08);
}

.catalog-menu-card.is-blocked {
  border-color: rgba(216, 32, 40, 0.28);
  background: rgba(255, 244, 240, 0.92);
}

.catalog-menu-card__media {
  width: 100%;
  height: 156px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #eadac7;
  cursor: pointer;
}

.catalog-menu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-menu-card__body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.catalog-menu-card__topline,
.catalog-menu-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.catalog-menu-card__topline strong {
  display: block;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.catalog-menu-card__topline small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.catalog-menu-card__reason {
  margin: 0;
  border-radius: 16px;
  padding: 10px;
  color: #754207;
  background: rgba(227, 155, 40, 0.14);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
}

.catalog-menu-card__footer {
  align-items: center;
}

.catalog-menu-card__footer strong {
  font-size: 1.08rem;
}

.catalog-menu-card__footer button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #fffaf3;
  background: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.catalog-menu-card__footer button.is-muted {
  color: var(--ink);
  background: rgba(32, 22, 18, 0.08);
}

.catalog-modal,
.delay-modal,
.cancel-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
}

.catalog-modal[hidden],
.delay-modal[hidden],
.cancel-modal[hidden] {
  display: none;
}

.catalog-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 12, 9, 0.58);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.catalog-modal__panel,
.delay-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  width: min(940px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(20, 12, 9, 0.34);
}

.delay-modal__panel {
  grid-template-columns: 1fr;
  gap: 16px;
  width: min(520px, 100%);
  padding: 28px;
}

.delay-modal__panel h2 {
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.delay-modal__panel p {
  margin: 6px 0 4px;
  color: var(--muted);
  line-height: 1.55;
}

.delay-modal__panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 900;
}

.delay-modal__panel select,
.delay-modal__panel textarea {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.14);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
}

#delayReason {
  min-height: 84px;
}

.catalog-modal__panel > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.catalog-modal__body {
  display: grid;
  gap: 16px;
  align-content: center;
  min-width: 0;
  padding: 32px;
  overflow: auto;
}

.catalog-modal__body h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.catalog-modal__body p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.catalog-modal__fields,
.catalog-modal__stop-fields {
  display: grid;
  gap: 12px;
}

.catalog-modal__fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-modal__fields label:last-child {
  grid-column: 1 / -1;
}

.catalog-modal__fields label:not(.catalog-toggle),
.catalog-modal__stop-fields label {
  display: grid;
  gap: 6px;
}

.catalog-modal__fields small,
.catalog-modal__stop-fields small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalog-modal input[type="number"],
.catalog-modal input[type="text"],
.catalog-modal input[type="file"],
.catalog-modal input[type="datetime-local"],
.catalog-modal textarea {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.12);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.promotions-editor__list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.admin-promo-card {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.56);
}

.admin-promo-card label {
  display: grid;
  gap: 6px;
}

.admin-promo-card small,
.documents-editor small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-promo-card input[type="text"],
.admin-promo-card input[type="file"],
.admin-promo-card input[type="datetime-local"],
.admin-promo-card textarea {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.12);
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(255, 250, 243, 0.9);
  color: var(--ink);
  font-weight: 800;
}

.admin-promo-card textarea {
  resize: vertical;
}

.admin-promo-card__summary {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.admin-promo-card__summary img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border: 1px solid rgba(32, 22, 18, 0.08);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.94);
}

.admin-promo-card__summary h3 {
  margin: 5px 0 3px;
  font-size: 1.02rem;
  line-height: 1.22;
}

.admin-promo-card__summary small {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.admin-promo-status {
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(32, 22, 18, 0.08);
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-promo-card.is-editing {
  gap: 14px;
}

.admin-promo-card__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-promo-card__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}

.admin-promo-card__wide {
  grid-column: 1 / -1;
}

.documents-editor {
  display: grid;
  gap: 16px;
}

.documents-editor__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.documents-editor__tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
  font-weight: 900;
}

.documents-editor__tabs button.is-active {
  color: #fffaf3;
  background: var(--ink);
}

.documents-editor__card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
}

.documents-editor__header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.documents-editor__header h3 {
  margin: 6px 0 0;
}

.documents-editor__header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.documents-editor__card > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.documents-editor input[type="text"],
.documents-editor textarea {
  width: 100%;
  border: 1px solid rgba(32, 22, 18, 0.12);
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(255, 250, 243, 0.9);
  color: var(--ink);
  font-weight: 800;
}

.documents-editor textarea {
  min-height: 120px;
  resize: vertical;
}

.documents-editor__wide {
  grid-column: 1 / -1;
}

.documents-editor__sections {
  display: grid;
  gap: 12px;
}

.documents-editor__section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(32, 22, 18, 0.08);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.66);
}

.documents-editor__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.catalog-modal textarea {
  min-height: 96px;
  resize: vertical;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-pan {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes steam-rise {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(8px) scaleY(0.78);
  }

  50% {
    opacity: 0.95;
    transform: translateY(-5px) scaleY(1);
  }
}

@keyframes ready-pulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(41, 67, 53, 0.24);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 20px 42px rgba(41, 67, 53, 0.36);
    transform: scale(1.04);
  }
}

@keyframes new-order-flash {
  0%,
  100% {
    box-shadow: 0 24px 70px rgba(13, 6, 4, 0.26);
  }

  35% {
    box-shadow: 0 0 0 6px rgba(216, 32, 40, 0.24), 0 24px 70px rgba(13, 6, 4, 0.28);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1240px) {
  .menu-layout,
  .admin-grid,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .admin-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cart-panel {
    position: static;
  }

  .product-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-layout,
  .orders-layout {
    grid-template-columns: 1fr;
  }

  .orders-layout.is-authorized {
    grid-template-columns: 1fr;
  }

  .checkout-summary,
  .account-nudge {
    position: static;
  }

  .orders-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-row {
    grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(82px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  body {
    padding-bottom: 82px;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: min(calc(100% - 20px), var(--max-width));
    min-height: 68px;
    gap: 8px;
    padding: 10px;
    border-radius: 999px;
    top: 10px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(4px, 1.3vw, 8px);
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .brand-lockup__logo {
    width: 44px;
    height: 44px;
  }

  .brand-lockup__mark {
    width: 48px;
    height: 48px;
  }

  .brand-lockup__name {
    display: none;
  }

  .site-nav a {
    width: 100%;
    padding: clamp(7px, 1.8vw, 10px) clamp(7px, 2.2vw, 12px);
    text-align: center;
    font-size: clamp(0.72rem, 2.2vw, 0.86rem);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
  }

  .header-account {
    width: clamp(40px, 9vw, 44px);
    min-width: clamp(40px, 9vw, 44px);
    height: clamp(40px, 9vw, 44px);
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 0;
    font-weight: 800;
  }

  .header-account__icon {
    width: 22px;
    height: 22px;
  }

  .header-account__label {
    display: none;
  }

  .cafe-hero {
    min-height: 660px;
    height: 78svh;
  }

  .cafe-hero__marquee {
    inset: 180px -42% auto -42%;
    display: block;
    height: 190px;
    gap: 0;
    transform: rotate(-3deg) scale(1.04);
  }

  .hero-marquee__row {
    gap: 14px;
  }

  .hero-marquee__row--2,
  .hero-marquee__row--3 {
    display: none;
  }

  .hero-food-card {
    flex-basis: clamp(220px, 58vw, 270px);
    height: 154px;
    border-radius: 22px;
  }

  .cafe-hero__content {
    top: 154px;
    bottom: auto;
  }

  .cafe-hero h1 {
    font-size: clamp(3.2rem, 14.5vw, 5.4rem);
  }

  .cafe-hero .hero-meta {
    display: none;
  }

  .page-shell > .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-panel,
  .pickup-summary,
  .promo-row,
  .promotions-board,
  .yandex-reviews-section,
  .contact-map-layout,
  .visit-strip__facts,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .daily-bars {
    grid-template-columns: repeat(7, minmax(54px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .customer-table {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .customer-row {
    min-width: 760px;
  }

  .contact-map-layout .visit-strip__copy p {
    max-width: none;
  }

  .yandex-rating-card {
    position: static;
  }

  .yandex-reviews-board__header {
    flex-direction: column;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .menu-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    display: none;
  }

  .product-section-grid {
    grid-template-columns: 1fr;
  }

  .featured-strip {
    display: none;
  }

  .featured-card {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    grid-template-rows: auto;
  }

  .featured-card img {
    grid-row: auto;
    width: 82px;
    height: 82px;
  }

  .featured-card__price {
    justify-self: end;
  }

  .venue-photo-stack {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .venue-photo-stack img,
  .venue-photo-stack img:first-child {
    grid-row: auto;
    height: 220px;
  }

  .admin-header {
    flex-direction: column;
    align-items: stretch;
    width: min(calc(100% - 20px), var(--max-width));
    padding: 18px;
  }

  .admin-header__facts {
    width: 100%;
  }

  .admin-tabs,
  .admin-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .admin-tabs {
    top: 8px;
  }

  .orders-board__header,
  .catalog-editor__header,
  .analytics-card__header,
  .customers-board__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-controls {
    justify-content: flex-start;
    width: 100%;
  }

  .report-controls label {
    flex: 1 1 180px;
  }

  .orders-toolbar {
    justify-content: flex-start;
    width: 100%;
  }

  .orders-toolbar .button {
    width: auto;
  }

  .catalog-stop-summary {
    grid-template-columns: 1fr;
  }

  .catalog-row__controls {
    grid-template-columns: 1fr;
  }

  .catalog-row__toggles {
    align-items: flex-start;
    flex-direction: column;
  }

  .inner-page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 114px;
    padding-bottom: 110px;
  }

  .mobile-tabbar {
    display: none;
  }

  body[data-page="home"] .mobile-cart-bar.is-visible {
    display: flex;
    bottom: 72px;
  }

  body[data-page="home"] .order-status-float {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 16px);
    gap: 6px;
    padding: 8px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 7px 6px;
    font-size: clamp(0.7rem, 2.6vw, 0.78rem);
  }

  .order-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .mode-tabs button,
  .mode-tabs a {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .pickup-mode-note {
    display: none;
  }

  .pickup-summary {
    grid-template-columns: 1fr;
  }

  .pickup-summary div {
    padding: 12px 14px;
  }

  .delivery-address-grid {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.44fr);
  }

  .delivery-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-section,
  .reviews-section,
  .visit-strip {
    margin-top: 28px;
  }

  .menu-heading {
    max-width: none;
  }

  .menu-heading h2 {
    margin-top: 6px;
    font-size: clamp(1.95rem, 10vw, 2.6rem);
    line-height: 1.02;
  }

  .menu-heading p {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .category-list {
    margin-top: 14px;
    padding: 8px;
    gap: 6px;
  }

  .category-chip {
    padding: 9px 12px;
    font-size: 0.85rem;
  }

  .menu-search {
    margin: 6px 0 10px;
  }

  .promotions-board {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .promotion-card {
    min-height: 0;
    padding: 18px;
    gap: 12px;
  }

  .promotion-card h2 {
    margin-top: 10px;
    font-size: clamp(2rem, 11vw, 2.8rem);
    line-height: 0.98;
  }

  .promotion-card p {
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.42;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
  }

  .promotion-card .button {
    margin-top: 8px;
  }

  .promotion-card:has(.promotion-card__image) {
    grid-template-columns: 1fr;
  }

  .promotion-card:has(.promotion-card__image) .promotion-card__copy,
  .promotion-card:has(.promotion-card__image) .button,
  .promotion-card:has(.promotion-card__image) .promotion-card__image {
    grid-column: auto;
    grid-row: auto;
  }

  .promotion-card__image {
    width: 100%;
    max-width: 220px;
    justify-self: start;
    margin-top: 4px;
  }

  .site-header {
    min-height: 66px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .auth-dialog {
    align-items: start;
    padding: max(72px, env(safe-area-inset-top) + 34px) 10px 18px;
  }

  .auth-dialog__panel {
    width: min(432px, calc(100% - 6px));
    max-height: calc(100svh - 96px);
    overflow: auto;
    border-radius: 28px;
    padding: 22px 18px 18px;
    box-shadow: 0 22px 70px rgba(20, 12, 9, 0.34);
  }

  .auth-dialog__panel h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .auth-dialog__panel p {
    font-size: 0.98rem;
  }

  .yandex-auth-button {
    min-height: 60px;
    font-size: 1rem;
  }

  .auth-guest-button {
    max-width: 30ch;
    color: rgba(32, 22, 18, 0.68);
    font-size: 0.78rem;
  }

  .profile-tabs {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .profile-tabs button {
    padding: 11px 12px;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }

  .profile-form label:nth-child(3) {
    grid-column: auto;
  }

  .catalog-modal__fields {
    grid-template-columns: 1fr;
  }

  .catalog-modal__fields label:last-child {
    grid-column: auto;
  }

  .brand-lockup__name {
    font-size: 0.95rem;
  }

  .brand-lockup__mark {
    width: 52px;
    height: 52px;
  }

  .brand-lockup__logo {
    width: 44px;
    height: 44px;
  }

  .inner-page-hero h1 {
    font-size: clamp(2.35rem, 11.8vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    word-spacing: 0.08em;
    text-wrap: balance;
  }

  .inner-page-hero p {
    max-width: 34ch;
    font-size: 1rem;
    line-height: 1.55;
  }

  .contact-map-layout .visit-strip__copy h2 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    word-spacing: 0.08em;
    overflow-wrap: normal;
  }

  .contact-map-layout .visit-strip__copy p {
    max-width: 32ch;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .header-account {
    display: inline-flex;
  }

  .cafe-hero__content {
    left: 18px;
    width: 354px;
    max-width: calc(100vw - 36px);
  }

  .cafe-hero p {
    max-width: 32ch;
    font-size: 1rem;
    line-height: 1.48;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .visit-strip__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .order-panel,
  .promo-card,
  .cart-panel,
  .contact-map-layout,
  .yandex-rating-card,
  .yandex-reviews-board {
    border-radius: 26px;
  }

  .mode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 999px;
  }

  .category-list {
    position: sticky;
    top: 74px;
    border-radius: 24px;
    margin-inline: -10px;
    margin-bottom: 12px;
    padding: 9px;
  }

  .category-list::after {
    display: none;
  }

  .category-more-chip {
    display: block;
  }

  .category-chip {
    padding: 11px 15px;
    font-size: 0.95rem;
  }

  .map-widget-shell,
  .map-widget-shell iframe {
    min-height: 380px;
  }

  .order-card__brief {
    grid-template-columns: 1fr;
  }

  .order-card__topline {
    flex-wrap: wrap;
  }

  .product-tile {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 154px;
    border-radius: 24px;
  }

  .product-tile__media {
    height: 100%;
    min-height: 154px;
  }

  .product-tile__media img {
    border-radius: 0;
  }

  .product-tile__tags {
    top: 8px;
    left: 8px;
    gap: 5px;
  }

  .product-tile__tags span {
    padding: 6px 7px;
    font-size: 0.62rem;
  }

  .product-tile__body {
    align-content: space-between;
    gap: 8px;
    padding: 12px;
  }

  .product-tile__topline {
    align-items: flex-start;
  }

  .product-tile h3 {
    font-size: 1rem;
  }

  .product-tile__topline span {
    font-size: 0.86rem;
  }

  .product-tile p {
    display: -webkit-box;
    min-height: auto;
    overflow: hidden;
    font-size: 0.84rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-tile__footer {
    align-items: stretch;
  }

  .product-tile__footer strong {
    align-self: center;
    font-size: 1.08rem;
    white-space: nowrap;
  }

  .product-tile__footer .button {
    width: auto;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .cart-panel {
    padding-bottom: 94px;
  }

  .orders-columns {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .featured-card__price {
    justify-self: start;
  }

  .promotion-card__image {
    position: static;
    width: min(100%, 220px);
    margin-top: 12px;
  }

  .checkout-card,
  .checkout-summary,
  .account-nudge,
  .orders-history {
    padding: 20px;
    border-radius: 26px;
  }

  .checkout-card h1 {
    font-size: 3.35rem;
    letter-spacing: 0.02em;
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }

  .checkout-name-field,
  .checkout-phone-field,
  .checkout-form > :not(.checkout-name-field):not(.checkout-phone-field) {
    grid-column: 1 / -1;
  }

  .pickup-time-picker,
  .fulfillment-picker {
    gap: 8px;
  }

  .pickup-time-option,
  .fulfillment-option {
    padding: 11px 9px;
  }

  .pickup-time-option strong,
  .fulfillment-option strong {
    font-size: 0.9rem;
  }

  .pickup-time-option small,
  .fulfillment-option small {
    font-size: 0.72rem;
  }

  .orders-page .inner-page-hero {
    margin-bottom: 12px;
  }

  .orders-page .inner-page-hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.4rem);
  }

  .orders-page .inner-page-hero p {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .orders-layout,
  .orders-layout.is-authorized {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .orders-workspace {
    gap: 12px;
  }

  .account-nudge {
    padding: 16px;
    border-radius: 22px;
  }

  .orders-profile {
    padding: 12px;
    border-radius: 16px;
  }

  .orders-profile__actions {
    gap: 4px;
  }

  .orders-profile button {
    padding: 7px 10px;
    font-size: 0.9rem;
  }

  .profile-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 16px;
    padding: 4px;
    gap: 4px;
  }

  .profile-tabs button {
    padding: 9px 6px;
    font-size: 0.78rem;
  }

  .orders-history {
    padding: 14px;
    border-radius: 20px;
  }

  .orders-history .button {
    width: auto;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .orders-history__header {
    margin-bottom: 10px;
    gap: 8px;
  }

  .orders-history__list {
    gap: 10px;
  }

  .customer-order-card {
    padding: 12px;
    border-radius: 18px;
  }

  .customer-order-card__top > strong {
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  .order-stage {
    margin-top: 10px;
  }

  .customer-order-card__meta {
    margin-top: 10px;
    gap: 6px;
  }

  .customer-order-card__meta span {
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .customer-order-card ul {
    margin-top: 10px;
  }

  .customer-order-card li {
    padding-top: 6px;
    font-size: 0.9rem;
  }

  .customer-order-card .button {
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  body[data-page="orders"] .order-status-float {
    display: none;
  }

  body[data-page="home"] .order-status-float {
    display: none;
  }

  .pickup-summary {
    grid-template-columns: 1fr;
  }

  .pickup-summary div {
    padding: 16px;
  }

  .product-dialog {
    align-items: end;
    padding: 0;
  }

  .product-dialog__panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 86svh;
    overflow: auto;
    border-radius: 30px 30px 0 0;
  }

  .product-dialog__panel > img {
    min-height: 0;
    height: 230px;
  }

  .product-dialog__body {
    gap: 13px;
    padding: 18px;
  }

  .product-dialog__body h2 {
    font-size: 2.2rem;
  }

  .product-dialog__body p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .product-dialog__footer {
    position: sticky;
    bottom: -18px;
    margin: 4px -18px -18px;
    padding: 14px 18px;
    background: rgba(255, 250, 243, 0.94);
    backdrop-filter: blur(14px);
  }

  .admin-header {
    margin-top: 10px;
    border-radius: 24px;
  }

  .admin-header h1 {
    font-size: 2.15rem;
    letter-spacing: -0.05em;
  }

  .admin-header p {
    font-size: 0.92rem;
  }

  .admin-header__facts {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 26px;
  }

  .admin-tabs button {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .admin-toast-stack {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
  }

  .orders-board,
  .catalog-editor,
  .ordering-control,
  .promotions-editor,
  .analytics-card,
  .customers-board {
    padding: 16px;
    border-radius: 24px;
  }

  .ordering-control,
  .ordering-control__form {
    grid-template-columns: 1fr;
  }

  .site-footer__credit {
    justify-self: start;
    text-align: left;
  }

  .metric-card {
    padding: 16px;
  }

  .catalog-row__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-status {
    align-self: flex-start;
  }

  .catalog-menu-grid {
    grid-template-columns: 1fr;
  }

  .catalog-menu-card {
    border-radius: 22px;
  }

  .catalog-menu-card__media {
    height: 150px;
  }

  .admin-promo-card {
    grid-template-columns: 1fr;
  }

  .admin-promo-card__summary {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .admin-promo-status,
  .admin-promo-card__summary .button {
    justify-self: start;
    grid-column: 2;
  }

  .admin-promo-card__form {
    grid-template-columns: 1fr;
  }

  .admin-promo-card__wide {
    grid-column: auto;
  }

  .documents-editor__header {
    flex-direction: column;
  }

  .catalog-stop-item {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-modal,
  .delay-modal {
    align-items: end;
    padding: 0;
  }

  .catalog-modal__panel,
  .delay-modal__panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 88svh;
    overflow: auto;
    border-radius: 30px 30px 0 0;
  }

  .catalog-modal__panel > img {
    min-height: 0;
    height: 190px;
  }

  .catalog-modal__body {
    gap: 13px;
    padding: 18px;
  }

  .catalog-modal__body h2 {
    font-size: 2.25rem;
  }

  .orders-history__header,
  .local-order-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-stage {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .order-stage__sticker {
    width: 58px;
    height: 58px;
    border-radius: 20px;
  }

  .order-stage__sticker span {
    width: 31px;
    height: 22px;
    border-width: 4px;
  }

  .order-timeline {
    grid-template-columns: 1fr;
  }

  .order-timeline li {
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
  }
}

@media (max-width: 640px) {
  .admin-body {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .admin-header {
    gap: 10px;
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 12px;
    border-radius: 20px;
  }

  .admin-header .section-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .admin-header h1 {
    margin-top: 2px;
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 1;
  }

  .admin-header p {
    display: none;
  }

  .admin-live-status {
    margin-top: 8px;
    padding: 6px 9px;
    font-size: 0.76rem;
  }

  .admin-header__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    min-width: 0;
  }

  .admin-header__facts span {
    align-items: center;
    gap: 8px;
    border-radius: 13px;
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .admin-tabs {
    position: static;
    display: flex;
    width: calc(100% - 20px);
    margin-top: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border-radius: 999px;
    padding: 5px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .admin-tabs::-webkit-scrollbar,
  .orders-toolbar::-webkit-scrollbar,
  .orders-columns::-webkit-scrollbar {
    display: none;
  }

  .admin-tabs button {
    flex: 0 0 auto;
    min-width: 104px;
    padding: 11px 13px;
    font-size: 0.84rem;
    scroll-snap-align: start;
  }

  .admin-shell {
    width: calc(100% - 20px);
    padding-top: 12px;
    padding-bottom: 26px;
  }

  .orders-board {
    padding: 12px;
    border-radius: 22px;
  }

  .orders-board__header {
    gap: 10px;
  }

  .orders-board__header h2 {
    margin-top: 4px;
    font-size: clamp(1.75rem, 10vw, 2.35rem);
    line-height: 0.95;
  }

  .orders-toolbar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: calc(100% + 8px);
    margin-right: -8px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .orders-toolbar .button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 11px 14px;
    white-space: nowrap;
  }

  .orders-columns {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    margin: 14px -12px 0;
    overflow-x: auto;
    padding: 0 12px 6px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .status-column {
    flex: 0 0 min(88vw, 360px);
    padding: 10px;
    border-radius: 20px;
    scroll-snap-align: start;
  }

  .status-column__header {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: -2px -2px 8px;
    border-radius: 16px;
    padding: 4px 2px 8px;
    background: rgba(255, 250, 243, 0.78);
    backdrop-filter: blur(12px);
  }

  .status-column h3 {
    font-size: 1.55rem;
  }

  .status-column__header span {
    min-width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .order-column__list {
    gap: 8px;
  }

  .order-card {
    gap: 7px;
    border-radius: 17px;
    padding: 10px;
  }

  .order-card__topline {
    gap: 5px;
  }

  .order-card__topline .section-kicker {
    flex: 1 1 64px;
    font-size: 0.66rem;
  }

  .order-card__topline > strong {
    margin-left: auto;
    border-radius: 999px;
    padding: 6px 8px;
    background: rgba(216, 32, 40, 0.1);
    color: var(--accent-dark);
    font-size: 0.82rem;
  }

  .order-card__delivery-pill,
  .order-card__method {
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .order-card__warning {
    width: 24px;
    height: 24px;
    font-size: 0.82rem;
  }

  .order-card__drag {
    display: none;
  }

  .order-card__toggle {
    align-items: stretch;
    border-radius: 13px;
    padding: 8px;
  }

  .order-card__toggle strong {
    font-size: 0.86rem;
    -webkit-line-clamp: 3;
  }

  .order-card__toggle em {
    align-self: center;
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .order-card__brief {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .order-card__brief span {
    padding: 7px;
    font-size: 0.74rem;
  }

  .order-card__brief b {
    font-size: 0.58rem;
  }

  .status-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .status-actions button {
    min-height: 42px;
    padding: 11px 12px;
    font-size: 0.82rem;
  }

  .order-card__details {
    padding-top: 6px;
  }

  .order-card__contact,
  .order-card__items li,
  .order-card__comment,
  .order-card__delay {
    font-size: 0.82rem;
  }
}

@media (max-width: 700px) {
  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
    margin-bottom: 96px;
    padding-top: 22px;
  }

  .site-footer__topline,
  .site-footer__legal,
  .site-footer__payments {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-footer__legal {
    font-size: 0.86rem;
  }

  .legal-document {
    padding: 22px;
    border-radius: 28px;
  }

  .legal-document h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  .legal-document__lead {
    font-size: 0.98rem;
  }

  .legal-document__body section {
    padding: 18px;
  }

  .legal-sitemap {
    grid-template-columns: 1fr;
  }

  .privacy-toast {
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
    left: 10px;
    grid-template-columns: 1fr;
    width: auto;
    padding: 10px;
    border-radius: 18px;
  }

  .order-status-float {
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 84px);
    left: auto;
    width: min(170px, calc(100vw - 24px));
  }

  .order-status-float__button {
    padding: 7px 9px;
    gap: 7px;
    border-radius: 12px;
  }

  .order-status-float__text {
    font-size: 0.84rem;
  }

  .privacy-toast__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .privacy-toast p {
    font-size: 0.68rem;
  }
}
