:root {
  --page-bg: #eef3ec;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --line: rgba(25, 40, 28, 0.08);
  --text: #17221a;
  --muted: #64716a;
  --primary: #2d7d32;
  --primary-strong: #195421;
  --accent: #a9d86e;
  --shadow: 0 25px 70px rgba(17, 44, 22, 0.14);
  --shadow-soft: 0 16px 40px rgba(17, 44, 22, 0.1);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(169, 216, 110, 0.28), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(45, 125, 50, 0.11), transparent 24rem),
    linear-gradient(180deg, #fbfdf9 0%, var(--page-bg) 52%, #e9f1e6 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}
body.modal-locked { overflow: hidden; }
a { color: var(--primary-strong); text-decoration: none; transition: .2s ease; }
a:hover, a:focus { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

.btn, .form-control { border-radius: 16px !important; }
.btn {
  border: 0;
  font-weight: 700;
  padding: 12px 18px;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn-success, .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong)) !important;
  box-shadow: 0 14px 30px rgba(45, 125, 50, 0.24);
}
.btn-default {
  background: rgba(246, 251, 244, 0.98) !important;
  color: var(--primary-strong) !important;
  border: 1px solid rgba(45, 125, 50, 0.14) !important;
}
.form-control {
  min-height: 50px;
  border: 1px solid rgba(25, 40, 28, 0.1) !important;
  box-shadow: none !important;
  color: var(--text);
  background: rgba(255,255,255,0.96) !important;
}
.form-control:focus {
  border-color: rgba(45, 125, 50, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(45, 125, 50, 0.12) !important;
}

.section-label {
  display: inline-block;
  color: var(--primary-strong);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.topbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 24px 12px;
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.brand-link { flex: 0 0 auto; }
.brand-logo { width: 170px; display: block; }
.topbar__title {
  margin: 4px 0 6px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 800;
}
.topbar__text {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.5;
}
.topbar__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-pill,
.partner-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(25, 40, 28, 0.08);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}
.topbar-pill {
  color: var(--primary-strong);
  background: rgba(240, 248, 236, 0.96);
}
.partner-badge strong { color: var(--primary-strong); }

.main-home {
  padding: 0 20px 28px;
}
.map-stage-section {
  width: 100%;
}
.map-stage {
  position: relative;
  width: 100%;
  min-height: 78vh;
  border-radius: 34px;
  overflow: hidden;
  background: #dde7d7;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.82);
}
#YMapsID {
  width: 100%;
  height: 78vh;
  min-height: 620px;
  background: #e8efe3;
}
.map-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 23, 15, 0.34) 0%, rgba(15, 23, 15, 0.12) 30%, rgba(15, 23, 15, 0) 55%),
    linear-gradient(0deg, rgba(12, 18, 14, 0.18) 0%, rgba(12, 18, 14, 0) 42%);
  pointer-events: none;
}
.map-floating {
  position: absolute;
  z-index: 3;
  width: min(420px, calc(100% - 36px));
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.map-floating h2,
.map-floating h3 {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 800;
}
.map-floating h3 { font-size: 24px; }
.map-floating--left { left: 20px; top: 20px; }
.map-floating--right { right: 20px; bottom: 20px; }
.floating-text {
  margin: 0 0 16px;
  color: #33423a;
  line-height: 1.58;
}
.field-grid {
  display: grid;
  gap: 14px;
}
.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #33423a;
  font-size: 13px;
  font-weight: 700;
}
.floating-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.summary-chip {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(237, 246, 232, 0.94);
  color: var(--primary-strong);
  font-weight: 700;
}

