/* «Магазины» в шапке + левая панель с картой (2026-11-28) */
:root { --st-w: 460px; }
.hdr-stores {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-right: 14px; padding: 0 14px; height: 42px;
  border: 1px solid #e5eaf2; border-radius: 999px; background: #fff; color: #0a2540; cursor: pointer;
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .2s, background .2s, color .2s;
}
.hdr-stores svg { color: #ff6a00; }
.hdr-stores:hover { border-color: #ff8a1f; background: #fff7ef; }
.hdr-stores__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #0a2540; color: #fff; font-size: 12px; }
@media (max-width: 1280px) { .hdr-stores__label { display: none; } .hdr-stores { padding: 0 11px; } }

@media (min-width: 761px) {
  html.st-open body { margin-left: var(--st-w); margin-right: calc(var(--st-w) * -1); }
}
html.st-open { overflow: hidden; }
.st-overlay { position: fixed; inset: 0; z-index: 2147483600; background: rgba(10, 37, 64, .35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.st-panel {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 2147483601; display: flex; flex-direction: column;
  width: var(--st-w); max-width: 100vw; background: #fff; outline: none; color: #1f2937; font-size: 14px;
  box-shadow: 24px 0 60px rgba(10, 37, 64, .2); transform: translateX(-100%); transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}
html.st-open .st-overlay { opacity: 1; visibility: visible; }
html.st-open .st-panel { transform: none; }
.st-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #eef1f6; }
.st-title { color: #0a2540; font-family: 'Metall Bold', 'Montserrat', sans-serif; font-size: 22px; line-height: 1.1; }
.st-sub { margin-top: 3px; color: #8a94a6; font-size: 13px; }
.st-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: #f3f6fa; color: #0a2540; cursor: pointer; }
.st-close:hover { background: #e6ecf5; }
.st-map { position: relative; flex: 0 0 300px; background: #eef2f7; }
.st-map__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8a94a6; }
.st-list { flex: 1 1 auto; overflow-y: auto; padding: 8px 12px 16px; }
.st-item { display: flex; gap: 12px; padding: 14px 10px; border-bottom: 1px solid #f1f4f8; border-radius: 14px; cursor: pointer; outline: none; transition: background .15s; }
.st-item:hover, .st-item:focus-visible { background: #f7f9fc; }
.st-item.is-active { background: #fff7ef; }
.st-item__pin { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; height: 36px; border-radius: 12px; background: #fff1e3; color: #ff6a00; }
.st-item.is-active .st-item__pin { background: #ff6a00; color: #fff; }
.st-item__body { min-width: 0; }
.st-item__name { color: #0a2540; font-size: 15px; font-weight: 700; line-height: 1.3; }
.st-item__addr { margin-top: 3px; color: #475569; font-size: 13px; line-height: 1.4; }
.st-item__hours { margin-top: 4px; color: #16a34a; font-size: 12px; font-weight: 600; }
.st-item__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.st-btn { display: inline-flex; align-items: center; padding: 6px 11px; border: 1px solid #e5eaf2; border-radius: 999px; background: #fff; color: #0a2540 !important; font-size: 12px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.st-btn:hover { border-color: #3d6fd6; color: #3d6fd6 !important; }
.st-btn--call { border-color: #bbf7d0; background: #f0fdf4; color: #15803d !important; }
@media (max-width: 760px) {
  .st-panel { width: 100vw; }
  .st-map { flex-basis: 240px; }
}
@media (prefers-reduced-motion: reduce) { .st-panel, .st-overlay { transition: none; } }

/* закреплённая шапка едет вместе со страницей */
header.header { transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 761px) {
  html.st-open header.header { transform: translateX(var(--st-w)); }
}
@media (min-width: 761px) {
  html.st-open body { margin-left: var(--st-shift, var(--st-w)); margin-right: calc(var(--st-shift, var(--st-w)) * -1); }
  html.st-open header.header { transform: translateX(var(--st-shift, var(--st-w))); }
}
