@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap&subset=cyrillic');

:root {
  --blue: #2D5BFF;
  --green: #00C67E;
  --red: #FF3B5C;
  --amber: #FFB800;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #1A1D29;
  --muted: #6B7280;
  --line: #E5E7EB;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.screen {
  width: 390px;
  height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.tabbar {
  height: 76px;
  background: var(--surface);
  box-shadow: 0 -2px 16px rgba(26, 29, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.screen__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

.screen--focus .tabbar {
  display: none;
}

.screen--focus .screen__body {
  padding-bottom: 16px;
}

.appbar {
  height: 56px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}

.appbar__title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.appbar__btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

.appbar__btn:active {
  background: var(--bg);
}

.appbar__back {
  width: auto;
  min-height: 40px;
  padding: 0 12px 0 6px;
  gap: 2px;
  border-radius: 12px;
  border: none;
  background: #F2F5FB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.searchbar {
  height: 48px;
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.searchbar input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  color: var(--text);
}

.searchbar input::placeholder {
  color: var(--muted);
}

.searchbar__actions {
  display: flex;
  gap: 4px;
}

.searchbar__actions button {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.chip--active {
  background: var(--blue);
  border: none;
  color: var(--surface);
}

.card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26, 29, 41, 0.08);
  padding: 16px;
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.biz-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.biz-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}

.biz-card__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.biz-card__title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--text);
}

.biz-card__meta {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}

.biz-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.biz-card__meta .stars { font-size: 13px; color: var(--amber); letter-spacing: 1px; }
.biz-card__meta .muted { font-size: 12px; }
.biz-card__actions .btn,
.biz-card__actions .btn--sm {
  font-size: 13px;
  padding: 0 10px;
  height: 34px;
  white-space: nowrap;
}

.biz-card { align-items: center; flex-wrap: wrap; }
.biz-card__title { font-size: 14px; line-height: 20px; }
.biz-card__meta { font-size: 12px; line-height: 16px; }
.biz-card__meta .icon { width: 12px; height: 12px; }
.biz-card__actions { flex: 1 0 100%; justify-content: flex-end; margin-top: 10px; }
.biz-card__photo { align-self: flex-start; }

.list-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border-radius: 16px;
}

.list-card__photo {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}

.list-card__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.list-card__title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.list-card__meta {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}

.list-card__chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--muted);
}

.btn {
  height: 52px;
  width: 100%;
  background: var(--blue);
  color: var(--surface);
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}

.btn:active {
  transform: scale(0.98);
  background: #2451E6;
}

.btn:disabled {
  background: var(--line);
  color: #9CA3AF;
  cursor: not-allowed;
  transform: none;
}

.btn--secondary {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}

.btn--secondary:active {
  background: rgba(45, 91, 255, 0.08);
  border-color: #2451E6;
  color: #2451E6;
}

.btn--danger {
  background: var(--red);
}

.btn--danger:active {
  background: #E6335C;
}

.btn--green {
  background: var(--green);
}

.btn--green:active {
  background: #00B371;
}

.btn--sm {
  height: 36px;
  width: auto;
  padding: 0 14px;
  min-height: auto;
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
}

.btn--ghost:active {
  background: rgba(45, 91, 255, 0.08);
}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.badge--ok {
  background: #D1FAE5;
  color: #065F46;
}

.badge--warn {
  background: #FEF3C7;
  color: #92400E;
}

.badge--bad {
  background: #FEE2E2;
  color: #991B1B;
}

.badge--info {
  background: #DBEAFE;
  color: #1E40AF;
}

.stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.stars__star {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.stars--sm .stars__star {
  width: 12px;
  height: 12px;
}

.segmented {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: 12px;
  padding: 4px;
}

.segmented__item {
  flex: 1;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.segmented__item--active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(26, 29, 41, 0.1);
}

.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.tabs__item {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -1px;
}

.tabs__item--active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  position: relative;
}

.metric__value {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: var(--text);
}

.metric__label {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  margin-top: 4px;
}

.metric__icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quick__item {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 44px;
}

.quick__item:active {
  background: var(--bg);
}

.sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 24px rgba(26, 29, 41, 0.12);
  z-index: 100;
  padding: 24px;
  max-height: 90dvh;
  overflow-y: auto;
}

.sheet::before {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin: -16px auto 16px;
}

.sheet__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 29, 41, 0.4);
  z-index: 99;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  font-weight: 500;
}

