:root {
  --brand: #176a4b;
  --brand-light: #dff2e9;
  --brand-dark: #0d4a36;
  --brand-medium: #218459;
  --surface: #ffffff;
  --surface-soft: #f0f7f4;
  --ink: #14221e;
  --muted: #60716b;
  --line: #dfe9e5;
  --primary: var(--brand);
  --primary-light: var(--brand-medium);
  --primary-dark: var(--brand-dark);
  --second-primary: var(--brand);
  --dark: var(--ink);
  --gray: var(--muted);
  --bg: #f5f8f7;
  --public-leaf: var(--brand);
  --public-leaf-dark: var(--brand-dark);
  --public-ink: var(--ink);
  --public-muted: var(--muted);
  --public-line: var(--line);
  --public-soft: var(--surface-soft);
}

/* Customer-to-restaurant conversation. */
.modal-messages-view .app-modal-window {
  box-sizing: border-box;
  padding: 16px;
}

.modal-messages-view .app-modal-content {
  width: min(720px, calc(100vw - 32px));
  max-width: 720px;
  max-height: min(780px, calc(100vh - 32px));
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #FFF;
  box-shadow: 0 28px 80px rgba(0, 35, 22, .28);
}

.modal-messages-view .modal-close {
  top: max(26px, calc(50vh - 364px));
  right: max(26px, calc(50vw - 344px));
}

.customer-chat {
  min-height: min(680px, calc(100vh - 32px));
  max-height: min(780px, calc(100vh - 32px));
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
  color: #102019;
  background: radial-gradient(circle at 100% 0, rgba(87, 179, 118, .18), transparent 34%), #f4f8f6;
}

.customer-chat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 70px 20px 24px;
  border-bottom: 1px solid #dce8e2;
  background: rgba(255, 255, 255, .86);
}

.customer-chat-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border: 1px solid #d7e6de;
  border-radius: 16px;
  background: #fff;
}

