/* Карта специалистов · SHOKERI BEAUTY */
.sb-spec {
  position: relative;
  z-index: 2;
  padding: 28px 0 8px;
  border-top: 1px solid rgba(255, 196, 220, 0.14);
  background: linear-gradient(180deg, rgba(255, 45, 139, 0.04), transparent 40%);
}
.sb-spec__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  align-items: end;
  margin: 0 0 14px;
}
.sb-spec__quest {
  display: grid;
  gap: 6px;
  justify-items: start;
  max-width: 260px;
}
.sb-spec__here {
  appearance: none;
  border: 1px solid rgba(255, 180, 210, 0.35);
  background: linear-gradient(135deg, #ff2d8b, #c45a2a);
  color: #fff8fb;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.sb-spec__here:hover { filter: brightness(1.06); }
.sb-spec__here:disabled { opacity: 0.55; cursor: wait; }
.sb-spec__ghost {
  appearance: none;
  border: 1px solid rgba(255, 180, 210, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #ffd0e6;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.sb-spec__ghost:hover { border-color: rgba(255, 143, 191, 0.55); color: #fff; }
.sb-spec__quote {
  margin: 8px 0;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 236, 244, 0.78);
}
.sb-spec__ask {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.sb-spec__ask input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 180, 210, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  padding: 8px;
}
.sb-spec__kicker {
  margin: 0 0 4px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright, #f3c89a);
  font-family: var(--font-label, Cinzel, serif);
}
.sb-spec h2 {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff8fb;
  font-weight: 700;
}
.sb-spec__lead {
  margin: 6px 0 0;
  max-width: 52ch;
  color: rgba(255, 236, 245, 0.72);
  font-size: 0.95rem;
  line-height: 1.4;
}

.sb-spec__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.sb-spec__city {
  appearance: none;
  border: 1px solid rgba(255, 180, 210, 0.22);
  background: rgba(18, 6, 16, 0.55);
  color: rgba(255, 236, 245, 0.82);
  font: inherit;
  font-size: 0.8rem;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.sb-spec__city:hover { border-color: rgba(255, 143, 191, 0.45); color: #fff; }
.sb-spec__city.is-on {
  border-color: rgba(255, 77, 166, 0.55);
  background: linear-gradient(135deg, rgba(255, 77, 166, 0.28), rgba(232, 176, 122, 0.18));
  color: #fff;
}

.sb-spec__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}
.sb-spec__map {
  position: relative;
  min-height: 420px;
  height: min(58vh, 560px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 180, 210, 0.22);
  background: #1a1016;
}
.sb-spec__map-engine {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
.sb-spec__map .ymaps3x0--map-container,
.sb-spec__map canvas {
  border-radius: 20px;
}
.sb-spec__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(255, 236, 245, 0.78);
  font-size: 0.95rem;
  z-index: 2;
  pointer-events: none;
  background: rgba(12, 4, 14, 0.55);
}
.sb-spec__empty[hidden] {
  display: none !important;
}

.sb-spec__aside {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 420px;
  height: min(58vh, 560px);
}
.sb-spec__list {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  align-content: start;
  padding-right: 4px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.sb-spec__list::-webkit-scrollbar { width: 6px; }
.sb-spec__list::-webkit-scrollbar-thumb {
  background: rgba(255, 143, 191, 0.35);
  border-radius: 999px;
}
.sb-spec__empty-list { margin: 8px 2px; font-size: 0.9rem; }

/* Продающая карточка */
.sb-spec__sell {
  position: relative;
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 180, 210, 0.35);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 77, 166, 0.28), transparent 45%),
    linear-gradient(160deg, rgba(42, 14, 32, 0.98), rgba(12, 4, 14, 0.96));
  box-shadow: 0 14px 36px rgba(255, 45, 139, 0.12);
  cursor: pointer;
}
.sb-spec__sell-kicker {
  margin: 0 0 10px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright, #f3c89a);
}
.sb-spec__sell-top {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}
.sb-spec__sell-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a0610;
  background: linear-gradient(145deg, #ff4da6, #e8b07a);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 22px rgba(255, 61, 154, 0.28);
}
.sb-spec__sell-avatar--init { line-height: 1; }
.sb-spec__sell h3 {
  margin: 0 0 4px;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff8fb;
  line-height: 1.15;
}
.sb-spec__sell-tag {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: #ffb3d0;
}
.sb-spec__sell-pitch {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 236, 245, 0.82);
}
.sb-spec__sell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Список карточек */
.sb-spec__card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 196, 220, 0.18);
  background: rgba(14, 6, 16, 0.9);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.sb-spec__card:hover {
  border-color: rgba(255, 143, 191, 0.4);
  transform: translateY(-1px);
}
.sb-spec__card.is-on,
.sb-spec__card.is-featured.is-on {
  border-color: rgba(255, 77, 166, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 77, 166, 0.25), 0 10px 24px rgba(255, 45, 139, 0.12);
}
.sb-spec__card-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.sb-spec__logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(145deg, #ff4da6, #e8b07a);
  display: grid;
  place-items: center;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a0610;
  flex-shrink: 0;
}
.sb-spec__logo--init { line-height: 1; }
.sb-spec__card strong {
  display: block;
  font-size: 1rem;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-weight: 700;
  color: #fff8fb;
}
.sb-spec__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sb-spec__meta {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 236, 244, 0.7);
  line-height: 1.35;
}
.sb-spec__hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.76rem;
  color: #f3c89a;
  letter-spacing: 0.02em;
}
.sb-spec__rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.78rem;
  color: rgba(255, 210, 160, 0.55);
}
.sb-spec__star.is-on { color: #f3c89a; }
.sb-spec__rating b {
  margin-left: 4px;
  color: #ffe8d2;
  font-weight: 700;
}
.sb-spec__svcs {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
}
.sb-spec__svcs li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-top: 1px dashed rgba(255, 180, 210, 0.16);
  color: rgba(255, 236, 244, 0.82);
}
.sb-spec__svcs li span:last-child {
  color: #f3c89a;
  white-space: nowrap;
}

