/* ==========================================================================
   Sushi 007 — Figma Design Implementation
   Font: Montserrat (300, 400, 600, 900)
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f6f6;
  --color-header: #000000;
  --color-dark: #1c1c1c;
  --color-text: #322d2e;
  --color-text-dark: #0f0f0f;
  --color-text-black: #000000;
  --color-muted: #747474;
  --color-accent: #cf1930;
  --color-accent-hover: #f0324a;
  --color-chip-active: #ffe0e1;
  --color-chip-bg: #ededed;
  --shadow-card: 0px 1px 11.8px 0px rgba(0, 0, 0, 0.12);
  --shadow-menu: 0px 1px 13.3px 0px rgba(0, 0, 0, 0.1);
  --shadow-cart: 0px 4px 15.4px 0px rgba(0, 0, 0, 0.25);
  --container-width: 1128px;
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--color-bg);
}

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

button,
input {
  font-family: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   Header (data-node-id="4:9")
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-header);
  height: 91px;
  width: 100%;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  width: 200.54px;
  height: 31px;
  flex-shrink: 0;
}

.header-logo img {
  width: 200.54px;
  height: 31px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 24px;
  gap: 20px;
}

#headerRegionDropdown {
  margin-right: auto;
}

.header-phone {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-phone:hover {
  color: var(--color-accent-hover);
}

.btn-menu-header {
  height: 40px;
  padding: 10px 28px;
  border: 2px solid #ffffff;
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-menu-header:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Region Switcher Dropdown (.region-dropdown-list / .region-dropdown-item) */
.region-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.region-dropdown-toggle {
  height: 39px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.region-dropdown-toggle:hover,
.region-dropdown.is-open .region-dropdown-toggle {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

.region-dropdown-toggle__pin {
  color: var(--color-accent-hover);
  flex-shrink: 0;
}

.region-dropdown-toggle__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.region-dropdown.is-open .region-dropdown-toggle__chevron {
  transform: rotate(180deg);
}

.region-dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background-color: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 180;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.region-dropdown.is-open .region-dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.region-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.region-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.region-dropdown-item.is-active {
  background-color: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
}

.region-dropdown-item.is-active::after {
  content: '✓';
  font-size: 13px;
  font-weight: 700;
  margin-left: 10px;
}

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

.nav-drawer__region-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}

.region-dropdown--drawer {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.region-dropdown-toggle--drawer {
  width: 100%;
  justify-content: space-between;
}

.region-dropdown-list--drawer {
  position: static;
  min-width: 100%;
  margin-top: 6px;
  display: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.06);
}

.region-dropdown--drawer.is-open .region-dropdown-list--drawer {
  display: flex;
}

.category-region-subtitle {
  margin-top: -16px;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-muted);
}

.header-search-wrap,
.nav-drawer__search-wrap {
  position: relative;
}