.geo-status {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(25, 40, 28, 0.08);
  color: #33423a;
  font-size: 13px;
  line-height: 1.45;
}
.geo-status--ok {
  background: rgba(237, 246, 232, 0.96);
  color: var(--primary-strong);
}
.geo-status--error {
  background: rgba(255, 246, 231, 0.96);
  color: #81520d;
}
.geo-status--loading {
  background: rgba(236, 244, 255, 0.96);
  color: #24476f;
}
.focus-list {
  margin: 0;
  padding-left: 18px;
  color: #33423a;
}
.focus-list li { margin-bottom: 8px; }
.floating-title {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}
.focus-metrics {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.focus-metrics div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
}
.focus-metrics span,
.shop-card__meta span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--muted);
}
.focus-metrics strong,
.shop-card__meta strong { display: block; font-size: 14px; line-height: 1.42; }
.focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.focus-note,
.shop-card__note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff8e8;
  border: 1px solid rgba(197, 129, 26, 0.22);
  color: #7a4d08;
  font-weight: 700;
  line-height: 1.45;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}
.content-shell > .panel-card--wide {
  grid-column: 1 / -1;
  width: 100%;
}
.panel-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
  backdrop-filter: blur(12px);
}
.panel-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-title {
  margin: 6px 0 0;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
}
.panel-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-indicator {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef7e8;
  color: var(--primary-strong);
  font-weight: 700;
}

.shop-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.shop-card {
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(25, 40, 28, 0.08);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 14px 32px rgba(17, 44, 22, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 44, 22, 0.12);
}
.shop-card.is-active {
  border-color: rgba(45, 125, 50, 0.38);
  box-shadow: 0 20px 40px rgba(45, 125, 50, 0.18);
}
.shop-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.shop-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef7e8;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.shop-card__mapbtn {
  border: 0;
  background: transparent;
  color: var(--primary-strong);
  font-weight: 800;
  padding: 0;
}
.btn-map-focus {
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: #fff !important;
  background: linear-gradient(135deg, #ff6b2d 0%, #e02f2f 100%) !important;
  box-shadow: 0 16px 34px rgba(224, 47, 47, 0.28);
  border: 0 !important;
}
.btn-map-focus:hover, .btn-map-focus:focus {
  color: #fff !important;
  box-shadow: 0 20px 42px rgba(224, 47, 47, 0.34);
}
.shop-card__title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.36;
  font-weight: 800;
}
.shop-card__meta {
  display: grid;
  gap: 10px;
}
.shop-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.empty-state {
  padding: 24px;
  border-radius: 24px;
  background: rgba(247, 250, 245, 0.96);
  border: 1px dashed rgba(45, 125, 50, 0.28);
  text-align: center;
}
.empty-state h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.empty-state p { margin: 0; color: var(--muted); }

.tips-stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.tip-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(248, 251, 246, 0.96);
  border: 1px solid rgba(25, 40, 28, 0.06);
}
.tip-item strong { font-size: 15px; }
.tip-item span { color: var(--muted); line-height: 1.5; }

#parent_popup {
  background: rgba(9, 18, 12, 0.72) !important;
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  backdrop-filter: blur(10px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 0;
}
#parent_popup.show { display: block; }
#popup {
  width: min(92%, 560px);
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  margin: 0 auto;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#popup h5 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}
.modal-help {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.modal-error {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 239, 239, 0.96);
  color: #b02a37;
  font-weight: 700;
}
.auth-success__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef7e8;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.auth-success__title {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
.auth-success__text p,
.auth-success__text ol { margin: 0 0 12px; }
.auth-success__text ol { padding-left: 18px; color: #33423a; }
.auth-inline-form {
  margin: 20px 0 22px;
  padding: 16px;
  border-radius: 20px;
  background: #f7fbf4;
}
.auth-success .modal-actions {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(25, 40, 28, 0.08);
}

.auth-inline-form__hint {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.45;
}
.auth-success--external .auth-success__badge {
  background: #f4f6ee;
  color: #52605a;
}

.page-stock {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(169, 216, 110, 0.3), transparent 26rem),
    linear-gradient(180deg, #fbfdf9 0%, #edf5e7 100%) !important;
}
.stock-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}
.stock-card,
#popup,
.panel-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.74);
  box-shadow: var(--shadow-soft);
}
.stock-card {
  padding: 24px;
  border-radius: 28px;
}
.stock-card--wide { width: 100%; max-width: none; }
.stock-title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}
.stock-card .padding {
  padding: 14px 16px !important;
  margin-bottom: 18px;
  border-left: 4px solid var(--primary) !important;
  border-radius: 18px;
  background: #f4faef;
  line-height: 1.55;
}
.stock-card form { display: grid; gap: 14px; }
.stock-card input[type="submit"] { justify-self: start; }
.stock-card table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 0 !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.stock-card table th {
  border: 0 !important;
  background: #eaf5e3 !important;
  color: var(--primary-strong) !important;
  font-weight: 800 !important;
  padding: 12px 10px !important;
}
.stock-card table td {
  border-top: 1px solid #edf2e9 !important;
  border-right: 0 !important;
  background: #fff !important;
  padding: 10px !important;
}
.stock-card table tr:nth-child(2n) td { background: #fbfdf8 !important; }
.stock-card > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #eef7e8;
  color: var(--primary-strong);
  font-weight: 800;
}
#roditelskoe_preload { background: rgba(255,255,255,.82) !important; backdrop-filter: blur(8px); opacity: 1 !important; }
#okno_preload {
  width: min(90%, 420px) !important;
  margin-left: 0 !important;
  left: 50% !important;
  transform: translateX(-50%);
  border: 0 !important;
  border-radius: 24px !important;
  box-shadow: var(--shadow) !important;
}
.telo_preload { padding: 24px !important; text-align: center; }
.telo_preload img { max-width: 72px; height: auto; }