.sb-spec__pin {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid #fff8fb;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #ff4da6, #e8b07a);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  color: #1a0610;
  font-weight: 800;
  font-size: 0.85rem;
}
.sb-spec__pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sb-spec__popup {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  max-width: 380px;
  max-height: calc(100% - 24px);
  overflow: auto;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 196, 220, 0.28);
  background: rgba(12, 4, 14, 0.96);
  color: #fff8fb;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.sb-spec__popup[hidden] { display: none !important; }
.sb-spec__pop-top {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  padding-right: 28px;
}
.sb-spec__popup h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-family: var(--font-display, "Cormorant Garamond", serif);
}
.sb-spec__popup p {
  margin: 0 0 6px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 236, 244, 0.82);
}
.sb-spec__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 196, 220, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.sb-spec__zoom {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 5;
  display: grid;
  gap: 4px;
}
.sb-spec__zoom button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 196, 220, 0.3);
  background: rgba(12, 4, 14, 0.85);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 1024px) {
  .sb-spec__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr);
  }
}
@media (max-width: 820px) {
  .sb-spec__layout { grid-template-columns: 1fr; }
  .sb-spec__map {
    height: 340px;
    min-height: 300px;
  }
  .sb-spec__aside {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .sb-spec__list {
    max-height: 420px;
  }
}
@media (max-width: 430px) {
  .sb-spec__sell-top { grid-template-columns: 60px 1fr; }
  .sb-spec__sell-avatar { width: 60px; height: 60px; border-radius: 16px; }
  .sb-spec__card { grid-template-columns: 56px 1fr; }
  .sb-spec__logo { width: 56px; height: 56px; border-radius: 14px; }
}
