/* ============================================================
   1. FONTS & RESET (ОДИН РАЗ)
   ============================================================ */
@font-face {
  font-display: swap;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/Flow/fonts/Ubuntu-Regular.woff2') format('woff2'),
       url('/wp-content/themes/Flow/fonts/Ubuntu-Regular.woff') format('woff');
}
@font-face {
  font-display: swap;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/Flow/fonts/Ubuntu-Medium.woff2') format('woff2'),
       url('/wp-content/themes/Flow/fonts/Ubuntu-Medium.woff') format('woff');
}
@font-face {
  font-display: swap;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/Flow/fonts/Ubuntu-Bold.woff2') format('woff2'),
       url('/wp-content/themes/Flow/fonts/Ubuntu-Bold.woff') format('woff');
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  margin: 0;
}

::-webkit-scrollbar { width: 0; height: 0; }
* { scrollbar-width: none; -ms-overflow-style: none; }

body {
	font-family: 'Ubuntu', sans-serif !important;
	font-size: 18px;
	line-height: 1.4;
	color: #5c5e6e;
	background: #fff;
	scroll-behavior: smooth;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#main {
    flex: 1;
}

a {
  color: #5c5e6e;
  text-decoration: none;
}
a:hover { color: #7eca1d; }
img {
  max-width: 100%;
  display: block;
  height: auto;
}
p {
  color: #5c5e6e;
  font-size: 18px;
  margin-top: 5px;
}
.disabled { 
	color:#7eca1d!important 
	}
.login-remember label { display: none; }

.button-primary {
  margin-top: 20px;
  display: inline-block;
  padding: 12px 32px;
  border: 0;
  border-radius: 32px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  background: #7eca1d;
  color: #fff;
}

/* ============================================================
   2. CONTAINERS & HELPERS
   ============================================================ */
.container {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
@media (min-width: 1330px) {
  .container { width: 1330px; }
}
.container--sm { max-width: 960px; }

/* Flex & Grid */
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.type--white { color: #fff; }
.type--mark { color: #7eca1d; }
.type--secondary { color: #9699a8; }
.type--main { color: #5c5e6e; }
.type--w700 { font-weight: 700; }
.type--w500 { font-weight: 500; }
.type--lgx { font-size: 44px; line-height: 1.2; }
.type--md { font-size: 20px; }
.type--sm { font-size: 12px; }
.type--smm { font-size: 14px; }

/* Spacing */
.m-0 { margin: 0; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-100 { margin-bottom: 100px; }
.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.p-24 { padding: 24px; }
.p-32 { padding: 32px; }
.pt-20 { padding-top: 20px; }
.pb-8 { padding-bottom: 8px; }
.pb-16 { padding-bottom: 16px; }
.pr-16 { padding-right: 16px; }
.pl-16 { padding-left: 16px; }
.pl-20 { padding-left: 20px; }
.pd48-32 { padding: 48px 32px; }
.psh-16 { padding-left: 16px; padding-right: 16px; }
.psh-8 { padding-left: 8px; padding-right: 8px; }
.psv-8 { padding-top: 8px; padding-bottom: 8px; }

/* Borders */
.br-8 { border-radius: 8px; }
.br-12 { border-radius: 12px; }
.br-16 { border-radius: 16px; }
.br-24 { border-radius: 24px; }
.br-50 { border-radius: 50%; }
.bor { border-right: 1px solid #dcdfe8; }
.bor-b { border-bottom: 1px solid #dcdfe8; }
.bor-r { border-right: 1px solid #dcdfe8; }
.bor--border { border-color: #dcdfe8; }
.overflow-hidden { overflow: hidden; }

/* Backgrounds */
.bg-white { background: #fff; }
.bg--greenDark, .bg--greenPrimary { background: #7eca1d; }
.bg--navy { background: #001970; }
.bg--pink { background: #ff6889; }
.bg--violet { background: #6b33b2; }
.bg--coral { background: #ff4f4f; }
.bg--sea { background: #1dd0c7; }
.bg--gradient { background: linear-gradient(98.95deg, #e3eeff, #e4f6e4 52.6%, #ffeee4); }

.w100 { width: 100%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w40 { width: 40%; }
.w-fc { width: fit-content; }
.h-auto { height: auto; }
.obj-cov { object-fit: cover; }
.pos-r { position: relative; }
.ta { text-align: center; }

/* Line Height */
.lh-1 { line-height: 1; }
.lh-1-1 { line-height: 1.1; }
.lh-1-2 { line-height: 1.2; }
.lh-1-3 { line-height: 1.3; }
.lh-1-4 { line-height: 1.4; }
.lh-1-5 { line-height: 1.5; }
.lh-1-6 { line-height: 1.6; }
.lh-1-7 { line-height: 1.7; }
.lh-1-8 { line-height: 1.8; }
.lh-2 { line-height: 2; }
.lh-20 { line-height: 20px; }
.lh-24 { line-height: 24px; }
.lh-28 { line-height: 28px; }
.lh-32 { line-height: 32px; }
.lh-36 { line-height: 36px; }
.lh-40 { line-height: 40px; }
.lh-44 { line-height: 44px; }
.lh-48 { line-height: 48px; }
.lh-52 { line-height: 52px; }
.lh-56 { line-height: 56px; }
.lh-60 { line-height: 60px; }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.gtranslate_wrapper {
	display: flex;
    gap: 8px;
}

a.glink {
	width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #d0d7de;
    background: transparent;
    color: #57606a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.glink.gt-current-lang {
	border-color: #7eca1d;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 32px;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 17px 48px;
  font-size: 16px;
  line-height: 1.4;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn--mark {
  background: #7eca1d;
  color: #fff;
}
.btn--mark:hover:not(:disabled) { background: #65a217; }

.btn--white {
  background: #fff;
  color: #5c5e6e;
}
.btn--white:hover { background: #f0f0f0; }

.btn--light {
  background: #fff;
  border: 1px solid #dcdfe8;
  color: #7eca1d;
}
.btn--light:hover { background: #f3f8ed; border-color: #7eca1d; }

.btn--empty {
  background: transparent;
  border: 1px solid #dcdfe8;
  color: #7eca1d;
}
.btn--empty:hover { background: #f3f8ed; border-color: #7eca1d; }

.btn--sm {
  padding: 12px 30px;
  font-weight: 500;
  font-size: 18px;
}
.btn--md {
  padding: 17px 20px;
  font-weight: 700;
  font-size: 18px;
}
.btn--full {
  display: block;
  width: 100%;
}

.btn--primary {
  background: #7eca1d;
  color: #fff;
}
.btn--primary:hover { background: #65a217; }

.btn--outline {
  background: transparent;
  border: 2px solid #7eca1d;
  color: #7eca1d;
}
.btn--outline:hover { background: #f8faf5; }

.btn--secondary {
  background: #f5f5f5;
  color: #1E2A1E;
}
.btn--secondary:hover { background: #e8e8e8; }

.link--mark { color: #7eca1d; }
.link--mark:hover { color: #65a217; }

/* ============================================================
   4. FORM ELEMENTS
   ============================================================ */
.input {
  background: #f1f2f6;
  border: 1px solid #dcdfe8;
  border-radius: 4px;
  padding: 12px 20px;
  width: 100%;
  font-family: inherit;
  transition: 0.3s;
}
.input:focus {
  background: #fff;
  border-color: #7eca1d;
  outline: none;
}
.input-row { margin-bottom: 20px; }

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 6px;
}
.checkbox input { display: none; }
.checkbox__mark {
  width: 24px;
  height: 24px;
  border: 2px solid #dcdfe8;
  border-radius: 4px;
  flex-shrink: 0;
  transition: 0.3s;
  position: relative;
}
.checkbox input:checked + .checkbox__mark {
  background: #7eca1d;
  border-color: #7eca1d;
}
.checkbox input:checked + .checkbox__mark::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Radio */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px 16px;
  border: 1px solid #dcdfe8;
  border-radius: 12px;
  transition: 0.3s;
  flex: 1;
  min-width: 120px;
}
.radio-group label.active {
  border-color: #7eca1d;
  background: #f3f8ed;
}
.radio-group input { display: none; }
.radio-group .radio__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #dcdfe8;
  flex-shrink: 0;
  transition: 0.3s;
}
.radio-group input:checked + .radio__dot {
  border-color: #7eca1d;
  background: #7eca1d;
  box-shadow: inset 0 0 0 4px #fff;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #dcdfe8;
  border-radius: 24px;
  font-weight: 700;
  font-size: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.tag:hover {
  background: #f3f8ed;
  border-color: #7eca1d;
}
.tag--active {
  background: #7eca1d;
  border-color: #7eca1d;
  color: #fff;
}
.tag--orange { color: #ff7b27; }
.tag--orange:hover {
  background: #fff5ee;
  border-color: #ff7b27;
}
.tag--orange.tag--active {
  background: #ff7b27;
  color: #fff;
}

/* Slider controls */
.slider-control {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: 0.3s;
  border: 0;
}
.slider-control:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.slider-control--light {
  background: transparent;
  border: 1px solid #dcdfe8;
}
.slider-control--light:hover {
  background: #fff;
  border-color: #fff;
}

/* ============================================================
   5. MODAL WINDOWS (ЕДИНЫЙ СТИЛЬ)
   ============================================================ */
.hdpc-modal,
.dish-modal,
.program-modal,
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hdpc-modal.active,
.dish-modal.active,
.program-modal.active,
.modal.active {
  display: flex !important;
}

.hdpc-modal-overlay,
.dish-modal-overlay,
.program-modal-overlay,
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
}

.hdpc-modal-content,
.dish-modal-content,
.program-modal-content,
.modal-window {
    background: #fff;
    border-radius: 16px;
    max-width: 400px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
	z-index: 10000;
}

.hdpc-modal-close,
.dish-modal-close,
.program-modal-close,
.modal-close { 
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #333;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  line-height: 1;
}
.hdpc-modal-close:hover,
.dish-modal-close:hover,
.program-modal-close:hover,
.modal-close:hover {
  transform: scale(1.05);
  background: #ffffff;
}

.hi {
	font-size:20px; color:#7eca1d; display:block; margin-top:4px; margin-bottom:10px;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   6. HEADER
   ============================================================ */
.header {
  background: #fff;
  border-bottom: 1px solid #dcdfe8;
}
.header__inner {
  padding: 20px 20px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.header__logo { flex-shrink: 0; }
.header__logo img { width: 180px; height: auto; }
.header__info {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
  font-size: 18px;
  color: #d0d7de;
  text-align: right;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.header__lang { display: flex; align-items: center; gap: 8px; }
.header__user {
  display: flex;
  gap: 8px;
  align-items: center;
}
.header__user-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.header__user-link svg {
  width: 30px;
  height: 30px;
  fill: #5c5e6e;
}
.header__user-balance { font-weight: 500; line-height: 1; }
.header__user-balance--empty { color: #999; }
.header__user-greeting {
  font-size: 18px;
  color: #5c5e6e;
  margin-right: 8px;
}
.header__cart {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}
.header__cart svg {
  width: 35px;
  height: 35px;
  fill: #5c5e6e;
}
.header__cart-badge {
  margin-right: 20px;
  color: #7eca1d;
  font-weight: 700;
}
.header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  color: #1E2A1E;
  line-height: 1;
  transition: transform 0.3s ease;
}
.header__mobile-toggle:hover { transform: scale(1.05); }
.header__mobile-toggle svg { width: 26px; height: 26px; }
.header__nav {
  padding: 0px 20px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Desktop menu */
.desktop-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-size: 20px;
  font-weight: 500;
}
.desktop-menu a {
  color: #5c5e6e;
  text-decoration: none;
  transition: color 0.3s ease;
}
.desktop-menu a:hover,
.desktop-menu a:focus { color: #5c5e6e; }
.desktop-menu .current-menu-item a,
.desktop-menu .current_page_item a { color: #5c5e6e; }

/* Header modifiers */
.header--one .header__info { margin-bottom: 0; }
.header__info-text { font-size: 18px; }
.header--one .header__nav { padding: 12px 20px 24px; }

/* ============================================================
   7. LANGUAGE SWITCH
   ============================================================ */
.language-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.lang-circles {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-right: 50px;
}
.lang-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d0d7de;
  background: transparent;
  color: #57606a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-circle:hover {
  border-color: #8b949e;
  color: #1a1a2e;
}
.lang-circle.active a {
  border-color: #7eca1d;
  color: #7ECA1D;
}
.lang-circle.active {
  border-color: #7eca1d;
}

.toggle-switch {
  --width: 65px;
  --height: 40px;
  --padding: 2px;
  --handle-size: calc(var(--height) - var(--padding) * 2);
  display: inline-block;
  outline-width: 0;
}
.toggle-switch > input {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
}
.toggle-switch label {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 30px;
  cursor: pointer;
}
.toggle-switch .area {
  padding: 4px;
  margin: -4px;
}
.toggle-switch .background {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  width: var(--width);
  height: var(--height);
  border-radius: var(--height);
  padding: 0 var(--padding);
  vertical-align: text-bottom;
  user-select: none;
  background-color: #d0d7de;
  overflow: hidden;
  transition: background-color 0.15s ease;
}
.toggle-switch .handle {
  width: var(--handle-size);
  height: var(--handle-size);
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.toggle-switch input:checked + label .area .background {
  background-color: #7eca1d;
}
.toggle-switch input:checked + label .area .handle {
  transform: translateX(calc(var(--width) - var(--handle-size)));
}
.toggle-switch:focus .area { outline: 1px dotted gray; }
.toggle-switch:active .area { outline-width: 0; }
.toggle-switch:focus .background,
.area:hover .background { background-color: #d0d7de; }

/* ============================================================
   8. MOBILE MENU
   ============================================================ */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  z-index: 9999;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.6);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu::-webkit-scrollbar { width: 4px; }
.mobile-menu::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
.mobile-menu::-webkit-scrollbar-thumb {
  background: rgba(126, 202, 29, 0.3);
  border-radius: 10px;
}
.mobile-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(126, 202, 29, 0.5);
}
.mobile-menu { scrollbar-width: thin; scrollbar-color: rgba(126, 202, 29, 0.3) rgba(255, 255, 255, 0.02); }
.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.mobile-menu__title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.mobile-menu__close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}
.mobile-menu__close:hover {
  color: #ffffff;
  transform: rotate(90deg);
}
.mobile-menu__lang {
  display: flex;
  justify-content: center;
  padding: 16px 0 8px;
}
.mobile-menu__body {
  padding: 16px 0 32px;
  flex: 1;
  overflow-y: auto;
}
.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu__list li { margin: 0; padding: 0; }
.mobile-menu__list a {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 0.3px;
}
.mobile-menu__list a:hover,
.mobile-menu__list a:focus {
  background: rgba(126, 202, 29, 0.12);
  color: #7eca1d;
  padding-left: 28px;
}
.mobile-menu__list a:active {
  background: rgba(126, 202, 29, 0.2);
  color: #7eca1d;
}
.mobile-menu__list .current-menu-item a,
.mobile-menu__list .current_page_item a {
  color: #5c5e6e;
  background: #e1ffda;
}
.mobile-menu__list a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  margin-right: 14px;
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}
.mobile-menu__list a:hover::before {
  background: #7eca1d;
  transform: scale(1.3);
}
.mobile-menu__list .current-menu-item a::before,
.mobile-menu__list .current_page_item a::before {
  background: #5c5e6e;
  transform: scale(1.3);
}
.mobile-menu__footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  flex-shrink: 0;
}
.mobile-menu__footer .social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.mobile-menu__footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  text-decoration: none;
}
.mobile-menu__footer .social-links a:hover {
  background: rgba(126, 202, 29, 0.15);
  color: #7eca1d;
  transform: translateY(-2px);
}
.mobile-menu__footer .social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================================
   9. SECTIONS
   ============================================================ */
.section { padding: 30px 0; }
.section-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
}
.section--gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
}
.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 2.5rem;
}

/* ============================================================
   10. HERO
   ============================================================ */
.hero-slide {
  padding: 60px 0;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-slide__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-slide__content {
  flex: 1;
  min-width: 280px;
}
.hero-slide__title {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-slide__subtitle {
  font-size: 22px;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
}
.hero-slide__image {
  flex: 1;
  min-width: 200px;
}

/* Hero badge (3.php) */
.food-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 16px;
}
.hero-image-with-badge {
  position: relative;
  min-height: 300px;
  background-image: url('/wp-content/themes/Flow/img/angel-food-group.webp');
  background-size: cover;
  background-position: center;
}

/* ============================================================
   11. HOW IT WORKS
   ============================================================ */
/* ============================================================
   HOW IT WORKS - MOBILE SCROLL
   ============================================================ */

/* Базовые стили для десктопа (оставляем как есть) */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

/* Мобильная версия - горизонтальный скролл */
@media (max-width: 768px) {
  .how-it-works {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: 16px;
    padding: 4px 4px 16px 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  /* Скрываем скроллбар в Chrome/Safari */
  .how-it-works::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .how-it-works__item {
    flex: 0 0 220px;
    min-width: 200px;
    max-width: 80%;
    scroll-snap-align: start;
    padding: 20px 16px;
    margin: 0;
  }

  .how-it-works__image {
    max-width: 120px;
    margin: 0 auto 12px;
  }

  .how-it-works__title {
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .how-it-works__text {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .how-it-works {
    gap: 12px;
    padding: 4px 4px 16px 4px;
  }

  .how-it-works__item {
    flex: 0 0 180px;
    min-width: 80%;
    padding: 16px 12px;
  }

  .how-it-works__image {
    max-width: 90px;
  }

  .how-it-works__title {
    font-size: 15px;
  }

  .how-it-works__text {
    font-size: 12px;
  }
}
.how-it-works__item {
  background: #fff;
  border: 1px solid #dcdfe8;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: 0.3s;
}
.how-it-works__item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.how-it-works__image {
  max-width: 180px;
  margin: 0 auto 16px;
}
.how-it-works__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}
.how-it-works__text { color: #5c5e6e; }

/* ============================================================
   12. PROGRAMS (категории, карточки, блюда)
   ============================================================ */
.program-categories {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  flex-wrap: nowrap;
}
.program-category {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #f1f2f6;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}
.program-category.active {
  background: #7eca1d;
  color: #fff;
  border-color: #7eca1d;
}
.program-category svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Program list */
.program-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.program-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dcdfe8;
  transition: 0.3s;
  background: #fff;
}
.program-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.program-card__header {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 140px;
}
.program-card__icon {
  width: 80px;
  height: auto;
}
.program-card__info {
  flex: 1;
}
.program-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.program-card__kcal {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  display: block;
}
.program-card__price {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin-top: 8px;
}
.program-card__actions {
  display: flex;
  border-top: 1px solid #dcdfe8;
}
.program-card__actions>* {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-weight: 500;
  transition: 0.3s;
  border-right: 1px solid #dcdfe8;
}
.program-card__actions>*:last-child {
  border-right: 0;
}
.program-card__link {
  color: #9699a8;
}
.program-card__link:hover {
  color: #7eca1d;
}
.program-card__order {
  color: #7eca1d;
}
.program-card__order:hover {
  background: #f3f8ed;
}

/* Plan groups */
.plan-group {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 16px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
  animation: fadeIn 0.4s ease;
}
.plan-group::-webkit-scrollbar { display: none; }
.plan-group .program-card-wrapper {
  flex: 0 0 auto;
  min-width: 220px;
  max-width: 280px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Program card wrapper */
.program-card-wrapper .br-16 {
  background: #fff;
  border-radius: 16px !important;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 0 !important;
}
.program-card-wrapper .pt-20 {
  padding: 16px 16px 12px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  border-radius: 16px 16px 0 0;
  min-height: 100px;
}
.program-card-wrapper .w40 {
  width: 56px !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.program-card-wrapper .w40 img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}
.program-card-wrapper .w60 {
  width: auto !important;
  flex: 1;
}
.program-card-wrapper .type--24 {
  font-size: 18px !important;
  line-height: 1.2;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}
.program-card-wrapper .type--16 {
  font-size: 14px !important;
  opacity: 0.85;
  margin-bottom: 6px !important;
}
.program-card-wrapper .br-12 {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 4px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-block;
  width: auto !important;
}
.program-card-wrapper .sm__show { display: none !important; }

.program-card-wrapper .br-16::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0 0 16px 16px;
  background: transparent;
  transition: background 0.3s ease;
}
.program-card-wrapper.active .br-16 {
  border-color: #2d9b4e;
  box-shadow: 0 8px 24px rgba(45, 155, 78, 0.15);
}
.program-card-wrapper.active .br-16::after {
  height: 4px;
  opacity: 1;
}
.program-card-wrapper:not(.active) .br-16::after { opacity: 0.3; }
.program-card-wrapper:not(.active):hover .br-16::after { opacity: 0.7; }

.program-group__el {
  position: relative;
  cursor: pointer;
  padding-bottom: 10px;
}
.program-group__el::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}
.program-group__el.active::after { background: #7eca1d; }
.program-group__el:not(.active):hover::after { background: #dcdfe8; }
.program-group__el-name {
  font-size: 24px;
  color: #5c5e6e;
  font-weight: 700;
}

/* Program group cards (horizontal scroll) */
.program-group-wrap-cards .main-cont {
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
.program-group-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.program-group-cards::-webkit-scrollbar { display: none; }
.program-group-cards > div {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.program-group-cards .br-16 {
  background: #fff;
  border-radius: 16px !important;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 0 !important;
}
.program-group-cards .pt-20 {
  padding: 16px 16px 12px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  border-radius: 16px 16px 0 0;
  min-height: 100px;
}
.program-group-cards .w40 {
  width: 56px !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.program-group-cards .w40 img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}
.program-group-cards .w60 {
  width: auto !important;
  flex: 1;
}
.program-group-cards .type--24 {
  font-size: 18px !important;
  line-height: 1.2;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}
.program-group-cards .type--16 {
  font-size: 14px !important;
  opacity: 0.85;
  margin-bottom: 6px !important;
}
.program-group-cards .br-12 {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 4px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-block;
  width: auto !important;
}
.program-group-cards .sm__show { display: none !important; }
.program-group-cards .br-16::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0 0 16px 16px;
  background: transparent;
  transition: background 0.3s ease;
}
.program-group-cards > div[sort="10"] .br-16::after { background: #2d9b4e; }
.program-group-cards > div[sort="20"] .br-16::after { background: #1a3a5c; }
.program-group-cards > div[sort="30"] .br-16::after { background: #2d9b4e; }
.program-group-cards > div[sort="40"] .br-16::after { background: #1a3a5c; }
.program-group-cards > div[sort="50"] .br-16::after { background: #d4698a; }
.program-group-cards > div.active .br-16 {
  border-color: #2d9b4e;
  box-shadow: 0 8px 24px rgba(45, 155, 78, 0.15);
}
.program-group-cards > div.active .br-16::after {
  height: 4px;
  opacity: 1;
}
.program-group-cards > div:not(.active) .br-16::after { opacity: 0.3; }
.program-group-cards > div:not(.active):hover .br-16::after { opacity: 0.7; }

/* Dishes */
.dishesContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
  width: 100%;
}
.dish-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dcdfe8;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    cursor: pointer;
    min-height: 120px;
}
.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.dish-card .dishName { font-size: 16px; font-weight: 500; line-height: 1.2; margin-bottom: 5px; }
.dish-card .slotLabel {
  color: #5c5e6e;
  font-size: 14px;
}

/* Dish KBJU card */
.dish-card-kbju,
.program-kbju {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #dcdfe8 !important;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.program-kbju {
  grid-column: 1 / -1;
  margin-top: 0;
}
.program-kbju .f-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #dcdfe8;
}
.program-kbju .type--secondary {
  color: #9699a8;
  font-weight: 400;
  font-size: 16px;
}
.program-kbju .type--w700 {
  font-weight: 700;
  font-size: 16px;
  color: #1E2A1E;
}
.program-banner__cost { margin: 8px 0 12px 0; }
.program-banner__cost .type--mdx {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #1E2A1E;
}
.program-kbju .btn--sm {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  display: block;
  text-align: center;
  width: 100%;
}

.kbju-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #dcdfe8;
}
.kbju-item--last { margin-bottom: 16px; }
.kbju-label { color: #5c5e6e; }
.kbju-value { font-weight: 400; }
.dish-price {
  text-align: center;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 24px;
}
.price-per-day {
  font-size: 14px;
  font-weight: normal; 
}
.dish-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-direction: column;
}
.order-btn,
.program-about-btn {
  display: block;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.program-modal-info { padding: 20px 18px 24px; }

/* ============================================================
   13. REVIEWS
   ============================================================ */
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #dcdfe8;
}
.review-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.review-card__image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.review-card__image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.review-card__label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #fff;
  padding: 2px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
}
.review-card__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.review-card__stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.review-card__stats>div {
  background: #f3f8ed;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.review-card__stat-label {
  color: #5c5e6e;
  margin-right: 4px;
}
.review-card__text {
  color: #5c5e6e;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Reviews scroll (horizontal with drag) */
.reviews-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 10px 5px 25px 5px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
}
.reviews-scroll:active { cursor: grabbing; }
.reviews-scroll::-webkit-scrollbar { display: none; }
.reviews-scroll .review-card {
  flex: 0 0 340px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  user-select: none;
}
.reviews-scroll .review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.reviews-scroll .review-card__user { display: flex; flex-direction: column; }
.reviews-scroll .review-card__name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
}
.reviews-scroll .review-card__location {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 2px;
}
.reviews-scroll .review-card__rating {
  display: flex;
  gap: 2px;
  font-size: 1.3rem;
  color: #ffb800;
  white-space: nowrap;
}
.reviews-scroll .review-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: #2d2d3f;
  margin: 0 0 16px 0;
  flex-grow: 1;
  font-style: italic;
  user-select: none;
}
.reviews-scroll .review-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.reviews-scroll .tag {
  background: #f1f3f5;
  color: #495057;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 30px;
  border: 1px solid #e9ecef;
  white-space: nowrap;
}
.review-note {
  text-align: center;
  font-size: 0.85rem;
  color: #868e96;
  margin-top: 20px;
}

/* ============================================================
   14. COMPARISON
   ============================================================ */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.comparison__column {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #dcdfe8;
}
.comparison__title {
  font-size: 24px;
  font-weight: 700;
  padding: 24px 32px;
}
.comparison__title--gray { background: #f1f2f6; }
.comparison__title--green {
  background: #7eca1d;
  color: #fff;
}
.comparison__item {
  padding: 20px 32px;
  display: flex;
  gap: 16px;
  border-bottom: 1px dashed #f1f2f6;
}
.comparison__item:last-child { border-bottom: 0; }
.comparison__icon { font-size: 24px; flex-shrink: 0; }
.comparison__icon--error { color: #d00025; }
.comparison__icon--success { color: #7eca1d; }
.comparison__label {
  display: block;
  font-size: 14px;
  color: #9699a8;
  margin-bottom: 4px;
}
.comparison__value { font-weight: 500; }

/* ============================================================
   15. ORDER FORM
   ============================================================ */
.order-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.order-card__header {
  padding: 22px 28px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.order-card__title {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  flex: 1;
  line-height: 50px;
}
.order-card__badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  color: #fff;
  font-weight: 500;
}
.order-card__image {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 220px;
  height: 220px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}
.order-card__body { padding: 32px 48px; }

.order-duration__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.order-duration__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #dcdfe8;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.order-duration__option.active {
  border-color: #7eca1d;
  background: #f3f8ed;
}
.order-duration__option input { display: none; }
.order-duration__discount {
  color: #7eca1d;
  font-weight: 700;
  margin-left: auto;
}

.order-payment-type {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid #dcdfe8;
  margin-top: 12px;
}
.order-payment-type__label { font-weight: 700; }
.order-payment-type__info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff7b27;
  font-size: 14px;
}
.order-divider {
  border: 0;
  border-top: 1px solid #dcdfe8;
  margin: 24px 0;
}
.order-total {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.order-total__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #dcdfe8;
}
.order-total__row:last-child { border-bottom: 0; }
.order-total__row--total {
  font-weight: 700;
  font-size: 20px;
}
.order-total__value--mark { color: #7eca1d; }

.order-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  border-top: 1px solid #dcdfe8;
  padding-top: 24px;
  justify-content: center;
}
.slotLabel { color: #5c5e6e; font-size: 14px; }
.order-footer__text {
  flex: 1;
  font-size: 14px;
  color: #5c5e6e;
  min-width: 200px;
  text-align: center;
}
.order-12 { grid-template-columns: 1fr 1fr; }

/* Order info in modal */
.order-info {
  background: #f8faf5;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.order-info .info-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}
.order-info .info-row--hidden { display: none; }
.order-info .info-label { color: #5c5e6e; }
.order-info .info-value { font-weight: 600; }
.order-info .info-value--green { color: #7eca1d; }
.order-info .info-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 2px solid #dcdfe8;
}
.order-info .info-total .total-price { color: #f8a34c; }
.order-info .info-note {
  font-size: 11px;
  color: #9699a8;
  margin-top: 8px;
}

.flowmaps-marker {
    font-size: 36px !important;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Order form */
.order-form .form-group { margin-bottom: 16px; }
.order-form .form-group--address { margin-bottom: 12px; }
.order-form .form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #1E2A1E;
}
.order-form .form-label .required { color: #c62828; }
.order-form .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dcdfe8;
  border-radius: 12px;
  font-size: 14px;
  transition: border-color 0.3s;
  box-sizing: border-box;
  outline: none;
}
.order-form .form-input:focus { border-color: #7eca1d; }
.order-form .form-input::placeholder { color: #b0b3c0; }
.order-form .form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.order-form .form-error {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  background: #ffebee;
  border-radius: 8px;
  color: #c62828;
  font-size: 14px;
}
.order-form .form-error--visible { display: block; }
.order-form .form-input--hidden { display: none; }

/* ============================================================
   16. FEATURES, PROMOTIONS, FAQ, DELIVERY, FOOTER
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.feature {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dcdfe8;
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #7eca1d;
  color: #fff;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature__text {
  color: #5c5e6e;
  line-height: 1.6;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.promotion-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dcdfe8;
  transition: 0.3s;
  background: #fff;
}
.promotion-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); }
.promotion-card__image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.promotion-card__content { padding: 16px; }
.promotion-card__text {
  margin-bottom: 12px;
  font-size: 20px;
}
.promotion-card__link {
  color: #7eca1d;
  font-weight: 500;
  font-size: 18px;
}

/* Help banner */
.help-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #f3f8ed;
  border-radius: 24px;
  padding: 40px;
}
.help-banner__image img {
  max-width: 300px;
  margin: 0 auto;
}
.help-banner__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}
.help-banner__text {
  color: #5c5e6e;
  margin-bottom: 20px;
}
.help-banner__form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.help-banner__form .input {
  flex: 1;
  min-width: 200px;
}

/* FAQ */
.faq-categories {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.faq-category {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #f1f2f6;
  border: 0;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s;
  font-size: 18px;
}
.faq-category.active {
  background: #7eca1d;
  color: #fff;
}
.faq-category svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid #dcdfe8;
  border-radius: 12px;
  overflow: hidden;
}
.faq-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
  font-size: 20px;
}
.faq-item__header:hover { background: #f8f9fa; }
.faq-item__toggle {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: '';
  position: absolute;
  background: #5c5e6e;
  transition: 0.3s;
}
.faq-item__toggle::before {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.faq-item__toggle::after {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.faq-item.active .faq-item__toggle::before {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-item__body {
  padding: 0 24px 20px;
  display: none;
  color: #5c5e6e;
  line-height: 1.6;
}
.faq-item.active .faq-item__body {
  display: block;
  font-size: 18px;
}

/* Delivery */
.delivery-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.delivery-info__text {
  color: #5c5e6e;
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 18px;
}
.delivery-info__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  margin-top: 16px;
}
.delivery-info__feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #7eca1d;
}
.delivery-map img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

/* SEO text */
.seo-text p {
  color: #5c5e6e;
  line-height: 1.8;
  margin-bottom: 16px;
}
.seo-text__toggle { margin-top: 8px; }

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: #383941;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 0;
}
.footer a:hover { color: #7eca1d; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-phone {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-bottom: 8px;
}
.footer-worktime { margin-bottom: 16px; font-size:14px}
.footer-programs { margin-bottom: 16px; }
.footer-programs a { color: rgba(255, 255, 255, 0.6); }
.footer-programs a:hover { color: #7eca1d; }
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social__item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.footer-social__item:hover { background: rgba(255, 255, 255, 0.2); }
.footer-social__item svg {
  fill: #fff;
  width: 24px;
  height: 24px;
}
.footer-address__text { margin-top: 8px; font-size:14px}
.footer-email { color: #7eca1d; }
.footer-scroll-top {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.footer-scroll-top:hover { background: rgba(255, 255, 255, 0.2); }
.footer-scroll-top svg {
  fill: #fff;
  width: 32px;
  height: 32px;
}
.footer-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-menu__title {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
}
.footer-menu__link {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  font-size: 14px;
}
.footer-menu__link:hover { color: #7eca1d; }
.footer-apps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-apps a { display: block; }
.footer-apps img { height: 40px; width: auto; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom__info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom__info p { font-size: 14px; }
.footer-payments {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-payments svg {
  opacity: 0.4;
  transition: 0.3s;
}
.footer-payments svg:hover { opacity: 1; }

/* ============================================================
   18. PROMO BANNER
   ============================================================ */
.promo-banner {
  background: #FF4F4F;
  position: relative;
  overflow: hidden;
}
.promo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  position: relative;
  z-index: 1;
}
.promo-banner__image {
  flex-shrink: 0;
  width: 120px;
  height: 70px;
  overflow: hidden;
}
.promo-banner__image:hover { transform: scale(1.05); }
.promo-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-banner__content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}
.promo-banner__text {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.3px;
}
.promo-banner__code {
  color: #fff;
  font-weight: 700;
  padding: 6px 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.promo-banner__code:hover { background: rgba(255, 255, 255, 0.25); }
.promo-banner__btn {
  display: inline-block;
  padding: 8px 28px;
  background: #fff;
  color: #ee5a24;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.promo-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #ee5a24;
}

.main-cont {}

/* ============================================================
   19. STATUS & DAYS (легенда и дни)
   ============================================================ */
.oko {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 14px;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--gray { background: #dcdfe8; }
.status-dot--green { background: #7ECA1D; }
.status-dot--orange { background: #f8a34c; }

.status-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.days-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.schedule-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border-radius: 8px;
  border: 1px solid;
  cursor: pointer;
  min-width: 56px;
  transition: all 0.2s ease;
}
.schedule-item .day-label { font-weight: 700; }
.schedule-item .date-label {
  font-size: 14px;
  color: #5c5e6e;
}
.schedule-item .dot-indicator {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.schedule-item.is-past { opacity: 0.5; }
.schedule-item.is-active { border-width: 3px; }
.schedule-item.is-active .day-label { color: #4caf50; }
.schedule-item.is-future { border-style: dashed; }
.schedule-item.status-gray { border-color: #dcdfe8; }
.schedule-item.status-gray .dot-indicator { background: #dcdfe8; }
.schedule-item.status-green { border-color: #7ECA1D; }
.schedule-item.status-green .dot-indicator { background: #7ECA1D; }
.schedule-item.status-orange { border-color: #f8a34c; }
.schedule-item.status-orange .dot-indicator { background: #f8a34c; }

/* ============================================================
   20. HELPERS & UTILITIES
   ============================================================ */
.bounce-link {
  display: inline-block;
  animation: bounce 1.2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0px); }
  65% { transform: translateY(-10px); }
}

.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  color: #5c5e6e;
  transition: color 0.3s ease;
}
.social-icon:hover { color: #7eca1d; }

.logoimg { width: 220px; }

/* Hide on mobile/desktop */
.sm__hide { display: block; }
.sm__show { display: none; }
.lg__hide { display: none; }
.lg__show { display: block; }

user-menu-block {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Swiper for demo */
.swiper-wrapper { display: flex; }
.swiper-slide { flex-shrink: 0; width: 100%; }
.disabled {
  color: #7ECA1D;
  cursor: default;
}

/* ============================================================
   ONE.CSS (разовый заказ)
   ============================================================ */
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.org-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #dcdfe8;
  border-radius: 10px;
}
.org-item:hover { transform: translateY(-8px); }
.org-item.active {
  background: #f8faf5;
  box-shadow: 0 4px 16px rgba(126, 202, 29, 0.15);
}
.org-item__logo {
  width: 100%;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 10px;
}
.org-item__logo-placeholder {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.org-item__name {
  font-size: 12px;
  color: #1E2A1E;
  line-height: 1.3;
  word-break: break-word;
  text-align: center;
}
.org-item__badge {
  font-size: 10px;
  color: #9699a8;
  background: #f5f5f5;
  padding: 2px 10px;
  border-radius: 10px;
  margin-top: 4px;
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.dish-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #dcdfe8;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.dish-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.dish-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f5f5f5;
}
.dish-card__image-placeholder {
  width: 100%;
  height: 180px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #ccc;
}
.dish-card__body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dish-card__name {
  font-size: 18px;
  color: #1E2A1E;
  flex: 1;
  line-height: 20px;
  margin-bottom: 5px;
}
.dish-card__rating {
  font-size: 14px;
  color: #ffc107;
  white-space: nowrap;
  letter-spacing: 1px;
}
.dish-card__description {
  font-size: 13px;
  color: #5c5e6e;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.dish-card__price {
  font-weight: 700;
  font-size: 18px;
  color: #f8a34c;
}
.dish-card__add-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7eca1d;
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.dish-card__add-btn:hover {
  background: #65a217;
  transform: scale(1.05);
}
.dish-card__add-btn:active { transform: scale(0.95); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #9699a8;
}
.empty-state .icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.empty-state h3 {
  font-size: 20px;
  color: #1E2A1E;
  margin-bottom: 8px;
}

/* Cart modal */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.cart-modal.active { display: flex; }
.cart-modal__content {
  background: #fff;
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.3s ease;
  padding: 24px 28px 28px;
}
.cart-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}
.cart-modal__close:hover { color: #1E2A1E; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item:last-child { border-bottom: none; }
.cart-item__info { flex: 1; }
.cart-item__name {
  font-weight: 600;
  font-size: 15px;
  color: #1E2A1E;
}
.cart-item__price {
  font-size: 14px;
  color: #f8a34c;
  font-weight: 600;
}
.cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item__quantity-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dcdfe8;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.cart-item__quantity-btn:hover {
  border-color: #7eca1d;
  background: #f8faf5;
}
.cart-item__quantity-value {
  font-weight: 600;
  font-size: 16px;
  min-width: 24px;
  text-align: center;
}
.cart-item__remove {
  color: #e74c3c;
  cursor: pointer;
  font-size: 18px;
  background: none;
  border: none;
  padding: 4px 8px;
}
.cart-item__remove:hover { color: #c0392b; }
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  padding: 16px 0;
  border-top: 2px solid #dcdfe8;
  margin-top: 8px;
}
.cart-total__value { color: #f8a34c; }
.cart-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cart-actions .btn {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

/* ============================================================
   DISH MODAL (детальное окно блюда)
   ============================================================ */
.dish-modal__content {
  background: #fff;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.3s ease;
}
.dish-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
  z-index: 1;
}
.dish-modal__close:hover { color: #1E2A1E; }
.dish-modal__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #f5f5f5;
  border-radius: 24px 24px 0 0;
}
.dish-modal__image-placeholder {
  width: 100%;
  height: 250px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #ccc;
  border-radius: 24px 24px 0 0;
}
.dish-modal__body {
  padding: 24px 28px 28px;
}
.dish-modal__name {
  font-size: 24px;
  color: #1E2A1E;
  margin-bottom: 4px;
  line-height: 1.3;
}
.dish-modal__meal-type {
  font-size: 14px;
  color: #9699a8;
  margin-bottom: 12px;
  display: none;
}
.dish-modal__description {
  font-size: 15px;
  color: #5c5e6e;
  margin-bottom: 16px;
  line-height: 1.6;
}
.dish-modal__nutrition {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  text-align: center;
}
.dish-modal__nutrition-item {
  font-size: 12px;
  color: #5c5e6e;
}
.dish-modal__nutrition-item strong {
  display: block;
  font-size: 16px;
  color: #1E2A1E;
}
.dish-modal__price {
  font-size: 24px;
  color: #f8a34c;
  text-align: right;
}
.dish-modal__quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}
.dish-modal__quantity-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #dcdfe8;
  background: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E2A1E;
}
.dish-modal__quantity-btn:hover {
  border-color: #7eca1d;
  background: #f8faf5;
}
.dish-modal__quantity-btn:active { transform: scale(0.92); }
.dish-modal__quantity-value {
  font-size: 24px;
  font-weight: 700;
  color: #1E2A1E;
  min-width: 40px;
  text-align: center;
}
.dish-modal__actions {
  display: flex;
  gap: 10px;
}
.dish-modal__actions .btn {
  flex: 1;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 18px;
}

/* ============================================================
   PROGRAM MODAL (о программе)
   ============================================================ */
.program-modal-body {
    display: grid;
    gap: 0;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    grid-auto-flow: row;
    justify-content: center;
    align-content: center;
}
.program-modal-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.program-modal-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}
.program-modal-info {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
}
.program-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #5c5e6e;
  margin: 0 0 16px 0;
}
.program-modal-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
  color: #3d4a3d;
  overflow-y: auto;
  max-height: 400px;
  padding-right: 8px;
}

.program-modal-text ul,
.program-modal-text ol {
  margin: 0 0 16px 20px;
  padding: 0;
}
.program-modal-text li { margin-bottom: 6px; }
.program-modal-text h2,
.program-modal-text h3,
.program-modal-text h4 {
  margin: 20px 0 12px 0;
  color: #5c5e6e;
}
.program-modal .btn--mark {
  background: #7eca1d;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 32px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}
.program-modal .btn--mark:hover { background: #65a217; }

@keyframes dishModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dishModalSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ============================================================
   21. RESPONSIVE (МОБИЛЬНАЯ ВЕРСИЯ) — ВСЕ В ОДНОМ МЕСТЕ
   ============================================================ */
@media (max-width: 992px) {
  .lg__hide { display: none !important; }
  .lg__show { display: block !important; }

  .program-kbju { padding: 18px 16px; }
  .program-kbju .type--secondary,
  .program-kbju .type--w700 { font-size: 15px; }
  .program-banner__cost .type--mdx { font-size: 18px; }
  .program-kbju .btn--sm {
    padding: 10px 16px;
    font-size: 15px;
  }
  .program-group-cards > div {
    flex: 0 0 calc(50% - 10px);
  }
  .promo-banner__image { width: 100px; height: 60px; }
}

@media (max-width: 768px) {
  /* Typography */
  .type--lgx { font-size: 28px; }
  .type--md { font-size: 18px; }
  .type--sm { font-size: 12px; }
  p {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Sections */
  .section { padding: 20px 0; }
  .section-title { font-size: 28px; margin-bottom: 32px; line-height: 1.1; }
  .section--gradient { padding: 40px 0; }
  .section-subtitle { font-size: 1rem; }

  /* Hero */
  .hero-slide { padding: 40px 0; }
  .hero-slide__title { font-size: 36px; }
  .hero-slide__subtitle { font-size: 18px; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }

  /* Order */
  .order-card__image { display: none; }
  .order-card__header { padding: 24px; }
  .order-card__body { padding: 24px; font-size: 16px; }
  .order-card__badge { right: 20px; bottom: 20px; }

  /* Comparison */
  .comparison { grid-template-columns: 1fr; }

  /* Delivery */
  .delivery-section { grid-template-columns: 1fr; gap: 24px; }

  /* Help banner */
  .help-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .help-banner__form { justify-content: center; }

  /* Promo */
  .promo-banner__inner {
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
  }
  .promo-banner__image {
    width: 100%;
    max-width: 300px;
    height: 60px;
  }
  .promo-banner__image--left { order: 1; }
  .promo-banner__content { order: 2; flex-direction: column; gap: 10px; }
  .promo-banner__image--right { order: 3; }
  .promo-banner__text {
    font-size: 0.95rem;
    text-align: center;
  }
  .promo-banner__code { font-size: 0.9rem; padding: 4px 16px; }
  .promo-banner__btn { padding: 6px 24px; font-size: 0.9rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-scroll-top { margin: 0 auto; }

  /* Programs */
  .program-categories {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 4px 0 12px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 0;
  }
  .program-categories::-webkit-scrollbar { display: none; }
  .program-category {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 22px;
    border-bottom: 2px solid transparent;
  }
  .program-category svg {
    width: 18px;
    height: 18px;
  }
  .plan-group { gap: 20px; }
  .plan-group .program-card-wrapper {
    min-width: 180px;
    max-width: 240px;
  }

  /* Program cards */
  .program-group-cards > div {
    flex: 0 0 calc(70% - 10px);
    height: 130px;
  }
  .program-group-cards .type--24 { font-size: 22px !important; }
  .program-group-cards .type--16 { font-size: 12px !important; }
  .program-group-cards .br-12 {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  .dish-card-kbju, .program-kbju { font-size: 14px; }
  .program-group-cards .w40 { width: 40px !important; }
  .program-group-cards .pt-20 {
    padding: 12px 12px 10px 12px !important;
    min-height: 80px;
  }

  /* Dishes */
  .dishesContainer {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .dishesContainer .program-kbju { grid-column: 1 / -1; }
  .dishesContainer .deckkal-wrapper {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  .dishesContainer .deckkal {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .deckkal > div {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }

  .program-kbju {
    padding: 16px 14px;
    border-radius: 12px;
  }
  .program-kbju .type--secondary,
  .program-kbju .type--w700 { font-size: 14px; }
  .program-banner__cost .type--mdx { font-size: 17px; }
  .program-kbju .btn--sm {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 10px;
  }
  .program-kbju .f-between {
    padding-bottom: 6px;
    margin-bottom: 6px;
  }

  /* Reviews */
  .reviews-scroll .review-card { padding: 22px 18px; }
  .reviews-scroll { gap: 16px; padding: 5px 5px 15px 5px; }
  .reviews-scroll .review-card { flex: 0 0 82%; }

  /* Header */
  .desktop-nav { display: none !important; }
  .header__mobile-toggle { display: block !important; }
  .header__inner { padding: 16px 12px 12px; }
  .header__info {
    margin-bottom: 16px;
    font-size: 16px;
  }
  .header__info-text { font-size: 14px; }
  .header__right {
    gap: 8px;
    margin-top: 4px;
  }
  .header__user { gap: 6px; }
  .header__user-greeting { font-size: 14px; }
  .header__cart-badge { margin-right: 8px; }
  .header--one .header__info { margin-bottom: 0; }

  /* Language */
  .lang-desktop { display: none !important; }
  .language-switch { gap: 8px; }
  .lang-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .toggle-switch {
    --width: 50px;
    --height: 30px;
    --padding: 2px;
    --handle-size: calc(var(--height) - var(--padding) * 2);
  }
  .toggle-switch label { column-gap: 16px; }
  .mobile-menu__lang .lang-circle {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .mobile-menu__lang .toggle-switch {
    --width: 55px;
    --height: 32px;
    --padding: 2px;
    --handle-size: calc(var(--height) - var(--padding) * 2);
  }

  /* Mobile Menu */
  .mobile-menu { width: 92%; max-width: 360px; }
  .mobile-menu__list a {
    padding: 14px 22px;
    font-size: 18px;
  }
  .mobile-menu__list a:hover { padding-left: 24px; }
  .mobile-menu__header {
    padding: 16px 22px 14px;
  }
  .mobile-menu__title { font-size: 20px; }
  .mobile-menu__list a::before {
    width: 5px;
    height: 5px;
    margin-right: 12px;
	display:none
  }

  /* Modals */
  .hdpc-modal-content,
  .dish-modal-content,
  .program-modal-content,
  .modal-window {
    background: #fff;
    border-radius: 16px;
    max-width: 400px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
	z-index: 10000;
  }
  .hdpc-modal-close,
  .dish-modal-close,
  .program-modal-close,
  .modal-close {
    top: 12px;
    right: 14px;
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  /* Status */
  .oko { font-size: 12px; margin-top: -30px; }

  /* Buttons */
  .btn--sm { font-size: 16px; padding: 10px 20px; }

  /* Misc */
  .sm__hide { display: none !important; }
  .sm__show { display: block !important; }
  .btn--sm { display: inline-block; }

  /* Food badge */
  .food-badge {
    width: 100px;
    height: 100px;
    bottom: 12px;
    right: 12px;
    padding: 12px;
  }
  .food-badge img {
    width: 30px !important;
    margin-bottom: 4px !important;
  }
  .food-badge span {
    font-size: 10px !important;
  }
  .hero-image-with-badge { min-height: 200px; }

  /* Program modal */
  .program-modal-body { grid-template-columns: 1fr; }
  .program-modal-image-wrap {
    min-height: 200px;
    max-height: 250px;
  }
  .program-modal-image { min-height: 200px; }
  .program-modal-info { padding: 24px 20px 28px; }
  .program-modal-title { font-size: 22px; }

  .program-modal-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 16px;
  }
  .program-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  /* Dish modal */
  .dish-modal-content { width: 95%; max-height: 95vh; border-radius: 16px; }
  .dish-detail__image { height: auto; }
  .dish-modal .p-20 { padding: 25px; }
  .dish-modal .f.w100 { flex-wrap: wrap; gap: 8px 0; }
  .dish-modal .f.w100>div {
    flex: 1;
    min-width: 50px;
    padding: 4px 8px !important;
    border: none !important;
  }
  .dish-modal .f.w100>div:not(:last-child) { border-right: 1px solid #dcdfe8 !important; }
  .dish-modal .f.w100>div:last-child { border-right: none !important; }
  .dish-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .dish-modal .btn--md {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* One.css */
  .org-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
  .org-item__logo { width: 100%; }
  .org-item__logo-placeholder { width: 80px; height: 80px; font-size: 20px; }
  .dish-card__description { display: none; }
  .dish-modal__name { font-size: 20px; }
  .dish-modal__price { margin: 0 0 10px; }
  .dish-modal__description { font-size: 13px; line-height: 1.3; }
  .dishes-grid { gap: 12px; }
  .dish-card__image { height: 140px; }
  .dish-modal__body { padding: 20px; }
  .dish-modal__actions { flex-direction: column; }
  .cart-modal__content { padding: 16px; }
  .cart-actions { flex-direction: column; }
}

@media (max-width: 640px) {
  .footer-apps { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom__info { justify-content: center; }

  .program-group-cards > div {
    flex: 0 0 calc(100%);
    min-width: 0;
    max-width: 400px;
  }

  .sm__hide { display: none !important; }
  .sm__show { display: block !important; }
}

@media (max-width: 480px) {
  .header__inner { padding: 20px 20px 5px; flex-wrap: wrap; gap: 8px; }
  .header__logo img { width: 140px; }
  .header__info {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .none{
	display: none;
	margin-top:-1000px;
	}
  .faq-item__header { font-size: 16px; }
  .header__info-text { font-size: 12px; }
  .header__right {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }
  .header__user { gap: 4px; }
  .header__user-link svg { width: 30px; height: 30px; }
  .header__user-balance { font-size: 13px; }
  .header__user-greeting {
    font-size: 14px;
    margin-right: 4px;
  }
  .header__cart svg { width: 30px; height: 30px; }
  .header__cart-badge { font-size: 14px; }
  .header__mobile-toggle svg { width: 22px; height: 22px; }

  .lang-circle {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .toggle-switch {
    --width: 42px;
    --height: 26px;
    --padding: 2px;
    --handle-size: calc(var(--height) - var(--padding) * 2);
  }
  .btn--md {
    padding: 10px 22px;
    font-weight: 500;
    font-size: 18px;
  }
  .org-grid {
	  margin-bottom: 28px;
	  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 10px;
	}
	#dishes-container {
		margin: 0 8px;
	}
	.container-p {
		margin: 0 8px;
	}
  .toggle-switch label { column-gap: 10px; }
  .mobile-menu__lang .lang-circle {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .mobile-menu__lang .toggle-switch {
    --width: 45px;
    --height: 26px;
    --padding: 2px;
    --handle-size: calc(var(--height) - var(--padding) * 2);
  }

  .mobile-menu { width: 92%; max-width: 360px; }
  .mobile-menu__list a {
    padding: 14px 22px;
    font-size: 18px;
	font-weight: 400;
  }
  .mobile-menu__list a:hover { padding-left: 24px; }
  .mobile-menu__header {
    padding: 16px 22px 14px;
  }
  .mobile-menu__title { font-size: 20px; }
  .mobile-menu__list a::before {
    width: 5px;
    height: 5px;
    margin-right: 12px;
	display:none
  }

  .reviews-scroll .review-card { flex: 0 0 100%; }
  .tag { padding: 4px 8px; }
  .reviews-scroll .review-card__text { margin-bottom: 10px; }
  .review-note { font-size: 0.8rem; }

  .dishesContainer { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dishesContainer .program-kbju { grid-column: 1 / -1; }

  .program-kbju { padding: 14px 12px; }
  .program-kbju .type--secondary,
  .program-kbju .type--w700 { font-size: 13px; }
  .program-banner__cost .type--mdx { font-size: 15px; }
  .program-kbju .btn--sm {
    padding: 8px 12px;
    font-size: 13px;
  }

  .promo-banner { padding: 8px 0; }
  .promo-banner__image { max-width: 200px; height: 50px; }
  .promo-banner__text { font-size: 0.85rem; }

  /* Food badge */
  .food-badge {
    width: 80px;
    height: 80px;
    bottom: 8px;
    right: 8px;
    padding: 8px;
  }
  .food-badge img {
    width: 24px !important;
    margin-bottom: 2px !important;
  }
  .food-badge span {
    font-size: 8px !important;
  }
  .hero-image-with-badge { min-height: 180px; }

  /* Modals */
  .hdpc-modal-content,
  .dish-modal-content,
  .program-modal-content,
  .modal-window {
    background: #fff;
    border-radius: 16px;
    max-width: 400px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
	z-index: 10000;
  }
  .hdpc-modal-close,
  .dish-modal-close,
  .program-modal-close,
  .modal-close {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  }
  .program-modal-body { grid-template-columns: 1fr; }
  .program-modal-image-wrap {
    min-height: 160px;
    max-height: 200px;
    display: contents;
  }
  .program-modal-image { min-height: 160px; object-fit: cover; }
  .program-modal-info { padding: 20px 18px 24px; }
  .program-modal-title { font-size: 20px; }
  .program-modal-text {
    max-height: 95%;
    font-size: 14px;
    line-height: 1.6;
    padding-right: 4px;
  }
  .program-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
  }
  .dishName { font-size: 14px; }
  .slotLabel { font-size: 12px; }
  .kbju-item { padding-bottom: 0px; }

  /* Dish modal on mobile */
  .dish-modal-content {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    max-height: 90vh !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    overflow: hidden !important;
  }
  .dish-modal-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
  }
  .dish-detail__image { height: auto; width: 100%; }
  .dish-modal .p-20 { padding: 25px; }
  .dish-modal .f.w100>div {
    min-width: 40px;
    padding: 2px 4px !important;
  }
  .dish-modal .type--sm { font-size: 12px; text-align: center;}
  .dish-modal .type--w700 { font-size: 16px; }
  .dish-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  }

  /* Program modal on mobile */
  .program-modal-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 420px !important;
    height: auto !important;
    max-height: 90vh !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    overflow: hidden !important;
  }
  .program-modal-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
  }
  .program-modal-body {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .program-modal-image-wrap {
    min-height: 160px;
    max-height: 200px;
  }
  .program-modal-image { min-height: 160px; object-fit: cover; }
  .program-modal-info { padding: 20px 18px 24px; }
  .program-modal-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .program-modal-text {
    max-height: 95%;
    font-size: 14px;
    line-height: 1.6;
    padding-right: 4px;
  }
  .program-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
  }
}

@media (max-width: 380px) {
  .header__logo img { width: 110px; }
  .header__info { font-size: 12px; }
  .header__right { gap: 4px; }
  .header__user-link svg { width: 25px; height: 25px; }
  .header__user-balance { font-size: 14px; }
  .header__cart svg { width: 30px; height: 30px; }
  .header__cart-badge { font-size: 14px; }

  .mobile-menu { width: 96%; max-width: 320px; }
  .mobile-menu__list a {
    padding: 12px 22px;
    font-size: 16px;
  } 
	.order-card__title {
		font-size:28px;
		line-height: 32px;
	} 
  .hdpc-modal-content,
  .dish-modal-content,
  .program-modal-content,
  .modal-window {
    background: #fff;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
	z-index: 10000;
  }
  .program-modal-image-wrap {
    min-height: 130px;
    max-height: 160px;
  }
  .program-modal-image { min-height: 130px; }
  .program-modal-text {
    max-height: 95%;
    font-size: 13px;
  }

  .program-kbju { padding: 12px 10px; }
  .program-kbju .type--secondary,
  .program-kbju .type--w700 { font-size: 12px; }
  .program-banner__cost .type--mdx { font-size: 14px; }
  .program-kbju .btn--sm {
    padding: 6px 10px;
    font-size: 12px;
  }
  .dish-card .dishName { font-size: 14px; }
  .dish-card .slotLabel { font-size: 10px; }

  /* Dish modal */
  .dish-modal-content {
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: 16px !important;
  }

  /* Program modal */
  .program-modal-content {
    width: 96% !important;
    max-height: 92vh !important;
    border-radius: 16px !important;
  }
  .program-modal-image-wrap {
    min-height: 130px;
    max-height: 160px;
  }
  .program-modal-image { min-height: 130px; }
  .program-modal-text {
    max-height: 95%;
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .lg__show { display: none !important; }
  .lg__hide { display: block !important; }
}

@media (min-width: 641px) {
  .sm__show { display: none !important; }
}

@media (min-width: 1025px) {
  .lg__show { display: none !important; }
}

/* Modal Overlay */
#flowmaps-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.flowmaps-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}


.flowmaps-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #5c5e6e;
}

/* Close Button */
#flowmaps-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #9699a8;
    padding: 0 8px;
    line-height: 1;
}

#flowmaps-modal-close:hover {
    color: #5c5e6e;
}

/* Modal Body */
.flowmaps-modal-body {
    padding: 16px;
}

/* Map Container */
#flowmaps-map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f2f6;
    position: relative;
    z-index: 1;
}

.flowmaps-confirm-btn {
    flex: 1;
    padding: 12px 24px;
    background: #7eca1d;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.flowmaps-geolocation-btn {
    flex: 1;
    padding: 12px 24px;
    background: #f1f2f6;
    color: #5c5e6e;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

/* Apartment Input */
.flowmaps-modal-apartment {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdfe8;
    border-radius: 12px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input.flowmaps-modal-apartment:focus {
    border-color: #c62828;
    background: #fff5f5;
	outline: none;
}

#flowmaps_apartment_modal {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdfe8;
    border-radius: 12px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

#flowmaps_apartment_modal:focus {
    border-color: #7eca1d;
    outline: none;
}

/* Actions Buttons Container */
.flowmaps-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* Confirm Button */
#flowmaps-confirm-btn {
    flex: 1;
    padding: 12px 24px;
    background: #7eca1d;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

#flowmaps-confirm-btn:hover {
    background: #6ab01a;
}

#flowmaps-confirm-btn:active {
    transform: scale(0.98);
}

/* Geolocation Button */
#flowmaps-geolocation-btn {
    flex: 1;
    padding: 12px 24px;
    background: #f1f2f6;
    color: #5c5e6e;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

#flowmaps-geolocation-btn:hover {
    background: #e3e4ea;
}

#flowmaps-geolocation-btn:active {
    transform: scale(0.98);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    #flowmaps-map {
        height: 300px;
    }

    .flowmaps-modal-header h3 {
        font-size: 16px;
    }

    #flowmaps-confirm-btn,
    #flowmaps-geolocation-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* ============================================================
   DISH CARD - HORIZONTAL LAYOUT
   ============================================================ */
.dish-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dcdfe8;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    cursor: pointer;
    min-height: 120px;
}

.dish-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Левая часть - квадрат с изображением */
.dish-card__image-wrapper {
    flex: 0 0 150px;
    width: 150px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 12px;
    position: relative;
}

.dish-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dish-card__image-placeholder {
    font-size: 36px;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Правая часть - информация */
.dish-card__body {
    flex: 1;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0; /* Важно для обрезания текста */
}

.dish-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dish-card__name {
    font-size: 16px;
    color: #1E2A1E;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    /* Обрезание длинных названий */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dish-card__meal-type {
    font-size: 11px;
    color: #9699a8;
    background: #f1f2f6;
    padding: 2px 10px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
}

.dish-card__description {
    font-size: 13px;
    color: #5c5e6e;
    line-height: 1.4;
    /* Обрезание описания */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-bottom: 4px;
	width: 100%;
    max-height: calc(1.4em * 3);
}

.dish-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    gap: 8px;
}

.dish-card__price {
    font-weight: 700;
    font-size: 17px;
    color: #f8a34c;
    white-space: nowrap;
}

.dish-card__add-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #7eca1d;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.dish-card__add-btn:hover {
    background: #65a217;
    transform: scale(1.05);
}

.dish-card__add-btn:active {
    transform: scale(0.92);
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
	.program-group__el-val {
		font-size:14px;
	}
    .dish-card__image-wrapper {
        flex: 0 0 150px;
        width: 150px;
    }
    
    .dish-card__body {
        padding: 5px 10px;
    }
    
    .dish-card__name {
        font-size: 16px;
    }
    
    .dish-card__price {
        font-size: 16px;
    }
    
    .dish-card__add-btn {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }
    
	.dish-card__description {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		word-break: break-word;
		color: #5c5e6e;
		line-height: 1.4;
		flex: 1;
		margin-bottom: 4px;
		font-size: 10px;
	}
}

@media (max-width: 380px) {
    .dish-card__image-wrapper {
        flex: 0 0 120px;
        width: 120px;
    }
    
    .dish-card__name {
        font-size: 16px;
    }
    
    .dish-card__meal-type {
        font-size: 10px;
        padding: 1px 8px;
    }
}

/* ============================================================
   ЗВЕЗДЫ РЕЙТИНГА
   ============================================================ */
.stars-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 8px 0;
}

.stars {
    display: inline-flex;
    gap: 2px;
    direction: ltr;
    position: relative;
    align-items: center;
}

/* Каждая звезда */
.star {
    font-size: 18px;
    line-height: 1;
    color: #d1d5db;
    cursor: default;
    user-select: none;
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
    transition: none;
}

/* Полностью заполненная звезда */
.star.active {
    color: #fbbf24;
}

/* Частично заполненная звезда */
.star.partial {
    position: relative;
    color: #d1d5db;
}

.star.partial::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    color: #fbbf24;
    overflow: hidden;
    width: var(--fill-percent, 0%);
}

/* Значение рейтинга */
.star-rating-value {
    font-size: 10px;
    color: #9699a8;
    line-height: 1;
}

.star-rating-value::after {
    content: '/5';
    color: #9699a8;
    font-size: 8px;
    margin-left: 1px;
}

/* Адаптивность */
@media (max-width: 600px) {
    .star {
        font-size: 15px;
    }
    .stars {
        gap: 1px;
    }
    .star-rating-value {
        font-size: 10px;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .star {
        color: #4a4a5a;
    }
    .star.active {
        color: #fbbf24;
    }
    .star.partial::before {
        color: #fbbf24;
    }
}

/* Фиксация подвала */

.footer {
    flex-shrink: 0;
}


/* Базовые стили для блока */
.installBtnPwa {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column; /* если нужно вертикальное выравнивание */
  align-items: center;
  gap: 10px; /* отступ между элементами */
}

/* Стили для кнопки */
.installBtn {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
  user-select: none;
  font-size: 16px;
}

.installBtn:hover {
  background: #0056b3;
}

/* Стили для подписи */
.installBtnDivText {
  text-align: center;
  font-size: 12px;
  color:#d0d7de;
  line-height: 1.5;
}
/* 🔥 Скрываем ВЕСЬ блок с кнопкой в режиме PWA */
@media all and (display-mode: standalone) {
  .installBtnPwa, .installBtnDivText, .installBtn {
    display: none !important;
  }
}

/* ============================================================
   STICKY HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

/* Добавляем тень при скролле (опционально, для красоты) */
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Чтобы контент не перекрывался шапкой, добавим отступ */
body {
  padding-top: 0; /* по умолчанию, если шапка не фиксированная */
}

/* Если нужно компенсировать высоту шапки для мобильных */
@media (max-width: 768px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}

/* Модальное окно "Всё меню" */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999 !important; /* Увеличиваем z-index */
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto;
}

.menu-modal.active {
    display: flex !important;
}

.menu-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
}

.menu-modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10001;
    padding: 30px 30px 40px;
    margin-top: 20px;
    animation: modalSlideUp 0.3s ease;
}

.menu-modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #333;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    line-height: 1;
    margin-left: auto;
    margin-bottom: 16px;
}

.menu-modal-close:hover {
    transform: scale(1.05);
    background: #ffffff;
}

.menu-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1E2A1E;
    margin-bottom: 24px;
    padding-right: 60px;
}

.menu-modal .dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.menu-modal .dish-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #dcdfe8;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row !important;
    align-items: stretch;
    cursor: pointer;
    min-height: 140px;
}

.menu-modal .dish-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.menu-modal .dish-card__image-wrapper {
    flex: 0 0 140px;
    width: 140px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 0 0 16px;
    position: relative;
}

.menu-modal .dish-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-modal .dish-card__image-placeholder {
    font-size: 36px;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.menu-modal .dish-card__body {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.menu-modal .dish-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.menu-modal .dish-card__name {
    font-size: 15px;
    font-weight: 600;
    color: #1E2A1E;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-modal .dish-card__description {
    font-size: 13px;
    color: #5c5e6e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-bottom: 4px;
    width: 100%;
    max-height: calc(1.4em * 3);
}

.menu-modal .dish-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    gap: 8px;
}

.menu-modal .dish-card__price {
    font-weight: 700;
    font-size: 16px;
    color: #f8a34c;
    white-space: nowrap;
}

.menu-modal .dish-card__add-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #7eca1d;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.menu-modal .dish-card__add-btn:hover {
    background: #65a217;
    transform: scale(1.05);
}

.menu-modal .stars-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 6px 0;
}

.menu-modal .stars-wrapper .star {
    font-size: 14px;
}

.menu-modal .stars-wrapper .star-rating-value {
    font-size: 10px;
    color: #9699a8;
}

/* Адаптив для модалки */
@media (max-width: 768px) {
    .menu-modal-content {
        padding: 20px 16px 30px;
        margin-top: 10px;
        max-height: 95vh;
    }
    
    .menu-modal-title {
        font-size: 22px;
        padding-right: 50px;
        margin-bottom: 16px;
    }
    
    .menu-modal .menu-modal-close {
        width: 34px;
        height: 34px;
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .menu-modal .dishes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .menu-modal .dish-card__image-wrapper {
        flex: 0 0 100px;
        width: 100px;
    }
    
    .menu-modal .dish-card__name {
        font-size: 13px;
    }
    
    .menu-modal .dish-card__description {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    
    .menu-modal .dish-card__price {
        font-size: 14px;
    }
    
    .menu-modal .dish-card__add-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .menu-modal .dishes-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-modal .dish-card__image-wrapper {
        flex: 0 0 120px;
        width: 120px;
    }
}

/* Анимация */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Скрываем мобильную картинку на десктопе */
.mobile-image {
    display: none;
}

/* Показываем мобильную картинку на мобильных устройствах */
@media (max-width: 768px) {
    .desktop-image {
        display: none;
    }
    .mobile-image {
        display: block;
    }
}