@media (max-width: 1199px) {
  .content-shell { grid-template-columns: 1fr; }
  .panel-card--side { order: 2; }
}

@media (max-width: 991px) {
  .topbar {
    padding: 18px 16px 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar__brand { flex-direction: column; align-items: flex-start; }
  .topbar__tools { justify-content: flex-start; }
  .main-home { padding: 0 14px 20px; }
  .map-stage { min-height: auto; }
  #YMapsID { height: 66vh; min-height: 500px; }
  .map-floating {
    position: static;
    width: auto;
    margin: 14px;
  }
  .map-scrim { display: none; }
}

@media (max-width: 767px) {
  .topbar__title { font-size: 24px; }
  .topbar__text { font-size: 14px; }
  .brand-logo { width: 150px; }
  .main-home { padding: 0 10px 16px; }
  .map-stage { border-radius: 24px; }
  #YMapsID { height: 56vh; min-height: 360px; }
  .map-floating { padding: 18px; border-radius: 22px; margin: 10px; }
  .map-floating h2 { font-size: 24px; }
  .map-floating h3 { font-size: 21px; }
  .panel-card, .stock-card, #popup { border-radius: 22px; padding: 18px; }
  .panel-card__head { flex-direction: column; }
  .panel-title, .stock-title { font-size: 24px; }
  .shop-list--grid { grid-template-columns: 1fr; }
  .shop-card__actions, .focus-actions, .floating-actions, .modal-actions { flex-direction: column; }
  .shop-card__actions .btn, .focus-actions .btn, .floating-actions .btn, .modal-actions .btn, .modal-actions input.btn {
    width: 100%;
  }
  #parent_popup {
    padding: 8px 0;
    align-items: flex-start;
  }
  #popup {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    margin: 0 auto;
    padding: 16px;
  }
  #popup h5 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .modal-help {
    margin-bottom: 12px;
    font-size: 14px;
  }
  .auth-success__text ol {
    margin-bottom: 8px;
  }
  .auth-success__text li {
    margin-bottom: 6px;
  }
  .auth-inline-form {
    margin: 14px 0 16px;
    padding: 12px;
  }
  .auth-success .modal-actions {
    position: sticky;
    bottom: -16px;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -16px;
    padding: 12px 16px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.98) 32%);
    backdrop-filter: blur(8px);
  }
  .page-stock { padding: 10px; }
  .stock-card table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
  #popup h5 { font-size: 21px; }
  .topbar-pill, .partner-badge { width: 100%; justify-content: center; border-radius: 18px; }
}

