/* ===== ZOOMAG STORES 2026 (CMS inline block) ===== */
.zm-stores-2026 {
  --zm-bg: linear-gradient(135deg, #fffaf3 0%, #f7fbff 100%);
  --zm-surface: #ffffff;
  --zm-text: #2d2d2d;
  --zm-muted: #6b7280;
  --zm-line: #f2dfcd;
  --zm-accent: #ff6b35;
  --zm-accent-2: #ff965f;
  --zm-mint: #35c7be;
  --zm-mint-2: #62ddd5;
  --zm-shadow: 0 14px 30px rgba(20, 24, 33, 0.08);

  max-width: 1200px;
  margin: 0 auto 36px;
  padding: clamp(16px, 2.5vw, 28px);
  background: var(--zm-bg);
  border-radius: 22px;
  border: 1px solid #f7e8d9;
  box-shadow: var(--zm-shadow);
  color: var(--zm-text);
  position: relative;
  z-index: 1;
}

.zm-stores-2026 * { box-sizing: border-box; }

.zm-stores-2026__head {
  text-align: center;
  margin-bottom: 20px;
}

.zm-stores-2026__title {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 900;
  color: #223;
  background: linear-gradient(135deg, #ff6b35, #36c9c0 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zm-stores-2026__subtitle {
  margin: 0;
  color: var(--zm-muted);
  font-size: 0.98rem;
}

.zm-stores-2026__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.zm-stores-2026__card {
  position: relative;
  background: var(--zm-surface);
  border: 1px solid #f3e4d3;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  overflow: hidden;
}

.zm-stores-2026__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.08);
  border-color: #ffd0b3;
}

.zm-stores-2026__card.is-active {
  border-color: #ffb286;
  background: linear-gradient(180deg, #ffffff, #fffaf6);
  box-shadow: 0 16px 28px rgba(255, 107, 53, 0.14);
}

.zm-stores-2026__card-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--zm-accent), var(--zm-mint));
}

.zm-stores-2026__card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3eee7;
}

.zm-stores-2026__emoji {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #fff0e7, #eafcf9);
  border: 1px solid #ffe1cb;
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.08);
}

.zm-stores-2026__store-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 800;
  color: #242424;
}

.zm-stores-2026__store-badge {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: #7b8696;
}

.zm-stores-2026__meta {
  display: grid;
  gap: 10px;
}

.zm-stores-2026__meta-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.03);
  border: 1px solid rgba(255, 107, 53, 0.05);
  transition: background .2s ease, border-color .2s ease;
}

.zm-stores-2026__card.is-active .zm-stores-2026__meta-item {
  background: rgba(255, 107, 53, 0.05);
  border-color: rgba(255, 107, 53, 0.12);
}

.zm-stores-2026__meta-icon {
  font-size: 1.1rem;
  line-height: 1.2;
  text-align: center;
}

.zm-stores-2026__meta-content p {
  margin: 0;
}

.zm-stores-2026__line {
  color: #2f2f2f;
  font-size: 0.96rem;
  line-height: 1.45;
}

.zm-stores-2026__line strong {
  color: #1f1f1f;
}

.zm-stores-2026__hint {
  margin-top: 3px !important;
  color: var(--zm-muted);
  font-size: 0.9rem;
}

.zm-stores-2026__line--hours {
  color: #1f8f88;
  font-weight: 600;
}

.zm-stores-2026__line a {
  color: #e35b1f;
  text-decoration: none;
  font-weight: 600;
}
.zm-stores-2026__line a:hover {
  text-decoration: underline;
}

.zm-stores-2026__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.zm-stores-2026__btn {
  border: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  font-family: inherit;
}

.zm-stores-2026__btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.03);
}

.zm-stores-2026__btn--call {
  background: linear-gradient(135deg, var(--zm-accent), var(--zm-accent-2));
  color: #fff;
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.22);
}

.zm-stores-2026__btn--map {
  background: linear-gradient(135deg, var(--zm-mint), var(--zm-mint-2));
  color: #fff;
  box-shadow: 0 8px 16px rgba(53, 199, 190, 0.20);
}

.zm-stores-2026__map-block {
  margin-top: 20px;
}

.zm-stores-2026__map-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #2c2e34;
  font-weight: 800;
}