.input {
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font-family: inherit;
  font-size: 16px; /* ≥16, иначе iOS Safari зумит поле при тапе */
  color: var(--text);
  background: var(--surface);
  outline: none;
}
textarea.input { height: auto; padding: 12px 16px; font-size: 16px; line-height: 1.45; }

.input:focus {
  border-color: var(--blue);
}

.input::placeholder {
  color: var(--muted);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .field {
  flex: 1;
}

.tabbar {
  height: 76px;
  background: var(--surface);
  box-shadow: 0 -2px 16px rgba(26, 29, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 0;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.tabbar--admin {
  height: 76px;
  background: var(--surface);
  box-shadow: 0 -2px 16px rgba(26, 29, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 0;
  flex-shrink: 0;
}

/* Глянцевые плитки-иконки в стиле референса */
.i3d {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 30%; flex: 0 0 auto; overflow: hidden;
  background: linear-gradient(180deg, #9DDBFF 0%, #67A3FF 36%, #2E5BE0 100%);
  box-shadow: 0 4px 9px rgba(38, 82, 220, .32), 0 1px 2px rgba(20, 40, 90, .18), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.i3d::before {
  content: ''; position: absolute; left: 5%; right: 5%; top: 3%; height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .30) 55%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50% / 70%;
}
.i3d::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 -3px 7px rgba(9, 27, 82, .28), inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.i3d svg { width: 60%; height: 60%; position: relative; z-index: 1; filter: drop-shadow(0 1px 1.2px rgba(12, 30, 80, .45)); }

.tabbar__item .i3d { opacity: .62; transition: .18s; }
.tabbar__item--active .i3d { opacity: 1; filter: none; transform: translateY(-1px); }

.tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  justify-content: center;
}

.tabbar__item-icon {
  width: 24px;
  height: 24px;
}

.tabbar__item-label {
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
}

.tabbar__item--active {
  color: var(--blue);
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.empty__icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
}

.empty__title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty__text {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  padding: 8px 12px 8px 8px;
  border-radius: 12px;
  min-height: 44px;
}

.city-pill:active {
  background: var(--bg);
}

.city-pill__icon {
  width: 20px;
  height: 20px;
}

.city-pill__chevron {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.fab {
  position: fixed;
  bottom: 92px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--blue);
  color: var(--surface);
  border: none;
  box-shadow: 0 4px 12px rgba(45, 91, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.fab:active {
  transform: scale(0.95);
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar__day {
  aspect-ratio: 1;
  min-height: 36px;
  border-radius: 10px;
  border: none;
  background: var(--surface);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar__day:active {
  background: var(--bg);
}

.calendar__day--muted {
  color: #C9CED6;
  cursor: not-allowed;
}

.calendar__day--active {
  background: var(--blue);
  color: var(--surface);
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot {
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot:active {
  background: var(--bg);
}

.slot--active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--surface);
}

.cartbar {
  position: fixed;
  bottom: 76px;
  left: 0;
  right: 0;
  background: var(--green);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 15;
  min-height: 44px;
}

.cartbar__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.screen--focus .cartbar { bottom: 0; }
.list-card > * { min-width: 0; }

.cartbar__total {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: var(--surface);
}

.cartbar__delivery {
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.cartbar__btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--surface);
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

.cartbar__btn:active {
  background: rgba(255, 255, 255, 0.3);
}

.promo {
  background: linear-gradient(135deg, #2D5BFF, #5B8CFF);
  border-radius: 16px;
  padding: 20px;
  color: var(--surface);
  position: relative;
  overflow: hidden;
}

.promo__title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.promo__text {
  font-size: 13px;
  line-height: 18px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.promo__btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.promo__btn:active {
  background: rgba(255, 255, 255, 0.3);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--surface);
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}

.avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.photo {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 16px 16px 0 0;
}

.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 0;
}

.progress__step {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  position: relative;
}

.progress__step--active {
  background: var(--blue);
}

.progress__step--done {
  background: var(--green);
}

.progress__step::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background: var(--line);
}

.progress__step:last-child::after {
  display: none;
}

.notice {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #DBEAFE;
  color: #1E40AF;
  font-size: 13px;
  line-height: 18px;
}

.notice__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.notice--warn {
  background: #FEF3C7;
  color: #92400E;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  min-height: 44px;
  min-width: 44px;
}

.icon-btn:active {
  background: var(--bg);
}

.row {
  display: flex;
  align-items: center;
}

.col {
  display: flex;
  flex-direction: column;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.muted {
  color: var(--muted);
}

.green {
  color: var(--green);
}

.blue {
  color: var(--blue);
}

.h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.h2 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.caption {
  font-size: 13px;
  line-height: 18px;
}

.mt-16 {
  margin-top: 16px;
}

.icon-search {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat center / contain;
}

.icon-phone {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>') no-repeat center / contain;
}

.icon-plus {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>') no-repeat center / contain;
}

.icon-chevron {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>') no-repeat center / contain;
}

.icon-pin {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>') no-repeat center / contain;
}

.icon-star {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>') no-repeat center / contain;
}

.icon-bell {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>') no-repeat center / contain;
}

/* как в макете: круглая кнопка звонка светло-синяя, без рамки */
.biz-card__actions .icon-btn {
  background: #E8F0FF;
  border-color: transparent;
  color: var(--blue);
  width: 36px;
  height: 36px;
}

.biz-card { position: relative; }

.biz-card__photo { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* ротация рекламных баннеров */
.bn-dot { transition: all .25s; }
.bn-dot--active { background: #fff !important; width: 14px !important; }
.bn-slide { animation: bnFade .35s ease; }
@keyframes bnFade { from { opacity: .35; } to { opacity: 1; } }

/* ── заставка (splash) ── */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 90% at 50% 0%, #E9F1FF 0%, #F7FAFF 55%, #FFFFFF 100%);
  transition: opacity .35s ease, visibility .35s ease;
}
#splash.splash--hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__inner { text-align: center; padding: 0 24px; transform: translateY(-2vh); }
.splash__logo {
  width: 86vw; max-width: 460px; height: auto; display: block; margin: 0 auto 20px;
  border-radius: 34px; animation: splashPop .6s cubic-bezier(.2,.9,.3,1.2);
  filter: drop-shadow(0 16px 34px rgba(45,91,255,.25));
}
.splash__logo--card { border-radius: 34px; max-width: 460px; width: 86vw; box-shadow: 0 18px 40px rgba(45,91,255,.22); }
.splash__slogan {
  font-size: 16px; font-weight: 700; color: #1A1D29; line-height: 22px; margin-bottom: 22px;
}
.splash__slogan b { color: #00C67E; font-size: 20px; }
.splash__dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.splash__dots span {
  width: 7px; height: 7px; border-radius: 50%; background: #2D5BFF; opacity: .35;
  animation: splashDot 1.1s infinite ease-in-out;
}
.splash__dots span:nth-child(2) { animation-delay: .16s; }
.splash__dots span:nth-child(3) { animation-delay: .32s; }
.splash__hint { font-size: 12px; color: #6B7280; }
@keyframes splashDot { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes splashPop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }


/* горизонтальные ленты без видимого скроллбара + кнопки карточки */
.chips, div[style*="overflow-x:auto"] { scrollbar-width: none; -ms-overflow-style: none; }
.chips::-webkit-scrollbar, div[style*="overflow-x:auto"]::-webkit-scrollbar { display: none; height: 0; }
.biz-actions .btn { flex: 1 1 calc(50% - 8px); min-width: 0; justify-content: center; }
.biz-actions .btn:only-child { flex: 1 1 100%; }


/* ── меню заведения: группы + ровные строки ── */
.menu-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; }
.menu-list { padding: 0 16px 20px; }
.menu-list--cart { padding-bottom: 126px; }
.menu-group { scroll-margin-top: 8px; }
.menu-group__t { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #6B7280; margin: 14px 0 8px; }
.menu-group:first-child .menu-group__t { margin-top: 2px; }
.mi { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 8px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.mi__img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #F1F4F9; flex: 0 0 64px; }
.mi__body { flex: 1 1 auto; min-width: 0; }
.mi__t { font-weight: 700; font-size: 14px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.mi__hit { display: inline-block; background: #FFF3D6; color: #9A6B00; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; vertical-align: 1px; }
.mi__w { font-size: 11px; color: #6B7280; margin-top: 1px; }
.mi__p { font-weight: 800; font-size: 15px; margin-top: 3px; white-space: nowrap; }
.mi__qty { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.mi__btn { width: 32px; height: 32px; border-radius: 50%; border: none; font-size: 18px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center; }
.mi__btn--plus { background: #2D5BFF; color: #fff; }
.mi__btn--minus { background: #EAF0FF; color: #2D5BFF; }
.mi__count { font-weight: 800; min-width: 14px; text-align: center; font-size: 14px; }

/* строка поиска: кнопка очистки и живой ввод */
.searchbar__clear {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #EEF1F6;
  color: #6B7280;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

/* подпись кнопки «назад» */
.appbar__back__label {
  font-size: 11.5px;
  font-weight: 700;
  color: #4B5563;
  white-space: nowrap;
  letter-spacing: .1px;
}

.appbar__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* вкладки «Активні справи» */
.cases-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 16px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cases-tabs::-webkit-scrollbar { display: none; }
.cases-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #4B5563;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.cases-tab--on {
  background: #2D5BFF;
  border-color: #2D5BFF;
  color: #fff;
}
.cases-tab__count {
  font-size: 11px;
  font-weight: 800;
  color: #6B7280;
  background: #F2F5FB;
  padding: 1px 6px;
  border-radius: 8px;
}
.cases-tab--on .cases-tab__count { background: rgba(255,255,255,.22); color: #fff; }
.cases-tab__alert {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #FF3B5C;
  padding: 1px 6px;
  border-radius: 8px;
}

/* тип аккаунта при регистрации */
.reg-types { display: flex; flex-direction: column; gap: 8px; }
.reg-type {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  border: 1.5px solid #E5E7EB; border-radius: 14px; padding: 11px 13px; cursor: pointer; background: #fff;
}
.reg-type--on { border-color: #2D5BFF; background: #F5F8FF; box-shadow: 0 4px 14px rgba(45,91,255,.10); }
.reg-type__emoji { font-size: 18px; }
.reg-type__title { font-weight: 800; font-size: 14px; width: calc(100% - 40px); }
.reg-type__sub { font-size: 11.5px; color: #6B7280; margin-left: 30px; margin-top: -4px; }

/* ── СOLID MOBILE (2026-11): всё крупнее, солиднее ── */
:root { --fs-base: 16px; }

body { font-size: var(--fs-base); }

.h1 { font-size: 27px !important; line-height: 32px !important; letter-spacing: -0.3px; }
.h2 { font-size: 21px !important; line-height: 27px !important; }
.caption { font-size: 14px !important; line-height: 19px !important; }

/* карточки и списки */
.card { font-size: 16px !important; }
.card .caption { font-size: 13.5px !important; }
.list-card { font-size: 16px !important; padding: 14px 16px !important; border-radius: 18px; }
.list-card .caption { font-size: 13.5px !important; }

/* кнопки и поля — крупнее касание */
.btn { height: 54px !important; font-size: 16.5px !important; border-radius: 16px !important; }
.btn--secondary { height: 50px !important; font-size: 15px !important; }
.chip { font-size: 14px !important; padding: 9px 14px !important; border-radius: 999px !important; }

/* шапки экранов */
.appbar { height: 62px; }
.appbar__title { font-size: 20px !important; }
.appbar__back { width: 42px; height: 42px; }

/* таббар: крупные тапы и иконки */
.tabbar, .tabbar--admin { height: 84px; }
.tabbar__item { font-size: 14.5px !important; }
.tabbar__item .i3d { transform: scale(1.25); transform-origin: center bottom; }

/* поле поиска */
.search .input, .input { font-size: 17px !important; }

/* плитки «швидког доступа» и категории */
.card .i3d { transform: scale(1.3); }
.card[style*="text-align:center"] .i3d { transform: scale(1.45); }

/* hero-блок и баннеры */
.card[style*="background:linear-gradient"] { padding: 20px !important; }
.card[style*="background:linear-gradient"] .h1 { font-size: 30px !important; }

/* Форс на всю ширину на телефоне (JS вешает .mobile-full на <html>) —
   работает даже при «версии для ПК» / in-app браузерах, где viewport > 900px */
.mobile-full body { background: var(--bg) !important; }
.mobile-full #app { width: 100vw !important; max-width: 100vw !important; box-shadow: none !important; }
/* А сам экран в app.css жёстко 390px — растягиваем на широких экранах тоже */
.mobile-full .screen,
.desktop-wide .screen { width: 100vw !important; max-width: 100vw !important; }
/* Баннер на главной: на широких экранах выше — иначе выглядит полоской */
@media (min-width: 900px) {
  .bn-slide img { height: 340px !important; }
}