.content-shell > .rules-banner {
  grid-column: 1 / -1;
}
.rules-banner {
  margin-top: 0;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,248,236,0.92));
  border: 1px solid rgba(45, 125, 50, 0.14);
  box-shadow: var(--shadow-soft);
}
.rules-banner__head {
  max-width: 980px;
  margin-bottom: 18px;
}
.rules-banner__head h2 {
  margin: 8px 0 10px;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
}
.rules-banner__head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.rule-card {
  min-height: 150px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(25, 40, 28, 0.08);
  box-shadow: 0 12px 28px rgba(17, 44, 22, 0.07);
}
.rule-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}
.rule-card span {
  display: block;
  color: var(--muted);
  line-height: 1.48;
}
.rule-card--accent {
  background: linear-gradient(135deg, #eef7e8, #ffffff);
  border-color: rgba(45,125,50,0.24);
}
.rule-card--warning {
  background: linear-gradient(135deg, #fff8e8, #ffffff);
  border-color: rgba(197, 129, 26, 0.24);
}
.auth-alert {
  display: grid;
  gap: 6px;
  margin: 12px 0 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff8e8;
  border: 1px solid rgba(197, 129, 26, 0.22);
}
.auth-alert strong { color: #7a4d08; }
.auth-alert span { color: #6b5a3c; line-height: 1.45; }

@media (max-width: 1199px) {
  .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .content-shell > .panel-card--wide { order: 1; }
  .content-shell > .rules-banner { order: 2; }
  .content-shell > .panel-card--side { order: 3; }
  .rules-banner { padding: 18px; border-radius: 22px; }
  .rules-banner__head h2 { font-size: 24px; }
  .rules-grid { grid-template-columns: 1fr; }
  .rule-card { min-height: 0; }
}


.rule-card--partner.is-filled {
  background: linear-gradient(135deg, #eaf7ff, #ffffff);
  border-color: rgba(31, 111, 184, 0.24);
}
.partner-number-inline {
  display: inline-flex;
  align-items: center;
  margin: 4px 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f2ff;
  color: #0f4f8d;
  font-size: 16px;
  line-height: 1;
}

.map-balloon,
.map-balloon__header {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #17221a;
}
.map-balloon__header {
  min-width: 270px;
  padding: 2px 0 6px;
}
.map-balloon__header span {
  display: block;
  margin-bottom: 4px;
  color: #e02f2f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.map-balloon__header strong {
  display: block;
  color: #17221a;
  font-size: 19px;
  line-height: 1.15;
}
.map-balloon--modern {
  max-width: 320px;
}
.map-balloon__address {
  margin: 0 0 12px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #f5f8f2;
  color: #17221a;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 800;
}
.map-balloon__rows {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.map-balloon__rows div {
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(25, 40, 28, 0.08);
}
.map-balloon__rows span {
  display: block;
  margin-bottom: 3px;
  color: #6b756e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.map-balloon__rows strong {
  display: block;
  color: #17221a;
  font-size: 13px;
  line-height: 1.35;
}
.map-balloon__note {
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8e8, #fff1d1);
  color: #7a4d08;
  border: 1px solid rgba(197, 129, 26, 0.22);
  font-size: 13px;
  line-height: 1.38;
  font-weight: 800;
}

.auth-inline-form + .modal-actions { margin-top: 18px; }




.modern-map-pin {
  position: relative;
  width: 42px;
  height: 50px;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  filter: drop-shadow(0 10px 14px rgba(139, 30, 22, 0.28));
}
.modern-map-pin:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, #ff6a4f 0%, #e53935 58%, #b71c1c 100%);
  border: 3px solid #ffffff;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(183, 28, 28, 0.28), inset 0 1px 0 rgba(255,255,255,0.45);
}
.modern-map-pin:after {
  content: "";
  position: absolute;
  left: 13px;
  top: 38px;
  width: 16px;
  height: 5px;
  border-radius: 999px;
  background: rgba(40, 20, 15, 0.22);
  filter: blur(2px);
}
.modern-map-pin span {
  position: absolute;
  left: 11px;
  top: 8px;
  z-index: 2;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #c62828;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(183, 28, 28, 0.12);
}
.shop-card.is-active .shop-card__badge {
  background: #ffe8e5;
  color: #b71c1c;
}