.header-search {
  position: relative;
  width: 266px;
  height: 39px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 10px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Live Search Results Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 440px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
  z-index: 190;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.search-dropdown.is-open {
  display: flex;
}

.search-dropdown--mobile {
  left: 0;
  right: 0;
  width: 100%;
  max-height: 320px;
}

.search-dropdown__empty {
  padding: 18px 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.search-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.search-dropdown__item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.search-dropdown__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.search-dropdown__img {
  width: 52px;
  height: 38px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  background: #2b2b2b;
}

.search-dropdown__meta {
  min-width: 0;
  flex: 1;
}

.search-dropdown__title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown__sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  margin-top: 2px;
}

.search-dropdown__add {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.search-dropdown__add:hover {
  background: var(--color-accent-hover);
  transform: scale(1.05);
}

.search-dropdown__show-all {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.15s ease;
}

.search-dropdown__show-all:hover {
  background: var(--color-accent);
}

.header-search:focus-within {
  background-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.header-search__icon {
  width: 12.31px;
  height: 12.24px;
  flex-shrink: 0;
  transform: rotate(180deg) scaleY(-1);
}

.header-search__input {
  width: 100%;
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
  outline: none;
}

.header-search__input::placeholder {
  color: #ffffff;
  opacity: 0.95;
}

.btn-burger {
  width: 36px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  transition: opacity 0.2s ease;
}

.btn-burger:hover {
  opacity: 0.8;
}

.btn-burger img {
  width: 36px;
  height: 23px;
}

/* ==========================================================================
   Navigation Drawer / Quick Page Switcher
   ========================================================================== */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background-color: var(--color-dark);
  color: #ffffff;
  z-index: 160;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.nav-drawer__close:hover {
  background: var(--color-accent);
}

.nav-drawer__search {
  position: relative;
  width: 100%;
  height: 39px;
  border: 1px solid #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 10px;
}

.nav-drawer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-drawer__link {
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}

.nav-drawer__link:hover,
.nav-drawer__link.is-active {
  color: var(--color-accent-hover);
}

.nav-drawer__info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #b5b5b5;
}

.nav-drawer__phone {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

/* ==========================================================================
   Hero Section (data-node-id="8:14", "5:43", "5:45", "5:48")
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 579px; /* 670px total top block minus 91px header */
  background-color: #000000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__bg-wrap {
  position: absolute;
  left: 0;
  top: -91px;
  width: 100%;
  height: 670px;
  pointer-events: none;
  z-index: 1;
}

.hero__bg {
  width: 100%;
  height: 127.54%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  transform: translateY(-0.71%);
}

.hero__glow {
  position: absolute;
  top: 57px;
  left: 50%;
  transform: translateX(-50%);
  width: 575px;
  height: 135px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: 57px; /* 148px from top of page minus 91px header */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 40px;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #ffffff;
}

/* ==========================================================================
   Page Views & Sections
   ========================================================================== */
.page-view {
  display: none;
  flex: 1;
  padding-bottom: 92px;
}

.page-view.is-active {
  display: block;
}

.section {
  margin-top: 63px;
}

.section--popular {
  margin-top: 58px; /* 728 - 670 = 58px */
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  color: var(--color-text);
  margin-bottom: 30px;
}

/* ==========================================================================
   Carousels & Sliders (Popular, Promo, New)
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 6px;
  margin: -12px -6px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.carousel-arrow img {
  width: 68px;
  height: 68px;
  max-width: none;
  pointer-events: none;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-arrow--prev {
  left: -22px;
}

.carousel-arrow--next {
  right: -22px;
}

.carousel-arrow--next img {
  transform: scaleX(-1);
}

/* ==========================================================================
   Product Card (data-node-id="5:91", "12:14", "12:157")
   ========================================================================== */
.product-card {
  scroll-snap-align: start;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 356px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.product-card__media {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card__media:hover .product-card__img {
  transform: scale(1.03);
}

.product-card__badges-top {
  position: absolute;
  top: 13px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}

.badge {
  background-color: #ffffff;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  height: 25px;
  padding: 5px 17px;
  border-radius: 6.74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.badge--chili {
  width: 25px;
  height: 25px;
  padding: 5px;
}

.badge--chili img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.product-card__badge-bottom {
  position: absolute;
  right: 20px;
  bottom: 17px; /* top: 190px inside 230px media container */
  z-index: 2;
  pointer-events: none;
}

.badge--new {
  height: 23px;
  padding: 4px 17px;
}

.badge--mobile-only,
.title-mobile,
.mobile-br,
.btn-promo-outline--mobile {
  display: none;
}

.product-card__body {
  flex: 1;
  padding: 28px 25px 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card__title {
  font-size: 16.184px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-text-black);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__title:hover {
  color: var(--color-accent);
}

.btn-add {
  width: 100%;
  height: 39px;
  background-color: var(--color-accent);
  color: #ffffff;
  border-radius: 10px;
  font-size: 16.184px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-add:hover {
  background-color: var(--color-accent-hover);
}

.btn-add:active {
  transform: scale(0.985);
}

.btn-add__ruble {
  width: 16.18px;
  height: 16.18px;
  display: inline-block;
}

.btn-add.is-added {
  background-color: #1c1c1c;
}

/* ==========================================================================
   Promo Slider Banner (data-node-id="8:171")
   ========================================================================== */
.promo-slider {
  position: relative;
  width: 100%;
}

.promo-slider__viewport {
  width: 100%;
  height: 314px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.promo-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  user-select: none;
}

.promo-slide__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  pointer-events: none;
}

.promo-slide__img--mobile {
  display: none;
}

.promo-slider__dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.promo-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d9d9d9;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.promo-slider__dot:hover {
  transform: scale(1.15);
}

.promo-slider__dot.is-active {
  background-color: var(--color-accent);
}

/* ==========================================================================
   Menu Bento Grid (data-node-id="12:214", "99:124" ... "99:160")
   ========================================================================== */
.menu-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 209px;
  gap: 24px;
}

.menu-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: var(--shadow-menu);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.14);
}

.menu-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.menu-card:hover .menu-card__img {
  transform: scale(1.03);
}

.menu-card__title {
  position: relative;
  z-index: 2;
  top: 35px;
  left: 35px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-text-dark);
  text-transform: uppercase;
  display: inline-block;
}

/* Exact grid placement from Figma coordinates:
   Col 1: Наборы (rows 1-2, 443px), Напитки (row 3), Фитнесс-меню (row 4)
   Col 2: Роллы (row 1), Суши (row 2), Закуски (row 3), Десерты (row 4)
   Col 3: Салаты (row 1), Горячие блюда (rows 2-3, 443px), Супы (row 4)
*/
.menu-card--sets {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.menu-card--rolls {
  grid-column: 2;
  grid-row: 1;
}

.menu-card--salads {
  grid-column: 3;
  grid-row: 1;
}

.menu-card--sushi {
  grid-column: 2;
  grid-row: 2;
}

.menu-card--hot {
  grid-column: 3;
  grid-row: 2 / span 2;
}

.menu-card--drinks {
  grid-column: 1;
  grid-row: 3;
}

.menu-card--snacks {
  grid-column: 2;
  grid-row: 3;
}

.menu-card--fitness {
  grid-column: 1;
  grid-row: 4;
}

.menu-card--desserts {
  grid-column: 2;
  grid-row: 4;
}

.menu-card--soups {
  grid-column: 3;
  grid-row: 4;
}

/* ==========================================================================
   Our Advantages Section (data-node-id="12:332", "12:333", "12:343"...)
   ========================================================================== */
.advantages-mission {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 43px;
  max-width: 1128px;
}

.advantages-mission p + p {
  margin-top: 2px;
}

.seo-delivery-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 1128px;
}

.seo-delivery-text strong {
  font-weight: 600;
  color: var(--color-text-dark);
}

.seo-faq {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1128px;
}

.seo-faq__item {
  background: #ffffff;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease;
}

.seo-faq__item[open] {
  border-color: rgba(227, 6, 19, 0.35);
}

.seo-faq__question {
  position: relative;
  display: block;
  padding-right: 34px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-dark);
  cursor: pointer;
  list-style: none;
}

.seo-faq__question strong {
  font-weight: 700;
  color: var(--color-text-dark);
}

.seo-faq__question::-webkit-details-marker {
  display: none;
}

.seo-faq__question::marker {
  content: '';
}

.seo-faq__question::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.08);
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.seo-faq__item[open] .seo-faq__question::after {
  content: '−';
  background: var(--color-accent);
  color: #ffffff;
}