.zm-stores-2026__map-note {
  margin: 0 0 12px;
  text-align: center;
  color: var(--zm-muted);
  font-size: 0.92rem;
}

.zm-stores-2026__map {
  width: 100%;
  height: clamp(300px, 42vw, 450px);
  border-radius: 16px;
  border: 2px solid #e8f0e6;
  background: #f7faf8;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  scroll-margin-top: 100px;
}

.zm-stores-2026__map.is-focus {
  border-color: #ffc49f;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.14);
}

.zm-stores-2026__fallback {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7f1;
  border: 1px solid #ffe1ca;
  color: #7c4a2f;
  font-size: 0.92rem;
}

/* Балуны Яндекс.Карт */
.zm-stores-balloon {
  padding: 8px 2px 2px;
  color: #2d2d2d;
  font-family: Arial, sans-serif;
}
.zm-stores-balloon__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}
.zm-stores-balloon__row {
  margin: 4px 0;
  font-size: 0.92rem;
  line-height: 1.35;
}
.zm-stores-balloon__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff !important;
  background: #ff6b35;
  font-weight: 700;
  font-size: 0.9rem;
}
.zm-stores-balloon__call:hover {
  filter: brightness(.96);
}

/* Mobile */
@media (max-width: 767px) {
  .zm-stores-2026 {
    margin-bottom: 28px;
    padding: 14px;
    border-radius: 18px;
  }

  .zm-stores-2026__card {
    padding: 14px;
  }

  .zm-stores-2026__card-head {
    align-items: start;
  }

  .zm-stores-2026__emoji {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.25rem;
  }

  .zm-stores-2026__meta-item {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }

  .zm-stores-2026__meta-icon {
    text-align: left;
  }

  .zm-stores-2026__actions {
    flex-direction: column;
  }

  .zm-stores-2026__btn {
    width: 100%;
  }

  .zm-stores-2026__map {
    scroll-margin-top: 80px;
  }
}

@media (max-width: 480px) {
  .zm-stores-2026__title {
    font-size: 1.45rem;
  }

  .zm-stores-2026__subtitle {
    font-size: 0.9rem;
  }

  .zm-stores-2026__store-title {
    font-size: 1.05rem;
  }

  .zm-stores-2026__line {
    font-size: 0.92rem;
  }

  .zm-stores-2026__map {
    scroll-margin-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zm-stores-2026 * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* R21 wide-screen adaptation */
.zm-stores-2026 { max-width: 1760px; width: 100%; }
@media (min-width: 1100px) {
  .zm-stores-2026__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .zm-stores-2026__card { padding: 22px; }
  .zm-stores-2026__map { height: clamp(430px, 28vw, 560px); }
}
@media (min-width: 1900px) {
  .zm-stores-2026 { max-width: 1840px; padding: 32px; }
  .zm-stores-2026__grid { gap: 28px; }
  .zm-stores-2026__title { font-size: 2.55rem; }
  .zm-stores-2026__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zm-stores-2026__meta-item { grid-template-columns: 28px 1fr; min-height: 88px; }
  .zm-stores-2026__actions { justify-content: flex-start; }
}
@media (min-width: 2400px) { .zm-stores-2026 { max-width: 2100px; } }


/* R22: true full-width layout and keyless Yandex widget */
#information-information.zm-info-page-2 .zm-stores-2026 {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}
.zm-stores-2026__map {
  position: relative;
  height: clamp(380px, 30vw, 580px) !important;
  min-height: 380px;
}
.zm-stores-2026__map iframe,
.zm-stores-2026__map .zm-yandex-widget-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #f7faf8;
}
.zm-stores-2026__map-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.zm-stores-2026__map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #dce8e5;
  border-radius: 12px;
  color: #245f59;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}
.zm-stores-2026__map-link:hover { background: #effaf8; color: #174a45; }
@media (min-width: 1900px) {
  .zm-stores-2026 { padding: 32px 36px !important; }
  .zm-stores-2026__grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .zm-stores-2026__map { height: 570px !important; }
}
@media (min-width: 2400px) {
  .zm-stores-2026__map { height: 640px !important; }
}
@media (max-width: 767px) {
  .zm-stores-2026__map { height: 360px !important; min-height: 360px; }
  .zm-stores-2026__map-links { flex-direction: column; }
  .zm-stores-2026__map-link { width: 100%; }
}
