/* Общие стили (ваши, без изменений) */
.MenuDesktopContainer_menuDesktopContainer__himVT ul.chosen {
  display: none;
}
.MenuDesktopContainer_menuDesktopContainer__himVT ul.active {
  display: flex !important;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #0b2f63;
  line-height: 1.6;
}
a {
  color: #0b2f63;
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.header {
  background: white;
  padding: 10px 0;
}
.header-above-inner {
  background-color: #003166;
  color: white;
  padding: 5px;
}
.header-above-inner ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style-type: none;
}
.header-above-inner ul a {
  color: #cce4ff;
  font-size: 0.6875rem;
}
.header .logo {
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.nav a {
  margin-left: 20px;
  color: #003166;
  font-size: 14px;
}
.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.btn {
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  transition: 0.2s;
  cursor: pointer;
}
.btn.primary {
  background: #007bff;
  color: #fff;
}
.btn.primary:hover {
  background: #005ec7;
}
.btn.secondary {
  border: 2px solid #007bff;
  color: #007bff;
  background: transparent;
}
.btn.secondary:hover {
  background: #f0f8ff;
}
.footer {
  background: #002e5b;
  color: #fff;
  padding: 40px 16px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.footer-col p {
  font-weight: bold;
  color: hsla(0, 0%, 100%, 0.67);
  margin-bottom: 12px;
  font-size: 0.75rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col li a {
  color: #cce4ff;
  font-size: 14px;
}
.social-icons {
  margin-top: 12px;
}
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  color: #fff;
  font-size: 18px;
  transition: color 0.2s;
}
.social-icons a:hover {
  color: #00aced;
}
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  width: 288px;
  max-width: 100%;
}
.subscribe-form select,
.subscribe-form input {
  padding: 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
}
.subscribe-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  color: #003166;
  font-size: 1.0625rem;
  font-weight: 700;
  background-color: hsla(0, 0%, 100%, 0.13) !important;
  border: 0.188rem solid hsla(0, 0%, 100%, 0.13) !important;
  box-shadow: none !important;
  cursor: pointer;
}
.subscribe-form button:hover {
  background: #005ec7;
}
.subscribe-form span {
  color: hsla(0, 0%, 100%, 0.67);
  font-size: 0.75rem !important;
}
.subscribe-form span a {
  color: white;
}
.mobile-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  overflow: scroll;
  padding-top: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu-wrapper.open {
  transform: translateX(0);
}
.mobile-menu-inner {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.3s ease;
}
.mobile-submenu ul {
  flex-wrap: wrap;
}
.mobile-menu-content,
.mobile-submenu-content {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
.mobile-menu-content ul,
.mobile-submenu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-content li,
.mobile-submenu-content li {
  padding: 16px;
  border-bottom: 1px solid #eee;
  font-size: 18px;
  cursor: pointer;
}
.back-button {
  font-size: 16px;
  margin-bottom: 10px;
  display: inline-block;
  cursor: pointer;
  color: #003166;
}
.mobile-menu-close {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #003166;
  z-index: 1001;
}

/* Уникализированные стили для карты (только внутри .map-container, без пересечений) */
.map-container {
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  height: auto;
  min-height: 800px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.map-container .sidebar {
  width: 300px;
  padding: 20px;
  overflow-y: auto;
  background: #f9f9f9;
  border-right: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.map-container .sidebar h3 {
  margin-bottom: 10px;
  color: #003166;
}
.map-container .sidebar li.active {
  background-color: #f0f8ff;
  color: #007bff;
  font-weight: bold;
  border-radius: 4px;
}
.map-container .sidebar li:hover {
  background-color: #f0f8ff;
  cursor: pointer;
}
.map-container .content {
  flex: 1;
  padding-left: 20px;
}
.map-container .view-switch button {
  margin-right: 10px;
}
.map-container #list-view table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.map-container table th, .map-container table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}
.map-container table th {
  background-color: #f2f2f2;
  font-weight: bold;
}
.map-container table tr:nth-child(even) {
  background-color: #f9f9f9;
}
.map-container #region-select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #007bff;
  border-radius: 4px;
  cursor: pointer;
  background: white;
  transition: border-color 0.2s;
}
.map-container #region-select:focus {
  border-color: #005ec7;
  outline: none;
}
.map-container .sidebar .type-filter {
    margin-top: 15px;
    font-size: 16px;
}
.map-container .sidebar .type-filter label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    color: #003166;
}
.map-container .sidebar .type-filter input[type="radio"] {
    margin-right: 8px;
    accent-color: #007bff; /* Цвет для выбранной кнопки */
}

/* Responsive для карты */
@media (max-width: 991px) {
  .map-container {
    flex-direction: column;
    width: 100%;
  }
  .map-container .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 15px;
  }
  .map-container .content {
    padding-left: 0;
  }
}
@media (max-width: 768px) {
  .map-container {
    padding: 10px;
  }
  .map-container #list-view, .map-container #map-view {
    height: 500px;
  }
}
@media (max-width: 480px) {
  .map-container table th, .map-container table td {
    padding: 8px;
    font-size: 14px;
  }
}