.seo-faq__answer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(24, 24, 24, 0.06);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}

.seo-faq__answer a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

.category-seo-block {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(24, 24, 24, 0.08);
}

.category-seo-block__title {
  margin-bottom: 20px;
}

.footer-seo-nav {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-seo-nav__group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.footer-seo-nav__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.footer-seo-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.footer-seo-nav__link {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-seo-nav__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .seo-delivery-text {
    font-size: 12px;
    line-height: 16px;
    gap: 12px;
  }

  .seo-faq {
    margin-top: 18px;
    gap: 8px;
  }

  .seo-faq__item {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .seo-faq__question {
    font-size: 12px;
    line-height: 16px;
    padding-right: 26px;
  }

  .seo-faq__question::after {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }

  .seo-faq__answer {
    font-size: 11px;
    line-height: 15px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .category-seo-block {
    margin-top: 28px;
    padding-top: 20px;
  }

  .footer-seo-nav {
    margin-top: 18px;
    padding-top: 16px;
    gap: 10px;
  }

  .footer-seo-nav__label,
  .footer-seo-nav__link {
    font-size: 10px;
  }
}

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

.advantage-card {
  position: relative;
  background-color: var(--color-dark);
  border-radius: 20px;
  padding: 35px;
  min-height: 274px;
  color: #ffffff;
  box-shadow: var(--shadow-menu);
}

.advantage-card__inner {
  width: 278px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #ffffff;
}

.advantage-card__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
}

.advantage-card__clip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.advantage-card__clip--1 {
  top: -27px;
  right: 41px;
  width: 55px;
  height: 62px;
  transform: rotate(180deg) scaleX(-1);
}

.advantage-card__clip--2 {
  top: -19.5px;
  right: 48.8px;
  width: 40.87px;
  height: 65px;
}

.advantage-card__clip--3 {
  top: -17.4px;
  right: 39.8px;
  width: 50.82px;
  height: 62.66px;
  transform: rotate(180deg) scaleX(-1);
}

/* ==========================================================================
   Floating Cart Bar (data-node-id="12:233")
   ========================================================================== */
.floating-cart {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(130%);
  width: 744px;
  max-width: calc(100vw - 32px);
  height: 64px;
  background-color: var(--color-accent);
  border-radius: 14px;
  box-shadow: var(--shadow-cart);
  padding: 9px 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.floating-cart.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-cart__info {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.floating-cart__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.floating-cart__text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-cart__price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.floating-cart__ruble {
  width: 11px;
  height: 14px;
}

.floating-cart__btn {
  height: 46px;
  background-color: #ffffff;
  color: var(--color-accent);
  border-radius: 10px;
  padding: 11px 35px;
  font-size: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.floating-cart__btn:hover {
  background-color: #fff5f6;
}

.floating-cart__btn-arrow {
  width: 8px;
  height: 15px;
  transform: rotate(180deg) scaleY(-1);
}

/* ==========================================================================
   Subpages: Breadcrumbs, Category, Promotions, Delivery, Contacts
   ========================================================================== */
.subpage-top-banner {
  width: 100%;
  padding-top: 28px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 24px;
}

.breadcrumbs__link {
  color: var(--color-accent);
  cursor: pointer;
}

.breadcrumbs__link:hover {
  text-decoration: underline;
}

.breadcrumbs__sep {
  width: 6px;
  height: 13px;
}

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

/* Category Filter Chips (data-node-id="195:95") */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-bottom: 36px;
}

.category-chip {
  padding: 6px 12px;
  border-radius: 8px;
  background-color: var(--color-chip-bg);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  transition: background-color 0.2s ease;
}

.category-chip:hover {
  background-color: #e2e2e2;
}

.category-chip.is-active {
  background-color: var(--color-chip-active);
}

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

/* Promotions Page (data-node-id="140:195") */
.loyalty-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}

.loyalty-block__content {
  max-width: 648px;
}

.loyalty-block__text {
  font-size: 16px;
  line-height: 1.35;
  color: var(--color-text);
}

.loyalty-block__text + .loyalty-block__text {
  margin-top: 18px;
}

.loyalty-card-visual {
  width: 361px;
  height: 180px;
  background: linear-gradient(135deg, #322d2e 0%, #1c1c1c 100%);
  border-radius: 15px;
  flex-shrink: 0;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.loyalty-card-visual::after {
  content: '5% → 10%';
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 28px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
}

.promo-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.promo-item {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  min-height: 305px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.promo-item__body {
  padding: 49px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.promo-item__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 18px;
}

.promo-item__desc {
  font-size: 16px;
  line-height: 1.35;
  color: var(--color-text);
  max-width: 503px;
}

.promo-item__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.btn-promo-primary {
  height: 39px;
  padding: 9px 64px;
  background-color: var(--color-accent);
  color: #ffffff;
  border-radius: 10px;
  font-size: 16.18px;
  transition: background-color 0.2s ease;
}

.btn-promo-primary:hover {
  background-color: var(--color-accent-hover);
}

.btn-promo-outline {
  height: 39px;
  padding: 9px 64px;
  background-color: #ffffff;
  color: var(--color-accent);
  border: 1.3px solid var(--color-accent);
  border-radius: 10px;
  font-size: 16.18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-promo-outline:hover {
  background-color: var(--color-chip-active);
}

.promo-item__media {
  width: 456px;
  height: 305px;
  flex-shrink: 0;
  background-color: #d9d9d9;
}

.promo-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-notes {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--color-text);
}

.promo-note img {
  width: 16px;
  height: 16px;
}

/* Delivery & Payment Page (data-node-id="137:75") */
.delivery-hours {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 18px;
}

.delivery-map-box {
  position: relative;
  width: 100%;
  height: 577px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
  background-color: #f4f4f4;
}

.delivery-map-box img,
.delivery-map-box iframe,
.delivery-map-box > ymaps {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.delivery-zones {
  display: grid;
  grid-template-columns: 456px 1fr;
  gap: 96px;
  margin-bottom: 64px;
}

.delivery-zone p + p {
  margin-top: 16px;
  line-height: 24px;
}

.payment-grid {
  display: grid;
  grid-template-columns: 456px 1fr;
  gap: 96px;
  margin-top: 28px;
}

.payment-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-item__icon {
  height: 95px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.payment-item__text {
  font-size: 16px;
  line-height: 1.35;
  color: #000000;
}

/* Contacts Page (data-node-id="81:107") */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  font-size: 16px;
  line-height: 1.45;
}

.contacts-block + .contacts-block {
  margin-top: 24px;
}

.contacts-map-full {
  width: 100%;
  height: 520px;
  background-color: #d9d9d9;
  position: relative;
  overflow: hidden;
}

.contacts-map-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Footer (data-node-id="53:415")
   ========================================================================== */
.site-footer {
  background-color: var(--color-dark);
  color: #ffffff;
  min-height: 289px;
  padding: 55px 0;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 383px 191px 287px 1fr;
  align-items: start;
}

.footer-logo {
  margin-top: 10px;
  width: 200.54px;
  height: 31px;
  display: block;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 10px;
}

.footer-link {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #ffffff;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-link:hover {
  color: var(--color-accent-hover);
}

.footer-social-col {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.footer-social-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #ffffff;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18.26px;
}

.footer-social-btn {
  width: 43.83px;
  height: 43.83px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-social-btn img {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Dialogs / Modals (Product Popup 72:26 & Menu Popup 101:404 & Cart Modal)
   ========================================================================== */
.app-dialog {
  margin: auto;
  border: none;
  background: transparent;
  padding: 0;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.app-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}

/* Product Detail Modal (data-node-id="72:26", width: 1127, height: 597) */
.product-modal {
  width: 1127px;
  max-width: 100%;
  min-height: 597px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 648px 1fr;
  position: relative;
  overflow: hidden;
}

.product-modal__media {
  position: relative;
  width: 100%;
  height: 597px;
  background-color: #f4f1ea;
}

.product-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.product-modal__badge {
  height: 30px;
  padding: 6px 20px;
  background: #ffffff;
  color: var(--color-accent);
  font-size: 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-modal__badge--chili {
  display: none;
  width: 30px;
  padding: 5px;
}

.product-modal__badge--chili img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  z-index: 5;
  transition: transform 0.2s ease;
}

.product-modal__close:hover {
  transform: scale(1.08);
}

.product-modal__content {
  padding: 41px 24px 16px 24px;
  display: flex;
  flex-direction: column;
}

.product-modal__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-modal__weight {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.product-modal__section-label {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.product-modal__ingredients {
  font-size: 16px;
  line-height: 1.35;
  color: var(--color-muted);
  max-width: 346px;
  margin-bottom: 48px;
}

.product-modal__nutrition-title {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.product-modal__macros {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-bottom: auto;
}

.macro-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  color: var(--color-text);
}

.macro-item__val {
  font-weight: 400;
}

.product-modal__cta {
  width: 100%;
  max-width: 431px;
  height: 39px;
  margin-top: 32px;
}

/* Menu Categories Popup (data-node-id="101:404") */
.menu-modal {
  position: relative;
  width: 1169px;
  max-width: 100%;
  padding-top: 42px;
}

.menu-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.menu-modal__close:hover {
  transform: scale(1.08);
}

.menu-modal__box {
  background-color: var(--color-bg-alt);
  border-radius: 20px;
  padding: 39px 46px;
  width: 1128px;
  max-width: 100%;
  max-height: calc(100vh - 84px);
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.menu-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 192px;
  gap: 17px 22px;
}

.menu-modal__grid .menu-card__title {
  top: 32px;
  left: 32px;
  font-size: 18.37px;
}

/* Cart Drawer / Order Modal */
.cart-modal {
  width: 560px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 35px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.cart-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-modal__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
}

.cart-modal__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 4px;
}

/* Order Checkout Form inside Cart Modal */
.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-modal__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-modal__back {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--color-chip-bg);
  color: var(--color-text-dark);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.checkout-modal__back:hover {
  background: var(--color-chip-active);
  color: var(--color-accent);
}

/* Order Success Popup ("Спасибо за заказ!") */
.order-success-modal {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 36px 36px;
}

.order-success-modal__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(217, 35, 42, 0.3);
}

.order-success-modal__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.order-success-modal__number {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.order-success-modal__details {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 420px;
  margin-bottom: 26px;
}

.order-success-modal__btn {
  width: 100%;
  max-width: 280px;
  height: 42px;
}

.cart-checkout-form__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.cart-checkout-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-checkout-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.cart-checkout-form__input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fafafa;
  color: var(--color-text-dark);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-checkout-form__input:focus {
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 35, 42, 0.12);
}

.cart-checkout-form__input.is-invalid {
  border-color: #d9232a;
  background: #fff5f5;
}

.cart-checkout-form__utensils {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f6f6f6;
}

.cart-checkout-form__utensils-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-checkout-form__utensils-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.cart-checkout-form__utensils-sub {
  font-size: 12px;
  color: var(--color-muted);
}

.cart-checkout-form__utensils-val {
  min-width: 22px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8f8f8;
  border: 1px solid #ececec;
}

.checkout-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: var(--color-muted);
}

.checkout-summary__final {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #e2e2e2;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.cart-checkout-form__error {
  font-size: 13px;
  font-weight: 500;
  color: #d9232a;
  background: #fff2f2;
  border-radius: 8px;
  padding: 8px 12px;
}

/* 152-ФЗ Consent Checkbox in Checkout Form */
.cart-checkout-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ececec;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cart-checkout-form__consent.is-invalid {
  border-color: #d9232a;
  background: #fff5f5;
}

.cart-checkout-form__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  cursor: pointer;
}

.cart-checkout-form__consent-text {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--color-muted);
}

.cart-checkout-form__consent-text a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 500;
}

/* Footer & Contacts Legal Bar (152-ФЗ) */
.footer-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal__org a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  transition: color 0.15s ease;
}

.footer-legal__link:hover {
  color: var(--color-accent-hover);
}

.contacts-legal-links {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contacts-legal-links a {
  color: var(--color-accent);
  text-decoration: underline;
  font-size: 14px;
  font-weight: 500;
}

/* 152-ФЗ Legal & PDN Requests Modal */
.legal-modal {
  width: 760px;
  max-width: 100%;
}

.legal-modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid #efefef;
  padding-bottom: 14px;
}

.legal-modal__tab {
  padding: 8px 14px;
  border-radius: 9px;
  background: var(--color-chip-bg);
  color: var(--color-text-dark);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.legal-modal__tab.is-active {
  background: var(--color-accent);
  color: #ffffff;
}

.legal-modal__panel {
  display: none;
}

.legal-modal__panel.is-active {
  display: block;
}

.legal-doc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 6px;
}

.legal-doc h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.legal-doc h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-top: 6px;
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-doc a {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-doc__meta {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6f6f6;
  border-left: 3px solid var(--color-accent);
  font-size: 13px;
}

.cart-checkout-form__textarea {
  height: auto;
  min-height: 92px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.45;
}

.pdn-request-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.pdn-request-form__actions .btn-add,
.pdn-request-form__actions .btn-promo-outline {
  flex: 1;
  min-width: 210px;
}

/* Cookie & 152-ФЗ Notification Banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(860px, calc(100vw - 24px));
  background: rgba(28, 28, 28, 0.96);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__text {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner__text a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner__btn {
  width: auto;
  padding: 0 20px;
  height: 36px;
  flex-shrink: 0;
  font-size: 13px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #efefef;
}

.cart-item__left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item__img {
  width: 68px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.cart-item__price {
  font-size: 14px;
  color: var(--color-muted);
}

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

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--color-chip-bg);
  color: var(--color-text-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--color-chip-active);
  color: var(--color-accent);
}

.cart-modal__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-modal__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 600;
}

/* Promo Detail Modal ("Подробнее") */
.promo-detail-modal {
  width: 580px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 36px 34px;
  box-shadow: var(--shadow-card);
  position: relative;
  color: var(--color-text);
}

.promo-detail-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-chip-bg);
  color: var(--color-text-dark);
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.promo-detail-modal__close:hover {
  background: var(--color-accent);
  color: #ffffff;
  transform: scale(1.06);
}

.promo-detail-modal__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-dark);
  padding-right: 36px;
  margin-bottom: 20px;
}

.promo-detail-modal__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-text);
}