.customer-chat-logo img { width: 100%; height: 100%; object-fit: cover; }
.customer-chat-head small, .customer-chat-head h2 { display: block; margin: 0; }
.customer-chat-head small { color: #74827b; font-size: 13px; }
.customer-chat-head h2 { margin-top: 3px; font: 24px/1.05 'ProximaNova-Bold'; }

.customer-chat-messages {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 22px 24px;
  scrollbar-color: #a9cdbb transparent;
}

.customer-chat-message {
  width: fit-content;
  max-width: min(78%, 480px);
  box-sizing: border-box;
  padding: 12px 14px 9px;
  border-radius: 17px 17px 17px 5px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(22, 65, 44, .07);
}

.customer-chat-message.is-own {
  align-self: flex-end;
  border-radius: 17px 17px 5px 17px;
  color: #fff;
  background: var(--brand);
}

.customer-chat-message p { margin: 0; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.customer-chat-message time { display: block; margin-top: 6px; color: #829088; font-size: 11px; text-align: right; }
.customer-chat-message.is-own time { color: rgba(255, 255, 255, .72); }
.customer-chat-empty, .customer-chat-loading { margin: auto; color: #7c8a83; text-align: center; }
.customer-chat-empty strong, .customer-chat-empty span { display: block; }
.customer-chat-empty strong { color: #21332a; font: 20px/1.2 'ProximaNova-Bold'; }
.customer-chat-empty span { margin-top: 6px; font-size: 14px; }

.customer-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 15px 20px 8px;
  border-top: 1px solid #dce8e2;
  background: #fff;
}

.customer-chat-compose textarea {
  min-height: 52px;
  max-height: 130px;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid #cfddd6;
  border-radius: 16px;
  padding: 14px 16px;
  color: #102019;
  background: #f8fbf9;
  font: 15px/1.35 Arial, sans-serif;
  outline: none;
}

.customer-chat-compose textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(19, 133, 81, .1); }
.customer-chat-compose button { align-self: stretch; border: 0; border-radius: 16px; padding: 0 24px; color: #fff; background: var(--brand); font: 15px/1 'ProximaNova-Bold'; cursor: pointer; }
.customer-chat-compose button:disabled { cursor: wait; opacity: .55; }
.customer-chat-state { min-height: 18px; margin: 0; padding: 0 22px 10px; color: #b04d37; background: #fff; font-size: 12px; }
.customer-chat-error { padding: 48px 34px; text-align: center; }
.customer-chat-error strong { font: 26px/1.1 'ProximaNova-Bold'; }
.customer-chat-error p { margin: 10px auto 20px; color: #66756e; line-height: 1.45; }
.customer-chat-error button { min-width: 180px; min-height: 46px; border: 0; border-radius: 12px; padding: 0 22px; color: #fff; background: var(--brand); font: 15px/1 'ProximaNova-Bold'; cursor: pointer; }
.customer-chat-error button:hover { background: var(--brand-dark); }
.customer-chat-error button:focus-visible { outline: 3px solid rgba(23, 106, 75, .24); outline-offset: 3px; }

@media (max-width: 720px) {
  .order_success_page .checkout-success-actions { grid-template-columns: 1fr; }
  .modal-messages-view .app-modal-window { padding: 0; }
  .modal-messages-view .app-modal-content { width: 100vw; max-width: none; max-height: 100dvh; border-radius: 0; }
  .modal-messages-view .modal-close { top: 12px; right: 12px; }
  .customer-chat { min-height: 100dvh; max-height: 100dvh; }
  .customer-chat-head { padding: 17px 16px 14px 62px; }
  .customer-chat-logo { width: 44px; height: 44px; flex-basis: 44px; border-radius: 13px; }
  .customer-chat-head h2 { font-size: 20px; }
  .customer-chat-messages { padding: 16px; }
  .customer-chat-message { max-width: 88%; }
  .customer-chat-compose { grid-template-columns: 1fr; padding: 10px 12px 6px; }
  .customer-chat-compose button { min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-success-message-button, .active-user-order-message { transition: none; }
}

/* Main page — Vleda delivery */
body.main_page {
  background: #fdfcf9;
}

.main_page .topbar {
  height: 92px;
  color: #fff;
  background: transparent;
}

.main_page.header-bg-scrolled .topbar {
  background: rgba(3, 47, 31, .96);
  box-shadow: 0 10px 30px rgba(1, 25, 17, .18);
}

.main_page .topbar-inner {
  max-width: 1400px;
  height: 92px;
  gap: 34px;
}

.main-brand {
  flex: 0 0 auto;
  width: 150px;
  height: 64px;
}

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

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 38px);
  margin-right: auto;
}

.main-navigation a {
  color: #fff;
  font: 16px 'ProximaNova-Semibold';
  text-decoration: none;
  text-underline-offset: 5px;
}

.main-navigation a:hover {
  text-decoration: underline;
}

.main_page .main-location {
  position: relative;
  flex: 0 1 290px;
}

.main_page .city-current {
  width: 100%;
  min-height: 52px;
  overflow: hidden;
  padding: 0 46px 0 20px;
  border: 1px solid rgba(75, 255, 172, .48);
  border-radius: 999px;
  color: #fff;
  font: 15px 'ProximaNova-Semibold';
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #0000007a;
}

.main_page .city-current::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.main_page .cities_list {
  position: absolute;
  top: 60px;
  color: var(--ink);
}

.main_page .main-actions {
  align-items: center;
  gap: 18px;
}

.main_page a.profile-btn {
  position: relative;
  width: 34px;
  height: 34px;
  background: none;
}

.main_page a.profile-btn::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 12px;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.main_page a.profile-btn::after {
  content: '';
  position: absolute;
  left: 6px;
  bottom: 2px;
  width: 22px;
  height: 12px;
  border: 3px solid #fff;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  border-bottom: 0;
}

.main-cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.main-cart-btn::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 9px;
  width: 22px;
  height: 18px;
  border: 3px solid #fff;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  transform: skew(-7deg);
}

.main-cart-btn::after {
  content: '••';
  position: absolute;
  left: 5px;
  top: 20px;
  color: #fff;
  font-size: 19px;
  letter-spacing: 9px;
}

.main-cart-count {
  position: absolute;
  z-index: 2;
  top: -3px;
  right: -4px;
  min-width: 12px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: #042d20;
  background: #27ef86;
  font: 12px/20px 'ProximaNova-Bold';
}

.main_page .header-bg {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 610px;
  overflow: hidden;
  padding-top: 92px;
  background: #043722 url('/assets/imgs/main_header_bckg_placeholder.webp') center / cover no-repeat;
}

.main_page .header-bg::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('/assets/imgs/main_header_bckg.jpg') center / cover no-repeat;
  opacity: 0;
  transform: scale(1.015);
  filter: blur(8px);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .9s cubic-bezier(.16, 1, .3, 1);
}

.main_page .header-bg.header-bg-loaded::before {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.main_page .header-bg-inner {
  display: flex;
  box-sizing: border-box;
  min-height: 518px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 56px;
}

.main_page .header-bg-title {
  width: min(650px, 54vw);
  max-width: none;
}

.header-bg-kicker,
.main_page .section-heading > div > span {
  display: block;
  color: #31ed8c;
  font: 14px 'ProximaNova-Bold';
  letter-spacing: .28em;
  text-transform: uppercase;
}

.main_page .header-bg h1 {
  margin: 20px 0 16px;
  color: #fff;
  font: 72px/.88 'ProximaNova-Bold';
  letter-spacing: -.035em;
}

.main_page .header-bg h1 strong {
  color: #27ef86;
  font: inherit;
}

.main_page .header-bg p {
  max-width: 490px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  opacity: .96;
}

.header-bg-search {
  position: relative;
  display: block;
  width: min(620px, 100%);
  margin: 30px 0 0;
}

.header-bg-search input {
  width: 100%;
  max-width: none;
  height: 66px;
  box-sizing: border-box;
  padding: 0 86px 0 60px;
  border: 0;
  border-radius: 999px;
  color: #18231f;
  background-color: #fff;
  background-position: 23px 50%;
  background-size: 24px;
  box-shadow: 0 18px 38px rgba(1, 24, 16, .16);
  font-size: 18px;
  cursor: pointer;
}

.header-bg-search-filter {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 45px;
  height: 38px;
  border: 0;
  border-left: 1px solid #dfe6e2;
  background: transparent;
  cursor: pointer;
}

.header-bg-search-filter::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 17px;
  width: 20px;
  height: 18px;
  background:
    linear-gradient(#13211c, #13211c) 0 2px / 20px 2px no-repeat,
    linear-gradient(#13211c, #13211c) 0 8px / 20px 2px no-repeat,
    linear-gradient(#13211c, #13211c) 0 14px / 20px 2px no-repeat;
}

.header-bg-search-filter::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 21px;
  width: 4px;
  height: 4px;
  border: 2px solid #13211c;
  border-radius: 50%;
  background: #fff;
  box-shadow: 8px 6px 0 -2px #fff, 8px 6px 0 0 #13211c, 1px 12px 0 -2px #fff, 1px 12px 0 0 #13211c;
}

.main_page .main-section {
  max-width: 1400px;
  padding: 62px 24px 68px;
}

.main_page .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.main_page .section-heading > div > span {
  margin-bottom: 9px;
  color: var(--brand);
  letter-spacing: .2em;
}

.main_page .section-heading h2 {
  margin: 0;
  font: 52px/.98 'ProximaNova-Bold';
  letter-spacing: -.035em;
}

.main_page .section-heading p {
  margin-top: 9px;
  color: #6f7e89;
  font-size: 19px;
}

.section-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid #e4e7e5;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 45, 36, .06);
  font: 15px 'ProximaNova-Semibold';
  white-space: nowrap;
}

.section-link span {
  font-size: 23px;
}

.main_page .restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  overflow-x: auto;
  margin-top: 0;
  padding: 2px 2px 22px;
  scroll-snap-type: x proximity;
}

.main_page .restaurant-card {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  scroll-snap-align: start;
}

.main_page .restaurant-card:hover {
  box-shadow: 0 5px 19px rgba(46, 48, 42, .04);
}

.main_page .restaurants-covers {
  aspect-ratio: 1.7 / 1;
  border-radius: 14px;
}

.main_page .restaurants-info {
  padding: 14px 16px 17px;
}

.main_page .restaurants-info h3 {
  font-size: 22px;
}

.main_page .restaurants-info span {
  color: #718079;
  font-size: 11px;
}

.main_page .restaurants-info .rating {
  color: #26352f;
  font-size: 15px;
}

.main_page .categories.main-section {
  max-width: none;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-right: max(24px, calc((100% - 1400px) / 2 + 24px));
  padding-left: max(24px, calc((100% - 1400px) / 2 + 24px));
  background: #fff;
}

.main_page .categories .section-heading {
  max-width: 1400px;
}

.main_page .category-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  margin-top: 0;
  padding: 8px 2px 22px;
  scroll-snap-type: x proximity;
}

.main_page .category-card {
  gap: 8px;
  padding: 12px 10px;
  flex: 0 0 150px;
  min-width: 0;
  min-height: 112px;
  flex-basis: 118px;
  flex-direction: column;
  border-radius: 14px;
  color: #101816;
  font-size: 14px;
  scroll-snap-align: start;
}

.main_page .category-card::before {
  width: 112px;
  height: 112px;
}

@media (max-width: 1100px) {
  .main_page .topbar-inner { gap: 18px; }
  .main-navigation { gap: 17px; }
  .main-navigation a { font-size: 14px; }
  .main_page .main-location { flex-basis: 240px; }
  .main_page .header-bg h1 { font-size: 62px; }
}

@media (max-width: 768px) {
  .main_page .topbar,
  .main_page .topbar-inner { height: 78px; }
  .main_page .topbar-inner { padding: 0 16px; gap: 13px; }
  .main-brand { width: 126px; height: 56px; }
  .main-navigation { display: none; }
  .main_page .main-location { flex: 1 1 auto; min-width: 0; }
  .main_page .city-current { min-height: 48px; padding: 0 38px 0 14px; font-size: 13px; }
  .main_page .city-current::after { top: 17px; right: 17px; }
  .main_page .main-actions { gap: 9px; }
  .main_page a.profile-btn { width: 32px; height: 32px; background-size: 29px; }
  .main-cart-btn { width: 34px; }
  .main-cart-btn::before { left: 4px; }
  .main-cart-btn::after { left: 7px; }
  .main_page .header-bg { min-height: 494px; padding-top: 78px; background-position: 58% center; }
  .main_page .header-bg::before { background-position: 58% center; }
  .main_page .header-bg-inner { min-height: 416px; align-items: flex-start; padding: 42px 36px 34px; text-align: left; }
  .main_page .header-bg-title { width: 100%; }
  .header-bg-kicker { font-size: 12px; letter-spacing: .23em; }
  .main_page .header-bg h1 { max-width: 360px; margin: 17px 0 12px; font-size: clamp(48px, 9vw, 64px); line-height: .93; }
  .main_page .header-bg p { max-width: 390px; font-size: 20px; line-height: 1.2; }
  .header-bg-search { width: 100%; margin-top: 27px; }
  .header-bg-search input { height: 65px; padding-left: 55px; padding-right: 70px; background-position: 20px 50%; font-size: 16px; }
  .main_page .main-section { padding: 34px 24px 22px; }
  .main_page .restaurants.main-section { border-radius: 18px 18px 0 0; }
  .main_page .section-heading { align-items: center; gap: 12px; margin-bottom: 22px; }
  .main_page .section-heading > div > span { margin-bottom: 7px; font-size: 11px; }
  .main_page .section-heading h2 { font-size: 42px; }
  .main_page .section-heading p { max-width: 390px; margin-top: 7px; font-size: 17px; line-height: 1.15; }
  .section-link { min-height: 46px; padding: 0 17px; font-size: 13px; }
  .section-link span { font-size: 20px; }
  .main_page .restaurant-grid { grid-auto-columns: 215px; grid-template-columns: none; gap: 14px; }
  .main_page .restaurants-covers { aspect-ratio: 1 / .55; }
  .main_page .restaurants-info { padding: 12px 13px 14px; }
  .main_page .restaurants-info h3 { font-size: 19px; }
  .main_page .restaurants-info span,
  .main_page .restaurants-info .rating { font-size: 13px; }
  .main_page .categories.main-section { padding: 25px 24px 22px; }
  .main_page .categories .section-heading { display: block; padding-right: 18px; padding-left: 18px; }
  .main_page .category-grid { gap: 10px; }
  .main_page .category-card { flex-basis: 112px; min-width: 112px; min-height: 144px; padding: 12px 8px; font-size: 16px; }
  .main_page .category-card::before { width: 88px; height: 88px; }
}

/* Cart modal — shared visual language with registration. */
.modal-cart-view .app-modal-overlay {
  background: rgba(236, 241, 238, .72);
  backdrop-filter: blur(10px);
}

.modal-cart-view .app-modal-window { padding: 20px; }

.modal-cart-view .app-modal-content {
  position: relative;
  width: min(820px, calc(100vw - 40px));
  max-width: 820px;
  min-height: 0;
  max-height: calc(100vh - 40px);
  box-sizing: border-box;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  background: url('/assets/imgs/modal_cart_bckg_top_r.jpg') top right / 197px auto no-repeat, 
  url('/assets/imgs/modal_cart_bckg_bottom_l.jpg') bottom left / 130px auto no-repeat, 
  url('/assets/imgs/modal_cart_bckg_bottom_r.jpg') bottom right / 97px auto no-repeat, 
  #fff;
  box-shadow: 0 32px 90px rgba(19, 52, 38, .24);
}

.modal-cart-view .modal-close {
  position: fixed;
  top: max(32px, calc(50% - 45vh));
  right: auto;
  left: calc(50% + min(410px, 45vw) - 58px);
  width: 46px;
  height: 46px;
  box-sizing: border-box;
  padding: 0;
  border-radius: 50%;
  background: #fff url('/assets/imgs/icons_svg/close.svg') center / 20px no-repeat;
  box-shadow: 0 10px 28px rgba(13, 45, 31, .14);
}

.modal-cart-view .modal-close::before,
.modal-cart-view .modal-close::after { content: none; }

.modal-cart-view .cart-view {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 34px 46px 30px;
}

.cart-modal-heading {
  margin: 0 0 22px;
  padding-right: 56px;
}

.cart-modal-heading h1 {
  margin: 0 0 5px;
  color: #11191f;
  font: 42px/1 'ProximaNova-Bold';
  letter-spacing: -.025em;
}

.cart-modal-heading p {
  margin: 0;
  color: #69736f;
  font-size: 16px;
}

.modal-cart-view .cart-header {
  gap: 8px;
  margin: 0 0 14px;
  padding: 2px 2px 7px;
}

.modal-cart-view .cart-restaurant {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #dce8e2;
  border-radius: 999px;
  color: #31433b;
  background: rgba(255,255,255,.86);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.modal-cart-view .cart-restaurant.selected {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.modal-cart-view .cart-restaurant-sum { font-family: 'ProximaNova-Bold'; }

.modal-cart-view .cart-header-one-rest {
  margin-bottom: 14px;
  padding: 0 0 12px;
  border-color: #dce8e2;
  color: var(--brand-dark);
  font-size: 18px;
}

.modal-cart-view .cart-restaurant-items {
  padding: 2px 4px 2px 2px;
  scrollbar-color: rgba(23,106,75,.35) transparent;
}

.modal-cart-view .cart-restaurant-items .cart-row {
  margin-bottom: 9px;
  border-color: rgba(205, 224, 215, .8);
  background: rgba(255,255,255,.88);
  box-shadow: 0 6px 18px rgba(31, 70, 52, .06);
}

.modal-cart-view .plus_btn,
.modal-cart-view .minus_btn { background: var(--brand); }

.modal-cart-view .cart-addons {
  background: transparent;
}

.modal-cart-view .cart-discount-note {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 13px 14px;
  border-radius: 14px;
  color: #174632;
  background: #e8f6ef;
}

.modal-cart-view .cart-discount-note.is-verification {
  color: #654514;
  background: #fff4df;
}

.modal-cart-view .cart-discount-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font: 20px 'ProximaNova-Bold';
}

.modal-cart-view .is-verification .cart-discount-icon { background: #ad761f; }
.modal-cart-view .cart-discount-copy { min-width: 0; }
.modal-cart-view .cart-discount-copy strong,
.modal-cart-view .cart-discount-copy small { display: block; }
.modal-cart-view .cart-discount-copy strong { font: 15px 'ProximaNova-Bold'; }
.modal-cart-view .cart-discount-copy small { margin-top: 3px; color: inherit; font-size: 12px; line-height: 1.3; opacity: .78; }
.modal-cart-view .cart-discount-note button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #8c601b;
  font: 12px 'ProximaNova-Bold';
  cursor: pointer;
}
.modal-cart-view .cart-discount-note button:hover { background: #6f4910; }
.modal-cart-view .cart-discount-note button:focus-visible { outline: 3px solid rgba(140,96,27,.28); outline-offset: 3px; }

.modal-cart-view .cart-order-summary {
  margin-top: 13px;
  padding: 14px 16px;
  border-color: #d5e9df;
  border-radius: 14px;
  background: rgba(237, 248, 242, .9);
}

.modal-cart-view .cart-order-summary small { color: #65736c; }
.modal-cart-view .cart-order-summary strong { color: #15241d; font-size: 19px; }
.modal-cart-view .cart-order-summary del { margin-right: 4px; color: #84918b; font-size: 14px; font-weight: 400; }

.checkout-discount-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--brand);
}
.checkout-discount-total span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.checkout-discount-total strong { flex: 0 0 auto; font-family: 'ProximaNova-Bold'; }

.modal-cart-view .cart-bottom-btn-container { padding-top: 13px; }

.modal-cart-view .cart-bottom-btn-container > div {
  min-height: 56px;
  height: 56px;
  padding: 0 58px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(23,106,75,.2);
  font: 19px 'ProximaNova-Bold';
}

.modal-cart-view .cart-bottom-btn-container > div::after {
  content: '';
  position: absolute;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff url('/assets/imgs/icons_svg/arrow-right.svg') center / 18px no-repeat;
}

.modal-cart-view .cart-submit-btn.disabled { pointer-events: none; }
.modal-cart-view .cart-submit-btn.disabled .cart-bottom-btn-container > div::after { opacity: .72; }

.modal-cart-view .cart-empty {
  min-height: 220px;
  color: #68756f;
}

.modal-cart-view .cart-empty strong { color: #122019; font-size: 25px; }

@media (max-width: 768px) {
  .modal-cart-view .app-modal-window { align-items: stretch; padding: 0; }
  .modal-cart-view .app-modal-content {
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .modal-cart-view .modal-close { position: fixed; top: 14px; right: 14px; left: auto; width: 42px; height: 42px; }
  .modal-cart-view .cart-view { min-height: 100%; padding: 22px 16px max(24px, env(safe-area-inset-bottom)); }
  .cart-modal-heading { margin-bottom: 18px; padding-right: 48px; }
  .cart-modal-heading h1 { font-size: 34px; }
  .cart-modal-heading p { max-width: 270px; font-size: 14px; line-height: 1.25; }
  .modal-cart-view .cart-header { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; scrollbar-width: none; }
  .modal-cart-view .cart-header::-webkit-scrollbar { display: none; }
  .modal-cart-view .cart-restaurant { min-height: 40px; }
  .modal-cart-view .cart-restaurant-items { max-height: none; }
  .modal-cart-view .cart-discount-note { grid-template-columns: 38px minmax(0, 1fr); }
  .modal-cart-view .cart-discount-icon { width: 38px; height: 38px; }
  .modal-cart-view .cart-discount-note button { grid-column: 2; justify-self: start; }
  .modal-cart-view .cart-discount-note.is-verification {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 12px;
  }
  .modal-cart-view .cart-discount-note.is-verification .cart-discount-icon {
    width: 32px;
    height: 32px;
    align-self: start;
    border-radius: 9px;
    font-size: 17px;
  }
  .modal-cart-view .cart-discount-note.is-verification .cart-discount-copy strong {
    font-size: 14px;
    line-height: 1.1;
  }
  .modal-cart-view .cart-discount-note.is-verification .cart-discount-copy small {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.22;
  }
  .modal-cart-view .cart-discount-note.is-verification button {
    grid-column: 3;
    grid-row: 1;
    min-height: 44px;
    align-self: center;
    justify-self: end;
    padding: 0 12px;
  }
  .modal-cart-view .cart-order-summary { margin-top: 11px; }
  .modal-cart-view .cart-bottom-btn-container { padding: 12px 0 0; }
  .modal-cart-view .cart-bottom-btn-container > div { height: 54px; min-height: 54px; font-size: 17px; }
}

@media (max-width: 560px) {
  .main_page .topbar-inner { padding: 0 10px; gap: 7px; }
  .main-brand { width: 98px; }
  .main_page .main-location { max-width: 188px; }
  .main_page .city-current { font-size: 12px; }
  .main_page .main-actions { gap: 3px; }
  .main_page a.profile-btn { width: 28px; background-size: 27px; }
  .main-cart-btn { width: 30px; transform: scale(.9); }
  .main_page .header-bg { min-height: 510px; }
  .main_page .header-bg-inner { min-height: 432px; padding: 48px 20px 28px; }
  .main_page .header-bg h1 { max-width: 315px; font-size: 47px; }
  .main_page .header-bg p { max-width: 305px; font-size: 18px; }
  .header-bg-search input { font-size: 15px; }
  .main_page .main-section { padding-right: 18px; padding-left: 18px; }
  .main_page .main-section.top-restaurants {padding-right: 0px; padding-left: 0px; }
  .main_page .section-heading { align-items: flex-end; }
  .main_page .section-heading h2 { font-size: 36px; }
  .main_page .section-heading p { font-size: 15px; }
  .section-link { display: none; }
  .main_page .categories.main-section { padding-right: 0px; padding-left: 0px; }
}

@media (prefers-reduced-motion: reduce) {
  .main_page .header-bg::before { transition: opacity .01ms linear; transform: none; filter: none; }
}

body,div,form,p,th,td { 
	margin: 0;
	padding: 0;
}
html {
	overflow-y: auto;
  scrollbar-width: thin;
}
html.no_overflow {
	overflow: hidden;
}
html.modal-open body {
  pointer-events: none;
}
body {
	min-width: 320px;
	color: var(--dark);
	background: var(--bg);
	font: 11px 'ProximaNova-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, calibri, sans-serif;

background:
  radial-gradient(ellipse 90% 75% at 10% -10%, rgba(225, 224, 219, 0.22), transparent 72%),
  radial-gradient(ellipse 90% 75% at 90% 0%, rgba(232, 232, 229, 0.24), transparent 74%),
  #fbfaf7;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

::selection {
  color: #fff;
  background: var(--brand);
}

html {
  scrollbar-color: #9ab9ac #eef4f1;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(23, 106, 75, .32);
  outline-offset: 3px;
}

body.order_success_page {
  background: radial-gradient(circle at 16% 0%, rgba(164, 255, 208, 0.36), transparent 30%), radial-gradient(circle at 84% 8%, rgba(240, 255, 210, .46), transparent 26%), #fbf7ef;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

html, body {
	width: 100%;
	height: 100%;
}
a {
	color: var(--dark);
	text-decoration: none;
}

.unselectable {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

select {
    width: 100%;
    height: 52px;
    padding: 0 45px 0 16px;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    background-color: #fff;
    font-size: 16px;
    color: #222;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

/* hover */

select:hover {
    border-color: #bdbdbd;
}

/* focus */

select:focus {
    border-color: #111;
    box-shadow:
        0 0 0 4px rgba(0,0,0,.06);
}

/* option */

option {
    padding: 14px;
    background: #fff;
    color: #222;
    font-size: 16px;
}

/* selected */

option:checked {
    background: var(--primary-light);
    color: #fff;
}

/* disabled */

option:disabled {
    color: #999;
}

/* custom arrow */

.select-wrap {
    position: relative;
}

.select-wrap::after {

    content: '';

    position: absolute;

    right: 18px;
    top: 50%;

    width: 9px;
    height: 9px;

    border-right: 2px solid #666;
    border-bottom: 2px solid #666;

    transform:
        translateY(-70%)
        rotate(45deg);

    pointer-events: none;
}

/* ===============================
   UNIVERSAL MODAL SYSTEM
================================= */

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.app-modal-overlay {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: .3s ease;
}

.app-modal-window {
  position: fixed;
  z-index: 2;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: .35s cubic-bezier(.2,.8,.2,1);
}

.app-modal-content {
  width: 100%;
  max-width: 1000px;
  min-height: 350px;
  max-height: 97vh;
  background: #fff;
  border-radius: 24px;
  overflow: auto;
  scrollbar-width: thin;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  padding: 30px;
}

.app-modal.is-loading .app-modal-content {
  display: grid;
  place-items: center;
}

.modal-loader {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.modal-loader-emblem {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f8f4;
  box-shadow: 0 14px 36px rgba(12, 94, 57, .14);
}

.modal-loader-emblem::before,
.modal-loader-emblem::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.modal-loader-emblem::before {
  inset: -9px;
  border: 2px solid rgba(14, 126, 74, .16);
}

.modal-loader-emblem::after {
  inset: -9px;
  border: 2px solid transparent;
  border-top-color: var(--brand);
  border-right-color: var(--brand);
  animation: modal-loader-rotate .85s linear infinite;
}

.modal-loader-emblem img {
  width: 66px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.modal-loader-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .modal-loader-emblem::after {
    animation: none;
    border-color: rgba(14, 126, 74, .55);
  }
}

/* ===== ACTIVE STATE ===== */

.modal-open {
  overflow: hidden;
}

.modal-open .app-modal {
  pointer-events: auto;
}

.modal-open .app-modal-overlay {
  opacity: 1;
}

.modal-open .app-modal-window {
  opacity: 1;
  transform: translateY(-5px);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 37px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  cursor: pointer;
  z-index: 15;
  border: 0;
  border-radius: 50%;
  background-color: #11583F;
  padding: 0;
  line-height: 1;
  color: #FFF;
  font-weight: 900;
  font-size: 15px;
}
.modal-close::before {
  content: '';
  position: absolute;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.modal-close::after {
  content: '';
  position: absolute;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(-45deg);
}

.modal-close:hover {
  opacity: 1;
}
.modal-short .modal-close {
  display: none;
}

.modal-short .app-modal-overlay {
  background: radial-gradient(circle at top right, rgba(23, 106, 75, .22), transparent 40%), radial-gradient(circle at bottom left, rgba(33, 132, 89, .16), transparent 40%);
}

/* Полноэкранный просмотр фотографии блюда. */
.app-modal.modal-item-view .app-modal-window {
  align-items: stretch;
  margin-top: 0;
  transform: none;
}

.app-modal.modal-item-view .app-modal-content {
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  padding: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overscroll-behavior: contain;
}

.app-modal.modal-item-view .food_box {
  display: block;
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  padding: 0;
  overflow: hidden;
  background: #0b1511;
}

.app-modal.modal-item-view .food_header_box,
.app-modal.modal-item-view .food_pic_box {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: #0b1511;
}

.app-modal.modal-item-view .app-modal-content .food_box img {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  object-fit: cover;
  cursor: default;
}

.app-modal.modal-item-view .food_content_box {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 140px max(22px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  box-sizing: border-box;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, rgba(3, 13, 9, 0) 0%, rgba(3, 13, 9, .62) 32%, rgba(3, 13, 9, .94) 100%);
  pointer-events: none;
}

.app-modal.modal-item-view .food_name {
  display: block;
  width: min(720px, 100%);
  height: auto;
  margin: 0 auto;
  color: #fff;
  font: 700 clamp(25px, 5vw, 42px)/1.05 "Proxima Nova", Arial, sans-serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.app-modal.modal-item-view .food_content_box .weight {
  float: none;
  display: block;
  width: min(720px, 100%);
  margin: 8px auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.app-modal.modal-item-view .food_description {
  display: -webkit-box;
  width: min(720px, 100%);
  height: auto;
  max-height: 4.2em;
  margin: 10px auto 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(15px, 2.8vw, 18px);
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.app-modal.modal-item-view .food_description:empty {
  display: none;
}

.app-modal.modal-item-view .item-modal-spiciness {
  display: flex;
  width: min(720px, 100%);
  min-height: 24px;
  margin: 10px auto 0;
  gap: 3px;
  align-items: center;
}

.app-modal.modal-item-view .item-modal-spiciness svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: #ff5a4f;
  stroke: #fff1e8;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-modal.modal-item-view .food_btns_container {
  position: static;
  width: min(720px, 100%);
  min-height: 52px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: auto;
}

.app-modal.modal-item-view .food_price {
  color: #fff;
  font: 700 clamp(25px, 4vw, 34px)/1 "Proxima Nova", Arial, sans-serif;
}

.app-modal.modal-item-view .food_price > .currency-symbol {
  color: inherit;
  font-size: .72em;
}

.app-modal.modal-item-view .buy_btn {
  float: none;
  width: 56px;
  min-width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 8px 22px rgba(0, 111, 53, .36);
  font-size: 36px;
  line-height: 54px;
}

.app-modal.modal-item-view .buy_btn_controls {
  float: none;
  margin: 0;
  padding: 5px;
  color: #102019;
  background: rgba(255, 255, 255, .96);
}

.app-modal.modal-item-view .buy_btn_controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--primary);
  font-size: 24px;
}

.app-modal.modal-item-view .food_box .ordered_count {
  min-width: 30px;
  margin: 0;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
}

.app-modal.modal-item-view .btn_notAvailable {
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 11px 14px;
  line-height: 1.2;
}

.app-modal.modal-item-view .modal-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #102019;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  opacity: 1;
}

@media (orientation: landscape) and (max-height: 560px) {
  .app-modal.modal-item-view .food_header_box,
  .app-modal.modal-item-view .food_pic_box,
  .app-modal.modal-item-view .app-modal-content .food_box img {
    height: 100svh;
    min-height: 100svh;
  }

  .app-modal.modal-item-view .food_content_box {
    padding-top: 70px;
  }

  .app-modal.modal-item-view .food_name {
    font-size: 24px;
  }

  .app-modal.modal-item-view .food_description {
    max-height: 2.8em;
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .app-modal.modal-item-view .food_btns_container {
    min-height: 46px;
    margin-top: 10px;
  }

  .app-modal.modal-item-view .buy_btn {
    width: 48px;
    min-width: 48px;
    height: 48px;
    line-height: 46px;
  }
}

@media (max-width: 768px) {
  .checkout-success {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .checkout-success-card {
    padding: 28px 18px;
    border-radius: 24px;
  }

  .checkout-success-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-success-details {
    grid-template-columns: 1fr;
  }

  .checkout-next-cart {
    grid-template-columns: 1fr;
  }

  .modal-open .app-modal-window {
    transform: translateY(0);
  }
  .app-modal-content {
    min-height: auto;
    height: 100vh;
    border-radius: 0;
    padding: 120px 8px 40px 8px;
  }
  .modal-close {
    top: 5px;
    left: 13px;
    font-size: 17px;
    line-height: 16px;
    position: absolute;
    width: 34px;
    height: 34px;
    background: var(--gray);
    border-radius: 50%;
    color: #FFF;
  }
}

/* Shared public brand treatment. */
.complete-order-motion::before,
.complete-order-motion::after { border-color: var(--brand); }
.complete-order-motion span { border-color: var(--brand-light); border-top-color: var(--brand); }
.complete-order-card.is-complete .complete-order-motion,
.complete-order-primary,
.complete-order-retry { background: var(--brand); }
.complete-order-status { color: var(--brand); }
.complete-order-window strong { color: var(--brand-dark); }
.complete-order-primary:hover,
.complete-order-retry:hover { background: var(--brand-dark); }

/* Active dine-in order */
.complete-order-page {
  align-content: center;
  gap: 14px;
}

.complete-order-back {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 9px;
  width: min(620px, 98%);
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--public-line, #e7eee9);
  border-radius: 14px;
  background: #fff;
  color: var(--public-leaf-dark, #0d4a36);
  font-weight: 700;
  text-decoration: none;
}

.complete-order-back:hover {
  border-color: var(--public-leaf, #176a4b);
}

.complete-order-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.complete-order-back:focus-visible,
.current-order-summary:focus-visible {
  outline: 3px solid rgba(0, 139, 67, .2);
  outline-offset: 3px;
}

.complete-order-items {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--public-line, #e7eee9);
  text-align: left;
}

.complete-order-items h2 {
  margin: 0 0 12px;
  color: var(--public-ink, #101828);
  font-size: 19px;
}

.complete-order-items > div {
  display: grid;
  gap: 8px;
}

.complete-order-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px;
  border-radius: 12px;
  background: var(--public-soft, #f3f7f5);
}

.complete-order-item img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.complete-order-item div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.complete-order-item div strong {
  overflow: hidden;
  color: var(--public-ink, #101828);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.complete-order-item div span {
  color: var(--public-muted, #66758a);
  font-size: 12px;
}

.complete-order-item > b {
  color: var(--public-ink, #101828);
  font-size: 14px;
  white-space: nowrap;
}

.current-order-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(1060px, calc(100% - 32px));
  min-height: 76px;
  margin: 14px auto 22px;
  padding: 10px 16px;
  border: 1px solid var(--public-line, #e7eee9);
  border-radius: 16px;
  background: #fff;
  color: var(--public-ink, #101828);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(20, 50, 37, .07);
}

.current-order-summary:hover {
  border-color: var(--public-leaf, #176a4b);
  box-shadow: 0 16px 34px rgba(20, 50, 37, .11);
}

.current-order-photos {
  display: flex;
  min-width: 54px;
  padding-inline-end: 18px;
}

.current-order-photos img {
  width: 48px;
  height: 48px;
  margin-inline-end: -18px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.current-order-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.current-order-copy strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-order-copy span {
  color: var(--public-muted, #66758a);
  font-size: 13px;
}

.current-order-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--public-leaf, #176a4b);
  color: #fff;
}

.current-order-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 560px) {
  .complete-order-page {
    gap: 10px;
  }

  .complete-order-back {
    min-height: 44px;
  }

  .complete-order-item {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .complete-order-item img {
    width: 46px;
    height: 46px;
  }

  .current-order-summary {
    width: calc(100% - 20px);
    min-height: 68px;
    margin-block: 10px 18px;
    padding: 8px 12px;
  }

  .current-order-photos {
    padding-inline-end: 13px;
  }

  .current-order-photos img {
    width: 42px;
    height: 42px;
    margin-inline-end: -14px;
  }
}

/* Dine-in order completion */
.complete_page .footer,.complete_page .up_btn{display:none}.complete_page{min-height:100vh;background:var(--public-soft,#f3f7f5)}.complete-order-page{display:grid;place-items:center;min-height:calc(100vh - 92px);padding:32px 18px 56px}.complete-order-card{position:relative;width:min(620px,100%);padding:clamp(28px,6vw,52px);overflow:hidden;border:1px solid var(--public-line,#e7eee9);border-radius:18px;background:#fff;text-align:center}.complete-order-motion{position:relative;display:grid;place-items:center;width:112px;height:112px;margin:0 auto 24px;border-radius:50%;background:#f3f7f5}.complete-order-motion::before,.complete-order-motion::after{content:"";position:absolute;inset:0;border:1px solid #008b43;border-radius:50%;opacity:0}.complete-order-card.is-loading .complete-order-motion::before{animation:completeOrderRing 1.8s cubic-bezier(.16,1,.3,1) infinite}.complete-order-card.is-loading .complete-order-motion::after{animation:completeOrderRing 1.8s .55s cubic-bezier(.16,1,.3,1) infinite}.complete-order-motion span{width:42px;height:42px;border:3px solid #dff2e9;border-top-color:#008b43;border-radius:50%;animation:completeOrderSpin .85s linear infinite}.complete-order-motion svg{display:none;width:48px;height:48px;fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.complete-order-card.is-complete .complete-order-motion{background:#008b43;animation:completeOrderPop .55s cubic-bezier(.16,1,.3,1) both}.complete-order-card.is-complete .complete-order-motion span,.complete-order-card.is-error .complete-order-motion span{display:none}.complete-order-card.is-complete .complete-order-motion svg{display:block}.complete-order-card.is-error .complete-order-motion{background:#fff0ee}.complete-order-card.is-error .complete-order-motion::before{content:"!";position:static;border:0;color:#d94b42;font:700 46px/1 "Proxima Nova",Arial,sans-serif;opacity:1}.complete-order-status{margin:0 0 8px;color:#008b43;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.complete-order-card h1{max-width:520px;margin:0 auto;color:#101828;font-size:clamp(30px,7vw,48px);line-height:1.04;letter-spacing:-.025em}.complete-order-lead{margin:14px 0 0;color:#66758a;font-size:15px}.complete-order-details{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:28px;padding-top:20px;border-top:1px solid #e7eee9}.complete-order-details div{display:grid;gap:5px}.complete-order-details span{color:#66758a;font-size:12px}.complete-order-details strong{color:#101828;font-size:19px}.complete-order-window{margin:22px auto 0;color:#66758a;line-height:1.45}.complete-order-window strong{display:block;margin-top:4px;color:#006f35;font-size:19px;font-variant-numeric:tabular-nums}.complete-order-actions{display:grid;gap:10px;margin-top:24px}.complete-order-primary,.complete-order-retry{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 20px;border:0;border-radius:14px;background:#008b43;color:#fff;font:700 15px "Proxima Nova",Arial,sans-serif;text-decoration:none;cursor:pointer}.complete-order-primary:hover,.complete-order-retry:hover{background:#006f35}.complete-order-error{margin:18px 0 0;color:#d94b42;line-height:1.45}.complete-order-card [hidden]{display:none!important}@keyframes completeOrderSpin{to{transform:rotate(360deg)}}@keyframes completeOrderRing{0%{opacity:.45;transform:scale(.72)}100%{opacity:0;transform:scale(1.35)}}@keyframes completeOrderPop{0%{transform:scale(.78)}100%{transform:scale(1)}}@media(max-width:560px){.complete-order-page{align-items:start;padding-top:22px}.complete-order-card{padding:28px 20px}.complete-order-motion{width:92px;height:92px}.complete-order-details{grid-template-columns:1fr}.complete-order-details div{grid-template-columns:1fr auto;align-items:center;padding:8px 0;border-bottom:1px solid #e7eee9;text-align:left}.complete-order-details div:last-child{border-bottom:0}}@media(prefers-reduced-motion:reduce){.complete-order-motion span,.complete-order-motion::before,.complete-order-motion::after,.complete-order-card.is-complete .complete-order-motion{animation:none!important}}
.complete_page .topbar {
  display: none;
}
/* ===== SEARCH ===== */

.search_input_wrap {
  position: relative;
}

.search_loader {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-top: 2px solid #333;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: spin 0.7s linear infinite;
  display: none;
}

.search_loader.active {
  display: block;
}

.search_clear {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  cursor: pointer;
  color: #888;
  display: none;
}

.search_clear.visible {
  display: block;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* Topbar */
.topbar {
  height: 80px;
  position: fixed;
  width: 100%;
  z-index: 999;
  background: #fff;
  -webkit-transition: .2s;
	-moz-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.city-selector {
  display: none;
}

.main_page .city-selector {
  display: inline-block;
}

.back_btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'ProximaNova-Bold';
  color: #fff;
  background: var(--primary);
}
.back_btn ::before {
  content: "❮";
}
.back_btn ::after {
  padding-left: 6px;
  content: "Назад в меню";
}
.main_page .back_btn {
  display: none;
}
.app-modal a.back_btn {
  display: none;
}
.modal-short a.back_btn {
  display: inline-block;
}
.up_btn {
  border: none;
  width: 44px;
  height: 44px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  position: fixed;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  font-size: 26px;
  padding: 0;
  background: var(--gray);
  border-radius: 999px;
  transform: translateY(12px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s ease;
}
.up_btn.is-visible {
  opacity: .8;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.up_btn:hover {
  opacity: 1;
}
.up_btn:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.up_btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-left: 2px solid #FFF;
  border-top: 2px solid #FFF;
  transform: translate(-50%, -35%) rotate(45deg);
}
.up_btn:active {
  transform: scale(0.97);
}

.map_page .up_btn {
  display: none;
}

.simple-btn {
  position: relative;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  margin: 0;
  background: #f1f1f1;
  color: #333;
  -webkit-transition: .1s;
	-moz-transition: .1s;
	-o-transition: .1s;
	transition: .1s;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.simple-btn:active {
    transform: scale(0.97);
}

.contacts-btn {
  padding-left: 22px;
}

.city-current {
  background: none;
  border: none;
  font: 15px 'ProximaNova-Bold'; 
  cursor: pointer;
}

.cities_list {
  position: fixed;
  top: 60px;
  background: #fff;
  border-radius: 16px;
  min-width: 220px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  display: none;
  z-index: 1000;
}

.cities_list ul {
  list-style: none;
  padding: 8px 0;
}

.cities_list li a {
  display: block;
  padding: 12px 18px;
  font: 14px 'ProximaNova-Semibold';
}

.cities_list li:hover a,
.cities_list li.active a {
  background: var(--bg);
  color: var(--primary);
}

.topbar-main-container {
  width: 100%;
  display: inline-block;
}

.search_box {
  width: 60%;
  margin-left: 30px;
  display: inline-block;
}

.search_box input {
  width: 100%;
  max-width: 700px;
  padding: 14px 18px 14px 42px;
  border-radius: 26px;
  border: none;
  font-size: 16px;
  background: #f7f7f7 url('/assets/imgs/search_icon.png') no-repeat  18px 50%;
  background-size: 20px;
}

.app-modal .search_box input {
  padding-left: 43px;
}

.top-nav, .top-nav-btns {
  display: flex;
  gap: 24px;
}

.top-nav a {
  text-decoration: none;
  color: var(--dark);
  font-family: 'ProximaNova-Semibold';
}

/* Hero */
.logo {
	width: 200px;
	height: 120px;
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
	background: url('/assets/imgs/logo_w.png') no-repeat 50%;
	background-size: 200px;
	border-radius: 16px;
}

.hero,
.header-bg {
  color: #fff;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.header-bg-inner {
  padding: 80px 15px;
}

.header-bg-title {
	max-width: 600px;
	display: inline-block;
}

.hero h1,
.header-bg h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.hero p,
.header-bg p {
  font-size: 18px;
  opacity: 0.9;
}

/* Categories */
.categories {
  padding: 32px;
}

.category-grid {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  scrollbar-width: thin;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.map_page .category-grid {
	background: #FFF;
	margin-top: 80px;
	position: fixed;
	width: 100%;
	z-index: 999;
}

.category-card {
  display: flex;
  text-align: center;
  align-items: center; /* вертикальное выравнивание */
  justify-content: center;  /* по горизонтали */
  gap: 10px;
  background: #fff;
  white-space: nowrap;
  border-radius: 20px;
  padding: 20px;
  font: 14px 'ProximaNova-Semibold';
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.category-card::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* The versioned icon URL is supplied by categories_list.php. */
.category-card::before {
  background-image: var(--category-icon, none);
}

@media (hover: hover) {
  .category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }
}

.category-card.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

@media (max-width: 768px) {
  .category-card:hover {
    transform: none;
    box-shadow: none;
  }
  .category-grid {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 6px;

    /* приятный скролл */
    -webkit-overflow-scrolling: touch;
  }

  .category-card {
    flex: 0 0 auto;
    min-width: 90px;
    padding: 8px;
    font-size: 13px;
  }
}

/* Restaurants */
.restaurants {
  padding-bottom: 80px;
}

.restaurants-loader {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  font-family: 'ProximaNova-Bold';
  color: #666;
}

.restaurants-covers {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-soft);
}

.restaurant-offer-badges {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 118px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}

.restaurant-offer-badge {
  max-width: 100%;
  min-height: 29px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 5px 11px;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 7px 18px rgba(4, 20, 14, .22);
  font: 12px/1.15 'ProximaNova-Semibold';
  white-space: nowrap;
  text-overflow: ellipsis;
}

.restaurant-offer-badge--discount { background: #e9343fe8; }
.restaurant-offer-badge--combo { background: #087a4ca1; }
.restaurant-offer-badge--delivery { background: linear-gradient(135deg, #ff7628ad, #e9362fc9); }
.restaurant-offer-badge--special { background: #FFFFFFE3; color:#071b14; }

.restaurants .restaurant-meta {
  right: 10px;
  padding: 0;
  font-size: 12px;
}
.restaurants .restaurant-meta span {
  box-shadow: none;
  max-width: min(230px, calc(100vw - 72px));
  overflow: hidden;
  text-overflow: ellipsis;
}
.restaurants .restaurant-meta.top {
  top: 10px;
  bottom: auto;
}
.restaurants .restaurant-meta.bottom {
  top: auto;
  bottom: 10px;
  width: calc(100% - 20px);
  max-width: calc(100% - 20px);
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
}
.restaurants .restaurant-meta span.restaurant-best {
  min-width: 0;
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.restaurants .restaurant-meta span.restaurant-best svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.restaurants .restaurant-meta span.visitstat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 2px 6px;
  line-height: 16px;
  height: 17px;
}
.restaurants .restaurant-meta span.visitstat img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* плавное появление карточек */
.restaurant-grid.loading {
  opacity: 0.3;
}

.restaurant-grid {
  opacity: 1;
  transition: opacity 0.25s ease;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.restaurant-card {
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.restaurant-card:hover {
  transform: translateY(-4px);
}

.restaurant-card .restaurants-covers > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  opacity: 1;
  transition: opacity .35s ease;
}

.restaurant-card .restaurants-covers > img.is-image-pending {
  opacity: 0;
}

.restaurant-card .restaurants-covers > img.is-image-loaded {
  opacity: 1;
}

.restaurant-card.is-paused .restaurants-covers > img {
  transform: scale(1.015);
}

@media (prefers-reduced-motion: reduce) {
  .restaurant-card .restaurants-covers > img {
    transition: none;
  }
}

.restaurant-card.is-paused .restaurant-discount,
.restaurant-card.is-paused .restaurant-offer-badges,
.restaurant-card.is-paused .restaurant-meta {
  display: none;
}

.restaurant-pause-state {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 20px;
  color: #fff;
  background: rgba(10, 12, 11, .62);
  text-align: center;
}

.restaurant-pause-state i {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(87, 68, 49, .48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.restaurant-pause-state i span {
  width: 7px;
  height: 28px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

.restaurant-pause-state strong,
.restaurant-pause-state small {
  display: block;
}

.restaurant-pause-state strong {
  font: clamp(19px, 2vw, 26px)/1.05 'ProximaNova-Bold';
}

.restaurant-pause-state small {
  margin-top: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.1;
}

.restaurant-card.is-paused:hover .restaurant-pause-state {
  background: rgba(10, 12, 11, .68);
}

.restaurants-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  padding: 10px 4px 4px;
}

.restaurants-info h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurants-info span {
  grid-column: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurants-info .rating {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: center;
  font-size: 13px;
  white-space: nowrap;
}

.restaurants-info .restaurant-rating-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  object-fit: contain;
}

.restaurants-info .restaurant-cuisine-tags {
  grid-column: 1 / -1;
  display: flex;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}

.restaurants .restaurant-card .restaurants-info .cuisine-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid rgba(23, 106, 75, .08);
  border-radius: 999px;
  color: #496157;
  background: #f1f7f4;
  font: 12px/1.1 'ProximaNova-Regular';
  white-space: nowrap;
}

.restaurants .restaurant-card .restaurants-info .cuisine-tag img {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(35%) sepia(20%) saturate(746%) hue-rotate(103deg) brightness(91%) contrast(88%);
  opacity: .88;
}

.restaurants .restaurant-meta span.schedule-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(166, 36, 35, .92);
  box-shadow: 0 5px 16px rgba(76, 13, 13, .2);
  font: 14px/1 'ProximaNova-Semibold';
}

.restaurants .restaurant-meta span.schedule-status svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* FOOTER */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 50px 20px 24px;
  color: #fff;
  background: #101312;
}

.main_page .footer {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer::before,
.footer::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  width: min(35vw, 520px);
  background-repeat: no-repeat;
  background-size: auto 100%;
  pointer-events: none;
}

.footer::before {
  left: 0;
  background-image: linear-gradient(90deg, transparent 40%, #101312 100%), url('/assets/imgs/footer_bckg_l.jpg');
  background-position: left center;
}

.footer::after {
  right: 0;
  background-image: linear-gradient(270deg, transparent 40%, #101312 100%), url('/assets/imgs/footer_bckg_r.jpg');
  background-position: right center;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 0;
}

.footer-brand {
  text-align: center;
}

.footer-brand img {
  display: block;
  width: 126px;
  height: auto;
  margin: 0 auto;
}

.footer-brand p {
  margin: 13px 0 0;
  color: #bac2bf;
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 38px;
  margin-top: 30px;
}

.footer-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: #8f9995;
  font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover {
    color: #71d2aa;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 40px 10px calc(22px + env(safe-area-inset-bottom));
  }

  .footer::before,
  .footer::after {
    width: 55vw;
    opacity: .55;
  }

  .footer-brand img {
    width: 112px;
  }

  .footer-brand p {
    max-width: 260px;
    font-size: 14px;
    line-height: 1.4;
  }

  .footer-nav {
    gap: 15px 24px;
    margin-top: 26px;
  }

  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
  }
}

/* =========================
   CART SIDEBAR
========================= */

.cart-sidebar {
    position: sticky;
    bottom: 14px;
    z-index: 1000;
    width: min(92%, 520px);
    margin: 0 auto;
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    backdrop-filter: blur(10px);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.cart-sidebar:hover {
    transform: translateY(-2px);

    border-color: rgba(0,0,0,0.1);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.14),
        0 4px 12px rgba(0,0,0,0.06);
}

.cart-sidebar.empty {
  display: none;
}

/* =========================
   INNER
========================= */

.cart-data {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
}


/* =========================
   CART ICON
========================= */

.cart-data .cart-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background:
        #f5f5f5
        url(/assets/imgs/cart_icon.png)
        center center / 22px no-repeat;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 2px 6px rgba(0,0,0,0.05);
}


/* =========================
   TOTAL
========================= */

#allcarts-total span, #cart-total span {
  font-size: 17px;
}

#allcarts-total, #cart-total {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}


/* =========================
   RESTAURANTS
========================= */

.cart-restaurants_list {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}


/* =========================
   ARROW
========================= */

.cart-arrow_icon {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f4f4f4;

    font-size: 18px;
    color: #333;

    transition:
        transform .15s ease,
        background .15s ease;
}

.cart-sidebar:hover .cart-arrow_icon {
    transform: translateX(4px);
}


/* =========================
   PAGE MODES
========================= */

#allcarts-total {
    display: none;
}

.main_page #allcarts-total {
    display: inline-block;
}

.main_page #cart-total {
    display: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .cart-sidebar {
        width: calc(100% - 16px);
        border-radius: 22px;
        bottom: 10px;
    }

    .cart-data {
        padding: 10px;
        gap: 12px;
    }

    .cart-data .cart-icon {
        width: 42px;
        height: 42px;
        background-size: 20px;
    }

    #allcarts-total,
    #cart-total {
        font-size: 20px;
    }

    .cart-restaurants_list {
        font-size: 12px;
    }

    .cart-arrow_icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}
.cart-header {
  display: flex;
  gap: 8px;
  padding: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.cart-header-one-rest {
  margin-bottom: 8px;
  padding: 0 2px 10px;
  border-bottom: 1px solid #e7eee9;
  color: #101828;
  font-size: 21px;
  font-weight: 700;
}

.cart-order-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0 0;
  padding: 12px 14px;
  border: 1px solid #e7eee9;
  border-radius: 12px;
  background: #f3f7f5;
}

.cart-order-summary > span {
  display: grid;
  gap: 4px;
}

.cart-order-summary > span:last-child {
  text-align: right;
}

.cart-order-summary .currency-symbol {
  display: inline;
  white-space: nowrap;
  font-size: .86em;
  font-weight: 550;
}

.cart-order-summary small {
  color: #777;
  font-size: 12px;
}

.cart-order-summary strong {
  color: #222;
  font-size: 17px;
}

.cart-bottom-btn-container {
  padding: 10px 0 0;
}


/* =========================
   ORDER BUTTON
========================= */

.cart-bottom-btn-container > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 14px;
    background:
      linear-gradient(
          135deg,
          var(--primary-light) 0%,
          var(--primary) 55%,
          var(--primary-dark) 100%
      );

    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    transition:
        transform .16s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.disabled .cart-bottom-btn-container > div {
  background: #b8b8b8;
  box-shadow: none;
}


/* Shine effect */
.cart-bottom-btn-container > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.22),
            transparent
        );
    transform: skewX(-20deg);
    transition: .7s;
}

.cart-bottom-btn-container > div:hover::before {
    left: 140%;
}


/* Hover */
.cart-bottom-btn-container > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 111, 53, 0.24), inset 0 1px 0 rgba(255,255,255,0.05);
    filter: brightness(1.03);
}


/* Active */
.cart-bottom-btn-container > div:active {
    transform: scale(.985);
    box-shadow: 0 8px 18px rgba(0, 115, 55, 0.28);
}


/* Mobile */
@media (max-width: 768px) {

    .cart-bottom-btn-container {
        padding: 14px;
    }

    .cart-bottom-btn-container > div {
        height: 58px;
        border-radius: 18px;
        font-size: 15px;
    }
}

.cart-restaurant {
  vertical-align: top;
  display: inline-block;
  flex: 0 0 auto;
  margin-right: 0;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid #e0ebe6;
  border-radius: 10px;
  background-color: #f3f7f5;
}

.cart-restaurant.selected {
  color: #FFF;
  background-color: var(--primary);
}

/* Окно корзины */
.cart-restaurant-items {
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
  max-height: 84vh;
  min-height: 0;
  scrollbar-width: thin;
}
.cart-restaurant-items img {
  width: 88px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-restaurant-items .cart-row {
    position: relative;
    display: block;
    box-sizing: border-box;
    height: 84px;
    max-height: 84px;
    min-height: 72px;
    margin-bottom: 7px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e7eee9;
    border-radius: 12px;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease;
}
.cart-restaurant-items .food_pic_box {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 88px;
    height: 72px;
    cursor: pointer;
}
.cart-restaurant-items .cart-row:hover {
    transform: translateY(-1px);
    border-color: #dcdcdc;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.04),
        0 2px 2px rgba(0,0,0,0.02);
}

.cart-restaurant-items .cart-item {
    position: absolute;
    inset: 6px 6px 6px 104px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 8px;
    width: auto !important;
    height: auto;
    min-width: 0;
    padding: 0 6px 0 0;
}

.cart-restaurant-items .cart-item > * {
    grid-row: 1;
    margin-top: 0;
    margin-bottom: 0;
}

/* Название */
.item_name {
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #1f1f1f;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.food-name-primary,
.food-name-secondary {
  display: block;
}

.food-name-secondary {
  margin-top: 3px;
  color: currentColor;
  font-family: "Proxima Nova", Tahoma, Arial, sans-serif;
  font-size: .72em;
  font-weight: 400;
  line-height: 1.25;
  opacity: .58;
}

.cart-restaurant-items .food-name-secondary,
.cart-addon .food-name-secondary {
  margin-top: 2px;
  font-size: .78em;
}

/* Контролы количества */
.cart-controls {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    background: #f0f6f3;
    border-radius: 20px;
    width: fit-content;
}

/* Кнопки + / - */
.plus_btn, .minus_btn {
    width: 31px;
    height: 31px;
    border: none;
    border-radius: 999px;
    background: #176a4b;
    color: #FFF;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition:
        background .15s ease,
        transform .1s ease,
        box-shadow .15s ease;
}

.cart-restaurant-items .plus_btn:hover, .cart-restaurant-items .minus_btn:hover {
    background: #218f66;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.cart-addons {
    min-width: 0;
    padding: 12px 0 4px;
    background: #fff;
}

.cart-addons-head {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
}

.cart-addons-head strong {
    font-size: 17px;
}

.cart-addons-head span {
    color: #777;
    font-size: 13px;
}

.cart-addons-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.cart-addon {
    display: flex;
    grid-template-columns: 54px minmax(120px, 1fr);
    align-items: start;
    gap: 8px;
    padding: 8px;
    border: 1px solid #ededed;
    border-radius: 12px;
    background: #fafafa;
}

.cart-addon .cart-controls {
    grid-column: 1 / -1;
}

.cart-addon-pic {
    width: 54px;
    height: 44px;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f1f1;
}

.cart-addon-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-addon-info {
    display: grid;
    gap: 4px;
    min-width: 56px;
}

.cart-addon-info strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-addon-info span {
    color: #777;
    font-size: 13px;
    font-weight: 700;
}

.cart-addon .cart-controls {
    padding: 4px;
}

.cart-addon .plus_btn,
.cart-addon .minus_btn {
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.cart-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 180px;
  padding: 24px;
  text-align: center;
  color: #66758a;
}

.cart-empty strong {
  color: #101828;
  font-size: 22px;
}

.cart-empty p {
  max-width: 34ch;
  margin: 0;
  font-size: 14px;
}

.cart-sanitizer-notice,
.complete-order-warning {
  padding: 11px 13px;
  border: 1px solid #f0d58a;
  border-radius: 10px;
  background: #fff8df;
  color: #6f5712;
  font-size: 13px;
  line-height: 1.4;
}

.cart-sanitizer-notice {
  margin: 10px 14px 0;
}

.cart-sanitizer-notice + .cart-sanitizer-notice {
  margin-top: 6px;
}

.complete-order-warning {
  margin-top: 20px;
  text-align: left;
}

.complete-order-warning p {
  margin: 0;
}

.complete-order-warning p + p {
  margin-top: 6px;
}

.plus_btn:active, .minus_btn:active {
    transform: scale(0.94);
}


/* Количество */
.ordered_count {
    min-width: 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}


/* Цена за штуку */
.item_price {
    align-self: center;
    font-size: 14px;
    color: #7a7a7a;
}


/* Общая сумма */
.item_total {
    align-self: center;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}
.item_price span, .cart-addon-info span > span {
  font: 12px "rublregular";
}

/* Контейнер страницы */
.restaurant-page {
	padding-top: 80px;
}

/* Обложка */
.restaurant-cover {
  position: relative;
}

.restaurant-cover img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: opacity .5s ease;
}
.restaurant-cover img.is-image-pending { opacity: 0; }
.restaurant-cover img.is-image-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .restaurant-cover img { transition: none; }
}

/* Затемнение поверх обложки */
.restaurant-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.57), rgba(0, 0, 0, 0.09) 78%);
}

/* Информация поверх картинки */
.restaurant-info {
  position: absolute;
  margin-top: -160px;
  display: flex;
  gap: 18px;
  align-items: flex-end;
  color: #FFF;
  text-align: left;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 32px));
  z-index: 2;
}

/* Логотип */
.restaurant-logo img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: contain;
}

/* Основной блок */
.restaurant-main {
  flex: 1;
  height: 112px;
}

.restaurant-name {
  font-size: 34px;
  font-family: 'ProximaNova-Bold';
  margin: 0;
  text-shadow: 0 4px 14px rgba(0,0,0,0.8);
}

/* Мета */
.restaurant-meta {
  position: absolute;
  right: 10px;
  z-index: 2;
  padding: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}

.restaurant-meta span {
  color: #FFF;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.restaurant-meta span.rating {
  font: 20px 'ProximaNova-Semibold';
}

.restaurant-meta .restaurant-offer-badge {
  border: 0;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 6px 18px rgba(0,0,0,.24);
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}
.restaurant-meta .restaurant-offer-badge:hover { filter: brightness(1.08); transform: translateY(-1px); }
.restaurant-meta .restaurant-offer-badge:focus-visible { outline: 3px solid rgba(255,255,255,.82); outline-offset: 3px; }
.restaurant-meta .restaurant-offer-badge--discount { background: #e9343fe8; }
.restaurant-meta .restaurant-offer-badge--combo { background: #087a4ca1; }
.restaurant-meta .restaurant-offer-badge--delivery { background: linear-gradient(135deg, #ff7628ad, #e9362fc9); }
.restaurant-meta .restaurant-offer-badge--special { background: #FFFFFFE3; color: #071b14; }

@media (max-width: 520px) {
  .restaurant-offer-badges { max-width: calc(100% - 92px); gap: 4px; }
  .restaurant-offer-badge { min-height: 26px; padding: 4px 9px; font-size: 11px; }
  .restaurants .restaurant-meta span.restaurant-best { max-width: calc(100% - 52px); }
}

/* Кухни */
.restaurant-cuisine {
  display: block;
  font-size: 16px;
  opacity: 0.85;
  overflow: hidden;
  max-height: 22px;
  margin-bottom: 5px;
}

.restaurant-details {
  display: flex;
  gap: 10px;
  align-items: center;
	max-height: 28px;
	overflow: hidden;
}

 .restaurant-schedule {
	margin-right:5px;
	display: inline-block;
	font: 14px 'ProximaNova-Semibold';
	vertical-align: top;
 }

/* Адаптив */
@media (max-width: 768px) {
  .restaurant-info {
    color: var(--dark);
    gap: 10px;
    margin-top: -93px;
    padding: 5px;
    width: min(1100px, calc(100% - 9px));
    background: #fff;
    border-radius: 14px 14px 0 0;
  }

  .restaurant-logo img {
    width: 80px;
    height: 80px;
  }

  .restaurant-name {
    font-size: 24px;
    overflow: hidden;
    max-height: 58px;
    text-shadow: none;
  }
  
  .restaurant-main {
	height: 80px;
  }

  .restaurant-cover img {
    height: 300px;
  }
}


.restaurant-menu-box-foods-wrap {
	max-width: 1100px;
}

.restaurant-menu-box-foods-wrap, .page-body-content_box {
	padding: 0 0 80px 0;
}

.food_box {
	vertical-align: top;
	display: inline-block;
	text-align: left;
	background: #FFF;
	width: 320px;
	min-height: 310px;
	margin-top: 40px;
	margin-left: 10px;
	margin-right: 10px;
	border-radius: 14px;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
	-webkit-box-shadow: 0px 7px 3px -5px rgba(0,0,0,0.03);
	-moz-box-shadow: 0px 7px 3px -5px rgba(0,0,0,0.03);
	box-shadow: 0px 7px 3px -5px rgba(0,0,0,0.03);
}
.food_box:hover {
	-webkit-transform: translateY(-4px);
	-moz-transform: translateY(-4px);
	-o-transform: translateY(-4px);
	transform: translateY(-4px);
	-webkit-box-shadow: 0px 5px 8px -2px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 5px 8px -2px rgba(0,0,0,0.1);
	box-shadow: 0px 5px 8px -2px rgba(0,0,0,0.1);
}

.app-modal-content .food_box img {
  height: 400px;
}
.app-modal-content .food_box * {
  font-size: large;
}
.app-modal-content .food_box {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.app-modal-content .food_box:hover {
  -webkit-transform: none;
  -moz-transform: none;
  -o-transform: none;
  transform: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.food_box .ordered_count {
	display: inline-block !important;
	padding: 3px;
	color: var(--primary);
	text-align: center;
	font-size: 16px;
	margin-top: 4px;
}
.food_box img {
	cursor: pointer;
	width: 100%;
	height: 150px;
	border-radius: 10px 10px 0 0;
	object-fit: cover;
}
.food_pic_box {
	opacity: 0;
	display: block;
	-webkit-transition: .9s;
	-moz-transition: .9s;
	-o-transition: .9s;
	transition: .9s;
	-webkit-transform: scale(0.97);
	-moz-transform: scale(0.97);
	-o-transform: scale(0.97);
	transform: scale(0.97);
}
.food_pic_box._img_loaded {
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
.food_pic_box img[data-product-image],
.cart-addon-pic img[data-product-image] {
	transition: opacity .5s ease;
}
.food_pic_box img.is-image-pending,
.cart-addon-pic img.is-image-pending {
	opacity: 0;
}
.food_pic_box img.is-image-loaded,
.cart-addon-pic img.is-image-loaded {
	opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
	.food_pic_box img[data-product-image],
	.cart-addon-pic img[data-product-image] {
		transition: none;
	}
}
.food_content_box {
	padding: 16px;
}
.food_box .food_content_box .weight {
  float: right;
	font-size: 15px;
	color: #bfc0c2;
}
.food_name {
  width: 250px;
  height: 60px;
	display: inline-block;
	font-size: 16px;
  text-overflow: ellipsis;
	overflow: hidden;
}
.app-modal .food_name {
  width: auto;
  height: auto;
}
.food_description {
	display: block;
	color: #bfc0c2;
	line-height: 14px;
	height: 30px;
	font-size: 10px;
	text-overflow: ellipsis;
	overflow: hidden;
}
.food_btns_container {
	margin-top: 12px;
}
.food_price {
	display: inline-block;
	font-size: 17px;
}
.food_price > span {
  font: 16px "rublregular";
}
.food_price > .currency-symbol, .order_success_page .currency-symbol {
  margin-left: 4px;
  font-family: "Proxima Nova", Arial, sans-serif;
  font-size: .86em;
  font-weight: 550;
}

.buy_btn_controls > div {
	display: inline-block;
}
.food_box.ordered .buy_btn {
	display: none;
}
.food_box.ordered .buy_btn_controls {
  display: flex;
}
.buy_btn_controls {
	float: right;
  display: none;
  margin-top: -14px;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: 14px;
  width: fit-content;
}
.buy_btn_controls > div {
	margin: 3px;
	border-radius: 12px;
	cursor: pointer;
	text-align: center;
  width: 20px;
  height: 21px;
  font-size: 20px;
  line-height: 20px;
  border: none;
  background: var(--primary);
  color:  #FFF;
  padding: 4px;
	overflow: hidden;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-bottom-radius: 3px;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}
.buy_btn_controls > div:active {
  -webkit-transform: scale(0.95);
	-moz-transform: scale(0.95);
	-o-transform: scale(0.95);
	transform: scale(0.95);
	background: var(--brand-light);
}
.buy_btn, .btn_notAvailable {
  margin-top: -4px;
  cursor: pointer;
  float: right;
  text-align: center;
  min-width: 100px;
  height: 22px;
  font-size: 14px;
  line-height: 21px;
  border: none;
  background-color: var(--primary);
  color: #FFF;
  padding: 3px;
	overflow: hidden;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
  -khtml-border-radius: 8px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}
.btn_notAvailable {
  font-size: 12px;
  background-color: var(--gray);
}
.buy_btn:hover {
    background-color: var(--primary-light);
}
.buy_btn:active {
  -webkit-transform: scale(0.95);
	-moz-transform: scale(0.95);
	-o-transform: scale(0.95);
	transform: scale(0.95);
}
.buy_btn a {
	color:  #FFF;
}
.ordered .buy_btn {
	background: #888;
}
.ordered .buy_btn :hover {
	background: #646464;
}

.food_list_cid_name_box {
	color: #383838;
	font-size: 23px;
	width: 92%;
	box-sizing: border-box;
	position: relative;
	display: flex;
	justify-content: center;
	margin-top: 30px;
	text-align: center;
}
.food_list_cid_name_box:after {
	content: "";
	position: absolute;
	margin-top: 35px;
	left: 10px;
	right: 10px;
	display: block;
	height: 0;
	border-bottom: 1px solid #e2e2e2;
}
.food_list_cid_name_box span {
	position: relative;
	overflow: hidden;
	display: block;
	max-width: 100%;
}
.newfood_box {
	margin: 20px 0;
}
.newfood_item {
	display: inline-block;
	width: 200px;
}
.newfood_item img {
	border-radius: 18px;
	transform: scale(1.25);
}
.newfood_item-food_name {
	font-size: 14px;
	width: 120px;
	line-height: 16px;
}
.newfood_box .food_pic_box {
	width: 160px;
	height: 160px;
	overflow: hidden;
	position: relative;
	border-radius: 20px;
}
.food_new_ico,.food_hit_ico {
	position: absolute;
	width: 300px;
	height: 48px;
	margin-top: -8px;
	z-index: 2;
	background: url(/assets/imgs/new_ico.png) 100% 0 no-repeat;
}
.food_hit_ico {
	background: url(/assets/imgs/hit_ico.png) 100% 0 no-repeat;
}

.cids_list_box_container {
	height: 55px;
}

.cids_list_box {
	color: #FFF;
	z-index: 50;
	width: 100%;
	display: inline-block;
	background: var(--primary);
	right: 0;
	left: 0;
	height: 47px;
	margin-right: auto;
	margin-left: auto;
  -webkit-transition: .2s;
	-moz-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}
.restaurant_page.fixed_cids_list_box .cids_list_box {
	position: fixed;
	top: 0;
	right: 0;
  left: 0;
  margin-right: auto;
  margin-left: auto;
	z-index: 250;
}
.restaurant_page.fixed_cids_list_box .topbar {
	margin-top: -100px;
}

.cids_list ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.cids_list {
  scrollbar-width: thin;
	position: relative;
	display: block;
	height: 45px;
	color: #FFF;
	font: 15px 'ProximaNova-Bold';
	opacity: .95;
	min-width: 760px;
	line-height: 35px;
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	background: linear-gradient(208deg, var(--brand), var(--brand-dark), var(--brand-medium), var(--brand));
}
.cids_list .menu_btn {
	cursor: pointer;
	display: inline-block;
	color: #FFF;
	padding: 5px 15px;
}
.menu_btn:active {
	background: var(--primary-dark);
}
.menu_btn_selected {
	background: var(--primary-dark);
}
.trigger {
	position: absolute;
	background: #FFF;
	height: 4px;
	width: 73px;
	margin-top: 1px;
	margin-left: -15px;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}
.cart_anim {
	-moz-animation: cart_shake .4s forwards;
	-o-animation: cart_shake .4s forwards;
	animation: cart_shake .4s forwards;
	-webkit-animation: cart_shake .4s forwards;
}


.address-field {
    position: relative;
}

.address-field input {
    padding-right: 42px;
}

.edit-address {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 18px;
}

.hit-inform {
  margin-top: 20px;
  background: var(--primary-light);
  color: #FFF;
  font-size: 17px;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 16px;
}

.checkout-page {
    max-width: 1380px;
    margin: 0 auto;
    padding: 80px 24px 0 24px;
}

.checkout-header {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.checkout-header h1 {
    font-size: 42px;
    margin: 8px auto;
}

.checkout-header .restaurant-logo img {
  width: 92px;
  height: 92px;
}

.checkout-header p {
    color: #777;
    font-size: 17px;
    padding: 5px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    margin-top: 32px;
}

.phone-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: #fafafa;
  transition: .2s;
}

.phone-group:focus-within {
  border-color: var(--second-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23,106,75,.12);
}

.phone-prefix {
  flex: 0 0 auto;
  padding-left: 16px;
  color: #222;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.phone-group input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 8px !important;
  font-size: 18px;
  outline: none !important;
}

.checkout-block,
.checkout-summary {
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.checkout-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.checkout-summary .checkout-summary-head h2 {
    margin-bottom: 0;
}

.checkout-edit-order {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid rgba(23, 106, 75, .28);
    border-radius: 999px;
    padding: 0 15px;
    background: #fff8f1;
    color: #c65300;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition: border-color .18s ease, background .18s ease;
}

.checkout-edit-order:hover {
    border-color: var(--brand);
    background: var(--brand-light);
}

.checkout-success {
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
  padding-top: 26px;
}

.checkout-success.single {
  grid-template-columns: minmax(320px, 760px);
  justify-content: center;
}

.checkout-success-card,
.checkout-success-carts,
.checkout-success-empty {
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .07);
}

.checkout-success-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
}

.checkout-success-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 180px;
  background: linear-gradient(135deg, rgba(33, 132, 89, .16), rgba(23, 106, 75, .11));
  pointer-events: none;
}

.checkout-success-card > * {
  position: relative;
}

.checkout-success-mark {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #5eb92a;
  box-shadow: 0 18px 34px rgba(94, 185, 42, .28);
  animation: checkoutSuccessPop .55s cubic-bezier(.16, 1, .3, 1) both;
}

.checkout-success-mark::before,
.checkout-success-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(94, 185, 42, .32);
  border-radius: inherit;
  animation: checkoutSuccessPulse 1.8s ease-out infinite;
}

.checkout-success-mark::after {
  inset: -16px;
  animation-delay: .35s;
}

.checkout-success-mark span {
  width: 30px;
  height: 17px;
  border-left: 5px solid #fff;
  border-bottom: 5px solid #fff;
  transform: rotate(-45deg) translate(2px, -2px);
  animation: checkoutSuccessCheck .65s .25s cubic-bezier(.16, 1, .3, 1) both;
}

.checkout-success-eyebrow {
  margin-top: 26px;
  color: #5eb92a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-success h1 {
  margin: 8px 0 10px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1;
}

.checkout-success-lead {
  max-width: 680px;
  color: #666;
  font-size: 18px;
}

.checkout-success-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 30px 0;
  padding: 8px;
  border-radius: 22px;
  background: #f5f5f5;
}

.checkout-success-steps span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #777;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.checkout-success-steps span.active {
  background: #fff;
  color: #222;
}

.checkout-success-steps span.done {
  color: #3a8d18;
}

.checkout-success-steps.compact {
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 6px;
  margin: 14px 0 0;
  padding: 6px;
}

.checkout-success-steps.compact span {
  min-height: 34px;
  border-radius: 13px;
  font-size: 12px;
}

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

.checkout-success-details div {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 10px 16px;
  background: #fff;
}

.checkout-success-details .wide {
  grid-column: 1 / -1;
}

.checkout-success-details small {
  color: #888;
  font-size: 12px;
  font-weight: 800;
}

.checkout-success-details strong {
  overflow-wrap: anywhere;
  color: #222;
  font-size: 17px;
}

.checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.checkout-success-actions a,
.checkout-next-cart a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 900;
}

.checkout-success-primary {
  background: var(--primary);
  color: #fff;
}

.checkout-success-secondary {
  background: #f2f2f2;
  color: #222;
}

.checkout-success-carts,
.checkout-success-empty {
  padding: 24px;
}

.checkout-success-subhead,
.checkout-success-empty {
  display: grid;
  gap: 6px;
}

.checkout-success-subhead strong,
.checkout-success-empty strong {
  font-size: 20px;
}

.checkout-success-subhead span,
.checkout-success-empty span {
  color: #777;
  font-size: 14px;
}

.checkout-next-cart-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checkout-next-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 14px;
}

.checkout-next-cart strong,
.checkout-next-cart span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-next-cart strong {
  font-size: 16px;
}

.checkout-next-cart span {
  margin-top: 4px;
  color: #777;
  font-size: 13px;
}

.checkout-next-cart a {
  min-height: 40px;
  background: #fff8f1;
  color: #c65300;
  font-size: 13px;
}

@keyframes checkoutSuccessPop {
  from {
    opacity: 0;
    transform: scale(.72) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes checkoutSuccessPulse {
  0% {
    opacity: .9;
    transform: scale(.82);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes checkoutSuccessCheck {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(2px, -2px) scale(.45);
  }
  100% {
    opacity: 1;
    transform: rotate(-45deg) translate(2px, -2px) scale(1);
  }
}

.active-user-orders {
  margin-top: 15px;
  margin-bottom: 34px;
}

.active-user-orders-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.active-user-orders-head span {
  font-size: 24px;
  font-weight: 900;
}

.active-user-orders-head strong {
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #5eb92a;
  color: #fff;
  font-size: 14px;
}

.active-user-orders-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
}

.active-user-order-top {
  padding: 14px 14px 6px 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.active-user-order-top strong,
.active-user-order-top span {
  display: block;
}

.active-user-order-top strong {
  font-size: 16px;
}

.active-user-order-top span {
  margin-top: 4px;
  color: #777;
  font-size: 13px;
}

.active-user-order-top em {
  flex: 0 0 auto;
  align-self: flex-start;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff8f1;
  color: #c65300;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

/* Order success redesign */

.checkout-success {
  min-height: calc(100vh - 120px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  padding: 16px 0 40px;
}

.checkout-success.single {
  grid-template-columns: minmax(320px, 1180px);
}

.checkout-success-card {
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 52px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .72)),
    radial-gradient(circle at 88% 16%, rgba(226, 241, 166, .52), transparent 30%);
  box-shadow: 0 28px 80px rgba(55, 42, 25, .11);
}

.checkout-success-card::before {
  display: none;
}

.checkout-success-hero {
  min-height: 290px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: center;
}

.checkout-success-copy {
  min-width: 0;
}

.checkout-success-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(111, 164, 46, .18);
  border-radius: 999px;
  padding: 8px 22px 8px 8px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 14px 28px rgba(55, 42, 25, .08), inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.checkout-success-badge .checkout-success-mark {
  width: 56px;
  height: 56px;
  box-shadow: 0 16px 30px rgba(94, 185, 42, .22);
}

.checkout-success-badge .checkout-success-mark span {
  width: 22px;
  height: 13px;
  border-left-width: 4px;
  border-bottom-width: 4px;
}

.checkout-success-eyebrow {
  margin: 0;
  color: #4f8e25;
  font-size: 17px;
  letter-spacing: .08em;
}

.checkout-success h1 {
  margin: 34px 0 12px;
  color: #242424;
  font-size: clamp(44px, 8vw, 80px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .94;
  text-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.checkout-success-lead {
  max-width: 620px;
  color: #6d6d6d;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.35;
}

.checkout-success-visual {
  position: relative;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
}

.checkout-success-visual::before {
  content: "";
  position: absolute;
  width: min(92%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 242, 176, .94), rgba(234, 242, 176, .16) 68%, transparent 69%);
}

.checkout-success-bag {
  position: relative;
  width: 220px;
  height: 240px;
  display: grid;
  place-items: center;
  background: url('/assets/imgs/bag.png') center / contain no-repeat;
  padding: 42px 75px 0 5px;
}

.checkout-success-bag > div {
  max-width: 110px;
  display: block;
  overflow-wrap: anywhere;
  transform: rotate(-2deg);
}

.checkout-success-bag::before {
  content: none;
  position: absolute;
  top: -22px;
  left: 9px;
  right: 9px;
  height: 42px;
  border-radius: 10px 10px 4px 4px;
  background: #eac078;
  transform: skewX(8deg);
}

.checkout-success-bag::after {
  content: none;
  position: absolute;
  bottom: -12px;
  left: -58px;
  width: 82px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #f2d991);
  box-shadow: 82px -3px 0 -6px rgba(164, 196, 72, .28);
}

.checkout-success-visual span {
  position: absolute;
  width: 88px;
  height: 120px;
  border-radius: 100% 0 100% 0;
  background: rgba(150, 185, 48, .18);
  animation: checkoutFloat 4.8s ease-in-out infinite;
  will-change: transform;
}

.checkout-success-visual span:nth-child(2) {
  right: 4%;
  bottom: 26px;
  --float-rotate: 28deg;
  transform: rotate(var(--float-rotate));
  animation-delay: .2s;
}

.checkout-success-visual span:nth-child(3) {
  left: 8%;
  bottom: 20px;
  --float-rotate: -28deg;
  transform: rotate(var(--float-rotate));
  animation-delay: .9s;
}

.checkout-success-steps {
  --step-color: #70a92b;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 0;
  margin: 10px 0 24px;
  padding: 28px 28px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
}

.checkout-success-steps span {
  position: relative;
  min-height: 92px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  border-radius: 0;
  background: transparent;
  color: #7a7a7a;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.checkout-success-steps span::before {
  content: "";
  position: absolute;
  top: 27px;
  left: -50%;
  width: 100%;
  height: 4px;
  background: #dedbd5;
  z-index: 0;
}

.checkout-success-steps span:first-child::before {
  display: none;
}

.checkout-success-steps span.done::before,
.checkout-success-steps span.active::before {
  background: var(--step-color);
}

.checkout-success-steps i {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #b7b7b7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px;
}

.checkout-success-steps b {
  font: inherit;
}

.checkout-success-steps span.done i,
.checkout-success-steps span.active i {
  background-color: #74ad2a;
  color: #fff;
  box-shadow: 0 10px 22px rgba(102, 165, 35, .25), inset 0 0 0 5px rgba(255, 255, 255, .22);
}

.checkout-success-steps span.active i {
  outline: 5px solid rgba(112, 169, 43, .18);
  animation: checkoutStepActive 1.6s ease-in-out infinite;
}

.checkout-success-steps span.done b,
.checkout-success-steps span.active b {
  color: var(--brand-medium);
}

.checkout-success-steps [data-step="sent"] i { background-image: url('/assets/imgs/done_icon.png'); }
.checkout-success-steps [data-step="accepted"] i { background-image: url('/assets/imgs/mini_cart_icon.png'); }
.checkout-success-steps [data-step="cooking"] i { background-image: url('/assets/imgs/cooking_icon.png'); }
.checkout-success-steps [data-step="ready"] i { background-image: url('/assets/imgs/dish_icon.png'); }
.checkout-success-steps [data-step="delivery"] i { background-image: url('/assets/imgs/courier_icon.png'); }
.checkout-success-steps [data-step="delivered"] i { background-image: url('/assets/imgs/house_icon.png'); }

.checkout-success-preorder,
.active-user-preorder {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 10px 0 24px;
  border: 1px solid rgba(138, 124, 230, .22);
  border-radius: 28px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(138, 124, 230, .14), rgba(255, 255, 255, .84));
  box-shadow: 0 18px 45px rgba(55, 42, 25, .08);
}

/* Public restaurant experience — mob_design.png */
.restaurant_page {
  --primary: var(--brand);
  --primary-light: var(--brand-medium);
  --primary-dark: var(--brand-dark);
  --menu-ink: var(--ink);
  --menu-muted: var(--muted);
  --menu-line: var(--line);
  --menu-soft: var(--surface-soft);
  background: #fff;
  color: var(--menu-ink);
}

.restaurant_page .topbar {
  height: 96px;
  border-bottom: 1px solid rgba(11, 91, 53, .08);
  box-shadow: 0 8px 28px rgba(20, 50, 37, .06);
}

.restaurant_page .topbar-inner {
  height: 96px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
}

.public-brand img {
  display: block;
  max-height: 64px;
  object-fit: contain;
}

.restaurant-page {
  width: 100%;
  padding-top: 96px;
  text-align: left;
}

.restaurant-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #10261d;
}

.restaurant-cover,
.restaurant-cover img { height: 390px; }
.restaurant-cover img { width: 100%; object-fit: cover; }

.restaurant-info {
  top: 50%;
  bottom: auto;
  margin-top: 0;
  transform: translate(-50%, -42%);
  align-items: center;
  color: #fff;
}

.restaurant-logo img {
  width: 96px;
  height: 96px;
  padding: 7px;
  border-radius: 16px;
  background: #fff;
}

.restaurant-main { height: auto; max-width: 700px; }
.restaurant-name { font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -.025em; }
.restaurant-cuisine { margin: 12px 0; color: rgba(255,255,255,.86); font-size: 18px; }
.restaurant-details { max-height: none; flex-wrap: wrap; gap: 12px; }
.restaurant-schedule,
.restaurant-open-status,
.restaurant_page .contacts-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font: 15px 'ProximaNova-Semibold';
}
.restaurant-schedule { background: rgba(0,0,0,.28); }
.restaurant-open-status { background: var(--primary); }
.restaurant_page .contacts-btn { background: rgba(255,255,255,.94); color: var(--primary-dark); }
.restaurant-address { margin-top: 14px; color: rgba(255,255,255,.92); font-size: 15px; }

.restaurant_page .restaurant-meta { top: 22px; right: max(22px, calc((100% - 1100px) / 2)); }
.restaurant_page .restaurant-meta span { background: rgba(4,18,12,.66); }

.restaurant-menu-box { background: #fff; }
.cids_list_box_container { height: 72px; }
.cids_list_box {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--menu-line);
  box-shadow: 0 8px 30px rgba(20,50,37,.05);
}
.cids_list {
  min-width: 0;
  height: 72px;
  max-width: 99%;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--menu-ink);
  font: 15px 'ProximaNova-Semibold';
  line-height: 1.15;
}
.cids_list .menu_btn {
  position: relative;
  min-width: max-content;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-radius: 14px;
  color: var(--menu-ink);
}
.cids_list .menu_btn:hover { background: #1b7847; color: #FFF; }
.cids_list .menu_btn_selected { background: var(--primary); color: #fff; }
.menu_btn .trigger { display: none; }
.restaurant_page.fixed_cids_list_box .cids_list_box { top: 0; }

.restaurant-menu-box-foods-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 18px 130px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cid_box { grid-column: 1 / -1; }
.food_list_cid_name_box {
  width: 100%;
  justify-content: flex-start;
  margin-top: 26px;
  color: var(--menu-ink);
  font: 30px 'ProximaNova-Bold';
  letter-spacing: -.02em;
}
.food_list_cid_name_box::after { display: none; }
.food_list_cid_name_box span::after { content: ''; display: block; width: 34px; height: 3px; margin-top: 8px; border-radius: 999px; background: var(--primary); }

.restaurant_page .food_box {
  width: 100%;
  min-height: 188px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(155px, 42%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--menu-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 50, 37, .07);
}
.restaurant_page .food_box:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20,50,37,.11); }
.restaurant_page .food_header_box,
.restaurant_page .food_pic_box,
.restaurant_page .food_box img { width: 100%; height: 100%; }
.restaurant_page .food_box img { border-radius: 0; object-fit: cover; }
.restaurant_page .food_content_box { position: relative; min-width: 0; padding: 18px 18px 16px; }
.restaurant_page .food_name { width: calc(100% - 74px); height: auto; min-height: 44px; }
.restaurant_page .weight { float: none; position: absolute; top: 18px; right: 18px; color: var(--menu-muted); font-size: 12px; }
.restaurant_page .food_description { height: 44px; margin-top: 7px; color: var(--menu-muted); font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.restaurant_page .food_btns_container { position: absolute; right: 16px; bottom: 15px; left: 18px; display: flex; align-items: center; justify-content: space-between; }
.restaurant_page .food_price { font: 19px 'ProximaNova-Bold'; }
.restaurant_page .buy_btn {
  float: none;
  min-width: 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  font: 31px 'ProximaNova-Regular';
  line-height: 42px;
  background: var(--primary);
}
.restaurant_page .buy_btn_controls { float: none; margin: 0; }
.restaurant_page .btn_notAvailable { height: auto; min-width: 100px; padding: 8px 10px; line-height: 1.2; }

.restaurant_page .cart-data { min-height: 56px; padding: 6px 12px; gap: 10px; }
.restaurant_page .cart-data .cart-icon {
  position: relative;
  width: 90px;
  height: 40px;
  flex: 0 0 90px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.cart-dish-previews {
  height: 40px;
  display: flex;
  align-items: center;
}
.cart-dish-previews img {
  width: 38px;
  height: 38px;
  margin-left: -13px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-sizing: border-box;
  box-shadow: 0 3px 9px rgba(0, 65, 31, .2);
}
.main_page .cart-dish-previews {
  display: none;
}
.cart-dish-previews img:first-child { margin-left: 0; }
.cart-items-count {
  position: absolute;
  z-index: 5;
  top: -5px;
  left: 28px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-dark);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font: 11px/1 'ProximaNova-Bold';
  box-sizing: border-box;
}
.cart-items-count[hidden] { display: none; }
.cart-icon[data-preview-count='2'] .cart-items-count { left: 53px; }
.cart-icon[data-preview-count='3'] .cart-items-count { left: 78px; }
.main_page .cart-icon .cart-items-count { left: 10px; top: 9px; }
.cart-current-summary { display: grid; gap: 2px; color: #fff; }
.cart-current-summary > span { font-size: 13px; }
.restaurant_page #cart-total { color: #fff; font-size: 22px; }
.restaurant_page .cart-restaurants_list { flex: 1; }
.cart-checkout-label { padding-inline-start: 20px; border-inline-start: 1px solid rgba(255,255,255,.3); color: #fff; font: 17px 'ProximaNova-Bold'; }
.restaurant_page .cart-arrow_icon { background: transparent; color: #fff; font-size: 25px; }
@media (max-width: 768px) {
  .restaurant_page .topbar,
  .restaurant_page .topbar-inner { height: 76px; }
  .restaurant_page .topbar-inner { padding: 0 16px; }
  .public-brand img { max-height: 52px; }
  .restaurant-page { padding-top: 76px; }
  .restaurant-hero,
  .restaurant-cover,
  .restaurant-cover img { height: 300px; min-height: 300px; }
  .restaurant-info { top: auto; bottom: 22px; width: calc(100% - 38px); padding: 0; background: transparent; color: #fff; transform: translateX(-50%); }
  .restaurant-logo { display: none; }
  .restaurant-name { max-height: none; font-size: 34px; color: #fff; text-shadow: 0 3px 16px rgba(0,0,0,.5); }
  .restaurant-cuisine { margin: 8px 0; font-size: 15px; }
  .restaurant-details { gap: 8px; }
  .restaurant-schedule,
  .restaurant-open-status,
  .restaurant_page .contacts-btn { min-height: 32px; padding: 0 10px; font-size: 12px; }
  .restaurant-address { margin-top: 9px; font-size: 12px; }
  .restaurant_page .restaurant-meta { top: 14px; right: 12px; padding: 0; }
  .restaurant_page .restaurant-meta span.rating { font-size: 15px; }
  .cids_list_box_container { height: 60px; }
  .cids_list { height: 60px; padding: 8px 12px; justify-content: flex-start; gap: 6px; }
  .cids_list .menu_btn { min-width: max-content; min-height: 44px; padding: 0 14px; border-radius: 13px; font-size: 13px; }
  .restaurant_page.fixed_cids_list_box .cids_list_box { top: 0; }
  .restaurant-menu-box-foods-wrap { grid-template-columns: 1fr; gap: 12px; padding: 8px 12px 110px; }
  .food_list_cid_name_box { margin-top: 22px; font-size: 26px; }
  .restaurant_page .food_box { min-height: 154px; grid-template-columns: 39% minmax(0, 1fr); border-radius: 15px; }
  .restaurant_page .food_content_box { padding: 13px 12px 12px; }
  .restaurant_page .food_name { width: calc(100% - 46px); min-height: 34px; font-size: 16px; }
  .restaurant_page .weight { top: 13px; right: 12px; font-size: 10px; }
  .restaurant_page .food_description { height: 36px; margin-top: 4px; font-size: 12px; }
  .restaurant_page .food_btns_container { right: 11px; bottom: 11px; left: 12px; }
  .restaurant_page .food_price { font-size: 17px; }
  .restaurant_page .cart-sidebar { right: auto; bottom: 10px; }
  .restaurant_page .cart-data { gap: 8px; min-height: 52px; padding: 5px 9px; }
  .restaurant_page .cart-data .cart-icon { width: 86px; height: 38px; flex-basis: 86px; }
  .cart-dish-previews { height: 38px; }
  .cart-dish-previews img { width: 36px; height: 36px; margin-left: -12px; }
  .restaurant_page .cart-items-count { left: 26px; }
  .restaurant_page .cart-icon[data-preview-count='2'] .cart-items-count { left: 50px; }
  .restaurant_page .cart-icon[data-preview-count='3'] .cart-items-count { left: 74px; }
  .cart-current-summary > span { font-size: 11px; }
  .restaurant_page #cart-total { font-size: 19px; }
  .cart-checkout-label { margin-left: auto; padding-inline-start: 12px; font-size: 15px; }
  .restaurant_page .cart-restaurants_list { display: none; }
}

@media (max-width: 410px) {
  .restaurant_page .food_box { grid-template-columns: 38% minmax(0, 1fr); }
  .cart-checkout-label { font-size: 13px; }
}

@media (max-width: 340px) {
  .cart-current-summary { min-width: 54px; }
  .cart-current-summary > span { display: none; }
  .cart-checkout-label { padding-inline-start: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .restaurant_page * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.checkout-success-preorder i,
.active-user-preorder i {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: #f0edff url('/assets/imgs/time_icon.png') center / 34px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(138, 124, 230, .18);
}

.checkout-success-sbp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 26px;
  margin: 22px 0;
  padding: 24px 28px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  box-shadow: 0 16px 38px rgba(5, 88, 60, .18);
}

.checkout-success-sbp-copy {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.checkout-success-sbp-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .14) url('/assets/imgs/sbp_icon.png') center / 34px no-repeat;
}

.checkout-success-sbp small,
.checkout-success-sbp h2,
.checkout-success-sbp p,
.checkout-success-sbp strong {
  display: block;
  margin: 0;
  color: inherit;
}

.checkout-success-sbp small {
  margin-bottom: 3px;
  color: #c9f2e3;
  font-size: 13px;
  font-weight: 700;
}

.checkout-success-sbp h2 {
  font: 27px/1.08 'ProximaNova-Bold';
  letter-spacing: -.02em;
}

.checkout-success-sbp p {
  max-width: 520px;
  margin-top: 8px;
  color: #e1f6ee;
  font-size: 15px;
  line-height: 1.4;
}

.checkout-success-sbp strong {
  margin-top: 14px;
  font: 30px/1 'ProximaNova-Bold';
}

.checkout-success-sbp-qr {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 10px;
  border-radius: 18px;
  color: #d8f5ea;
  background: #fff;
  text-decoration: none;
}

.checkout-success-sbp-qr img {
  display: block;
  width: 170px;
  height: 170px;
  object-fit: contain;
  border-radius: 10px;
}

.checkout-success-sbp-qr span {
  color: #087451;
  font-size: 13px;
  font-weight: 700;
}

.checkout-success-sbp-qr:focus-visible {
  outline: 3px solid #f6c552;
  outline-offset: 4px;
}

.checkout-success-preorder strong,
.checkout-success-preorder span,
.active-user-preorder strong,
.active-user-preorder span {
  display: block;
}

.checkout-success-preorder strong,
.active-user-preorder strong {
  color: #5e52bd;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 900;
}

.checkout-success-preorder span,
.active-user-preorder span {
  margin-top: 4px;
  color: #777;
  font-size: 15px;
  font-weight: 800;
}

.checkout-success-details {
  gap: 18px;
}

.checkout-success-detail-card {
  position: relative;
  min-height: 118px;
  grid-template-columns: 72px minmax(0, 1fr);
  align-content: center;
  column-gap: 22px;
  border: 1px solid rgba(236, 228, 216, .86);
  border-radius: 26px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 15px 42px rgba(55, 42, 25, .08);
  opacity: 0;
  transform: translateY(18px);
  animation: checkoutCardIn .58s cubic-bezier(.2, .8, .2, 1) forwards;
}

.checkout-success-detail-card:nth-child(1) { animation-delay: .08s; }
.checkout-success-detail-card:nth-child(2) { animation-delay: .16s; }
.checkout-success-detail-card:nth-child(3) { animation-delay: .24s; }
.checkout-success-detail-card:nth-child(4) { animation-delay: .32s; }
.checkout-success-detail-card:nth-child(5) { animation-delay: .40s; }
.checkout-success-detail-card:nth-child(6) { animation-delay: .48s; }

.checkout-success-detail-card::before {
  content: "";
  grid-row: 1 / span 2;
  width: 60px;
  height: 60px;
  display: block;
  border-radius: 18px;
  background-size: 30px;
  background-color: var(--public-line);
  background-position: center;
  background-repeat: no-repeat;
}

.checkout-success-detail-card::after {
  content: none;
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  color: #639a26;
  font-size: 35px;
  font-weight: 900;
}

.checkout-success-detail-card[data-detail="order"]::before { background-image: url('/assets/imgs/bill_icon.png'); }
.checkout-success-detail-card[data-detail="sum"]::before { background-image: url('/assets/imgs/wallet_icon.png'); }
.checkout-success-detail-card[data-detail="items"]::before { background-image: url('/assets/imgs/dish_icon.png'); }
.checkout-success-detail-card[data-detail="payment"]::before,
.checkout-success-detail-card[data-detail="payment_sbp"]::before { background-image: url('/assets/imgs/sbp_icon.png'); }
.checkout-success-detail-card[data-detail="payment_cash"]::before { background-image: url('/assets/imgs/cash_icon.png'); }
.checkout-success-detail-card[data-detail="payment_terminal"]::before { background-image: url('/assets/imgs/creditcard_icon.png'); }
.checkout-success-detail-card[data-detail="payment_transfer"]::before { background-image: url('/assets/imgs/sbp_icon.png'); }
.checkout-success-payment-meta { color: #66766f; font-size: 12px; font-weight: 600; line-height: 1.35; }
.checkout-success-discount-meta {
  grid-column: 2;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.checkout-success-detail-card[data-detail="address"]::before { background-image: url('/assets/imgs/courier_icon.png');}
.checkout-success-detail-card[data-detail="pickup"]::before { background-image: url('/assets/imgs/mappoint_icon.png'); }
.checkout-success-detail-card[data-detail="time"]::before { background-image: url('/assets/imgs/time_icon.png'); }

.checkout-success-detail-card small,
.checkout-success-detail-card strong {
  grid-column: 2;
}

.checkout-success-detail-card small {
  margin-top: 8px;
  color: var(--brand-dark);
  font-size: 15px;
}

.checkout-success-detail-card strong {
  color: var(--primary);
  font-size: clamp(20px, 3vw, 26px);
  margin-top: -10px;
}

.checkout-success-detail-card.wide {
  min-height: 96px;
}

.checkout-success-actions {
  justify-content: center;
}

.checkout-success-carts {
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 30px;
  background: rgba(255, 255, 255, .82);
}

.active-user-orders {
  margin-top: 22px;
  margin-bottom: 34px;
}

.active-user-orders-head {
  justify-content: center;
}

.active-user-order {
  max-width: 800px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 30px;
  padding: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 10px rgba(55, 42, 25, .04);
}

.active-user-order .checkout-success-steps span {
  min-height: 78px;
  font-size: 13px;
}

.active-user-order .checkout-success-steps i {
  width: 46px;
  height: 46px;
}

.active-user-order .checkout-success-steps span::before {
  top: 22px;
}

.active-user-preorder {
  margin: 16px 0 0;
  border-radius: 24px;
  padding: 16px;
}

.active-user-preorder i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background-size: 28px;
}

.active-user-preorder strong {
  font-size: 18px;
}

.active-user-preorder span {
  font-size: 13px;
}

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

@keyframes checkoutStepActive {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes checkoutFloat {
  0%, 100% {
    transform: translateY(0) rotate(var(--float-rotate, 0deg));
  }
  50% {
    transform: translateY(-16px) rotate(var(--float-rotate, 0deg));
  }
}

@media (max-width: 900px) {
  .checkout-success,
  .checkout-success.single {
    grid-template-columns: 1fr;
  }

  .checkout-success-hero {
    grid-template-columns: 1fr;
  }

  .checkout-success-visual {
    display: grid;
    min-height: 190px;
  }
}

@media (max-width: 680px) {
  .checkout-page {
    padding-left: 8px;
    padding-right: 8px;
  }

  .checkout-success-card {
    border-radius: 26px;
    padding: 20px 14px;
  }

  .checkout-success h1 {
    margin-top: 24px;
    font-size: 48px;
  }

  .checkout-success-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
    padding: 18px 10px;
  }

  .checkout-success-steps span::before {
    display: none;
  }

  .checkout-success-details {
    grid-template-columns: 1fr;
  }

  .checkout-success-detail-card,
  .checkout-success-detail-card.wide {
    min-height: 96px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 18px;
  }

  .checkout-success-detail-card::before {
    width: 58px;
    height: 58px;
  }

  .checkout-success-detail-card::after {
    left: 38px;
    font-size: 28px;
  }

  .checkout-success-sbp {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 22px 18px;
    text-align: center;
  }

  .checkout-success-sbp-copy {
    display: grid;
    justify-items: center;
  }

  .checkout-success-sbp p {
    margin-right: auto;
    margin-left: auto;
  }

  .checkout-success-sbp-qr {
    width: min(100%, 230px);
    box-sizing: border-box;
  }

  .checkout-success-sbp-qr img {
    width: min(100%, 210px);
    height: auto;
    aspect-ratio: 1;
  }
}

.checkout-block {
    margin-bottom: 24px;
}

.checkout-block h2,
.checkout-summary h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.checkout-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.checkout-block-head h2 {
  margin-bottom: 0;
}

.checkout-datetime-field {
  width: min(330px, 100%);
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.checkout-datetime-field span {
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

.checkout-datetime-field input {
  width: auto;
  border: 1px solid rgba(23, 106, 75, .22);
  border-radius: 18px;
  padding: 13px 16px;
  background: #fff8f1;
  color: #222;
  font-size: 15px;
  font-weight: 800;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.checkout-datetime-field input:focus {
  border-color: var(--second-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 106, 75, .10);
}

.checkout-fields {
    display: grid;
    gap: 16px;
}

.checkout-fields input,
.shipment-fields input,
.shipment-fields textarea {
    width: calc(100% - 30px);
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    padding: 16px;
    font-size: 16px;
    outline: none;
    transition: .2s;
}

.checkout-fields input:focus,
.shipment-fields input:focus,
.shipment-fields textarea:focus {
    border-color: var(--second-primary);
}

.shipment-fields {
    margin-top: 20px;
}

.delivery-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 20px;
}

.delivery-fields, .takeout-fields {
    display: none;
}

.shipment-fields.delivery .delivery-fields {
    display: block;
}

.shipment-fields.takeout .takeout-fields {
    display: block;
}

.takeout-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(23, 106, 75, .18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(23, 106, 75, .10), rgba(23, 106, 75, .04));
}

.takeout-card small,
.takeout-card strong {
  display: block;
}

.takeout-card small {
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.takeout-card strong {
  overflow: hidden;
  color: #222;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.takeout-card button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--second-primary);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.takeout-card button:hover {
  background: var(--brand-dark);
}

.address-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.address-choice {
  flex: 1 1 240px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 13px 14px;
  border: 1px solid #e9e9e9;
  border-radius: 18px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.address-choice:hover {
  border-color: rgba(23, 106, 75, .38);
  background: #fff;
}

.address-choice.active {
  border-color: var(--second-primary);
  background: #fff8f1;
  box-shadow: 0 8px 24px rgba(23, 106, 75, .12);
}

.address-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.address-choice-check {
  width: 20px;
  height: 20px;
  border: 2px solid #d7d7d7;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 5px #fff;
  transition: border-color .18s ease, background .18s ease;
}

.address-choice.active .address-choice-check {
  border-color: var(--second-primary);
  background: var(--second-primary);
}

.address-choice-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.address-choice-content strong,
.address-choice-content small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-choice-content strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
  font-size: 15px;
  font-weight: 800;
}

.address-choice-content strong em {
  flex: 0 0 auto;
  min-height: 22px;
  border-radius: 999px;
  padding: 2px 9px;
  background: #dfece5;
  color: var(--second-primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 22px;
}

.address-choice-content small {
  color: #777;
  font-size: 13px;
}

.address-choice-edit {
  min-height: 46px;
  border: 1px dashed rgba(23, 106, 75, .45);
  border-radius: 16px;
  background: rgba(23, 106, 75, .07);
  color: #c35300;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease;
}

.address-choice-edit:hover {
  border-color: var(--second-primary);
  background: rgba(23, 106, 75, .12);
}

.shipment-fields h2 {
  margin: 0;
  background: #fffaf6;
  color: #323232;
  font-size: 17px;
  display: inline-block;
  padding: 16px 18px;
  border-radius: 18px;
}

.shipment-fields textarea {
    margin-top: 16px;
    resize: vertical;
}

.checkout-tabs {
    display: flex;
    gap: 12px;
}

.shipment-card {
    flex: 1;
    height: 54px;
    border: none;
    border-radius: 18px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipment-card.active {
    background: var(--primary);
    color: #fff;
}

.payment-methods {
    display: grid;
    gap: 14px;
}

.payment-card {
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: .2s;
}

.payment-card.active {
    border-color: var(--second-primary);
    background: rgba(23,106,75,.06);
}

.payment-card input, .shipment-card input {
    display: none;
}

.checkout-sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
}

.checkout-restaurant {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.checkout-item-name {
    font-weight: 600;
}

.checkout-item-count {
    margin-top: 4px;
    font-size: 14px;
    color: #777;
}

.checkout-item-sum {
    font-weight: 700;
    white-space: nowrap;
}

.checkout-restaurant-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #eee;
    font-weight: 700;
}

.checkout-total, .checkout-delivery-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    font-size: 24px;
}

.checkout-delivery-total {
    font-size: 20px;
    overflow: hidden;
    max-height: 50px;
    opacity: 1;
    transition:
        opacity .25s ease,
        max-height .25s ease,
        margin .25s ease;
}

.checkout-delivery-total.hidden {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    pointer-events: none;
}

.hidden, .honeybot {
    display: none;
}

.checkout-submit {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 20px;
    margin-top: 24px;
    background: var(--primary);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

form.form-loading .checkout-submit {
  pointer-events: none;
  background: var(--gray);
}

.checkout-submit:disabled,
.checkout-submit.disabled, 
.cart-submit-btn.disabled {
    background: #b8b8b8;
    color: #f5f5f5;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}
.cart-submit-btn.disabled {
    background: none;
}

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

.checkout-submit:disabled:hover,
.checkout-submit.disabled:hover {
    transform: none;
}

.checkout-empty {
    padding: 80px 20px;
    text-align: center;
    font-size: 24px;
}

/* =========================
   FORM STATUS
========================= */

.form-status {
    opacity: 0;
    display: block;
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    min-height: 22px;
    background: #f6f7fb;
    color: #2b2b2b;
    border: 1px solid rgba(255, 255, 255);
}

form.form-loading .form-status {
    opacity: 1;
    background: url('/assets/imgs/ajax-loader.svg') no-repeat 50%;
    background-size: 30px;
}

/* SUCCESS */
.form-status.success {
    opacity: 1;
    background:
        linear-gradient(
            135deg,
            rgba(39, 174, 96, 0.10),
            rgba(39, 174, 96, 0.05)
        ) !important;

    color: #1f7a45;
    border: 1px solid rgba(39, 174, 96, 0.22);
}

/* ERROR */
.form-status.error {
    opacity: 1;
    background:
        linear-gradient(
            135deg,
            rgba(23, 106, 75, 0.10),
            rgba(23, 106, 75, 0.05)
        ) !important;

    color: var(--primary-dark);
    border: 1px solid rgba(23, 106, 75, 0.20);
}

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

.form-status.has-retry span {
    flex: 1 1 auto;
}

.form-status-retry {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.form-status-retry:hover {
    background: var(--primary-dark);
}

/* OPTIONAL ICONS */
.form-status.success::before {
    content: "✓ ";
    font-weight: 800;
}

.form-status.error::before {
    content: "⚠ ";
    font-weight: 800;
}

.form-status.warning {
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8e5 !important;
    color: #805d00;
    border: 1px solid #f1d27a;
}

.form-status.warning::before {
    content: "!";
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e3a900;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 1024px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
    }

}

@keyframes cart_shake {
	50% {
		-webkit-transform: scale(0.85);
		-moz-transform: scale(0.85);
		-o-transform: scale(0.85);
		transform: scale(0.85);
	}
	100% {
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		-o-transform: scale(1);
		transform: scale(1);
	}
}

@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .cart-sidebar {
    width: 98%;
  }

  .up_btn {
    bottom: 88px;
  }
}

@media screen and (max-width: 1000px) {
	.cids_list {
		width: 100%;
		min-width: 0;
		font-size: 13px;
	}
}

@media screen and (max-width: 930px) {
	.page-footer-logo_box {
		margin-top: -20px;
	}
	.page-header-content-block {
		font-size: 10px;
	}
	.page-header-content-block p {
		font-size: 18px;
	}
	.page-order_cart_box {
		padding-left: 0px;
	}
	.page-order_form_box {
		border-right: none;
		padding-right: 0;
	}
	.page-order_form_box {
		padding-left: 0;
	}
	.page-body-content_box {
		padding: 20px 10px;
	}
	.page-order_complordr_box_mobile {
		display: block;
	}
	.till930 {
		display: none !important;
	}
	.page-footer-terms_btn {
		display: inline-block;
	}
	.svg_bck_container svg {
		max-height: 150px;
		margin-top: -145px;
	}
}

@media (max-width: 768px) {
  .top-nav-btns {
    display: none;
  }
  .hero h1 {
    font-size: 30px;
  }
  .checkout-header {
      margin-top: 10px;
  }
  .checkout-header h1 {
      font-size: 32px;
  }
}

@media screen and (max-width: 680px) {
  .cart-view {
    padding: 0px 4px max(8px, env(safe-area-inset-bottom));
  }

  .cart-header-one-rest {
    font-size: 18px;
  }

  .cart-restaurant-items {
    max-height: none;
  }

  .cart-restaurant-items .cart-row {
    min-height: 62px;
    margin-bottom: 6px;
    padding: 5px;
    border-radius: 11px;
  }

  .cart-restaurant-items img {
    width: 68px;
    height: 62px;
    border-radius: 9px;
  }

  .cart-restaurant-items .food_pic_box {
    top: 5px;
    left: 5px;
    width: 68px;
    height: 62px;
  }

  .cart-restaurant-items .cart-item {
    inset: 5px 5px 5px 81px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 5px 8px;
    padding-right: 3px;
  }

  .cart-restaurant-items .item_name {
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.2;
  }

  .cart-restaurant-items .item_total {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    font-size: 15px;
  }

  .cart-restaurant-items .cart-controls {
    grid-column: 2;
    grid-row: 2;
  }

  .cart-restaurant-items .plus_btn,
  .cart-restaurant-items .minus_btn {
    width: 28px;
    height: 28px;
  }

  .cart-restaurant-items .ordered_count {
    min-width: 20px;
    font-size: 14px;
  }

  .cart-addons {
    padding-top: 10px;
  }

  .cart-addons-head {
    margin-bottom: 8px;
  }

  .cart-addons-head strong {
    font-size: 15px;
  }

  .cart-addons-head span {
    font-size: 12px;
  }

  .cart-addon {
    flex: 0 0 min(150px, 78vw);
  }

  .cart-order-summary {
    margin-top: 7px;
    padding: 10px 12px;
  }

  .cart-order-summary strong {
    font-size: 15px;
  }

  .cart-submit-btn {
    position: sticky;
    z-index: 4;
    bottom: 0;
    display: block;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
  }

  .cart-bottom-btn-container {
    padding-top: 7px;
  }

  .cart-bottom-btn-container > div {
    height: 48px;
    border-radius: 13px;
    font-size: 14px;
  }
  .food_name {
    width: 100%;
  }
  .food_box .food_content_box .weight {
    float: none;
  }
  .search_clear {
    top: 53%;
  }
  .restaurant_page .restaurant-meta {
    right: 0;
  }
  .restaurants .restaurant-meta span {
    white-space: nowrap;
  }
  .restaurant-grid {
    grid-template-columns: auto;
  }
	.food_list_cid_name_box {
		margin-bottom: 10px;
	}
	.food_list_cid_name_box::after {
		border-bottom: none;
	}
  .categories {
    padding: 6px;
  }
	.header-bg-inner {
	  padding: 14px 6px;
	  text-align: center;
	}
	.back_btn {
		font-size: 16px;
		margin-left: 5px;
		line-height: 20px;
		padding: 6px 12px 6px 11px;
	}
	.back_btn ::after {
		content: "";
    display: none;
	}
	.modal-short a.back_btn {
    margin-left: 0px;
	}
	.modal-short a.back_btn ::after {
		content: "Назад в меню";
    font-size: 12px;
    display: inline-block;
	}
	.search_box {
		width: 75%;
		margin-left: 5px;
	}
	.main_page .search_box {
		width: 85%;
	}
	.main_page .city-selector {
		display: block;
	}
	.main_page.header-bg-scrolled .city-selector {
		display: none;
	}
	.main_page .topbar .search_box {
		display: none;
	}
	.main_page.header-bg-scrolled .topbar .search_box {
		display: block;
	}
	.main_page.header-bg-scrolled .topbar {
		height: 70px;
	}
	.search_box input {
		padding: 8px 0 8px 12px;
	}
	.food_box {
		width: 96%;
		margin-right: 0px;
		margin-left: 0;
		margin-top: 10px;
		height: auto;
		min-height: auto;
	}
	.food_new_ico, .food_hit_ico {
		width: 46%;
	}
  .restaurant-page .food_header_box, .restaurant-page .food_content_box {
		display: inline-block;
		width: 45%;
	}
	.popup_window_content .food_header_box, .popup_window_content .food_content_box {
		display: block;
		width: 95%;
	}
	.food_content_box {
		height: auto;
		padding: 10px;
		vertical-align: top;
	}
	.food_description {
		height: auto;
		max-height: 72px;
		overflow-x: hidden;
		overflow-y: hidden;
	}
	.food_box img {
		border-radius: 10px;
	}
  .delivery-fields-grid {
    grid-template-columns: 1fr;
  }

  .checkout-block-head {
    display: grid;
    gap: 14px;
  }

  .checkout-datetime-field {
    width: 100%;
    flex-basis: auto;
  }

  .takeout-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .takeout-card button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.app-modal.modal-item-view .food_name .food-name-secondary {
  margin-top: 6px;
  color: rgba(255, 255, 255, .78);
  font-size: .62em;
  font-weight: 400;
  line-height: 1.25;
  opacity: 1;
}

.selected-address-button {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(23, 106, 75, .28);
  border-radius: 20px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(23, 106, 75, .08), rgba(23, 106, 75, .02));
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.selected-address-button:hover {
  border-color: var(--second-primary);
  box-shadow: 0 10px 26px rgba(23, 106, 75, .12);
  transform: translateY(-1px);
}

.selected-address-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 15px;
  background: var(--public-soft);
}

.selected-address-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 13px;
  height: 13px;
  border: 3px solid var(--second-primary);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.selected-address-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--second-primary);
  transform: translate(-50%, -50%);
}

.selected-address-arrow {
  color: var(--second-primary);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.address-switcher {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.address-switcher-btn {
  flex: 0 0 auto;
  min-height: 40px;
  max-width: 230px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 0 15px;
  background: #fff;
  color: #555;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-switcher-btn.active {
  border-color: var(--second-primary);
  background: #fff3e8;
  color: #c65300;
}

.address-switcher-btn span {
  margin-left: 7px;
  font-size: 10px;
  color: #e95e00;
}

#addressesContainer > .address-card {
  display: none;
}

#addressesContainer > .address-card.active {
  display: block;
}
@media screen and (max-width: 360px) {
	.buy_btn {
		width: 83px;
		font-size: 11px;
		white-space: nowrap;
	}
  .buy_btn_controls {
    gap: 0;
    padding: 0;
  }
  .food_box .ordered_count {
    padding: 0;
  }
}

.form-status.loading {
  position: relative;
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(23, 106, 75, .10), rgba(23, 106, 75, .04)) !important;
  color: #9a4700;
  border: 1px solid rgba(23, 106, 75, .22);
}

.form-status.loading::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(23, 106, 75, .22);
  border-top-color: var(--second-primary);
  border-radius: 50%;
  animation: delivery-status-spin .8s linear infinite;
}

.form-status.loading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--second-primary), transparent);
  animation: delivery-status-progress 1.25s ease-in-out infinite;
}

.form-status.loading span {
  flex: 1 1 auto;
}

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

@keyframes delivery-status-progress {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Public menu final cascade guard: legacy mobile rules below the feature layer
   must not revert the card grid or introduce horizontal overflow. */
.restaurant_page {
  overflow-x: clip;
  accent-color: var(--primary);
  scrollbar-color: rgba(0, 111, 53, .45) #f1f6f3;
}

.restaurant_page ::selection {
  color: #fff;
  background: var(--primary-dark);
}

.restaurant_page :focus-visible {
  outline: 3px solid rgba(0, 139, 67, .36);
  outline-offset: 3px;
}

.restaurant_page .food_box {
  box-sizing: border-box;
}

.restaurant_page button.menu_btn,
.restaurant_page button.buy_btn,
.restaurant_page button.minus_btn,
.restaurant_page button.plus_btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.restaurant_page button.menu_btn {
  background: transparent;
}

.restaurant_page button.menu_btn_selected {
  background: var(--primary);
}

.restaurant_page button.buy_btn {
  color: #fff;
}

.restaurant_page .cart-sidebar[role='button'] {
  cursor: pointer;
}

.restaurant_page .food_header_box {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.restaurant_page .food_content_box {
  display: block;
  width: auto;
  box-sizing: border-box;
  text-align: left;
}

.restaurant_page .food_pic_box {
  display: block;
  width: 100%;
}

.restaurant_page .food_description:empty {
  display: none;
}

.restaurant-page .food-spiciness,
.restaurant_page .food-spiciness {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 20px;
  margin-top: 5px;
}

.restaurant-page .food-spiciness svg,
.restaurant_page .food-spiciness svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: #e0473e;
  stroke: #8f2d28;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restaurant_page .restaurant-schedule svg,
.restaurant_page .restaurant-address svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restaurant_page .restaurant-schedule,
.restaurant_page .restaurant-address {
  display: flex;
  align-items: center;
  gap: 6px;
}

.restaurant_page .contacts-btn::before {
  border-color: currentColor;
}

@media (max-width: 768px) {
  .restaurant_page .food_box {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(124px, 39%) minmax(0, 1fr);
  }

  .restaurant_page .food_header_box,
  .restaurant_page .food_content_box {
    width: auto;
  }
}

/* Keep the main header search isolated from legacy shared search rules. */
.main_page .header-bg .header-bg-search {
  display: block;
  width: min(620px, 100%);
  margin: 30px 0 0;
}

.main_page .header-bg .header-bg-search input {
  width: 100%;
  height: 66px;
  padding: 0 86px 0 60px;
}

.header-bg-map-link {
  display: inline-flex;
  min-width: 238px;
  min-height: 58px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  padding: 0 23px;
  border: 1px solid rgba(119, 255, 176, .88);
  border-radius: 999px;
  color: #fff;
  background: #00af52;
  box-shadow: 0 10px 24px rgba(0, 22, 12, .26), 0 0 18px rgba(39, 239, 134, .42);
  font: 17px 'ProximaNova-Bold';
  text-decoration: none;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), background-color .22s ease, box-shadow .22s ease;
}

.header-bg-map-link:hover {
  color: #fff;
  background: #00c45c;
  box-shadow: 0 13px 29px rgba(0, 22, 12, .3), 0 0 22px rgba(39, 239, 134, .52);
  transform: translateY(-2px);
}

.header-bg-map-link:active {
  transform: translateY(0) scale(.98);
}

.header-bg-map-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.header-bg-map-link-icon {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-bg-map-link-arrow {
  width: 19px;
  height: 19px;
  margin-left: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .main_page .header-bg .header-bg-search {
    width: 100%;
    margin: 27px 0 0;
  }

  .main_page .header-bg .header-bg-search input {
    padding: 0 70px 0 55px;
  }

  .header-bg-map-link {
    min-width: 212px;
    min-height: 52px;
    gap: 11px;
    margin-top: 15px;
    padding: 0 19px;
    font-size: 16px;
  }

  .header-bg-map-link-icon {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-bg-map-link {
    transition: none;
  }
}

/* Compact cuisine rail and the complete restaurant catalog. */
.main_page .top-restaurants .restaurant-grid {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  grid-template-columns: none;
  gap: 16px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.main_page .top-restaurants .restaurant-grid::-webkit-scrollbar { display: none; }

.top-restaurants-carousel { position: relative; }
.top-restaurants-controls { position: absolute; z-index: 3; inset: 0 -20px; margin-top: -40px; display: flex; align-items: center; justify-content: space-between; opacity: 0; pointer-events: none; transform: translateY(5px) scale(.985); transition: opacity .22s ease, transform .28s cubic-bezier(.16,1,.3,1); }
.top-restaurants-carousel:hover .top-restaurants-controls,
.top-restaurants-carousel:focus-within .top-restaurants-controls { opacity: 1; transform: translateY(0) scale(1); }
.top-restaurants-arrow { position: relative; width: 48px; height: 48px; flex: 0 0 auto; border: 1px solid #e4e7e5; border-radius: 50%; color: var(--brand); background: #fff; box-shadow: 0 8px 22px rgba(25,45,36,.14); cursor: pointer; pointer-events: none; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.top-restaurants-carousel:hover .top-restaurants-arrow,
.top-restaurants-carousel:focus-within .top-restaurants-arrow { pointer-events: auto; }
.top-restaurants-arrow:hover { color: #fff; background: var(--brand); transform: translateY(-1px); }
.top-restaurants-arrow:active { transform: translateY(0) scale(.96); }
.top-restaurants-arrow:focus-visible { outline: 3px solid rgba(23,106,75,.28); outline-offset: 3px; }
.top-restaurants-arrow span { position: absolute; top: 18px; left: 16px; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.top-restaurants-arrow--prev span { left: 20px; transform: rotate(-135deg); }

@media (hover: none) {
  .top-restaurants-controls { opacity: 1; transform: none; }
  .top-restaurants-arrow { pointer-events: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .top-restaurants-controls { transition: opacity .12s ease; transform: none; }
}

.main_page .top-restaurants .restaurant-card {
  border-radius: 12px;
}

.main_page .top-restaurants .restaurant-card:hover {
  box-shadow: 0 8px 15px rgba(27, 55, 42, .02);
}

.main_page .top-restaurants .restaurants-covers {
  aspect-ratio: 16 / 9;
  border-radius: 12px 12px 0 0;
}

.main_page .top-restaurants .restaurants-info {
  align-content: start;
  padding: 11px 13px 13px;
  gap: 9px 8px;
}

.main_page .top-restaurants .restaurants-info h3 {
  font-size: 19px;
}

.main_page .top-restaurants .restaurants-info span {
  font-size: 13px;
}

.main_page .top-restaurants .restaurants-info .rating {
  min-height: 28px;
  box-sizing: border-box;
  align-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff8de;
  font: 13px 'ProximaNova-Semibold';
}

.main_page .all-restaurants {
  scroll-margin-top: 28px;
}

.main_page .categories .category-grid {
  gap: clamp(10px, 1.15vw, 18px);
  align-items: stretch;
  padding: 10px 2px 24px;
  scrollbar-color: rgba(0, 128, 79, .22) transparent;
}

.main_page .categories .category-grid:not(.is-docked) .category-card {
  --category-surface: #f2f6f1;
  position: relative;
  isolation: isolate;
  flex: 1 0 132px;
  width: clamp(132px, 10.8vw, 166px);
  min-width: 132px;
  min-height: 176px;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 12px 20px;
  overflow: hidden;
  border-radius: 44% 56% 47% 53% / 39% 42% 58% 61%;
  color: #111b17;
  background: var(--category-surface);
  font: 15px/1.1 'ProximaNova-Semibold';
  transition: transform .24s cubic-bezier(.16, 1, .3, 1),
              box-shadow .24s ease,
              color .2s ease,
              background-color .2s ease;
}

.main_page .categories .category-grid:not(.is-docked) .category-card:nth-child(even) {
  border-radius: 52% 48% 55% 45% / 45% 55% 45% 55%;
}

.main_page .categories .category-grid:not(.is-docked) .category-card[data-cuisine-id="1"] { --category-surface: #eef5f0; }
.main_page .categories .category-grid:not(.is-docked) .category-card[data-cuisine-id="2"] { --category-surface: #f8f7f3; }
.main_page .categories .category-grid:not(.is-docked) .category-card[data-cuisine-id="4"] { --category-surface: #fff4e5; }
.main_page .categories .category-grid:not(.is-docked) .category-card[data-cuisine-id="5"] { --category-surface: #edf5e9; }
.main_page .categories .category-grid:not(.is-docked) .category-card[data-cuisine-id="6"] { --category-surface: #fff5e9; }
.main_page .categories .category-grid:not(.is-docked) .category-card[data-cuisine-id="7"] { --category-surface: #eaf7f1; }
.main_page .categories .category-grid:not(.is-docked) .category-card[data-cuisine-id="0"] { --category-surface: #f1f4f1; }

.main_page .categories .category-grid:not(.is-docked) .category-card::before {
  width: clamp(92px, 8.2vw, 126px);
  height: clamp(92px, 8.2vw, 126px);
  margin-bottom: auto;
  filter: drop-shadow(0 10px 10px rgba(33, 49, 41, .1));
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), filter .24s ease;
}

@media (hover: hover) {
  .main_page .categories .category-grid:not(.is-docked) .category-card:hover {
    transform: translateY(-6px) rotate(-.6deg);
  }

  .main_page .categories .category-grid:not(.is-docked) .category-card:hover::before {
    transform: translateY(-3px) scale(1.06) rotate(1.5deg);
    filter: drop-shadow(0 13px 12px rgba(33, 49, 41, .14));
  }
}

.main_page .categories .category-grid:not(.is-docked) .category-card.active {
  color: #fff;
  background: var(--brand);
}

.main_page .categories .category-grid:not(.is-docked) .category-card:focus-visible {
  outline: 3px solid rgba(0, 128, 79, .3);
  outline-offset: 4px;
}

.main_page .all-restaurants {
  padding-top: 62px;
  background: #FFF;
}

.main_page .all-restaurants-heading {
  margin-bottom: 26px;
}

.main_page .all-restaurants-heading h2 {
  margin: 0;
  font: 48px/1 'ProximaNova-Bold';
  letter-spacing: -.03em;
}

.main_page .all-restaurants .restaurant-grid {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
  margin: 0;
  padding: 0;
  scroll-snap-type: none;
}

@media (max-width: 1100px) {
  .main_page .all-restaurants .restaurant-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-restaurants-controls { display: none; }

  .main_page .top-restaurants .restaurant-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 72vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
  }

  .main_page .top-restaurants .restaurant-card {
    height: 100%;
    scroll-snap-align: start;
  }

  .main_page .categories .category-grid {
    gap: 10px;
    padding: 7px 2px 18px;
  }

  .main_page .categories .category-grid:not(.is-docked) .category-card {
    flex: 0 0 108px;
    width: 102px;
    min-width: 102px;
    min-height: 132px;
    padding: 13px 8px 16px;
    border-radius: 43% 57% 47% 53% / 38% 43% 57% 62%;
    font-size: 13px;
  }

  .main_page .categories .category-grid:not(.is-docked) .category-card::before {
    width: 74px;
    height: 74px;
  }

  .main_page .all-restaurants {
    padding-top: 42px;
  }

  .main_page .all-restaurants-heading {
    margin-bottom: 20px;
  }

  .main_page .all-restaurants-heading h2 {
    font-size: 38px;
  }

  .main_page .all-restaurants .restaurant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 520px) {
  .main_page .top-restaurants .section-heading { align-items: flex-end; margin-bottom: 16px; padding-right: 16px; padding-left: 16px; }
  .main_page .top-restaurants .section-heading > div > span { margin-bottom: 5px; font-size: 10px; letter-spacing: .17em; }
  .main_page .top-restaurants .section-heading h2 { font-size: 34px; line-height: .98; }
  .main_page .top-restaurants .section-heading p { max-width: 330px; margin-top: 7px; font-size: 14px; line-height: 1.16; }

  .main_page .top-restaurants .restaurant-grid {
    grid-auto-columns: 166px;
    gap: 10px;
    margin-top: 0;
    padding: 2px 16px 14px;
  }

  .main_page .top-restaurants .restaurant-card { border-radius: 12px; background: #fff; }
  .main_page .top-restaurants .restaurants-covers { aspect-ratio: 1.62 / 1; }

  .main_page .top-restaurants .restaurants-info {
    gap: 7px 5px;
    padding: 8px 9px 10px;
  }

  .main_page .top-restaurants .restaurants-info h3 {
    font-size: 16px;
    line-height: 1.05;
  }

  .main_page .top-restaurants .restaurants-info span {
    font-size: 11px;
  }

  .main_page .top-restaurants .restaurants-info .rating {
    min-height: 23px;
    gap: 2px;
    padding: 3px 6px;
    font-size: 11px;
  }

  .main_page .top-restaurants .restaurants-info .restaurant-rating-icon {
    width: 13px;
    height: 13px;
  }

  .main_page .top-restaurants .restaurant-offer-badges {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 48px);
    gap: 3px;
  }

  .main_page .top-restaurants .restaurant-card:has(.schedule-status) .restaurant-offer-badges {
    top: 35px;
  }

  .main_page .top-restaurants .restaurant-offer-badge {
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 8px;
    font-size: 10px;
  }

  .main_page .top-restaurants .restaurant-offer-badge:nth-child(n + 2) {
    display: none;
  }

  .main_page .top-restaurants .restaurant-meta.top {
    top: 7px;
    right: 7px;
    max-width: calc(100% - 14px);
  }

  .main_page .top-restaurants .restaurant-meta span.schedule-status {
    gap: 4px;
    max-width: 116px;
    padding: 5px 7px;
    font-size: 10px;
  }

  .main_page .top-restaurants .restaurant-meta span.schedule-status svg {
    width: 14px;
    height: 14px;
  }

  .main_page .top-restaurants .restaurant-meta.bottom {
    right: 7px;
    bottom: 7px;
    width: calc(100% - 14px);
    max-width: calc(100% - 14px);
    gap: 4px;
  }

  .main_page .top-restaurants .restaurant-meta span.restaurant-best {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    justify-content: center;
    gap: 0;
    box-sizing: border-box;
    padding: 0;
  }

  .main_page .top-restaurants .restaurant-meta span.restaurant-best svg {
    width: 15px;
    height: 15px;
  }

  .main_page .top-restaurants .restaurant-meta span.restaurant-best b {
    display: none;
  }

  .main_page .top-restaurants .restaurant-meta span.visitstat {
    height: 15px;
    gap: 3px;
    padding: 2px 5px;
    font-size: 10px;
    line-height: 15px;
  }

  .main_page .top-restaurants .restaurant-meta span.visitstat img {
    width: 14px;
    height: 14px;
  }

  .main_page .top-restaurants .restaurant-pause-state {
    padding: 10px;
  }

  .main_page .top-restaurants .restaurant-pause-state i {
    width: 42px;
    height: 42px;
    gap: 6px;
    margin-bottom: 7px;
  }

  .main_page .top-restaurants .restaurant-pause-state i span {
    width: 5px;
    height: 19px;
  }

  .main_page .top-restaurants .restaurant-pause-state strong {
    font-size: 15px;
  }

  .main_page .top-restaurants .restaurant-pause-state small {
    margin-top: 4px;
    font-size: 11px;
  }

  .main_page .all-restaurants .restaurant-grid {
    grid-template-columns: 1fr;
  }
}

/* Main navigation behavior: static image header and compact mobile menu. */
.main_page .topbar {
  position: absolute;
  top: 0;
  left: 0;
}

.main_page.header-bg-scrolled .topbar {
  height: 92px;
  background: transparent;
  box-shadow: none;
}

.main-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .main_page .topbar-inner {
    position: relative;
    gap: 8px;
  }

  .main_page.header-bg-scrolled .topbar {
    height: 78px;
  }

  .main-menu-toggle {
    position: relative;
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
  }

  .main-menu-toggle::before,
  .main-menu-toggle::after,
  .main-menu-toggle span {
    content: '';
    position: absolute;
    left: 10px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease, top .2s ease;
  }

  .main-menu-toggle::before { top: 12px; }
  .main-menu-toggle span { top: 18px; }
  .main-menu-toggle::after { top: 24px; }
  .main-menu-toggle.is-open::before { top: 18px; transform: rotate(45deg); }
  .main-menu-toggle.is-open span { opacity: 0; }
  .main-menu-toggle.is-open::after { top: 18px; transform: rotate(-45deg); }

  .main_page .main-navigation {
    position: absolute;
    z-index: 10;
    top: 68px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(3, 47, 31, .98);
    box-shadow: 0 20px 42px rgba(1, 22, 15, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .main_page .main-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main_page .main-navigation a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .main_page .main-navigation a:hover,
  .main_page .main-navigation a:focus-visible {
    background: rgba(255, 255, 255, .1);
    text-decoration: none;
  }

  .main_page .main-location {
    max-width: none;
  }

  .main_page .main-actions {
    gap: 1px;
  }

  .main_page a.profile-btn {
    width: 29px;
    height: 30px;
    transform: scale(.82);
  }

  .main_page .main-cart-btn {
    width: 30px;
    height: 34px;
    transform: scale(.78);
  }
}

@media (max-width: 560px) {
  .main_page .topbar-inner {
    gap: 5px;
  }

  .main_page .main-brand {
    width: 84px;
  }

  .main-menu-toggle {
    flex-basis: 34px;
    width: 34px;
    height: 36px;
  }

  .main-menu-toggle::before,
  .main-menu-toggle::after,
  .main-menu-toggle span {
    left: 8px;
  }

  .main_page .city-current {
    padding-right: 30px;
    padding-left: 10px;
  }

  .main_page .city-current::after {
    right: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-menu-toggle::before,
  .main-menu-toggle::after,
  .main-menu-toggle span,
  .main_page .main-navigation {
    transition: none;
  }
}

/* Restaurant page — restaurant_page_design.jpg */
.restaurant_page .topbar { height: 78px; border-bottom: 1px solid #edf1ee; background: #fff; box-shadow: 0 4px 18px rgba(22,54,39,.06); }
.restaurant_page .topbar-inner { max-width: 1320px; height: 78px; gap: 24px; }
.restaurant_page .public-brand { flex: 0 0 128px; width: 128px; }
.restaurant_page .public-brand img { width: 128px; max-height: 58px; }
.restaurant_page .restaurant-navigation { gap: clamp(18px, 2vw, 32px); }
.restaurant_page .restaurant-navigation a { color: #18241f; font-size: 15px; }
.restaurant-location .city-current { width: 100%; min-height: 48px; overflow: hidden; padding: 0 42px 0 18px; border: 0; border-radius: 999px; color: #08613a; background: #e9f7ef; font: 14px 'ProximaNova-Semibold'; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.restaurant-location .city-current::after { content: ''; position: absolute; top: 17px; right: 19px; width: 10px; height: 10px; background: #08613a; clip-path: polygon(0 0, 100% 0, 100% 22%, 22% 22%, 22% 100%, 0 100%); transform: rotate(45deg); }
.restaurant-location .cities_list { position: absolute; top: 56px; color: var(--ink); }
.restaurant-actions { align-items: center; gap: 10px; }
.restaurant-actions .profile-btn { position: relative; width: 28px; height: 31px; }
.restaurant-actions .profile-btn::before { content: ''; position: absolute; top: 3px; left: 12px; width: 9px; height: 9px; border: 3px solid #10261d; border-radius: 50%; }
.restaurant-actions .profile-btn::after { content: ''; position: absolute; left: 6px; bottom: 2px; width: 21px; height: 11px; border: 3px solid #10261d; border-bottom: 0; border-radius: 13px 13px 0 0; }
.restaurant-actions .main-cart-btn::before { border-color: #10261d; border-top: 0; }
.restaurant-actions .main-cart-btn::after { color: #10261d; }
.restaurant-page { padding-top: 78px; }
.restaurant-hero, .restaurant-cover, .restaurant-cover img { height: 400px; min-height: 400px; }
.restaurant-info { top: 50%; width: min(1320px, calc(100% - 48px)); gap: 28px; align-items: center; transform: translate(-50%, -48%); }
.restaurant-logo img { width: 132px; height: 132px; box-sizing: border-box; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.23); }
.restaurant_page .restaurant-logo { flex: 0 0 auto; }
.restaurant_page .restaurant-logo img.is-logo-pending {
  opacity: 0;
  clip-path: inset(42% round 16px);
  filter: blur(7px);
  transform: scale(.88) rotate(-2deg);
  will-change: opacity, clip-path, filter, transform;
}
.restaurant_page .restaurant-logo img.is-logo-loaded {
  animation: restaurantLogoReveal .68s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes restaurantLogoReveal {
  0% {
    opacity: 0;
    clip-path: inset(42% round 16px);
    filter: blur(7px);
    transform: scale(.88) rotate(-2deg);
  }
  58% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 round 16px);
    filter: blur(0);
    transform: scale(1) rotate(0);
  }
}
.restaurant-main { max-width: 720px; }
.restaurant-name { font-size: clamp(44px, 4.5vw, 64px); line-height: .95; letter-spacing: -.035em; }
.restaurant-cuisine { margin: 10px 0 8px; color: rgba(255,255,255,.9); font-size: 20px; }
.restaurant-rating-line { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; color: #fff; font-size: 16px; }
.restaurant-rating-line svg { width: 22px; height: 22px; fill: #ffc21a; stroke: #ffc21a; }
.restaurant-details { max-height: none; align-items: stretch; gap: 12px; overflow: visible; }
.restaurant_page .restaurant-schedule, .restaurant_page .restaurant-address, .restaurant_page .restaurant-message-button { min-height: 48px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 0 16px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.3); font: 14px 'ProximaNova-Semibold'; }
.restaurant_page .restaurant-schedule svg, .restaurant_page .restaurant-address svg, .restaurant_page .restaurant-message-button svg { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.restaurant_page button.restaurant-address { border: 0; text-align: left; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.restaurant_page button.restaurant-address:hover { background: rgba(0,0,0,.48); transform: translateY(-1px); }
.restaurant_page button.restaurant-address:focus-visible { outline: 3px solid rgba(255,255,255,.95); outline-offset: 3px; }
.restaurant_page button.restaurant-address span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.restaurant_page .restaurant-message-button { border: none; background: rgba(11, 105, 68, .88); cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.restaurant_page .restaurant-message-button:hover { background: var(--brand); transform: translateY(-1px); }
.restaurant_page .restaurant-message-button:focus-visible { outline: 3px solid rgba(255,255,255,.95); outline-offset: 3px; }
.restaurant_page .restaurant-message-button.has-unread { background: #fff; color: var(--brand-dark); }
.restaurant_page .restaurant-message-button b { min-width: 21px; height: 21px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 6px; color: #fff; background: #ef6c2f; font: 11px/1 Arial, sans-serif; box-shadow: 0 4px 10px rgba(239,108,47,.34); }
.restaurant_page .restaurant-message-button b[hidden] { display: none; }
.restaurant_page .restaurant-meta { top: 22px; right: max(24px, calc((100% - 1320px) / 2)); }
.restaurant_page .restaurant-best { display: inline-flex; align-items: center; gap: 7px; }
.restaurant_page .restaurant-best svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.restaurant-best { box-sizing: border-box; }
.restaurant-best b { min-width: 0; overflow: hidden; font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.restaurant-menu-box { background: #fbfcfb; }
.cids_list_box_container, .cids_list_box { height: 62px; text-align: center; }
.cids_list { display: inline-block; height: 62px; box-sizing: border-box; }
.cids_list .menu_btn { min-height: 42px; padding: 0 21px; border: 1px solid #e3e8e5; border-radius: 999px; background: #fff; font-size: 14px; }
.cids_list .menu_btn:hover, .cids_list .menu_btn_selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.restaurant-menu-box-foods-wrap { max-width: 1320px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 20px 24px 140px; }
.food_list_cid_name_box { margin-top: 22px; font-size: 32px; }
.food_list_cid_name_box h2 { margin: 0; font: inherit; letter-spacing: inherit; }
.food_list_cid_name_box span::after, .food_list_cid_name_box h2::after { display: none; }
.restaurant_page .food_box { min-height: 0; display: block; overflow: hidden; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 9px 26px rgba(26,52,39,.1); }
.restaurant_page .food_box:hover { transform: translateY(-3px); box-shadow: 0 15px 34px rgba(20,50,37,.15); }
.restaurant_page .food_header_box, .restaurant_page .food_pic_box { width: 100%; height: 182px; }
.restaurant_page .food_box img { width: 100%; height: 182px; border-radius: 0; object-fit: cover; }
.cart-row .food_pic_box {
  height: auto;
}
.restaurant_page .food_content_box { min-height: 148px; box-sizing: border-box; padding: 12px 16px 58px; }
.restaurant_page .food_name { width: calc(100% - 62px); min-height: 0; font-size: 18px; line-height: 1.12; }
.restaurant_page .weight { top: 13px; right: 16px; font-size: 12px; }
.restaurant_page .food_description { height: 38px; margin-top: 7px; font-size: 14px; line-height: 1.3; }
.restaurant_page .food_btns_container { right: 13px; bottom: 10px; left: 16px; }
.restaurant_page .food_price { font-size: 21px; }

@media (max-width: 1100px) {
  .restaurant_page .topbar-inner { gap: 14px; }
  .restaurant_page .restaurant-navigation a { font-size: 13px; }
  .restaurant-location { flex-basis: 220px; }
  .restaurant-menu-box-foods-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .restaurant_page .topbar, .restaurant_page .topbar-inner { height: 72px; }
  .restaurant_page .topbar-inner { padding: 0 12px; gap: 8px; }
  .restaurant_page .public-brand { flex-basis: 94px; width: 94px; }
  .restaurant_page .public-brand img { width: 94px; max-height: 48px; }
  .restaurant_page .main-menu-toggle { display: block; flex-basis: 44px; width: 44px; height: 44px; }
  .restaurant_page .main-menu-toggle::before,
  .restaurant_page .main-menu-toggle::after,
  .restaurant_page .main-menu-toggle span { background: #10261d; }
  .restaurant_page .restaurant-navigation { display: none; }
  .restaurant_page .restaurant-navigation.is-open { position: absolute; z-index: 1200; top: 64px; right: 12px; left: 12px; display: grid; gap: 0; padding: 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(3, 47, 31, .98); box-shadow: 0 18px 44px rgba(0,24,13,.28); }
  .restaurant_page .restaurant-navigation a { min-height: 44px; display: flex; align-items: center; padding: 0 13px; color: #fff; font-size: 14px; }
  .restaurant-location { display: none; }
  .restaurant-actions { margin-left: auto; gap: 4px; }
  .restaurant-page { padding-top: 72px; }
  .restaurant-hero, .restaurant-cover, .restaurant-cover img { height: 330px; min-height: 330px; }
  .restaurant-info { top: auto; bottom: 22px; width: calc(100% - 32px); gap: 12px; align-items: flex-end; transform: translateX(-50%); }
  .restaurant-logo img { width: 76px; height: 76px; padding: 5px; border-radius: 12px; }
  .restaurant-name { font-size: 34px; }
  .restaurant-cuisine { margin: 5px 0; font-size: 14px; }
  .restaurant-rating-line { margin-bottom: 8px; font-size: 14px; }
  .restaurant-rating-line svg { width: 18px; height: 18px; }
  .restaurant-details { gap: 7px; }
  .restaurant_page .restaurant-schedule, .restaurant_page .restaurant-address, .restaurant_page .restaurant-message-button { min-height: 32px; padding: 0 9px; border-radius: 9px; font-size: 11px; }
  .restaurant_page .restaurant-address { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .restaurant_page .restaurant-message-button svg { width: 17px; height: 17px; flex-basis: 17px; }
  .restaurant_page .restaurant-meta {
    top: 12px;
    right: 9px;
    left: clamp(36px, 10vw, 48px);
    max-width: none;
    justify-content: flex-end;
    padding: 0;
  }
  .restaurant_page .restaurant-meta .restaurant-best { max-width: 100%; }
  .cids_list_box_container, .cids_list_box, .cids_list { height: 60px; }
  .cids_list { width: 100%; padding: 8px 12px; }
  .cids_list .menu_btn { min-height: 44px; padding: 0 16px; font-size: 13px; }
  .restaurant-menu-box-foods-wrap { grid-template-columns: 1fr; gap: 12px; padding: 10px 12px 110px; }
  .food_list_cid_name_box { margin-top: 20px; font-size: 27px; }
  .restaurant_page .food_box { min-height: 154px; display: grid; grid-template-columns: 39% minmax(0, 1fr); border-radius: 14px; }
  .restaurant_page .food_header_box, .restaurant_page .food_pic_box, .restaurant_page .food_box img { height: 100%; min-height: 154px; }
  .cart-row .food_pic_box { min-height: 0px; }
  .restaurant_page .food_content_box { min-height: 154px; padding: 12px 11px 52px; }
  .restaurant_page .food_name { width: calc(100% - 42px); font-size: 16px; }
  .restaurant_page .weight { top: 12px; right: 10px; font-size: 10px; }
  .restaurant_page .food_description { height: 34px; margin-top: 5px; font-size: 12px; }
  .restaurant_page .food_btns_container { right: 9px; bottom: 9px; left: 11px; }
  .restaurant_page .food_price { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .restaurant_page .restaurant-logo img.is-logo-pending {
    clip-path: none;
    filter: none;
    transform: none;
  }

  .restaurant_page .restaurant-logo img.is-logo-loaded {
    animation: restaurantLogoRevealReduced .16s ease-out both;
  }
}

@keyframes restaurantLogoRevealReduced {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Delivery page — shared public shell. */
body.delivery_page {
  background: #f7faf8;
}

.delivery_page .main-navigation a[href="/delivery"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #6ce3a8;
  text-underline-offset: 6px;
}

.delivery-page {
  margin-top: 2px;
  min-height: 70vh;
  overflow: hidden;
}

.delivery-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  background-color: #f4faf6;
  background-image:
    linear-gradient(90deg, #f8fbf9 0%, rgba(248, 251, 249, .98) 28%, rgba(248, 251, 249, .72) 43%, rgba(248, 251, 249, 0) 66%),
    url('/assets/imgs/header-delivery_bckg_placeholder.webp');
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

.delivery-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(90deg, #f8fbf9 0%, rgba(248, 251, 249, .98) 28%, rgba(248, 251, 249, .72) 43%, rgba(248, 251, 249, 0) 66%),
    url('/assets/imgs/header-delivery_bckg.jpg');
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.015);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .9s cubic-bezier(.16, 1, .3, 1);
}

.delivery-hero.delivery-hero-loaded::before {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.delivery-hero-inner {
  min-height: 500px;
  display: flex;
  align-items: center;
}

.delivery-hero-copy {
  width: min(520px, 47%);
  padding: 28px 0 96px;
}

.delivery-hero h1 {
  margin: 0;
  color: #071712;
  font: clamp(58px, 6vw, 84px)/.92 'ProximaNova-Bold';
  letter-spacing: -.035em;
}

.delivery-hero-copy > p {
  max-width: 465px;
  margin: 18px 0 0;
  color: #5e7180;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.16;
}

.delivery-process {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding-bottom: 38px;
}

@media (max-width: 1040px) {
  .delivery-hero { background-position: center, 58% center; }
  .delivery-hero-copy { width: 52%; }
}

@media (max-width: 768px) {
  .delivery-page { padding-top: 30px; }
  .delivery-hero {
    min-height: 650px;
    background-image:
      linear-gradient(180deg, #f8fbf9 0%, rgba(248, 251, 249, .98) 33%, rgba(248, 251, 249, .28) 58%, rgba(248, 251, 249, 0) 76%),
      url('/assets/imgs/header-delivery_bckg_placeholder.webp');
    background-position: center, 67% bottom;
    background-size: cover, auto 62%;
  }
  .delivery-hero::before {
    background-image:
      linear-gradient(180deg, #f8fbf9 0%, rgba(248, 251, 249, .98) 33%, rgba(248, 251, 249, .28) 58%, rgba(248, 251, 249, 0) 76%),
      url('/assets/imgs/header-delivery_bckg.jpg');
    background-position: center, 67% bottom;
    background-size: cover, auto 62%;
  }
  .delivery-hero-inner { min-height: 650px; align-items: flex-start; }
  .delivery-hero-copy { width: 100%; padding: 38px 14px 0; text-align: center; }
  .delivery-hero h1 { font-size: clamp(50px, 14vw, 70px); }
  .delivery-hero-copy > p { max-width: 500px; font-size: 20px; color: #275946;}
}

@media (max-width: 480px) {
  .delivery-hero,
  .delivery-hero::before { min-height: 620px; background-position: center, 69% bottom; background-size: cover, auto 55%; }
  .delivery-hero-inner { min-height: 620px; }
  .delivery-hero-copy { padding: 28px 4px 0; }
  .delivery-hero-copy > p { font-size: 19px; line-height: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-page *, .delivery-page *::before, .delivery-page *::after { scroll-behavior: auto; }
  .delivery-hero::before { filter: none; transform: none; transition: opacity .16s ease-out; }
}

/* Offers page — shared public shell with campaign-led content. */
body.offers_page {
  background: #fbfcfa;
}

.offers_page .main-navigation a[href="/offers"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #6ce3a8;
}

.offers-page {
  min-height: 62vh;
}

.offers-hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background-color: #f7fcf9;
  background-image:
    linear-gradient(90deg, #f7fcf9 0%, #f7fcf9 34%, rgba(247, 252, 249, .92) 43%, rgba(247, 252, 249, 0) 64%),
    url('/assets/imgs/header-offers_bckg.jpg');
  background-position: center, calc(50% + 230px) center;
  background-repeat: no-repeat;
  background-size: cover, auto 100%;
}

.offers-hero::after {
  content: '';
  position: absolute;
  right: 12%;
  bottom: -42px;
  width: 220px;
  height: 100px;
  border-radius: 50%;
  background: rgba(23, 106, 75, .1);
  filter: blur(42px);
  pointer-events: none;
}

.offers-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 310px;
  display: flex;
  align-items: center;
}

.offers-hero-copy {
  width: min(570px, 48%);
  padding: 34px 0 28px;
}

.offers-eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--brand);
  font: 13px 'ProximaNova-Bold';
  letter-spacing: .18em;
  text-transform: uppercase;
}

.offers-hero h1 {
  margin: 0 0 13px;
  color: #071b14;
  font: clamp(52px, 5.2vw, 78px)/.94 'ProximaNova-Bold';
  letter-spacing: -.045em;
}

.offers-hero p {
  max-width: 520px;
  margin: 0;
  color: #64706c;
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.28;
}

.offers-catalog {
  padding: 18px 0 72px;
}

.offers-filters {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.offers-filter {
  min-height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid #e5ece8;
  border-radius: 15px;
  color: #18241f;
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 70, 52, .045);
  font: 15px 'ProximaNova-Semibold';
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.offers-filter svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offers-filter:hover {
  border-color: rgba(23, 106, 75, .34);
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(31, 70, 52, .09);
}

.offers-filter.is-active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(23, 106, 75, .22);
}

.offers-filter.is-active svg {
  stroke: currentColor;
}

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

.offer-card {
  position: relative;
  min-height: 276px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  color: #fff;
  background: #173b2e;
  box-shadow: 0 16px 36px rgba(27, 59, 45, .13);
  cursor: pointer;
  transition: box-shadow .22s ease, transform .22s ease;
}

.offer-card:hover { box-shadow: 0 20px 44px rgba(27, 59, 45, .19); transform: translateY(-2px); }
.offer-card:focus-visible { outline: 3px solid rgba(23, 106, 75, .38); outline-offset: 4px; }

.offer-card[hidden] {
  display: none;
}

.offer-card-image,
.offer-card-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.offer-card-image {
  z-index: -2;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.offer-card-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 18, 13, .93) 0%, rgba(5, 18, 13, .78) 48%, rgba(5, 18, 13, .15) 100%);
}

.offer-card:hover .offer-card-image {
  transform: scale(1.045);
}

.offer-card-content {
  min-height: 276px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px 16px;
}

.offer-card-badge-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.offer-card-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff7628, #e9362f);
  box-shadow: 0 8px 20px rgba(175, 45, 28, .34);
  font: 20px 'ProximaNova-Bold';
  line-height: 1;
}


.offer-card-minimum {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 0 11px;
  border-radius: 999px;
  color: #123e2e;
  background: #fff7dd;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .2);
  font: 12px/1 'ProximaNova-Bold';
  white-space: nowrap;
}

.offer-card h2 {
  max-width: 280px;
  margin: 12px 0 5px;
  font: 27px/1 'ProximaNova-Bold';
  letter-spacing: -.02em;
}

.offer-card > .offer-card-content > p {
  max-width: 250px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
  line-height: 1.25;
}

.offer-card-footer {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.offer-card-restaurant,
.offer-card-period {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.offer-card-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

.offer-card-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.offer-card-restaurant-copy {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.offer-card-restaurant-copy strong {
  max-width: 100%;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-card-cuisine {
  max-width: 100%;
  overflow: hidden;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  background: rgba(8, 29, 21, .58);
  font: 9px/1 'ProximaNova-Semibold';
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-card-restaurant strong,
.offer-card-period {
  font-size: 12px;
}

.offer-card-period {
  overflow: hidden;
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.offer-card-period svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-card-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  color: #15211c;
  background: #fff;
  font: 13px 'ProximaNova-Bold';
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.offer-card-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-card-action:hover {
  color: #fff;
  background: var(--brand);
  transform: translateX(2px);
}

/* Offer details modal */
.modal-offer-view .app-modal-overlay { background: rgba(9, 27, 20, .68); backdrop-filter: blur(8px); }
.modal-offer-view .app-modal-window { padding: 20px; }
.modal-offer-view .app-modal-content {
  width: min(840px, calc(100vw - 40px));
  max-width: 840px;
  max-height: min(760px, calc(100dvh - 40px));
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(4, 24, 16, .3);
}
.modal-offer-view .modal-close {
  position: fixed;
  z-index: 12;
  padding: 4px;
  top: max(50px, calc(50% - min(380px, 46vh)));
  right: max(32px, calc(50% - 470px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url('/assets/imgs/icons_svg/close.svg') center / 19px no-repeat;
  box-shadow: 0 10px 28px rgba(8, 35, 24, .2);
}
.modal-offer-view .modal-close::before,
.modal-offer-view .modal-close::after { content: none; }
.offer-details { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 490px; color: #14221c; }
.offer-details-visual { position: relative; min-height: 490px; overflow: hidden; background: #dcece4; }
.offer-details-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.offer-details-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,24,16,.04) 35%, rgba(5,24,16,.68)); }
.offer-details-badge { position: absolute; left: 22px; bottom: 22px; max-width: calc(100% - 44px); padding: 9px 15px; border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.2); font: 16px/1 'ProximaNova-Bold'; }
.offer-details-content { min-width: 0; display: flex; flex-direction: column; padding: 42px 38px 34px; }
.offer-details-restaurant { margin-bottom: 8px; color: var(--brand); font: 13px 'ProximaNova-Semibold'; }
.offer-details h2 { margin: 0; color: #0f1d17; font: clamp(30px, 4vw, 42px)/.98 'ProximaNova-Bold'; letter-spacing: -.03em; }
.offer-details-description { margin: 14px 0 0; color: #5f6c66; font-size: 16px; line-height: 1.4; }
.offer-details-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.offer-details-meta span { padding: 6px 10px; border-radius: 8px; color: #1a5b42; background: #e9f5ef; font: 12px 'ProximaNova-Semibold'; }
.offer-details-terms { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dfe9e4; }
.offer-details-terms h3 { margin: 0 0 7px; font: 18px 'ProximaNova-Bold'; }
.offer-details-terms p { max-width: 60ch; margin: 0; color: #4e5c56; font-size: 14px; line-height: 1.5; }
.offer-details-restaurant-link { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: auto; padding: 0 20px; border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 12px 25px rgba(23,106,75,.2); font: 15px 'ProximaNova-Bold'; }
.offer-details-restaurant-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.offer-details-restaurant-link:hover { background: var(--brand-dark); }
.offer-details-restaurant-link:hover svg { transform: translateX(3px); }
.offer-details-empty { width: min(460px, calc(100vw - 48px)); padding: 48px 34px; text-align: center; }
.offer-details-empty h2 { margin: 0 0 8px; font: 30px 'ProximaNova-Bold'; }
.offer-details-empty p { margin: 0; color: #607068; line-height: 1.45; }

.offers-empty {
  padding: 60px 24px;
  border: 1px dashed rgba(23, 106, 75, .28);
  border-radius: 20px;
  text-align: center;
  background: var(--surface-soft);
}

.offers-empty span {
  display: block;
  font: 24px 'ProximaNova-Bold';
}

.offers-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .offers-hero { background-position: center, calc(50% + 250px) center; }
  .offers-hero-copy { width: 47%; }
  .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .offers-hero {
    min-height: 410px;
    background-image:
      linear-gradient(180deg, rgba(247, 252, 249, .98) 0%, rgba(247, 252, 249, .93) 36%, rgba(247, 252, 249, .18) 62%, rgba(247, 252, 249, 0) 100%),
      url('/assets/imgs/header-offers_bckg.jpg');
    background-position: center, 58% bottom;
    background-size: cover, auto 67%;
  }

  .offers-hero-inner { min-height: 410px; align-items: flex-start; }
  .offers-hero-copy { width: 100%; padding: 34px 12px 0; text-align: center; }
  .offers-eyebrow { margin-bottom: 9px; font-size: 11px; }
  .offers-hero h1 { margin-bottom: 9px; font-size: clamp(43px, 12vw, 62px); }
  .offers-hero p { max-width: 500px; margin-inline: auto; font-size: 17px; }
  .offers-catalog { padding-top: 12px; padding-bottom: 52px; }
  .offers-catalog > .container { padding-inline: 12px; }
  .offers-filters { margin-inline: -12px; padding-inline: 12px; }
  .offers-filter { min-height: 44px; padding: 0 17px; border-radius: 13px; font-size: 14px; }
  .offers-grid { grid-template-columns: 1fr; gap: 13px; }
  .offer-card { min-height: 265px; border-radius: 17px; }
  .offer-card-content { min-height: 265px; }
  .modal-offer-view .app-modal-window { align-items: flex-end; padding: 0; }
  .modal-offer-view .app-modal-content { width: 100%; max-width: none; max-height: 92dvh; border-radius: 22px 22px 0 0; }
  .modal-offer-view .modal-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; }
  .offer-details { grid-template-columns: 1fr; }
  .offer-details-visual { min-height: 260px; height: 34dvh; max-height: 340px; }
  .offer-details-content { padding: 27px 20px max(24px, env(safe-area-inset-bottom)); }
  .offer-details h2 { font-size: 32px; }
  .offer-details-restaurant-link { margin-top: 26px; }
}

@media (max-width: 480px) {
  .offers-hero { min-height: 390px; background-position: center, 55% bottom; background-size: cover, auto 60%; }
  .offers-hero-inner { min-height: 390px; }
  .offers-hero-copy { padding-inline: 6px; }
  .offers-hero p { font-size: 16px; line-height: 1.22; }
  .offer-card-content { padding: 16px; }
  .offer-card-minimum { min-height: 28px; padding-inline: 9px; font-size: 11px; }
  .offer-card h2 { font-size: 25px; }
  .offer-card-footer { grid-template-columns: minmax(0, 1fr) auto; }
  .offer-card-period { display: none; }
  .offer-card-action { min-height: 40px; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .offers-filter,
  .offer-card-image,
  .offer-card,
  .offer-card-action,
  .restaurant-meta .restaurant-offer-badge,
  .offer-details-restaurant-link svg { transition: none; }
}

/* Shared header actions: identical artwork on every public page. */
.top-nav a.profile-btn,
.top-nav .main-cart-btn {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
}

.top-nav a.profile-btn {
  width: 32px;
  height: 36px;
  background-image: url('/assets/imgs/user_header_icon.png');
  background-size: 24px auto;
}

.top-nav .main-cart-btn {
  width: 34px;
  height: 40px;
  background-image: url('/assets/imgs/cart_header_icon.png');
  background-size: 27px auto;
}

.restaurant_page .top-nav > * {
  filter: invert(100%);
}

.restaurant-actions a.profile-btn {
  width: 32px;
  height: 32px;
  background-size: 19px auto;
}

.restaurant-actions .main-cart-btn {
  width: 34px;
  height: 34px;
  background-size: 22px auto;
}

.top-nav a.profile-btn::before,
.top-nav a.profile-btn::after,
.top-nav .main-cart-btn::before,
.top-nav .main-cart-btn::after {
  content: none;
}

@media (max-width: 768px) {
  .app-modal #searchResults.search-results--popular {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78vw);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: -12px;
    padding: 2px 12px 18px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .app-modal #searchResults.search-results--popular::-webkit-scrollbar {
    display: none;
  }

  .app-modal #searchResults.search-results--popular .restaurant-card {
    width: auto;
    height: 100%;
    scroll-snap-align: start;
  }

  .app-modal #searchResults.search-results--query {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    overflow: visible;
    margin-inline: 0;
    padding: 0 0 18px;
    scroll-snap-type: none;
  }

  .app-modal #searchResults.search-results--query .restaurant-card {
    width: 100%;
  }
}

/* Shared topbar search on internal public pages. */
.topbar .main-navigation a { white-space: nowrap; }

.topbar .topbar-search {
  flex: 1 1 240px;
  width: auto;
  max-width: 320px;
  min-width: 150px;
  margin-left: 0;
}

.topbar .topbar-search input {
  width: 100%;
  max-width: none;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 69, 48, .1);
  color: var(--ink);
  background-color: rgba(255, 255, 255, .96);
  cursor: pointer;
}

.topbar .topbar-search input:focus-visible {
  outline: 3px solid rgba(23, 106, 75, .28);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .topbar .topbar-search { max-width: 220px; }
  .topbar .topbar-search input { font-size: 14px; }
}

@media (max-width: 768px) {
  .topbar .topbar-search {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
  }

  .topbar .topbar-search input {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background-position: 50% 50%;
    font-size: 0;
  }
}

/* Dish modal — editorial image with a focused ordering panel. */
.app-modal.modal-item-view .app-modal-overlay {
  background: rgba(9, 22, 16, .7);
  backdrop-filter: blur(12px);
}

.app-modal.modal-item-view .app-modal-window {
  align-items: center;
  padding: 32px 24px;
}

.app-modal.modal-item-view .app-modal-content {
  width: min(980px, calc(100vw - 48px));
  max-width: 980px;
  min-height: 0;
  height: auto;
  max-height: calc(100vh - 64px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: #f8fbf9;
  box-shadow: 0 36px 100px rgba(0,0,0,.34);
}

.app-modal.modal-item-view .food_box {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  width: 100%;
  height: min(620px, calc(100vh - 64px));
  min-height: 520px;
  overflow: hidden;
  border-radius: inherit;
  background: #fff;
}

.app-modal.modal-item-view .food_header_box,
.app-modal.modal-item-view .food_pic_box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #dfe9e3;
}

.app-modal.modal-item-view .food_header_box::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, transparent 64%, rgba(4,24,15,.2));
  pointer-events: none;
}

.app-modal.modal-item-view .app-modal-content .food_box img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.app-modal.modal-item-view .food_box:hover img { transform: scale(1.025); }

.app-modal.modal-item-view .food_content_box {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 54px 42px 40px;
  color: #17221d;
  background:
    radial-gradient(circle at 100% 0, rgba(224, 242, 232, .78), transparent 32%),
    #fff;
  pointer-events: auto;
}

.app-modal.modal-item-view .food_name {
  width: 100%;
  margin: 0;
  color: #111a16;
  font: 40px/1.02 'ProximaNova-Bold';
  letter-spacing: -.03em;
}

.app-modal.modal-item-view .food_name .food-name-secondary {
  margin-top: 8px;
  color: #66736d;
  font-size: .46em;
  line-height: 1.25;
}

.app-modal.modal-item-view .food_content_box .weight {
  order: initial;
  position: static;
  top: auto;
  right: auto;
  float: none;
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: auto auto;
  width: max-content;
  min-width: 128px;
  box-sizing: border-box;
  align-items: center;
  column-gap: 10px;
  margin: 18px 0 0;
  padding: 9px 14px 9px 9px;
  border: 1px solid #d7e9df;
  border-radius: 12px;
  color: var(--brand-dark);
  background: #edf8f2;
  font: inherit;
}

.app-modal.modal-item-view .food_content_box .weight svg {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  padding: 7px;
  border-radius: 10px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: #fff;
}

.app-modal.modal-item-view .food_content_box .weight span {
  color: #718078;
  font: 11px/1.1 'ProximaNova-Regular';
}

.app-modal.modal-item-view .food_content_box .weight strong {
  margin-top: 2px;
  color: #173d2b;
  font: 16px/1 'ProximaNova-Bold';
  font-variant-numeric: tabular-nums;
}

.app-modal.modal-item-view .food_description {
  display: block;
  width: 100%;
  max-height: 8.4em;
  margin: 20px 0 0;
  overflow: auto;
  color: #68736e;
  font-size: 16px;
  line-height: 1.5;
  -webkit-line-clamp: unset;
  scrollbar-width: thin;
}

.app-modal.modal-item-view .item-modal-spiciness {
  width: 100%;
  margin: 15px 0 0;
}

.app-modal.modal-item-view .item-modal-spiciness svg {
  width: 21px;
  height: 21px;
  stroke: #fff0e9;
}

.app-modal.modal-item-view .details_ingredients {
  margin-top: 16px;
  color: #68736e;
  font-size: 14px;
  line-height: 1.45;
}

.app-modal.modal-item-view .details_ingredients span {
  color: #17221d;
  font-family: 'ProximaNova-Semibold';
}

.app-modal.modal-item-view .food_btns_container {
  width: 100%;
  min-height: 56px;
  margin: auto 0 0;
  padding-top: 28px;
  border-top: 1px solid #e2eae6;
}

.app-modal.modal-item-view .food_price {
  color: #122019;
  font: 34px/1 'ProximaNova-Bold';
}

.app-modal.modal-item-view .buy_btn {
  display: inline-flex;
  width: auto;
  min-width: 164px;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(23,106,75,.25);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.app-modal.modal-item-view .buy_btn::before {
  content: 'Добавить';
  font: 16px 'ProximaNova-Bold';
}

.app-modal.modal-item-view .buy_btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.app-modal.modal-item-view .buy_btn:focus-visible,
.app-modal.modal-item-view .buy_btn_controls button:focus-visible { outline: 3px solid rgba(23,106,75,.28); outline-offset: 3px; }

.app-modal.modal-item-view .buy_btn_controls {
  min-height: 54px;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #dce8e2;
  border-radius: 999px;
  background: #eef7f2;
}

.app-modal.modal-item-view .food_box.ordered .buy_btn {
  display: none;
}

.app-modal.modal-item-view .food_box:not(.ordered) .buy_btn_controls {
  display: none;
}

.app-modal.modal-item-view .food_box.ordered .buy_btn_controls {
  display: flex;
}

.app-modal.modal-item-view .buy_btn_controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
}

.app-modal.modal-item-view .modal-close {
  top: max(32px, calc(50% - 292px));
  right: max(32px, calc((100vw - 980px) / 2 + 18px));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff url('/assets/imgs/icons_svg/close.svg') center / 20px no-repeat;
  box-shadow: 0 10px 28px rgba(4,20,12,.2);
}

.app-modal.modal-item-view .modal-close::before,
.app-modal.modal-item-view .modal-close::after { content: none; }

@media (max-width: 768px) {
  .app-modal.modal-item-view .app-modal-window { align-items: stretch; padding: 0; }
  .app-modal.modal-item-view .app-modal-content { width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; overflow-y: auto; border: 0; border-radius: 0; background: #f7faf8; }
  .app-modal.modal-item-view .food_box { display: block; height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; border-radius: 0; background: #f7faf8; }
  .app-modal.modal-item-view .food_header_box,
  .app-modal.modal-item-view .food_pic_box { height: 48vh; height: 48svh; min-height: 300px; max-height: 470px; }
  .app-modal.modal-item-view .food_header_box::after { background: linear-gradient(180deg, rgba(2,16,9,.08), transparent 55%, rgba(2,16,9,.28)); }
  .app-modal.modal-item-view .app-modal-content .food_box img { height: 100%; min-height: 0; }
  .app-modal.modal-item-view .food_content_box { min-height: calc(52vh + 24px); min-height: calc(52svh + 24px); justify-content: flex-start; margin-top: -24px; padding: 30px 20px max(26px, env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; }
  .app-modal.modal-item-view .food_name { font-size: clamp(29px, 9vw, 38px); }
  .app-modal.modal-item-view .food_content_box .weight { margin-top: 15px; }
  .app-modal.modal-item-view .food_description { max-height: none; margin-top: 14px; font-size: 15px; }
  .app-modal.modal-item-view .food_btns_container { position: sticky; bottom: 0; margin-top: 28px; padding: 16px 0 max(4px, env(safe-area-inset-bottom)); background: #fff; }
  .app-modal.modal-item-view .food_price { font-size: 29px; }
  .app-modal.modal-item-view .buy_btn { min-width: 148px; height: 52px; }
  .app-modal.modal-item-view .modal-close { top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); }
}

@media (orientation: landscape) and (max-height: 560px) {
  .app-modal.modal-item-view .app-modal-content { width: min(920px, calc(100vw - 32px)); height: calc(100svh - 24px); border-radius: 20px; }
  .app-modal.modal-item-view .food_box { display: grid; grid-template-columns: 1fr 1fr; height: 100%; min-height: 0; overflow: hidden; border-radius: inherit; }
  .app-modal.modal-item-view .food_header_box,
  .app-modal.modal-item-view .food_pic_box { height: 100%; min-height: 0; max-height: none; }
  .app-modal.modal-item-view .food_content_box { min-height: 0; margin: 0; padding: 28px 28px 22px; overflow-y: auto; border-radius: 0; }
  .app-modal.modal-item-view .food_name { font-size: 28px; }
  .app-modal.modal-item-view .food_description { max-height: 4.5em; font-size: 14px; }
  .app-modal.modal-item-view .food_btns_container { position: static; margin-top: 18px; padding-top: 14px; }
  .app-modal.modal-item-view .modal-close { top: 18px; right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-modal.modal-item-view .app-modal-content .food_box img,
  .app-modal.modal-item-view .buy_btn { transition: none; }
  .app-modal.modal-item-view .food_box:hover img { transform: none; }
}

/* Checkout — clear, task-focused continuation of the public pages. */
body.checkout_page {
  color: #17221d;
  background: #f3f7f5;
}

.checkout_page .checkout-page {
  width: min(1320px, calc(100% - 48px));
  max-width: none;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 48px 0 72px;
}

.checkout_page .checkout-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 30px;
}

.checkout_page .checkout-header .restaurant-logo {
  flex: 0 0 auto;
}

.checkout_page .checkout-header .restaurant-logo img {
  display: block;
  width: 78px;
  height: 78px;
  box-sizing: border-box;
  padding: 6px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  box-shadow: none;
}

.checkout_page .checkout-header h1 {
  max-width: 900px;
  margin: 0;
  color: #101b16;
  font: clamp(34px, 4vw, 52px)/1.02 'ProximaNova-Bold';
  letter-spacing: -.03em;
  text-wrap: balance;
}

.checkout_page .checkout-header p {
  margin: 9px 0 0;
  padding: 0;
  color: #66736c;
  font-size: 17px;
}

.checkout_page .hit-inform {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow: hidden;
  margin: 0 0 24px;
  padding: 20px 22px;
  border: 1px solid #e8c46c;
  border-radius: 16px;
  color: #4d3908;
  background: #fff7dc;
  box-shadow: 0 12px 30px rgba(114, 78, 5, .1);
  font-size: 15px;
  line-height: 1.45;
}

.checkout_page .hit-inform--blocked {
  border-color: #e6aaa2;
  color: #61241f;
  background: #fff0ed;
  box-shadow: 0 12px 30px rgba(130, 48, 38, .1);
}

.checkout_page .hit-inform-icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b77900;
  box-shadow: 0 7px 18px rgba(139, 92, 3, .2);
}

.checkout_page .hit-inform--blocked .hit-inform-icon {
  background: #bb473b;
  box-shadow: 0 7px 18px rgba(151, 48, 38, .2);
}

.checkout_page .hit-inform-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout_page .hit-inform-content {
  min-width: 0;
}

.checkout_page .hit-inform-status {
  display: block;
  margin-bottom: 2px;
  color: #8a5b00;
  font: 14px/1.2 'ProximaNova-Bold';
  text-transform: uppercase;
  letter-spacing: .05em;
}

.checkout_page .hit-inform--blocked .hit-inform-status {
  color: #a5372d;
}

.checkout_page .hit-inform-content > strong {
  display: block;
  color: currentColor;
  font: 22px/1.18 'ProximaNova-Bold';
  letter-spacing: -.015em;
}

.checkout_page .hit-inform-content p {
  margin: 6px 0 12px;
  color: currentColor;
  font-size: 16px;
}

.checkout_page .hit-inform-schedule {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px 11px;
  border-radius: 8px;
  color: #5c430b;
  background: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.checkout_page .hit-inform--blocked .hit-inform-schedule {
  color: #672c27;
}

@media (max-width: 600px) {
  .checkout_page .hit-inform {
    gap: 12px;
    padding: 17px 16px;
  }

  .checkout_page .hit-inform-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .checkout_page .hit-inform-icon svg {
    width: 24px;
    height: 24px;
  }

  .checkout_page .hit-inform-content > strong {
    font-size: 19px;
  }
}

.checkout_page .checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  align-items: start;
  gap: 28px;
  margin-top: 0;
}

.checkout_page .checkout-block,
.checkout_page .checkout-summary {
  box-sizing: border-box;
  padding: 28px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 58, 40, .08);
}

.checkout_page .checkout-block {
  margin-bottom: 20px;
}

.checkout_page .checkout-block h2,
.checkout_page .checkout-summary h2 {
  margin: 0 0 20px;
  color: #07704e;
  font: 24px/1.15 'ProximaNova-Bold';
  letter-spacing: -.015em;
}

.checkout_page .checkout-section-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.checkout_page .checkout-section-title::before {
  content: "";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  background: center / contain no-repeat;
}

.checkout_page .checkout-section-title--contacts::before {
  background-image: url('/assets/imgs/user_icon.png');
  background-size: 24px;
}

.checkout_page .checkout-section-title--shipment::before {
  background-image: url('/assets/imgs/mappoint_icon.png');
}

.checkout_page .checkout-section-title--payment::before {
  background-image: url('/assets/imgs/creditcard_icon.png');
}

.checkout_page .checkout-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.checkout_page .checkout-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.checkout_page .checkout-field > span,
.checkout_page .checkout-datetime-field > span {
  color: #46554e;
  font: 13px/1 'ProximaNova-Semibold';
}

.checkout_page .checkout-fields input,
.checkout_page .shipment-fields input,
.checkout_page .shipment-fields textarea,
.checkout_page .checkout-datetime-field input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid #dbe4df;
  border-radius: 12px;
  color: #17221d;
  background: #fbfcfb;
  font: 16px 'ProximaNova-Regular';
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.checkout_page .checkout-field--name input {
  padding-left: 48px;
  background-image: url('/assets/imgs/icons_svg/user.svg');
  background-position: 16px center;
  background-size: 22px 22px;
  background-repeat: no-repeat;
}

.checkout_page .checkout-fields input::placeholder,
.checkout_page .shipment-fields input::placeholder,
.checkout_page .shipment-fields textarea::placeholder,
.checkout_page .checkout-datetime-field input::placeholder {
  color: #7b8781;
}

.checkout_page .checkout-fields input:focus,
.checkout_page .shipment-fields input:focus,
.checkout_page .shipment-fields textarea:focus,
.checkout_page .checkout-datetime-field input:focus {
  border-color: var(--brand);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(23, 106, 75, .13);
}

.checkout_page .phone-group {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  box-sizing: border-box;
  overflow: hidden;
  border-color: #dbe4df;
  border-radius: 12px;
  background: #fbfcfb;
  background-image: url('/assets/imgs/icons_svg/phone.svg');
  background-position: 16px center;
  background-size: 22px 22px;
  background-repeat: no-repeat;
}

.checkout_page .phone-prefix {
  padding-left: 48px;
  color: #26372f;
  font: 16px 'ProximaNova-Semibold';
}

.checkout_page .phone-group input {
  flex: 1 1 0;
  width: 0 !important;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px 0 8px !important;
}

.checkout_page .checkout-tabs {
  gap: 10px;
}

.checkout_page .shipment-card {
  min-height: 42px;
  height: auto;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid #dfe7e3;
  border-radius: 12px;
  color: #31423a;
  background: #f8faf9;
  font: 15px 'ProximaNova-Semibold';
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.checkout_page .shipment-card i {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: center / contain no-repeat;
}

.checkout_page .shipment-card--delivery i { background-image: url('/assets/imgs/courier_icon.png'); }
.checkout_page .shipment-card--takeout i { background-image: url('/assets/imgs/shop_icon.png'); }

.checkout_page .shipment-card.active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.checkout_page .shipment-card.active i {
  filter: brightness(0) invert(1);
}

.checkout_page .shipment-card:hover {
  transform: translateY(-1px);
}

.checkout_page .checkout-datetime-field {
  width: min(360px, 100%);
  gap: 8px;
  margin-top: 18px;
}

.checkout_page .checkout-datetime-field input {
  padding-left: 48px;
  background-image: url('/assets/imgs/time_icon.png');
  background-position: 16px center;
  background-size: 20px 20px;
  background-repeat: no-repeat;
}

.checkout_page .shipment-fields {
  margin-top: 18px;
}

.checkout_page .selected-address-button,
.checkout_page .takeout-card,
.checkout_page .address-field {
  border-radius: 14px;
}

.checkout_page .shipment-fields textarea {
  min-height: 104px;
  margin-top: 16px;
  padding-top: 15px;
  resize: vertical;
}

.checkout_page .shipment-fields textarea.checkout-comment {
  padding-left: 48px;
  background-image: url('/assets/imgs/icons_svg/comment.svg');
  background-position: 16px 16px;
  background-size: 22px 22px;
  background-repeat: no-repeat;
}

.checkout_page .payment-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout_page .payment-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 3px;
  min-height: 76px;
  box-sizing: border-box;
  padding: 13px 15px;
  border-color: #dfe7e3;
  border-radius: 14px;
  background: #f8faf9;
}

.checkout_page .payment-card i {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  align-self: center;
  background: center / contain no-repeat;
}

.checkout_page .payment-card--sbp i { background-image: url('/assets/imgs/sbp_icon.png'); }
.checkout_page .payment-card--cash i { background-image: url('/assets/imgs/cash_icon.png'); }
.checkout_page .payment-card--terminal i { background-image: url('/assets/imgs/creditcard_icon.png'); }
.checkout_page .payment-card--transfer i { background-image: url('/assets/imgs/sbp_icon.png'); }
.checkout_page .payment-card span { align-self: end; color: #1c2c24; font: 16px 'ProximaNova-Semibold'; }
.checkout_page .payment-card small { align-self: start; color: #6b7872; font-size: 12px; }

.checkout_page .payment-card.active {
  border-color: var(--brand);
  background: #edf7f2;
  box-shadow: 0 8px 22px rgba(23, 106, 75, .1);
}

.checkout_page .checkout-sidebar {
  top: 22px;
}

.checkout_page .checkout-summary {
  position: relative;
  overflow: hidden;
}

.checkout_page .checkout-summary-head {
  margin-bottom: 22px;
}

.checkout_page .checkout-edit-order {
  min-height: 40px;
  border-color: #cfe0d7;
  border-radius: 12px;
  color: var(--brand-dark);
  background: #f3f8f5;
  font: 13px 'ProximaNova-Semibold';
}

.checkout_page .checkout-edit-order:hover {
  border-color: var(--brand);
  background: #eaf5ef;
}

.checkout_page .checkout-restaurant {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom-color: #e1e8e4;
}

.checkout_page .checkout-item {
  align-items: flex-start;
  margin-bottom: 16px;
}

.checkout_page .checkout-item-name {
  color: #26352e;
  font: 15px/1.25 'ProximaNova-Semibold';
}

.checkout_page .checkout-item-count {
  color: #728078;
  font-size: 13px;
}

.checkout_page .checkout-item-sum {
  color: #1d2d25;
  font-variant-numeric: tabular-nums;
}

.checkout_page .checkout-delivery-total {
  margin-top: 12px;
  color: #5e6c65;
  font-size: 15px;
}

.checkout_page .checkout-delivery-total strong {
  color: #27362f;
  font-variant-numeric: tabular-nums;
}

.checkout_page .checkout-delivery-total strong.is-free-delivery {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
}

.checkout_page .checkout-delivery-total strong.is-free-delivery s {
    color: #8c9690;
    font-size: .82em;
    font-weight: 500;
}

.checkout_page .checkout-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dfe7e3;
  color: #102119;
  font: 24px 'ProximaNova-Bold';
}

.checkout_page .checkout-total strong {
  color: var(--brand-dark);
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.checkout_page .checkout-total .currency-symbol {
  color: var(--brand-dark);
  margin-left: 4px;
  font-family: "Proxima Nova", Arial, sans-serif;
  font-size: .86em;
  font-weight: 550;
}

.checkout_page .checkbox-wrap {
  margin-top: 20px;
}

.checkout_page .checkbox-text {
  color: #647169;
  font-size: 12px;
  line-height: 1.4;
}

.checkout_page .checkbox-text a {
  color: var(--brand-dark);
  text-underline-offset: 2px;
}

.checkout_page .checkout-submit {
  position: relative;
  height: 56px;
  margin-top: 20px;
  border-radius: 12px;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(23, 106, 75, .22);
  font: 17px 'ProximaNova-Bold';
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.checkout_page .checkout-availability-warning {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid #eadfce;
  border-radius: 14px;
  color: #3a2d20;
  background: #fff8ed;
}

.checkout_page .checkout-availability-warning > i {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50%;
  background: #8c6945;
}

.checkout_page .checkout-availability-warning > i span {
  width: 6px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
}

.checkout_page .checkout-availability-warning strong {
  display: block;
  font: 18px/1.15 'ProximaNova-Bold';
}

.checkout_page .checkout-availability-warning p {
  margin: 5px 0 0;
  color: #786754;
  font-size: 14px;
  line-height: 1.4;
}

.checkout_page .checkout-submit.disabled {
  background: #aeb8b3;
  box-shadow: none;
}

.checkout_page .checkout-submit:hover {
  background: var(--brand-dark);
  box-shadow: 0 15px 30px rgba(23, 106, 75, .28);
}

.checkout_page .checkout-submit:focus-visible,
.checkout_page .shipment-card:focus-within,
.checkout_page .payment-card:focus-within,
.checkout_page .checkout-edit-order:focus-visible {
  outline: 3px solid rgba(23, 106, 75, .24);
  outline-offset: 3px;
}

.checkout_page .form-status:empty {
  display: none;
}

.checkout_page .form-status:not(:empty) {
  margin: 18px 0 0;
}

.checkout_page form.form-loading .form-status {
  display: block;
  margin: 18px 0 0;
}

.checkout_page .flatpickr-calendar {
  border: 1px solid #dbe4df;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 58, 40, .18);
}

@media (max-width: 1024px) {
  .checkout_page .checkout-page {
    width: min(820px, calc(100% - 36px));
    padding-top: 36px;
  }

  .checkout_page .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout_page .checkout-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .checkout_page .checkout-page {
    width: calc(100% - 20px);
    padding: 24px 0 42px;
  }

  .checkout_page .checkout-header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }

  .checkout_page .checkout-header .restaurant-logo img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .checkout_page .checkout-header h1 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .checkout_page .checkout-header p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.35;
  }

  .checkout_page .checkout-block,
  .checkout_page .checkout-summary {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .checkout_page .checkout-block h2,
  .checkout_page .checkout-summary h2 {
    font-size: 21px;
  }

  .checkout_page .checkout-fields,
  .checkout_page .payment-methods {
    grid-template-columns: 1fr;
  }

  .checkout_page .checkout-tabs {
    gap: 8px;
  }

  .checkout_page .shipment-card {
    min-width: 0;
    padding-inline: 10px;
    font-size: 14px;
  }

  .checkout_page .shipment-card i {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .checkout_page .takeout-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .checkout_page .takeout-card button {
    grid-column: 1 / -1;
  }

  .checkout_page .checkout-summary-head {
    align-items: flex-start;
  }

  .checkout_page .checkout-edit-order {
    padding-inline: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout_page .shipment-card,
  .checkout_page .checkout-submit {
    transition: none;
  }
}

/* Restaurant search modal — focused discovery with the shared VLEDA material. */
.modal-search-view .app-modal-overlay {
  background: rgba(231, 238, 234, .76);
  backdrop-filter: blur(12px);
}

.modal-search-view .app-modal-window {
  box-sizing: border-box;
  padding: 22px;
}

.modal-search-view .app-modal-content {
  position: relative;
  width: min(1080px, calc(100vw - 44px));
  max-width: 1080px;
  min-height: 470px;
  max-height: calc(100vh - 44px);
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .76);
  border-radius: 20px;
  background:
    url('/assets/imgs/modal_bckg_top_r.jpg') top right / 210px auto no-repeat,
    url('/assets/imgs/modal_bckg_bottom_l.jpg') bottom left / 150px auto no-repeat,
    #fff;
  box-shadow: 0 30px 86px rgba(16, 52, 36, .23);
  scrollbar-color: #9ab9ac transparent;
}

.modal-search-view .modal-close {
  position: fixed;
  top: max(32px, calc(50% - 43vh));
  right: max(32px, calc((100vw - 1080px) / 2 + 18px));
  left: auto;
  width: 46px;
  height: 46px;
  box-sizing: border-box;
  padding: 0;
  border-radius: 50%;
  background: #fff url('/assets/imgs/icons_svg/close.svg') center / 20px no-repeat;
  box-shadow: 0 10px 28px rgba(13, 45, 31, .15);
}

.modal-search-view .modal-close::before,
.modal-search-view .modal-close::after {
  content: none;
}

.search-modal-shell {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  min-height: 470px;
  padding: 38px 46px 42px;
}

.search-modal-heading {
  max-width: 700px;
  padding-right: 70px;
}

.search-modal-heading h1 {
  margin: 0;
  color: #101b16;
  font: clamp(36px, 5vw, 52px)/1 'ProximaNova-Bold';
  letter-spacing: -.03em;
  text-wrap: balance;
}

.search-modal-heading p {
  margin: 9px 0 0;
  color: #68766f;
  font-size: 17px;
  line-height: 1.4;
}

.modal-search-view .search-modal-field {
  display: block;
  width: 100%;
  margin: 28px 0 0;
}

.modal-search-view .search_input_wrap {
  width: 100%;
}

.modal-search-view .search-modal-field input {
  width: 100%;
  max-width: none;
  height: 64px;
  box-sizing: border-box;
  padding: 0 110px 0 58px;
  border: 1px solid #d7e3dd;
  border-radius: 14px;
  color: #14231c;
  background: #f8fbf9 url('/assets/imgs/search_icon.png') 22px 50% / 22px no-repeat;
  font: 18px 'ProximaNova-Regular';
  caret-color: var(--brand);
  outline: none;
  appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.modal-search-view .search-modal-field input::-webkit-search-cancel-button {
  display: none;
}

.modal-search-view .search-modal-field input::placeholder {
  color: #74827a;
  opacity: 1;
}

.modal-search-view .search-modal-field input:focus {
  border-color: var(--brand);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(23, 106, 75, .13);
}

.modal-search-view .search_clear {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 14px;
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: transparent;
  background: #e9f1ed url('/assets/imgs/icons_svg/close.svg') center / 13px no-repeat;
  cursor: pointer;
  transform: translateY(-50%);
}

.modal-search-view .search_clear.visible {
  display: block;
}

.modal-search-view .search_clear:hover {
  background-color: #dce9e2;
}

.modal-search-view .search_clear:focus-visible {
  outline: 3px solid rgba(23, 106, 75, .25);
  outline-offset: 2px;
}

.modal-search-view .search_loader {
  top: 50%;
  right: 62px;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 2px solid #cbdcd3;
  border-top-color: var(--brand);
}

.search-modal-results {
  padding: 0;
}

.search-modal-results-head {
  display: flex;
  min-height: 28px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0 17px;
}

.search-modal-results-head h2 {
  margin: 0;
  color: #14231c;
  font: 25px/1.1 'ProximaNova-Bold';
  letter-spacing: -.015em;
}

.search-modal-results-head [role='status'] {
  color: #718078;
  font-size: 13px;
}

.modal-search-view #searchResults {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 2px 2px 8px;
  opacity: 1;
  transition: opacity .2s ease;
}

.modal-search-view #searchResults.loading {
  opacity: .46;
}

.modal-search-view #searchResults .restaurant-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(22, 59, 41, .1);
  scroll-snap-align: start;
}

.modal-search-view #searchResults .restaurant-card:hover {
  box-shadow: 0 14px 32px rgba(22, 59, 41, .15);
  transform: translateY(-3px);
}

.modal-search-view #searchResults .restaurants-covers {
  border-radius: 0;
}

.modal-search-view #searchResults .restaurants-info {
  min-height: 92px;
  box-sizing: border-box;
  padding: 13px 14px 15px;
}

.modal-search-view #searchResults .restaurants-info h3 {
  color: #14231c;
  font-size: 19px;
}

.modal-search-view #searchResults .restaurants-info .rating {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #fffcf3;
  font: 13px 'ProximaNova-Semibold';
}

.modal-search-view #searchResults .restaurants-info .rating:empty {
  display: none;
}

.modal-search-view #searchResults .restaurant-cuisine-tags {
  margin-top: 5px;
}

.modal-search-view #searchResults .restaurant-search-matches {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #e4ece8;
}

.modal-search-view #searchResults .restaurant-search-matches > span {
  display: block;
  margin-bottom: 5px;
  color: var(--brand);
  font: 12px/1.2 'ProximaNova-Semibold';
}

.modal-search-view #searchResults .restaurant-search-matches ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-search-view #searchResults .restaurant-search-matches li {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding-left: 12px;
  color: #52635b;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-search-view #searchResults .restaurant-search-matches li::before {
  position: absolute;
  top: .48em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  content: '';
}

.modal-search-view #searchResults .restaurant-meta.top {
  top: 10px;
  right: 10px;
}

.modal-search-view #searchResults .restaurant-meta.bottom {
  right: 10px;
  bottom: 10px;
}

.search-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  padding: 48px 24px 42px;
  text-align: center;
}

.search-empty > span {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #eaf4ef url('/assets/imgs/search_icon.png') center / 25px no-repeat;
}

.search-empty.search-error > span {
  background: #fff0ed url('/assets/imgs/no_icon.png') center / 28px no-repeat;
}

.search-empty strong {
  color: #17251e;
  font: 22px 'ProximaNova-Bold';
}

.search-empty p {
  max-width: 420px;
  margin: 7px 0 0;
  color: #6d7a73;
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .modal-search-view #searchResults {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .modal-search-view .app-modal-window {
    align-items: stretch;
    padding: 0;
  }

  .modal-search-view .app-modal-content {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    background:
      url('/assets/imgs/modal_bckg_top_r.jpg') top right / 155px auto no-repeat,
      #fff;
    box-shadow: none;
  }

  .modal-search-view .modal-close {
    top: max(13px, env(safe-area-inset-top));
    right: max(13px, env(safe-area-inset-right));
    left: auto;
    width: 42px;
    height: 42px;
  }

  .search-modal-shell {
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(24px, env(safe-area-inset-top)) 16px max(26px, env(safe-area-inset-bottom));
  }

  .search-modal-heading {
    padding: 44px 46px 0 0;
  }

  .search-modal-heading h1 {
    font-size: 34px;
  }

  .search-modal-heading p {
    font-size: 15px;
  }

  .modal-search-view .search-modal-field {
    margin-top: 22px;
  }

  .modal-search-view .search-modal-field input {
    height: 56px;
    padding-right: 100px;
    padding-left: 52px;
    background-position-x: 19px;
    font-size: 16px;
  }

  .search-modal-results-head {
    margin-top: 27px;
  }

  .search-modal-results-head h2 {
    font-size: 22px;
  }

  .search-modal-results-head [role='status'] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .modal-search-view #searchResults.search-results--popular {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 166px;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: -16px;
    padding: 2px 16px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .modal-search-view #searchResults.search-results--popular::-webkit-scrollbar {
    display: none;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-card {
    height: 100%;
    border-radius: 12px;
    background: #fff;
  }

  .modal-search-view #searchResults.search-results--popular .restaurants-covers {
    aspect-ratio: 1.62 / 1;
  }

  .modal-search-view #searchResults.search-results--popular .restaurants-info {
    min-height: 78px;
    gap: 7px 5px;
    padding: 8px 9px 10px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurants-info h3 {
    font-size: 16px;
    line-height: 1.05;
  }

  .modal-search-view #searchResults.search-results--popular .restaurants-info span {
    font-size: 11px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurants-info .rating {
    min-height: 23px;
    gap: 2px;
    padding: 3px 6px;
    font-size: 11px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-rating-icon {
    width: 15px;
    height: 15px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-cuisine-tags {
    margin-top: 0;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-offer-badges {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 68px);
    gap: 3px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-card:has(.schedule-status) .restaurant-offer-badges {
    top: 35px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-offer-badge {
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 8px;
    font-size: 10px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-offer-badge:nth-child(n + 2) {
    display: none;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta.top {
    top: 7px;
    right: 7px;
    max-width: calc(100% - 14px);
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta span.schedule-status {
    gap: 4px;
    max-width: 116px;
    padding: 5px 7px;
    font-size: 10px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta span.schedule-status svg {
    width: 14px;
    height: 14px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta.bottom {
    right: 7px;
    bottom: 7px;
    width: calc(100% - 14px);
    max-width: calc(100% - 14px);
    gap: 4px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta span.restaurant-best {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    justify-content: center;
    gap: 0;
    box-sizing: border-box;
    padding: 0;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta span.restaurant-best svg {
    width: 15px;
    height: 15px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta span.restaurant-best b {
    display: none;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta span.visitstat {
    height: 15px;
    gap: 3px;
    padding: 2px 5px;
    font-size: 10px;
    line-height: 15px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-meta span.visitstat img {
    width: 14px;
    height: 14px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-pause-state {
    padding: 10px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-pause-state i {
    width: 42px;
    height: 42px;
    gap: 6px;
    margin-bottom: 7px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-pause-state i span {
    width: 5px;
    height: 19px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-pause-state strong {
    font-size: 15px;
  }

  .modal-search-view #searchResults.search-results--popular .restaurant-pause-state small {
    margin-top: 4px;
    font-size: 11px;
  }

  .modal-search-view #searchResults.search-results--query {
    grid-template-columns: 1fr;
    gap: 13px;
    overflow: visible;
    margin: 0;
    padding: 2px 0 18px;
  }

  .search-empty {
    min-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 42px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-search-view #searchResults,
  .modal-search-view #searchResults .restaurant-card {
    transition: none;
  }
}

/* Compact cuisine filters that stay available while browsing restaurants. */
.main_page .category-grid-anchor {
  height: 0;
}

.main_page .category-card {
  border: 0;
  font-family: inherit;
}

.main_page .categories .category-grid.is-docked {
  position: fixed;
  z-index: 950;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-width: none;
  min-height: 64px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 8px max(16px, calc((100vw - 1400px) / 2 + 24px));
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 30px rgba(22, 59, 41, .04);
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  animation: category-dock-in .22s cubic-bezier(.16, 1, .3, 1) both;
}

.main_page .categories .category-grid.is-docked::-webkit-scrollbar {
  display: none;
}

.main_page .categories .category-grid.is-docked .category-card {
  width: auto;
  min-width: max-content;
  min-height: 46px;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 8px;
  padding: 6px 14px 6px 7px;
  border: 1px solid #dbe7e1;
  border-radius: 999px;
  color: #244236;
  background: #fff;
  box-shadow: none;
  font-size: 13px;
  scroll-snap-align: start;
}

.main_page .categories .category-grid.is-docked .category-card::before {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
}

.main_page .categories .category-grid.is-docked .category-card:hover {
  border-color: rgba(0, 128, 79, .42);
  box-shadow: 0 5px 14px rgba(22, 59, 41, .09);
  transform: translateY(-1px);
}

.main_page .categories .category-grid.is-docked .category-card.active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.main_page .categories .category-grid.is-docked .category-card:focus-visible {
  outline: 3px solid rgba(0, 128, 79, .24);
  outline-offset: 2px;
}

@keyframes category-dock-in {
  from {
    transform: translateY(-100%);
    box-shadow: none;
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .main_page .categories .category-grid.is-docked {
    min-height: 56px;
    gap: 7px;
    padding: 7px 10px;
  }

  .main_page .categories .category-grid.is-docked .category-card {
    min-height: 42px;
    gap: 6px;
    padding: 5px 11px 5px 6px;
    font-size: 12px;
  }

  .main_page .categories .category-grid.is-docked .category-card::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main_page .categories .category-grid.is-docked {
    animation: none;
  }
}

/* Order success — layout from complete_order.png. */
.order_success_page .checkout-page {
  width: min(1400px, calc(100% - 48px));
  max-width: none;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 24px 0 38px;
}

.order_success_page .checkout-success,
.order_success_page .checkout-success.single {
  min-height: calc(100vh - 154px);
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(330px, 1fr);
  align-items: start;
  gap: 20px;
  padding: 0;
}

.order_success_page .checkout-success.single {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.order_success_page .checkout-success-card,
.order_success_page .checkout-success-carts {
  border: 1px solid rgba(216, 230, 220, .88);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 48px rgba(24, 72, 50, .08);
}

.order_success_page .checkout-success-card {
  overflow: hidden;
  padding: 24px;
}

.order_success_page .checkout-success-hero {
  min-height: 250px;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, .88fr);
  gap: 16px;
  padding: 8px 8px 0;
}

.order_success_page .checkout-success-badge {
  gap: 9px;
  padding: 6px 18px 6px 6px;
  border-color: #d8eadb;
  background: #fff;
  box-shadow: 0 8px 20px rgba(40, 104, 70, .06);
}

.order_success_page .checkout-success-badge .checkout-success-mark {
  width: 44px;
  height: 44px;
  background: #48a824;
  box-shadow: 0 8px 20px rgba(72, 168, 36, .22);
}

.order_success_page .checkout-success-badge .checkout-success-mark span {
  width: 17px;
  height: 10px;
  border-left-width: 3px;
  border-bottom-width: 3px;
}

.order_success_page .checkout-success-eyebrow {
  color: #3a9724;
  font: 13px/1 'ProximaNova-Bold';
  letter-spacing: .06em;
  text-transform: uppercase;
}

.order_success_page .checkout-success h1 {
  margin: 28px 0 10px;
  color: #081710;
  font: clamp(46px, 5vw, 68px)/.98 'ProximaNova-Bold';
  letter-spacing: -.035em;
  text-shadow: none;
}

.order_success_page .checkout-success-lead {
  max-width: 560px;
  margin: 0;
  color: #66736d;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
}

.order_success_page .checkout-success-visual {
  min-height: 230px;
  display: grid;
  place-items: center;
}

.order_success_page .checkout-success-visual::before {
  width: 250px;
}

.order_success_page .checkout-success-bag {
  width: 200px;
  height: 220px;
  padding: 38px 68px 0 4px;
}

.order_success_page .checkout-success-bag > div {
  width: 80px;
  max-width: 85px;
  transform: rotate(4deg) perspective(160px) rotateY(-20deg) rotateX(8deg) translate(6px, 0px);
}

.order_success_page .checkout-success-bag img {
  border-radius: 25px;
  display: block;
  width: 78px;
  max-height: 80px;
  object-fit: contain;
}

.order_success_page .checkout-success-steps {
  grid-template-columns: repeat(6, minmax(82px, 1fr));
  margin: 12px 0 18px;
  padding: 24px 18px 20px;
  overflow-x: auto;
  border: 1px solid #edf1ee;
  border-radius: 18px;
  background: #fff;
  scrollbar-width: thin;
}

.order_success_page .checkout-success-contact {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 8px 0 18px;
  padding: 14px 16px;
  border: 1px solid #dcebe2;
  border-radius: 14px;
  background: #f3faf6;
}

.order_success_page .checkout-success-contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background-color: #dff2e6;
}

.order_success_page .checkout-success-contact-icon::before {
  content: "";
  width: 23px;
  height: 23px;
  background: var(--brand);
  mask: url('/assets/imgs/icons_svg/phone.svg') center / contain no-repeat;
  -webkit-mask: url('/assets/imgs/icons_svg/phone.svg') center / contain no-repeat;
}

.order_success_page .checkout-success-contact strong {
  display: block;
  color: #13231b;
  font: 16px/1.15 'ProximaNova-Bold';
}

.order_success_page .checkout-success-contact p {
  max-width: 580px;
  margin: 4px 0 0;
  color: #65736c;
  font-size: 14px;
  line-height: 1.35;
}

.order_success_page .checkout-success-contact a {
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px;
  padding: 0 16px;
  color: #fff;
  background: var(--brand);
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.order_success_page .checkout-success-contact a:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.order_success_page .checkout-success-contact small {
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
}

.order_success_page .checkout-success-contact b {
  margin-top: 2px;
  font: 16px/1 'ProximaNova-Bold';
  white-space: nowrap;
}

.order_success_page .checkout-success-steps span {
  min-width: 82px;
  min-height: 78px;
  gap: 9px;
  color: #6f7974;
  font-size: 13px;
}

.order_success_page .checkout-success-steps span::before {
  top: 23px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cbd2ce 0 4px, transparent 4px 8px);
}

.order_success_page .checkout-success-steps span.done::before,
.order_success_page .checkout-success-steps span.active::before {
  background: repeating-linear-gradient(90deg, #48a824 0 4px, transparent 4px 8px);
}

.order_success_page .checkout-success-steps i {
  width: 48px;
  height: 48px;
  background-color: #eff1f0;
  background-image: none;
}

.order_success_page .checkout-success-steps i::after {
  content: "";
  width: 27px;
  height: 27px;
  background: #929a96;
  mask: var(--status-icon) center / contain no-repeat;
  -webkit-mask: var(--status-icon) center / contain no-repeat;
}

.order_success_page .checkout-success-steps span.done i {
  background-color: var(--brand);
  box-shadow: 0 8px 20px rgba(72, 168, 36, .16);
}

.order_success_page .checkout-success-steps span.done i::after {
  background: #fff;
}

.order_success_page .checkout-success-steps span.active i {
  background-color: #eaf6eb;
  box-shadow: 0 8px 20px rgba(18, 124, 79, .14);
}

.order_success_page .checkout-success-steps span.active i::after {
  background: var(--brand);
}

.order_success_page .checkout-success-steps span.active i {
  outline: 4px solid rgba(72, 168, 36, .15);
}

.order_success_page .checkout-success-steps [data-step="sent"] i { --status-icon: url('/assets/imgs/done_icon.png'); }
.order_success_page .checkout-success-steps [data-step="accepted"] i { --status-icon: url('/assets/imgs/shop_icon.png'); }
.order_success_page .checkout-success-steps [data-step="cooking"] i { --status-icon: url('/assets/imgs/cooking_icon.png'); }
.order_success_page .checkout-success-steps [data-step="ready"] i { --status-icon: url('/assets/imgs/dish_icon.png'); }
.order_success_page .checkout-success-steps [data-step="delivery"] i { --status-icon: url('/assets/imgs/courier_icon.png'); }
.order_success_page .checkout-success-steps [data-step="delivered"] i { --status-icon: url('/assets/imgs/mappoint_icon.png'); }

.order_success_page .checkout-success-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order_success_page .checkout-success-detail-card,
.order_success_page .checkout-success-detail-card.wide {
  min-height: 82px;
  grid-column: auto;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 14px;
  padding: 14px 18px;
  border: 1px solid #e8eeea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30, 73, 53, .045);
}

.order_success_page .checkout-success-detail-card::before {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #eaf6eb;
  background-size: 26px;
}

.order_success_page .checkout-success-detail-card[data-detail="items"]::before {
  background-image: none;
}

.order_success_page .checkout-success-detail-card[data-detail="items"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 29px;
  width: 26px;
  height: 26px;
  background: var(--brand);
  mask: url('/assets/imgs/dish_icon.png') center / contain no-repeat;
  -webkit-mask: url('/assets/imgs/dish_icon.png') center / contain no-repeat;
  transform: translateY(-50%);
}

.order_success_page .checkout-success-detail-card small {
  margin-top: 4px;
  color: #78847e;
  font-size: 13px;
}

.order_success_page .checkout-success-detail-card strong {
  margin-top: -4px;
  overflow-wrap: anywhere;
  color: #111b16;
  font: 19px/1.15 'ProximaNova-Bold';
}

.order_success_page .checkout-success-created-at {
  grid-column: 2;
  margin-top: 2px;
  color: #78847e;
  font: 11px/1.25 'ProximaNova-Regular';
  font-variant-numeric: tabular-nums;
}

.order_success_page .checkout-success-order-details {
  grid-column: 2;
  width: fit-content;
  margin-top: 7px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 2px;
  color: var(--brand);
  background: transparent;
  font: 13px/1 'ProximaNova-Bold';
  cursor: pointer;
}

.order_success_page .checkout-success-order-details:hover {
  color: var(--brand-dark);
}

.order_success_page .checkout-success-actions {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 1.15fr) minmax(140px, .8fr);
  gap: 12px;
  margin-top: 18px;
}

.order_success_page .checkout-success-actions a,
.order_success_page .checkout-success-message-button {
  min-height: 52px;
  border-radius: 14px;
}

.checkout-success-message-button,
.active-user-order-message {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #bedbcd;
  color: var(--brand-dark);
  background: #eef8f3;
  font: 16px/1 'ProximaNova-Bold';
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.checkout-success-message-button::before,
.active-user-order-message::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  mask: url('/assets/imgs/icons_svg/comment.svg') center / contain no-repeat;
  -webkit-mask: url('/assets/imgs/icons_svg/comment.svg') center / contain no-repeat;
}

.checkout-success-message-button:hover,
.active-user-order-message:hover {
  border-color: var(--brand);
  background: #e4f5ec;
  transform: translateY(-2px);
}

.checkout-success-message-button b,
.active-user-order-message b {
  min-width: 22px;
  height: 22px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 6px;
  color: #fff;
  background: #ef6c2f;
  font: 12px/1 Arial, sans-serif;
  box-shadow: 0 4px 10px rgba(239, 108, 47, .3);
}

.checkout-success-message-button b[hidden],
.active-user-order-message b[hidden] { display: none; }

.checkout-success-message-button.has-unread,
.active-user-order-message.has-unread {
  border-color: #efb08c;
  background: #fff5ed;
}

.order_success_page .checkout-success-primary {
  background: var(--brand);
}

.order_success_page .checkout-success-secondary {
  border: 1px solid #dbe4df;
  color: #17231d;
  background: #fff;
}

.order_success_page .checkout-success-carts {
  position: sticky;
  top: 20px;
  padding: 28px 22px 22px;
}

.order_success_page .checkout-success-subhead strong {
  color: #0e1c15;
  font: 26px/1.08 'ProximaNova-Bold';
}

.order_success_page .checkout-success-subhead span {
  margin-top: 7px;
  color: #75817b;
  font-size: 16px;
}

.order_success_page .checkout-next-cart-list {
  gap: 10px;
  margin-top: 22px;
}

.order_success_page .checkout-next-cart {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 90px;
  padding: 10px;
  border: 1px solid #e6ece8;
  border-radius: 14px;
  background: #fff;
}

.order_success_page .checkout-next-cart > img {
  width: 72px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
}

.order_success_page .checkout-next-cart a {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  color: #d85d12;
  background: #fff2e8;
}

@media (max-width: 1050px) {
  .order_success_page .checkout-success,
  .order_success_page .checkout-success.single {
    grid-template-columns: 1fr;
  }

  .order_success_page .checkout-success-carts {
    position: static;
  }
}

@media (max-width: 720px) {
  body.order_success_page {
    background-position: right top 78px;
    background-size: auto 420px;
  }

  .order_success_page .checkout-page {
    width: calc(100% - 20px);
    padding: 14px 0 24px;
  }

  .order_success_page .checkout-success-card {
    padding: 16px;
    border-radius: 18px;
  }

  .order_success_page .checkout-success-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 4px 2px 0;
  }

  .order_success_page .checkout-success h1 {
    margin-top: 22px;
    font-size: clamp(42px, 14vw, 58px);
  }

  .order_success_page .checkout-success-visual {
    min-height: 175px;
  }

  .order_success_page .checkout-success-bag {
    width: 156px;
    height: 172px;
    padding: 28px 52px 0 2px;
  }

  .order_success_page .checkout-success-bag > div,
  .order_success_page .checkout-success-bag img {
    width: 72px;
    max-width: 72px;
  }

  .order_success_page .checkout-success-steps {
    grid-template-columns: repeat(6, 92px);
    justify-content: start;
    padding: 20px 12px 16px;
  }

  .order_success_page .checkout-success-contact {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 13px;
  }

  .order_success_page .checkout-success-contact-icon {
    width: 42px;
    height: 42px;
  }

  .order_success_page .checkout-success-contact a {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .order_success_page .checkout-success-steps span::before {
    display: block;
  }

  .order_success_page .checkout-success-details {
    grid-template-columns: 1fr;
  }

  .order_success_page .checkout-success-detail-card,
  .order_success_page .checkout-success-detail-card.wide {
    min-height: 78px;
  }

  .order_success_page .checkout-success-actions {
    grid-template-columns: 1fr;
  }

  .order_success_page .checkout-success-carts {
    padding: 22px 16px 16px;
  }

  .order_success_page .checkout-next-cart {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .order_success_page .checkout-next-cart > img {
    width: 62px;
    height: 62px;
  }

  .order_success_page .checkout-next-cart a {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order_success_page .checkout-success-detail-card,
  .order_success_page .checkout-success-visual span,
  .order_success_page .checkout-success-steps span.active i {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Support page — payment relationship explained inside the shared public shell. */
.support_page .main-navigation a[href="/support"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #6ce3a8;
  text-underline-offset: 6px;
}

.support-page {
  min-height: 66vh;
  padding: 58px 0 72px;
  color: #101915;
  background: linear-gradient(-35deg, #f3fbf7, rgba(255, 255, 255, 0) 72%), url('/assets/imgs/header-partner-page_r_bckg.jpg') top right / 220px auto no-repeat, url('/assets/imgs/header-partner-page_l_bckg.jpg') bottom left / 240px auto no-repeat, #fff;
}

.support-page-inner { max-width: 1400px; }
.support-heading { margin-bottom: 34px; }
.support-heading h1 { margin: 0; font: clamp(44px, 4.4vw, 64px)/.96 'ProximaNova-Bold'; letter-spacing: -.03em; }
.support-heading p { margin: 14px 0 0; color: #536374; font-size: 22px; line-height: 1.25; }

.support-payment {
  padding: 28px 32px 24px;
  border: 1px solid #d9ebe1;
  border-radius: 14px;
  background: 
  linear-gradient(135deg, #f3fbf7, rgba(255, 255, 255, 0) 72%), 
  url('/assets/imgs/modal_bckg_top_r.jpg') top right / 220px auto no-repeat, 
  url('/assets/imgs/modal_bckg_bottom_l.jpg') bottom left / 240px auto no-repeat, 
  url('/assets/imgs/modal_bckg_bottom_r.jpg') bottom right / 200px auto no-repeat, 
  #fff;
  box-shadow: 0 10px 23px rgba(19, 52, 38, .08);
}

.support-payment-intro { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 24px; }
.support-icon { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 42px; color: #078549; background: #e2f6eb; border: 2px solid #FBFEFC; }
.support-icon::before { content: ''; width: 62px; height: 62px; display: block; background: currentColor; mask: center / contain no-repeat; -webkit-mask: center / contain no-repeat; }
.support-icon--payment::before { mask-image: url('/assets/imgs/creditcard_icon.png'); -webkit-mask-image: url('/assets/imgs/creditcard_icon.png'); }
.support-payment-intro h2 { margin: 0; font: clamp(34px, 3vw, 46px)/1 'ProximaNova-Bold'; letter-spacing: -.025em; }
.support-payment-intro p { margin: 14px 0 0; font-size: 22px; line-height: 1.3; }
.support-payment-intro strong { color: var(--brand); font-family: 'ProximaNova-Bold'; }

.support-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.support-fact { min-width: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-content: start; gap: 16px; padding: 24px 20px; border: 1px solid #dfe9e4; border-radius: 12px; background: #fff; }
.support-fact-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: #078549; background: #e2f6eb; font: 30px/1 'ProximaNova-Bold'; }
.support-fact-icon::before { content: ''; width: 34px; height: 34px; display: block; background: currentColor; mask: center / contain no-repeat; -webkit-mask: center / contain no-repeat; }
.support-fact--restaurant .support-fact-icon::before { mask-image: url('/assets/imgs/shop_icon.png'); -webkit-mask-image: url('/assets/imgs/shop_icon.png'); }
.support-fact--questions .support-fact-icon::before { mask-image: url('/assets/imgs/icons_svg/comment.svg'); -webkit-mask-image: url('/assets/imgs/icons_svg/comment.svg'); }
.support-fact--commission .support-fact-icon::before { content: none; }
.support-fact h3 { margin: 7px 0 0; font: 20px/1.2 'ProximaNova-Bold'; }
.support-fact p { margin: 14px 0 0; color: #5b6876; font-size: 17px; line-height: 1.4; }

.support-summary { min-height: 92px; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 22px; box-sizing: border-box; margin-top: 24px; padding: 18px 30px; border-radius: 12px; color: #095c36; background: #e4f5ec; }
.support-summary-icon { width: 48px; height: 48px; display: grid; place-items: center; }
.support-summary-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.support-summary p { margin: 0; font-size: 21px; line-height: 1.25; }
.support-summary strong { font-family: 'ProximaNova-Bold'; }

.support-contact { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 28px; padding: 22px 28px; border: 1px solid #dfe7e3; border-radius: 14px; background: #fff; box-shadow: 0 10px 23px rgba(19, 52, 38, .08); }
.support-contact-icon { width: 70px; height: 70px; display: block; border-radius: 50%; background: #e4f6ed; }
.support-contact-icon::before { content: ''; width: 36px; height: 36px; display: block; margin: 17px; background: var(--brand); mask: url('/assets/imgs/icons_svg/comment.svg') center / contain no-repeat; -webkit-mask: url('/assets/imgs/icons_svg/comment.svg') center / contain no-repeat; }
.support-contact h2 { margin: 0; font: 27px/1.05 'ProximaNova-Bold'; }
.support-contact p { max-width: 820px; margin: 6px 0 0; color: #63717f; font-size: 17px; line-height: 1.35; }
.support-contact button { min-height: 56px; display: inline-flex; align-items: center; gap: 12px; padding: 0 24px; border: 1px solid #b9d8c8; border-radius: 12px; color: var(--brand); background: #fff; font: 16px/1 'ProximaNova-Bold'; cursor: pointer; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.support-contact button:hover { color: #fff; background: var(--brand); transform: translateY(-2px); }
.support-contact button:focus-visible { outline: 3px solid rgba(23, 106, 75, .28); outline-offset: 3px; }
.support-service-contact { grid-template-columns: 82px minmax(0, 1fr); overflow: hidden; padding-top: 26px; padding-bottom: 26px; background: linear-gradient(112deg, #fff 0%, #fff 68%, #f0f9f4 100%); }
.support-service-copy { min-width: 0; }
.support-service-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.support-service-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 0 20px; border: 1px solid #b9d8c8; border-radius: 14px; font: 16px/1 'ProximaNova-Bold'; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.support-service-button b { margin-left: auto; font-size: 20px; font-weight: 400; }
.support-service-button img { width: 25px; height: 25px; object-fit: contain; }
.support-service-button.is-telegram { color: #fff; border-color: var(--brand); background: var(--brand); }
.support-service-button.is-chat { color: var(--brand); background: #fff; }
.support-service-button:hover { transform: translateY(-2px); }
.support-service-button.is-telegram:hover { border-color: var(--brand-dark); background: var(--brand-dark); }
.support-contact .support-service-button.is-chat:hover { color: #fff; background: var(--brand); }
.support-service-button:focus-visible { outline: 3px solid rgba(23, 106, 75, .25); outline-offset: 3px; }
.support-service-chat-icon { width: 25px; height: 25px; flex: 0 0 25px; background: currentColor; mask: url('/assets/imgs/icons_svg/comment.svg') center / contain no-repeat; -webkit-mask: url('/assets/imgs/icons_svg/comment.svg') center / contain no-repeat; }
.customer-chat-logo.is-support { padding: 6px; border: 0; background: #176a4b; width: 45px; height: 45px; flex: 0 0 45px; }
.support-search-icon { width: 24px; height: 24px; display: block; background: currentColor; mask: url('/assets/imgs/shop_icon.png') center / contain no-repeat; -webkit-mask: url('/assets/imgs/shop_icon.png') center / contain no-repeat; }

@media (max-width: 960px) {
  .support-facts { grid-template-columns: 1fr; }
  .support-contact { grid-template-columns: 70px minmax(0, 1fr); }
  .support-contact button { grid-column: 2; width: fit-content; }
  .support-service-contact { grid-template-columns: 70px minmax(0, 1fr); }
  .support-service-actions { grid-column: auto; }
}

@media (max-width: 600px) {
  .support-page { padding: 34px 0 46px; }
  .support-page-inner { padding-inline: 14px; }
  .support-heading { margin-bottom: 24px; }
  .support-heading h1 { font-size: 42px; }
  .support-heading p { margin-top: 9px; font-size: 18px; }
  .support-payment { padding: 20px 14px 16px; }
  .support-payment-intro { grid-template-columns: 62px minmax(0, 1fr); align-items: start; gap: 13px; }
  .support-icon { width: 62px; height: 62px; }
  .support-icon::before { width: 34px; height: 34px; }
  .support-payment-intro h2 { font-size: 29px; line-height: 1.04; }
  .support-payment-intro p { grid-column: 1 / -1; margin-top: 12px; font-size: 17px; }
  .support-facts { gap: 10px; margin-top: 18px; }
  .support-fact { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 17px 14px; }
  .support-fact-icon { width: 52px; height: 52px; font-size: 25px; }
  .support-fact-icon::before { width: 29px; height: 29px; }
  .support-fact h3 { margin-top: 3px; font-size: 18px; }
  .support-fact p { margin-top: 8px; font-size: 15px; }
  .support-summary { grid-template-columns: 44px minmax(0, 1fr); gap: 13px; margin-top: 14px; padding: 16px; }
  .support-summary-icon { width: 38px; height: 38px; }
  .support-summary p { font-size: 17px; }
  .support-contact { grid-template-columns: 54px minmax(0, 1fr); gap: 13px; margin-top: 16px; padding: 18px 14px; }
  .support-contact-icon { width: 52px; height: 52px; }
  .support-contact-icon::before { width: 28px; height: 28px; margin: 12px; }
  .support-contact h2 { font-size: 23px; }
  .support-contact p { grid-column: 1 / -1; font-size: 15px; }
  .support-contact button { grid-column: 1 / -1; width: 100%; justify-content: center; margin-top: 4px; }
  .support-service-contact { grid-template-columns: 52px minmax(0, 1fr); }
  .support-service-actions { grid-column: 1 / -1; flex-direction: column; margin-top: 15px; }
  .support-service-button { min-height: 52px; }
}

/* Active order statuses use the same visual language as /order-success. */
.active-user-order .checkout-success-steps.compact {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(76px, 1fr);
  gap: 0;
  margin: 10px 0 0;
  padding: 18px 12px 14px;
  overflow-x: auto;
  border: 1px solid #edf1ee;
  border-radius: 16px;
  background: #fff;
  scrollbar-width: thin;
}

.active-user-order .checkout-success-steps.compact span {
  min-width: 76px;
  min-height: 70px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  color: #6f7974;
  font-size: 12px;
}

.active-user-order .checkout-success-steps.compact span::before {
  top: 20px;
  display: block;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cbd2ce 0 4px, transparent 4px 8px);
}

.active-user-order .checkout-success-steps.compact span.done::before,
.active-user-order .checkout-success-steps.compact span.active::before {
  background: repeating-linear-gradient(90deg, #48a824 0 4px, transparent 4px 8px);
}

.active-user-order .checkout-success-steps.compact i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background-color: #eff1f0;
  background-image: none;
  box-shadow: none;
}

.active-user-order .checkout-success-steps.compact i::after {
  content: "";
  width: 23px;
  height: 23px;
  background: #929a96;
  mask: var(--status-icon) center / contain no-repeat;
  -webkit-mask: var(--status-icon) center / contain no-repeat;
}

.active-user-order .checkout-success-steps.compact span.done i {
  background-color: var(--brand);
  box-shadow: 0 7px 16px rgba(18, 124, 79, .16);
}

.active-user-order .checkout-success-steps.compact span.done i::after {
  background: #fff;
}

.active-user-order .checkout-success-steps.compact span.active i {
  outline: 4px solid rgba(18, 124, 79, .14);
  background-color: #eaf6eb;
  box-shadow: 0 7px 16px rgba(18, 124, 79, .12);
}

.active-user-order .checkout-success-steps.compact span.active i::after {
  background: var(--brand);
}

.active-user-order .checkout-success-steps [data-step="sent"] i { --status-icon: url('/assets/imgs/done_icon.png'); }
.active-user-order .checkout-success-steps [data-step="accepted"] i { --status-icon: url('/assets/imgs/shop_icon.png'); }
.active-user-order .checkout-success-steps [data-step="cooking"] i { --status-icon: url('/assets/imgs/cooking_icon.png'); }
.active-user-order .checkout-success-steps [data-step="ready"] i { --status-icon: url('/assets/imgs/dish_icon.png'); }
.active-user-order .checkout-success-steps [data-step="delivery"] i { --status-icon: url('/assets/imgs/courier_icon.png'); }
.active-user-order .checkout-success-steps [data-step="delivered"] i { --status-icon: url('/assets/imgs/mappoint_icon.png'); }

@media (max-width: 640px) {
  .active-user-order .checkout-success-steps.compact {
    grid-template-columns: none;
    grid-auto-columns: 82px;
    justify-content: start;
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .active-user-order .checkout-success-steps.compact span.active i {
    animation: none;
    transform: none;
  }
}

/* Active orders — composition from order_status.png. */
.active-user-orders {
  margin-top: 30px;
  margin-bottom: 48px;
}

.active-user-orders-head {
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.active-user-orders-head span {
  color: #091611;
  font: clamp(32px, 3.2vw, 48px)/1 'ProximaNova-Bold';
  letter-spacing: -.03em;
}

.active-user-orders-head strong {
  min-width: 42px;
  min-height: 42px;
  background: #48b62c;
  font-size: 18px;
}

.active-user-orders-list {
  grid-template-columns: 1fr;
}

.active-user-order {
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  padding: 26px 28px 24px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(26, 60, 43, .08);
}

.active-user-order-top {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) minmax(260px, .55fr) minmax(200px, .65fr);
  align-items: center;
  gap: 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e7ece9;
}

.active-user-order-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.active-user-order-main > img {
  width: 126px;
  height: 104px;
  border-radius: 14px;
  object-fit: cover;
}

.active-user-order-copy > strong {
  color: #0c1712;
  font: 24px/1.1 'ProximaNova-Bold';
}

.active-user-order-copy > span {
  margin-top: 8px;
  color: #7d8983;
  font-size: 17px;
}

.active-user-order-address {
  position: relative;
  margin: 12px 0 0;
  padding-left: 27px;
  color: #4f5c56;
  font-size: 15px;
  line-height: 1.3;
}

.active-user-order-address::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 20px;
  height: 20px;
  background: #56645e;
  mask: url('/assets/imgs/mappoint_icon.png') center / contain no-repeat;
  -webkit-mask: url('/assets/imgs/mappoint_icon.png') center / contain no-repeat;
}

.active-user-order-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 12px;
}

.active-user-order-summary em {
  grid-column: 1 / -1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  color: var(--brand);
  background: #e9f7ef;
}

.active-user-order-summary em::before {
  content: "";
  width: 23px;
  height: 23px;
  background: currentColor;
  mask: var(--current-status-icon) center / contain no-repeat;
  -webkit-mask: var(--current-status-icon) center / contain no-repeat;
}

.active-user-order-summary em[data-status-step="sent"] { --current-status-icon: url('/assets/imgs/done_icon.png'); }
.active-user-order-summary em[data-status-step="accepted"] { --current-status-icon: url('/assets/imgs/shop_icon.png'); }
.active-user-order-summary em[data-status-step="cooking"] { --current-status-icon: url('/assets/imgs/cooking_icon.png'); }
.active-user-order-summary em[data-status-step="ready"] { --current-status-icon: url('/assets/imgs/dish_icon.png'); }
.active-user-order-summary em[data-status-step="delivery"] { --current-status-icon: url('/assets/imgs/courier_icon.png'); }
.active-user-order-summary em[data-status-step="delivered"] { --current-status-icon: url('/assets/imgs/mappoint_icon.png'); }

.active-user-order-summary > span {
  margin: 8px 0 0;
}

.active-user-order-summary .active-user-order-time-icon {
  width: 22px;
  height: 22px;
  background: var(--brand);
  mask: url('/assets/imgs/time_icon.png') center / contain no-repeat;
  -webkit-mask: url('/assets/imgs/time_icon.png') center / contain no-repeat;
}

.active-user-order-summary > strong {
  margin-top: 8px;
  color: #101a15;
  font-size: 16px;
}

.active-user-order-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 999px;
  padding: 0 26px;
  color: #fff;
  background: var(--brand);
  font: 18px/1 'ProximaNova-Bold';
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(18, 124, 79, .17);
  transition: transform .2s ease, background-color .2s ease;
}

.active-user-order-link:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.active-user-order-link span {
  margin: 0;
  color: inherit;
  font-size: 25px;
}

.active-user-order-actions {
  display: grid;
  gap: 9px;
}

.active-user-order-message {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 15px;
}

.active-user-order .checkout-success-steps.compact {
  border: 0;
}

@media (max-width: 980px) {
  .active-user-order-top {
    grid-template-columns: minmax(0, 1fr) minmax(190px, .55fr);
  }

  .active-user-order-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .active-user-orders {
    margin-top: 22px;
    margin-bottom: 36px;
  }

  .active-user-orders-head span {
    font-size: 32px;
  }

  .active-user-orders-head strong {
    min-width: 36px;
    min-height: 36px;
    font-size: 16px;
  }

  .active-user-order {
    padding: 16px;
  }

  .active-user-order-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .active-user-order-main {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .active-user-order-main > img {
    width: 88px;
    height: 88px;
  }

  .active-user-order-copy > strong {
    font-size: 19px;
  }

  .active-user-order-copy > span {
    font-size: 15px;
  }

  .active-user-order-address {
    grid-column: 1 / -1;
    font-size: 14px;
  }

  .active-user-order-link {
    min-height: 54px;
    font-size: 16px;
  }

  .active-user-order-actions { width: 100%; }

  .active-user-order .checkout-success-steps.compact {
    margin-inline: -6px;
    padding: 6px 6px 8px;
  }
}

/* Paused restaurant: menu remains readable, ordering is unavailable. */
.restaurant-pause-notice {
  width: min(1180px, calc(100% - 40px));
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 24px auto 0;
  padding: 18px 22px;
  border: 1px solid #eadfce;
  border-radius: 16px;
  color: #372c21;
  background: #fff8ed;
  text-align: left;
}

.restaurant-pause-notice > i {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 50%;
  background: #8c6945;
}

.restaurant-pause-notice > i span {
  width: 6px;
  height: 23px;
  border-radius: 4px;
  background: #fff;
}

.restaurant-pause-notice strong {
  display: block;
  font: 20px/1.15 'ProximaNova-Bold';
}

.restaurant-pause-notice p {
  margin: 5px 0 0;
  color: #766654;
  font-size: 15px;
  line-height: 1.35;
}

.restaurant-page--paused .btn_notAvailable {
  max-width: 190px;
  color: #775938;
  background: #f6ead9;
  text-align: center;
}

/* Menu cards: unavailable dishes stay readable, but cannot be mistaken for orderable ones. */
.restaurant_page .restaurant-menu-box-foods-wrap .food_box.notAvailable {
  border: 1px solid #e3e7e4;
  background: #f7f8f7;
  box-shadow: 0 7px 20px rgba(20, 50, 37, .06);
}

.restaurant_page .restaurant-menu-box-foods-wrap .food_box.notAvailable:hover {
  transform: none;
  box-shadow: 0 7px 20px rgba(20, 50, 37, .06);
}

.restaurant_page .restaurant-menu-box-foods-wrap .food_box.notAvailable .food_header_box {
  position: relative;
  overflow: hidden;
  background: #39423e;
}

.restaurant_page .restaurant-menu-box-foods-wrap .food_box.notAvailable .food_pic_box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 22, 19, .1), rgba(15, 22, 19, .48));
  pointer-events: none;
}

.restaurant_page .restaurant-menu-box-foods-wrap .food_box.notAvailable .food_pic_box img {
  filter: grayscale(.58) saturate(.5) brightness(.78);
}

.restaurant_page .restaurant-menu-box-foods-wrap .food_box.notAvailable .food_content_box {
  color: #69716d;
}

.restaurant_page .restaurant-menu-box-foods-wrap .food_box.notAvailable .food_price {
  color: #69716d;
}

.food-unavailable-badge {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  box-sizing: border-box;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(29, 35, 32, .88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font: 14px/1.15 'ProximaNova-Semibold';
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
  backdrop-filter: blur(5px);
}

.food-unavailable-badge::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef795e;
}

.restaurant_page .restaurant-menu-box-foods-wrap .food_box.is-orders-paused .food-unavailable-badge {
  background: rgba(0, 0, 0, 0.4);
  border: none;
}

.restaurant_page .restaurant-menu-box-foods-wrap .food_box.is-orders-paused .food-unavailable-badge::before {
  background: #FFF;
}

@media (max-width: 768px) {
  .food-unavailable-badge {
    max-width: calc(100% - 16px);
    padding: 8px;
    font-size: 10px;
    white-space: normal;
  }
}

/* Complete not-found state inside the shared page shell. */
.not-found-page {
  min-height: calc(100vh - 116px);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: clamp(36px, 6vw, 84px) 20px;
  background:
    radial-gradient(circle at 14% 18%, rgba(31, 139, 88, .12), transparent 27%),
    radial-gradient(circle at 88% 74%, rgba(233, 164, 62, .1), transparent 24%),
    #f4f8f5;
}

.not-found-card {
  width: min(1080px, 100%);
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(330px, .88fr) minmax(420px, 1.12fr);
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(23, 63, 44, .12);
}

.not-found-visual {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 430px;
  overflow: hidden;
  padding: 40px;
  color: #fff;
  background: #06442c url('/assets/imgs/main_header_bckg_placeholder.webp') center / cover no-repeat;
  text-align: center;
  isolation: isolate;
}

.not-found-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(1, 31, 20, .92), rgba(5, 112, 67, .62)),
    url('/assets/imgs/main_header_bckg.jpg') center / cover no-repeat;
}

.not-found-visual strong {
  font: clamp(80px, 9vw, 96px)/.8 'ProximaNova-Bold';
  letter-spacing: -.04em;
  text-shadow: 0 12px 34px rgba(0, 23, 15, .32);
}

.not-found-visual > span {
  margin-top: 22px;
  color: rgba(255, 255, 255, .82);
  font: 16px/1.2 'ProximaNova-Semibold';
}

.not-found-content {
  align-self: center;
  padding: clamp(40px, 6vw, 72px);
}

.not-found-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}

.not-found-mark img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
}

.not-found-card h1 {
  margin: 0;
  color: #0c1812;
  font: clamp(38px, 5vw, 58px)/1.02 'ProximaNova-Bold';
  letter-spacing: -.03em;
  text-wrap: balance;
}

.not-found-copy {
  max-width: 520px;
  margin: 20px 0 0;
  color: #5c6f65;
  font-size: 18px;
  line-height: 1.5;
}

.not-found-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.not-found-actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 13px;
  padding: 0 22px;
  font: 15px/1 'ProximaNova-Bold';
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.not-found-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(8, 105, 62, .2);
}

.not-found-secondary {
  border: 1px solid #dce5e0;
  color: #17251e;
  background: #fff;
}

.not-found-actions a:hover {
  transform: translateY(-2px);
}

.not-found-primary:hover {
  color: #fff;
  background: #075f39;
  box-shadow: 0 16px 30px rgba(8, 105, 62, .26);
}

.not-found-secondary:hover {
  color: #0d5f3a;
  background: #f1f8f4;
}

.not-found-actions a:focus-visible {
  outline: 3px solid rgba(16, 126, 77, .28);
  outline-offset: 3px;
}

/* Delivery page — delivery-page_design.png refinement. */
.delivery-hero {
  min-height: 500px;
  background-image:
    linear-gradient(90deg, #f9fcfa 0%, rgba(249, 252, 250, .98) 27%, rgba(249, 252, 250, .82) 38%, rgba(249, 252, 250, .12) 59%, rgba(249, 252, 250, 0) 72%),
    url('/assets/imgs/header-delivery_bckg_placeholder.webp');
  background-position: center, center;
  background-size: cover, cover;
}

.delivery-hero::before {
  background-image:
    linear-gradient(90deg, #f9fcfa 0%, rgba(249, 252, 250, .98) 27%, rgba(249, 252, 250, .82) 38%, rgba(249, 252, 250, .12) 59%, rgba(249, 252, 250, 0) 72%),
    url('/assets/imgs/header-delivery_bckg.jpg');
  background-position: center, center;
  background-size: cover, cover;
}

.delivery-hero-copy {
  width: min(530px, 49%);
  padding: 32px 0 62px;
}

.delivery-hero-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--brand);
  font: 13px/1.2 'ProximaNova-Bold';
  letter-spacing: .13em;
  text-transform: uppercase;
}

.delivery-hero h1 {
  font-size: clamp(62px, 6.1vw, 88px);
}

.delivery-hero-copy > p {
  max-width: 500px;
  margin-top: 12px;
  font-size: clamp(25px, 2.2vw, 34px);
}

.delivery-hero-lead { display: flex; align-items: flex-start; gap: 12px; }
.delivery-hero-lead svg { width: 30px; height: 30px; flex: 0 0 30px; margin-top: 4px; fill: none; stroke: #df4050; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.delivery-hero-mobile-label,
.delivery-hero-title-mobile,
.delivery-hero-mobile-description,
.delivery-hero-mobile-note { display: none; }

.delivery-mobile-cta { display: none; }

.delivery-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.delivery-hero-actions a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-sizing: border-box;
  border-radius: 999px;
  padding: 0 28px;
  font: 16px/1 'ProximaNova-Bold';
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s ease;
}

.delivery-hero-actions svg { display: none; }

.delivery-primary-action {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 25px rgba(23, 106, 75, .18);
}

.delivery-hero-actions a:hover {
  transform: translateY(-2px);
}

.delivery-primary-action:hover {
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 16px 30px rgba(23, 106, 75, .24);
}

.delivery-hero-actions a:focus-visible {
  outline: 3px solid rgba(23, 106, 75, .3);
  outline-offset: 3px;
}

.delivery-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.delivery-info-card { min-width: 0; min-height: 210px; box-sizing: border-box; padding: 24px 28px; border: 1px solid rgba(24, 92, 65, .04); border-radius: 14px; background: rgba(255, 255, 255, .97); box-shadow: 0 15px 38px rgba(28, 66, 48, .08); }
.delivery-info-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: #07894d; background: #e1f7ed; }
.delivery-info-icon::before { content: ''; width: 36px; height: 36px; display: block; background: currentColor; mask: center / contain no-repeat; -webkit-mask: center / contain no-repeat; }
.delivery-info-card--courier .delivery-info-icon::before { mask-image: url('/assets/imgs/courier_icon.png'); -webkit-mask-image: url('/assets/imgs/courier_icon.png'); }
.delivery-info-card--price .delivery-info-icon { color: #ed7900; background: #fff0dc; }
.delivery-info-card--price .delivery-info-icon::before { content: none; }
.delivery-info-card--price .delivery-info-icon svg { width: 39px; height: 39px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.delivery-info-card--time .delivery-info-icon { color: #ec3154; background: #ffe7eb; }
.delivery-info-card--time .delivery-info-icon::before { mask-image: url('/assets/imgs/time_icon.png'); -webkit-mask-image: url('/assets/imgs/time_icon.png'); }
.delivery-info-card h2 { margin: 16px 0 0; color: #0b1511; font: 22px/1.08 'ProximaNova-Bold'; letter-spacing: -.012em; }
.delivery-info-card p { margin: 8px 0 0; color: #647789; font-size: 18px; line-height: 1.22; }

.delivery-advantages {
  padding: 4px 0 42px;
}

.delivery-advantages h2 {
  margin: 0 0 24px;
  color: #091812;
  font: clamp(36px, 3.8vw, 50px)/1.04 'ProximaNova-Bold';
  letter-spacing: -.03em;
}

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

.delivery-advantage {
  min-height: 168px;
  box-sizing: border-box;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(27, 68, 49, .07);
}

.delivery-advantage-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #df4050;
  background: #ffe8eb;
  font: 26px/1 'ProximaNova-Bold';
}

.delivery-advantage-icon::before {
  content: '';
  width: 27px;
  height: 27px;
  display: block;
  background: currentColor;
  mask: center / contain no-repeat;
  -webkit-mask: center / contain no-repeat;
}

.delivery-advantage--direct .delivery-advantage-icon,
.delivery-advantage--support .delivery-advantage-icon {
  color: var(--brand);
  background: #e6f5ec;
}

.delivery-advantage--direct .delivery-advantage-icon::before {
  mask-image: url('/assets/imgs/shop_icon.png');
  -webkit-mask-image: url('/assets/imgs/shop_icon.png');
}

.delivery-advantage--payment .delivery-advantage-icon {
  color: #b66b05;
  background: #fff0dc;
}

.delivery-advantage--payment .delivery-advantage-icon::before {
  mask-image: url('/assets/imgs/creditcard_icon.png');
  -webkit-mask-image: url('/assets/imgs/creditcard_icon.png');
}

.delivery-advantage--commission .delivery-advantage-icon::before {
  content: none;
}

.delivery-advantage--support .delivery-advantage-icon::before {
  mask-image: url('/assets/imgs/icons_svg/comment.svg');
  -webkit-mask-image: url('/assets/imgs/icons_svg/comment.svg');
}

.delivery-advantage h3 {
  margin: 12px 0 0;
  color: #101a16;
  font: 19px/1.05 'ProximaNova-Bold';
}

.delivery-advantage p {
  margin: 6px 0 0;
  color: #657681;
  font-size: 15px;
  line-height: 1.28;
}

.delivery-advantage-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--brand);
  font: 14px/1.2 'ProximaNova-Semibold';
  text-decoration: none;
}

.delivery-advantage-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.delivery-important {
  position: relative;
  min-height: 88px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 18px;
  padding: 14px 24px;
  border-radius: 14px;
  color: #26362f;
  background: #e8f7ef;
}

.delivery-important-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid #15965a;
  border-radius: 50%;
  color: #15965a;
  background: #fff;
  font: 27px/1 Georgia, serif;
}

.delivery-important h3 {
  margin: 0;
  color: #102019;
  font: 20px/1 'ProximaNova-Bold';
}

.delivery-important p {
  margin: 5px 0 0;
  color: #53685f;
  font-size: 14px;
  line-height: 1.35;
}

.delivery-important-courier {
  width: 106px;
  height: 76px;
  justify-self: end;
  background: #8fd6b2;
  mask: url('/assets/imgs/courier_icon.png') center / contain no-repeat;
  -webkit-mask: url('/assets/imgs/courier_icon.png') center / contain no-repeat;
  opacity: .62;
}

@media (max-width: 1040px) {
  .delivery-hero-copy { width: 53%; }
  .delivery-hero h1 { font-size: 64px; }
  .delivery-hero-copy > p { font-size: 24px; }
  .delivery-hero-actions a { padding-inline: 20px; font-size: 14px; }
  .delivery-info-card { padding-inline: 22px; }
  .delivery-info-card h2 { font-size: 20px; }
  .delivery-info-card p { font-size: 16px; }
  .delivery-advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-advantage { min-height: 148px; }
}

@media (max-width: 768px) {
  .delivery-page { padding-top: 0; }
  .delivery-hero {
    min-height: 610px;
    background-image:
      linear-gradient(90deg, rgba(249, 252, 250, .99) 0%, rgba(249, 252, 250, .96) 39%, rgba(249, 252, 250, .48) 66%, rgba(249, 252, 250, .08) 100%),
      url('/assets/imgs/header-delivery_bckg_placeholder.webp');
    background-position: center, 66% center;
    background-size: cover, auto 100%;
  }
  .delivery-hero::before {
    background-image: linear-gradient(110deg, rgba(249, 252, 250, .9) 0%, rgba(249, 252, 250, .86) 35%, rgba(249, 252, 250, .58) 50%, rgba(249, 252, 250, .01) 90%), url('/assets/imgs/header-delivery_bckg.jpg');
    background-position: center, 86% center;
    background-size: cover, auto 100%;
  }
  .delivery-hero-inner { position: relative; min-height: 610px; align-items: flex-start; box-sizing: border-box; padding: 36px 25px 24px; }
  .delivery-hero-copy { width: 100%; padding: 0; text-align: left; }
  .delivery-hero-kicker--desktop,
  .delivery-hero-title-desktop,
  .delivery-hero-lead--desktop { display: none; }
  .delivery-hero-mobile-label { width: fit-content; display: inline-flex; align-items: center; min-height: 38px; box-sizing: border-box; padding: 0 18px; border-radius: 999px; color: var(--brand); background: #e1f5eb; font: 15px/1 'ProximaNova-Semibold'; }
  .delivery-hero-title-mobile { display: inline; }
  .delivery-hero h1 { max-width: 340px; margin-top: 18px; font-size: clamp(36px, 10.5vw, 44px); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
  .delivery-hero-mobile-description { display: block; max-width: 225px; margin: 14px 0 0; color: #61798b; font-size: 21px; line-height: 1.22; }
  .delivery-hero-actions,
  .delivery-hero-mobile-note { display: none; }
  .delivery-mobile-cta { display: block; padding: 14px 24px 18px; background: #fff; }
  .delivery-mobile-cta a { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 14px; box-sizing: border-box; padding: 0 22px; border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 12px 25px rgba(23, 106, 75, .18); font: 17px/1 'ProximaNova-Bold'; text-decoration: none; }
  .delivery-mobile-cta svg { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .delivery-mobile-cta a span:last-child { margin-left: auto; font-size: 25px; }
  .delivery-mobile-cta p { margin: 10px 0 0; color: #748996; font-size: 14px; line-height: 1.2; text-align: center; }
  .delivery-process {
    margin-top: 0;
    padding: 0 10px 38px;
    background: #f5f9f7;
  }
  .delivery-process::before {
    content: '';
    width: 100%;
    height: 180px;
    display: block;
    background:
      linear-gradient(180deg, rgba(4, 46, 31, .04), rgba(4, 46, 31, .18)),
      url('/assets/imgs/main_header_bckg.jpg') 56% 48% / cover no-repeat;
      background-position: 80% 48%;
      border-radius: 20px 20px 0 0;
      background-size: 800px;
  }
  .delivery-process > .container {
    position: relative;
    margin-top: -22px;
    padding: 0;
  }
  .delivery-info-grid { grid-template-columns: 1fr; gap: 10px; }
  .delivery-info-card { min-height: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 15px; padding: 18px; background: #fff; box-shadow: 0 12px 28px rgba(22, 66, 47, .08); }
  .delivery-info-icon { grid-row: 1 / 3; width: 56px; height: 56px; }
  .delivery-info-icon::before { width: 31px; height: 31px; }
  .delivery-info-card--price .delivery-info-icon svg { width: 34px; height: 34px; }
  .delivery-info-card h2 { align-self: end; margin: 0; }
  .delivery-info-card p { align-self: start; margin-top: 5px; }
  .delivery-advantages { padding: 2px 12px 34px; }
  .delivery-advantages > .container { padding: 0; }
  .delivery-advantages h2 { margin-bottom: 18px; font-size: 34px; }
  .delivery-advantages-grid { gap: 10px; }
  .delivery-important { grid-template-columns: 46px minmax(0, 1fr); padding: 15px; }
  .delivery-important-courier { display: none; }
  .delivery-important p br { display: none; }
}

@media (max-width: 520px) {
  .delivery-hero,
  .delivery-hero::before { min-height: 490px; background-position: center, 86% center; background-size: cover, auto 100%; }
  .delivery-hero-inner { min-height: 610px; }
  .delivery-process::before { height: 156px; }
  .delivery-advantages h2 { font-size: 31px; }
  .delivery-advantages-grid { grid-template-columns: 1fr; }
  .delivery-advantage { min-height: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 13px; padding: 15px; }
  .delivery-advantage-icon { grid-row: 1 / 3; }
  .delivery-advantage h3 { align-self: end; margin: 0; }
  .delivery-advantage p { align-self: start; }
  .delivery-advantage-link { grid-column: 2; }
  .delivery-important { align-items: start; }
  .delivery-important-icon { width: 40px; height: 40px; }
  .delivery-important h3 { font-size: 18px; }
  .delivery-important p { font-size: 13px; }
}

@media (max-width: 900px) {
  .offer-card-badge {
    font-size: 17px;
  }
  .not-found-page {
    min-height: calc(100vh - 88px);
  }

  .not-found-card {
    grid-template-columns: minmax(260px, .8fr) minmax(370px, 1.2fr);
  }

  .not-found-content {
    padding: 40px;
  }
}

@media (max-width: 620px) {
  .restaurant-pause-notice {
    width: calc(100% - 20px);
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .restaurant-pause-notice > i {
    width: 48px;
    height: 48px;
  }

  .restaurant-pause-notice strong {
    font-size: 17px;
  }

  .restaurant-pause-notice p {
    font-size: 14px;
  }

  .not-found-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .not-found-visual {
    min-height: 210px;
    padding: 24px;
  }

  .not-found-mark {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
  }

  .not-found-visual strong {
    font-size: 82px;
  }

  .not-found-visual > span {
    margin-top: 14px;
    font-size: 14px;
  }

  .not-found-content {
    padding: 32px 20px;
    text-align: center;
  }

  .not-found-card h1 {
    font-size: 36px;
  }

  .not-found-copy {
    margin-top: 14px;
    font-size: 16px;
  }

  .not-found-actions {
    display: grid;
    margin-top: 26px;
  }
}