Чтобы сделать карту responsive на мобильных устройствах (чтобы она занимала полную ширину экрана, а sidebar не сжимал её), вам нужно добавить CSS для media queries. Предполагаю, что в ваших стилях (в style.css или внешних CSS от ecommerce.sfa.ru) класс .map-container использует display: flex; с горизонтальной ориентацией (sidebar слева, content справа). На мобильных это приводит к сжатию content (где карта).
Добавьте следующий CSS в файл style.css (или прямо в <style> внутри <head> вашего index.html для теста). Это переключит layout на вертикальный на экранах шириной до 768px (стандарт для мобильных/планшетов), сделав sidebar и content на всю ширину.
CSS/* По умолчанию для ПК: flex row */
.map-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%; /* Убедимся, что контейнер на всю ширину */
}

.sidebar {
  width: 300px; /* Фиксированная ширина для ПК, подкорректируйте по нужде */
  padding: 10px;
  box-sizing: border-box;
}

.content {
  flex: 1; /* Занимает остальное пространство */
  padding: 10px;
  box-sizing: border-box;
}

#map-view, #list-view {
  width: 100%;
  height: 450px; /* Оставляем как в вашем коде */
}

/* Media query для мобильных */
@media screen and (max-width: 768px) {
  .map-container {
    flex-direction: column; /* Вертикальный stack: sidebar сверху, карта снизу */
  }

  .sidebar {
    width: 100%; /* Полная ширина */
    margin-bottom: 10px; /* Отступ снизу */
  }

  .content {
    width: 100%; /* Полная ширина */
  }

  #map-view, #list-view {
    height: 400px; /* Уменьшаем высоту для мобильных, чтобы не было слишком длинно; подкорректируйте */
  }

  .view-switch {
    display: flex;
    justify-content: center; /* Центрируем кнопки на мобильных */
  }
}

.map-container {
  text-align: left;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  height: auto;
  min-height: 800px;
  width: 100% !important; /* Изменено с 90% на 100% для полной ширины по умолчанию */
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.map-container .sidebar {
  width: 300px !important;
  padding: 20px !important;
  overflow-y: auto !important;
  background: #f9f9f9 !important;
  border-right: 1px solid #ddd !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.map-container .content {
  flex: 1 !important;
  padding-left: 20px !important;
  width: 100% !important; /* Добавлено для гарантии */
  box-sizing: border-box !important;
}

#map-view, #list-view {
  width: 100% !important;
  height: 450px !important;
  box-sizing: border-box !important;
}

#map {
  width: 100% !important;
  height: 100% !important;
}

/* Responsive для карты */
@media (max-width: 991px) {
  .main { /* Добавлено для возможного переопределения внешних стилей на .main */
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .map-container {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    margin: 0 !important;
  }

  .map-container .sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #ddd !important;
    margin-bottom: 20px !important;
    padding: 15px !important;
    border-radius: 0 !important; /* Упрощаем для мобильных */
  }

  .map-container .content {
    padding-left: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #map-view, #list-view {
    height: 500px !important; /* Уменьшаем для мобильных */
  }

  .view-switch {
    display: flex !important;
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .map-container {
    padding: 5px !important; /* Ещё меньше padding для маленьких экранов */
  }

  #map-view, #list-view {
    height: 400px !important; /* Ещё меньше, чтобы подходило под мобильные */
  }
}

@media (max-width: 480px) {
  .map-container table th, .map-container table td {
    padding: 8px !important;
    font-size: 14px !important;
  }

  .map-container .sidebar h3, .map-container .sidebar .type-filter label {
    font-size: 14px !important; /* Уменьшаем текст для очень маленьких экранов */
  }

  #region-select {
    font-size: 14px !important;
  }
}

/* Оптимизация таблицы для списка */
#list-view table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Это фиксирует ширины, чтобы они не зависели от содержимого */
}

#list-view th, #list-view td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd; /* Добавьте borders для лучшей видимости, если нужно */
    word-wrap: break-word; /* Перенос длинных слов, чтобы не растягивало */
    overflow: hidden; /* Скрываем переполнение, если текст слишком длинный */
}

/* Ширины столбцов */
#list-view th:nth-child(1), #list-view td:nth-child(1) { /* Название */
    width: 25%; /* На 30% уже, чем типичная авто-ширина */
}

#list-view th:nth-child(2), #list-view td:nth-child(2) { /* Адрес */
    width: 40%; /* На 50% шире, чем типичная авто-ширина */
}

#list-view th:nth-child(3), #list-view td:nth-child(3) { /* Телефон */
    width: 20%;
}

#list-view th:nth-child(4), #list-view td:nth-child(4) { /* Тип */
    width: 15%;
}

table-layout: fixed; — ключевой момент, он заставляет браузер уважать указанные ширины, а не подстраиваться под текст.
Если ширина экрана маленькая (мобильные), добавьте медиа-запрос для адаптации:CSS@media (max-width: 768px) {
    #list-view th:nth-child(1), #list-view td:nth-child(1) { width: 30%; }
    #list-view th:nth-child(2), #list-view td:nth-child(2) { width: 35%; }
    #list-view th:nth-child(3), #list-view td:nth-child(3) { width: 20%; }
    #list-view th:nth-child(4), #list-view td:nth-child(4) { width: 15%; }
}