.promo-detail-modal__footnote {
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-muted);
}

.promo-item__media {
  cursor: pointer;
}

/* ==========================================================================
   Responsive Design (Tablet 768px-1024px & Dedicated Mobile Design <=767px)
   Matches Figma frames:
   - Главная моб. (199:973)
   - Категория моб. (210:1538)
   - pop-up моб. (210:2084)
   - Акции моб. (185:80)
   - Доставка и Оплата моб. (194:104)
   - Контакты моб. (81:231)
   - cart моб. (210:1459)
   ========================================================================== */
@media (max-width: 1180px) {
  .carousel-arrow--prev {
    left: 8px;
  }
  .carousel-arrow--next {
    right: 8px;
  }
}

@media (max-width: 1024px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .menu-bento,
  .menu-modal__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-card--sets {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .menu-card--rolls {
    grid-column: 2;
    grid-row: 1;
  }
  .menu-card--sushi {
    grid-column: 2;
    grid-row: 2;
  }
  .menu-card--salads {
    grid-column: 1;
    grid-row: 3;
  }
  .menu-card--drinks {
    grid-column: 1;
    grid-row: 4;
  }
  .menu-card--hot {
    grid-column: 2;
    grid-row: 3 / span 2;
  }
  .menu-card--snacks {
    grid-column: 1;
    grid-row: 5;
  }
  .menu-card--soups {
    grid-column: 2;
    grid-row: 5;
  }
  .menu-card--fitness {
    grid-column: 1;
    grid-row: 6;
  }
  .menu-card--desserts {
    grid-column: 2;
    grid-row: 6;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .product-modal {
    grid-template-columns: 1fr;
    max-width: 540px;
  }

  .product-modal__media {
    height: 300px;
  }

  .promo-item {
    flex-direction: column-reverse;
  }

  .promo-item__media {
    width: 100%;
    height: 240px;
  }

  .delivery-zones,
  .payment-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .title-desktop,
  .badge--desktop-only {
    display: none !important;
  }

  .title-mobile {
    display: inline !important;
  }

  .badge--mobile-only {
    display: inline-flex !important;
  }

  .mobile-br {
    display: inline !important;
  }

  /* 1. Mobile Sticky Header (199:1006, 320x69) */
  .site-header {
    height: 69px;
  }

  .header-inner {
    padding-left: 16px;
    padding-right: 15px;
  }

  .header-logo,
  .header-logo img {
    width: 150.41px;
    height: 23.25px;
  }

  .btn-menu-header,
  .header-search {
    display: none;
  }

  .btn-burger {
    width: 27px;
    height: 17.25px;
    margin-left: 0;
  }

  .btn-burger img {
    width: 27px;
    height: 17.25px;
  }

  /* 2. Mobile Hero (199:1103, 320x359 total height from top) */
  .hero {
    height: 290px; /* 359px total minus 69px header */
  }

  .hero__bg-wrap {
    top: -69px;
    height: 359px;
  }

  .hero__bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .hero__glow {
    top: 40px; /* 109px minus 69px header */
    width: 268px;
    height: 121px;
  }

  .hero__content {
    padding-top: 42px; /* 111px minus 69px header */
    gap: 10px;
  }

  .hero__title {
    font-size: 30px;
    font-weight: 900;
    line-height: 30px;
    max-width: 257px;
  }

  .hero__subtitle {
    font-size: 12px;
    line-height: 15px;
  }

  /* 3. Mobile Sections & Headings */
  .page-view {
    padding-bottom: 40px;
  }

  .section,
  .section--popular {
    margin-top: 40px;
  }

  .section-title {
    font-size: 21px;
    line-height: 26px;
    margin-bottom: 20px;
  }

  /* 4. Mobile Product Cards (cart-mob, 136x173, 2 columns) */
  .carousel-arrow {
    display: flex;
    width: 30px;
    height: 30px;
  }

  .carousel-arrow img {
    width: 46px;
    height: 46px;
  }

  .carousel-arrow--prev {
    left: -10px;
  }

  .carousel-arrow--next {
    right: -10px;
  }

  .carousel-track {
    grid-auto-columns: calc((100% - 16px) / 2);
    gap: 16px;
    padding: 8px 4px;
    margin: -8px -4px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 16px;
  }

  .product-card {
    height: 173px;
    border-radius: 10px;
    box-shadow: 0px 0.75px 8.85px 0px rgba(0, 0, 0, 0.12);
  }

  .product-card__media {
    height: 101px;
  }

  .product-card__badges-top {
    top: 8px;
    left: 8px;
    gap: 3.4px;
  }

  /* In Figma mobile cards (202:1185), chili badge is on the left (first) and Хит is second */
  .product-card__badges-top .badge--chili {
    order: -1;
    width: 17px;
    height: 17px;
    padding: 3.4px;
    border-radius: 4.58px;
  }

  .product-card__badges-top .badge--chili img {
    width: 9.52px;
    height: 9.52px;
  }

  .product-card__badges-top .badge:not(.badge--chili) {
    height: 17px;
    padding: 3.4px 11.56px;
    font-size: 8.16px;
    line-height: 10px;
    border-radius: 4.58px;
  }

  .product-card__badge-bottom {
    display: none;
  }

  .product-card__body {
    padding: 13px 10px 10px;
    align-items: center;
    text-align: center;
  }

  .product-card__title {
    font-size: 12px;
    line-height: 15px;
    width: 100%;
    text-align: center;
  }

  .product-card .btn-add {
    height: 28px;
    border-radius: 5px;
    font-size: 12px;
    gap: 3px;
  }

  .product-card .btn-add__prefix {
    display: none;
  }

  .product-card .btn-add__ruble {
    width: 11px;
    height: 11px;
  }

  /* 5. Mobile Promo Slider (202:1173 & 202:1184, 288x193 + pagination dots) */
  .promo-slider__viewport {
    height: auto;
    aspect-ratio: 456 / 305;
    border-radius: 10px;
    touch-action: pan-y;
    cursor: grab;
  }

  .promo-slider__viewport:active {
    cursor: grabbing;
  }

  .promo-slide__img--desktop {
    display: none !important;
  }

  .promo-slide__img--mobile {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .promo-slider .carousel-arrow {
    top: calc(50% - 10px);
  }

  .promo-slider__dots {
    display: flex;
  }

  /* 6. Mobile Menu Bento Grid (199:973, 2 columns asymmetric bento) */
  .menu-bento,
  .menu-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 86px;
    gap: 12px 16px;
  }

  .menu-card {
    border-radius: 10px;
    box-shadow: 0px 0.75px 9.975px 0px rgba(0, 0, 0, 0.1);
  }

  .menu-card__title,
  .menu-modal__grid .menu-card__title {
    top: 13px;
    left: 13px;
    font-size: 14px;
    line-height: 17px;
  }

  .menu-card--sets {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    height: auto !important;
  }

  .menu-card--rolls {
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: auto !important;
  }

  .menu-card--sushi {
    grid-column: 2 !important;
    grid-row: 2 !important;
    height: auto !important;
  }

  .menu-card--salads {
    grid-column: 1 !important;
    grid-row: 3 !important;
    height: auto !important;
  }

  .menu-card--drinks {
    grid-column: 1 !important;
    grid-row: 4 !important;
    height: auto !important;
  }

  .menu-card--hot {
    grid-column: 2 !important;
    grid-row: 3 / span 2 !important;
    height: auto !important;
  }

  .menu-card--snacks {
    grid-column: 1 !important;
    grid-row: 5 !important;
    height: auto !important;
  }

  .menu-card--soups {
    grid-column: 2 !important;
    grid-row: 5 !important;
    height: auto !important;
  }

  .menu-card--fitness {
    grid-column: 1 !important;
    grid-row: 6 !important;
    height: auto !important;
  }

  .menu-card--desserts {
    grid-column: 2 !important;
    grid-row: 6 !important;
    height: auto !important;
  }

  /* 7. Mobile Advantages (199:828 ... 210:1458) */
  .advantages-mission {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 33px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .advantage-card {
    padding: 26.25px;
    border-radius: 15px;
    min-height: 205.75px;
  }

  .advantage-card__inner {
    width: 208.5px;
    gap: 15px;
  }

  .advantage-card__title {
    font-size: 15px;
    line-height: 18px;
  }

  .advantage-card__text {
    font-size: 12px;
    line-height: 15px;
  }

  .advantage-card__clip--1 {
    top: -20px;
    right: 18.75px;
    width: 41.25px;
    height: 46.5px;
  }

  .advantage-card__clip--2 {
    top: -14.25px;
    right: 24.6px;
    width: 30.65px;
    height: 48.75px;
  }

  .advantage-card__clip--3 {
    top: -13.16px;
    right: 18.45px;
    width: 38.11px;
    height: 46.99px;
  }

  /* 8. Mobile Floating Cart Pill (210:1459, 279x37.5) */
  .floating-cart {
    width: 279px;
    max-width: calc(100vw - 32px);
    height: 37.5px;
    padding: 4.5px 15.75px;
    border-radius: 10.5px;
    bottom: 18px;
    flex-direction: row;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    box-shadow: 0px 3px 11.55px 0px rgba(0, 0, 0, 0.25);
  }

  .floating-cart__info {
    font-size: 14px;
    gap: 7.5px;
    width: 100%;
    justify-content: center;
  }

  .floating-cart__icon {
    width: 24px;
    height: 24px;
  }

  .floating-cart__text {
    gap: 4.5px;
  }

  .floating-cart__ruble {
    width: 7.5px;
    height: 9.75px;
  }

  .floating-cart__btn {
    display: none;
  }

  /* 9. Mobile Subpages (Breadcrumbs, Category, Promos, Delivery, Contacts) */
  .subpage-top-banner {
    padding-top: 23px;
  }

  .breadcrumbs {
    font-size: 10.5px;
    gap: 6px;
    margin-bottom: 15px;
  }

  .breadcrumbs__sep {
    width: 4.5px;
    height: 9.75px;
  }

  .category-chips {
    gap: 8px 6px;
    margin-bottom: 26px;
  }

  .category-chip {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 10.5px;
  }

  /* Promotions Page Mobile (185:80) */
  .loyalty-block {
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
  }

  .loyalty-block__text {
    font-size: 12px;
    line-height: 15px;
  }

  .loyalty-block__text + .loyalty-block__text {
    margin-top: 12px;
  }

  .loyalty-card-visual {
    display: none;
  }

  .promo-list {
    gap: 20px;
  }

  .promo-item {
    flex-direction: column-reverse;
    border-radius: 10px;
    min-height: 363px;
    box-shadow: 0px 0.75px 8.85px 0px rgba(0, 0, 0, 0.12);
  }

  .promo-item__media {
    width: 100%;
    height: 193px;
    border-radius: 10px 10px 0 0;
  }

  .promo-item__body {
    padding: 20px 19px;
  }

  .promo-item__title {
    font-size: 21px;
    line-height: 26px;
    margin-bottom: 10px;
  }

  .promo-item__desc {
    font-size: 12px;
    line-height: 15px;
  }

  .promo-item__actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
  }

  .btn-promo-primary,
  .btn-promo-outline {
    flex: 1;
    height: 29px;
    padding: 6px 12px;
    border-radius: 7.5px;
    font-size: 12.14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn-promo-outline--mobile {
    display: inline-flex !important;
  }

  .promo-notes {
    margin-top: 20px;
    gap: 12px;
  }

  .promo-note {
    align-items: flex-start;
    gap: 8px;
    font-size: 10px;
    line-height: 12px;
  }

  .promo-note img {
    width: 12px;
    height: 12px;
    margin-top: 1px;
  }

  /* Delivery & Payment Mobile (194:104) */
  .delivery-hours {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .delivery-map-box {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    height: 320px;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: none;
  }

  .delivery-zones {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    font-size: 12px;
    line-height: 15px;
  }

  .delivery-zone p + p {
    margin-top: 8px;
    line-height: 18px;
  }

  .payment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .payment-item {
    gap: 15px;
  }

  .payment-item__icon {
    height: 71.25px;
  }

  .payment-item__text {
    font-size: 12px;
    line-height: 15px;
  }

  /* Contacts Mobile (81:231) */
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 12px;
    line-height: 15px;
  }

  .contacts-block + .contacts-block {
    margin-top: 20px;
  }

  .contacts-map-full {
    height: 320px;
  }

  /* 10. Mobile Product Detail Pop-up (210:2084, 320x538) */
  .app-dialog {
    max-width: calc(100vw - 16px);
  }

  .product-modal {
    width: 320px;
    min-height: 538px;
    border-radius: 15px;
    grid-template-columns: 1fr;
  }

  .product-modal__media {
    height: 246px;
  }

  .product-modal__badges {
    top: 13px;
    left: 13.23px;
    gap: 5.2px;
  }

  .product-modal__badge {
    height: 22.87px;
    padding: 4.57px 15.55px;
    font-size: 10.98px;
    border-radius: 6.16px;
  }

  .product-modal__badge--chili {
    display: inline-flex;
    width: 22.87px;
    height: 22.87px;
    padding: 4.57px;
  }

  .product-modal__close {
    top: 13px;
    right: 13px;
    width: 31px;
    height: 31px;
  }

  .product-modal__close img {
    width: 31px;
    height: 31px;
  }

  .product-modal__content {
    padding: 20px 37px 26px;
  }

  .product-modal__title {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 4px;
  }

  .product-modal__weight {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 13px;
  }

  .product-modal__section-label {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 4px;
  }

  .product-modal__ingredients {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 19px;
  }

  .product-modal__nutrition-title {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 10px;
  }

  .product-modal__macros {
    gap: 16px;
    margin-bottom: 24px;
  }

  .macro-item {
    font-size: 12px;
    gap: 7.5px;
    white-space: nowrap;
  }

  .product-modal__cta {
    height: 39px;
    border-radius: 10px;
    font-size: 12.14px;
    margin-top: 0;
  }

  .product-modal__cta .btn-add__ruble {
    width: 12.14px;
    height: 12.14px;
  }

  /* Menu Categories Modal on Mobile */
  .menu-modal__box {
    padding: 20px 16px;
    border-radius: 15px;
  }

  /* Cart Modal on Mobile */
  .cart-modal {
    padding: 20px 16px;
    border-radius: 15px;
  }

  .cart-modal__title {
    font-size: 18px;
  }

  .promo-detail-modal {
    width: 320px;
    padding: 28px 20px 24px;
    border-radius: 15px;
  }

  .promo-detail-modal__close {
    top: 12px;
    right: 12px;
    width: 31px;
    height: 31px;
    font-size: 20px;
  }

  .promo-detail-modal__title {
    font-size: 18px;
    margin-bottom: 14px;
    padding-right: 28px;
  }

  .promo-detail-modal__body {
    font-size: 12px;
    gap: 10px;
  }

  .promo-detail-modal__footnote {
    margin-top: 14px;
    font-size: 11px;
  }

  /* 11. Mobile Footer (199:990, 320x462) */
  .site-footer {
    min-height: 462px;
    padding: 41px 0 45px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-logo,
  .footer-logo img {
    width: 150.41px;
    height: 23.25px;
    margin-top: 0;
  }

  .footer-logo {
    margin-bottom: 35px;
  }

  .footer-nav-col {
    gap: 13.5px;
    padding-top: 0;
    margin-bottom: 27px;
  }

  .footer-link {
    font-size: 12px;
    line-height: 15px;
  }

  .footer-social-col {
    gap: 15.75px;
    margin-top: 4px;
  }

  .footer-social-title {
    font-size: 12px;
    line-height: 15px;
  }

  .footer-socials {
    gap: 13.7px;
  }

  .footer-social-btn {
    width: 32.87px;
    height: 32.87px;
  }

  /* Mobile Header Region Switcher & Phone */
  .header-actions {
    margin-left: 8px;
    gap: 6px;
    min-width: 0;
  }

  .header-phone {
    font-size: 10px;
    flex-shrink: 0;
  }

  .header-actions .region-dropdown-toggle {
    height: 29px;
    padding: 0 6px;
    font-size: 11px;
    border-radius: 8px;
    gap: 3px;
    min-width: 0;
  }

  .header-actions .region-dropdown-toggle__pin {
    width: 11px;
    height: 13px;
  }

  .header-actions .region-dropdown-toggle__label {
    max-width: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions .region-dropdown-list {
    right: 0;
    left: auto;
    min-width: 210px;
  }

  .category-region-subtitle {
    margin-top: -8px;
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 15px;
  }
}

/* ==========================================================================
   Narrow phones (360px и меньше): шапка должна влезать без горизонтального скролла
   ========================================================================== */
@media (max-width: 429px) {
  .header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-logo,
  .header-logo img {
    width: 132px;
    height: 20.4px;
  }

  .header-actions {
    margin-left: 6px;
    gap: 5px;
  }

  .header-actions .region-dropdown-toggle {
    padding: 0 6px;
    font-size: 10.5px;
  }

  .header-actions .region-dropdown-toggle__label {
    max-width: 52px;
  }

  .header-phone {
    font-size: 9.5px;
  }

  .btn-burger,
  .btn-burger img {
    width: 24px;
    height: 15.4px;
  }
}

@media (max-width: 359px) {
  .header-logo,
  .header-logo img {
    width: 116px;
    height: 18px;
  }

  .header-actions {
    margin-left: 5px;
    gap: 4px;
  }

  .header-actions .region-dropdown-toggle__label {
    max-width: 44px;
  }

  /* Телефон остаётся доступен в меню-шторке */
  .header-phone {
    display: none;
  }

  .btn-burger,
  .btn-burger img {
    width: 22px;
    height: 14px;
  }
}

/* ==========================================================================
   Планшеты (768–1023px): компактная шапка без горизонтального скролла
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-logo,
  .header-logo img {
    width: 176px;
    height: 27.2px;
  }

  .header-actions {
    margin-left: 16px;
    gap: 14px;
  }

  /* Поиск остаётся доступен в меню-шторке */
  .header-search-wrap {
    display: none;
  }

  .header-phone {
    font-size: 15px;
  }
}
