.map-demo { width: min(1384px, calc(100% - 40px)); margin: 0 auto; }
.map-demo__back { color: #3e74bd; text-decoration: none; }
.map-demo__intro { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 40px; align-items: start; margin: 0; padding: 64px 0 64px; background: none; border-radius: 0; }
.map-demo__copy h1 { margin: 0 0 16px; font-size: 48px; line-height: 52.8px; font-weight: 600; letter-spacing: -0.5px; }
.map-demo__copy > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
/* Плашка «Товары в заказе» по образцу _map/index.html */
.selected-product {
  padding: 22px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(35, 70, 119, 0.16);
}
.selected-product h2 {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(22, 30, 37, 0.102);
  font-size: 21px;
  line-height: 1.2;
}
.selected-product__item { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 16px; padding-top: 16px; }
.selected-product__image { display: grid; width: 90px; height: 72px; place-items: center; border-radius: 12px; background: #f2f5fb; }
.selected-product__image img { width: 74px; height: 58px; object-fit: contain; }
.selected-product__info { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; }
.selected-product__title { margin: 0; font-size: 15px; line-height: 1.3; }
.selected-product__price { display: grid; gap: 5px; text-align: right; white-space: nowrap; }
.selected-product__amount { font-size: 17px; }
.selected-product__count { color: #8b8f92; font-size: 13px; }
.inline-map-section { margin-bottom: 44px; }
.inline-map-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 18px; }
.inline-map-section__heading h2 { margin-bottom: 0; }
.inline-map-section__heading > p { margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.inline-widget-host { width: 1382px; max-width: 100%; margin: 0 auto; height: 768px; overflow: hidden; }
.inline-widget-host iframe { width: 1382px !important; height: 768px !important; }
.inline-widget-loading { display: grid; place-items: center; height: 768px; border: 1px solid var(--line); border-radius: 24px; color: var(--muted); background: white; }
@media (max-width: 800px) {
  .map-demo { width: min(100% - 24px, 1280px); }
  .map-demo__intro { grid-template-columns: 1fr; padding: 28px; }
  .inline-map-section__heading { align-items: start; flex-direction: column; gap: 4px; }
}
@media (max-width: 520px) {
  .selected-product { padding: 18px; border-radius: 16px; }
  .selected-product__item { grid-template-columns: 72px 1fr; }
  .selected-product__image { width: 72px; height: 64px; }
  .selected-product__image img { width: 60px; height: 50px; }
  .selected-product__info { display: grid; gap: 6px; }
  .selected-product__price { text-align: left; }
  .inline-widget-host, .inline-widget-loading { height: 768px; }
}

/* ===== Header/back по шаблону _map ===== */
.site-header {
  height: 68px;
  display: flex;
  align-items: center;
  padding-inline: max(24px, calc((100% - var(--max-width)) / 2));
  background: #fff;
  border-top: 1px solid #aeb9c5;
  border-bottom: 1px solid #d9e7f4;
}


.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue);
  text-decoration: none;
}

.logo__name {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -2.3px;
  line-height: 1;
}

.logo__name b { font-weight: 700; }

.logo__mark {
  position: relative;
  width: 38px;
  height: 38px;
}

.logo__mark i,
.logo__mark::before,
.logo__mark::after {
  position: absolute;
  display: block;
  content: "";
  background: var(--blue);
  border-radius: 7px;
}

.logo__mark i:first-child { inset: 0 13px; }
.logo__mark i:last-child { inset: 13px 0; }
.logo__mark::before { width: 10px; height: 10px; inset: 14px; background: #fff; z-index: 2; }


.back-link {
  display: inline-block;
  margin: 0 0 20px 8px;
  color: #3e74bd;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}


.back-link:hover { text-decoration: underline; }
.site-header { height: 68px; padding-inline: max(24px, calc((100% - 1382px) / 2 + 40px)); }
.logo { display: inline-flex; align-items: center; gap: 10px; width: 180px; height: 34px; }
.logo__mark { width: 34px; height: 34px; }
.logo__mark i:first-child { inset: 0 12px; }
.logo__mark i:last-child { inset: 12px 0; }
.logo__mark::before { width: 9px; height: 9px; inset: 12px; }
.logo__name { font-size: 36px; letter-spacing: -2px; }
.header-brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.header-brand-col .map-demo__back { display: none; }
.map-demo__back:hover { text-decoration: underline; }

.map-demo__copy > p.lead { margin: 20px 0 0; max-width: 650px; color: var(--ink); font-size: 15px; line-height: 21px; font-weight: 500; }
.map-demo__copy .eyebrow + .eyebrow { margin: -8px 0 16px; }

/* Лого как на главной (картинки бренда виджета) */
.header-brand-col .logo { display: flex; align-items: center; gap: 10px; }
.header-brand-col .logo-img { display: block; }
.header-brand-col .logo-img:first-child { width: 34px; height: 34px; }
.header-brand-col .logo-img:last-child { width: 135px; height: 34px; }
